Commit d3fc7cfd by Huang Linyu

业绩提交表单 - 返回值类型变化

parent cb4a509c
......@@ -23,9 +23,9 @@ public class ActiveCustomerMController {
@RequestMapping(value = "/insertOne", method = RequestMethod.POST)
@ResponseBody
public Response<Integer> updateUserContract(@RequestBody ActiveCustomerBean userContractsBean) {
public Response<Object> updateUserContract(@RequestBody ActiveCustomerBean userContractsBean) {
Response<Integer> response = activeCustomerService.insertOne(userContractsBean);
Response<Object> response = activeCustomerService.insertOne(userContractsBean);
return response;
}
......
......@@ -21,7 +21,7 @@ public class ActiveCustomerService extends BaseService {
public Response<Integer> insertOne(ActiveCustomerBean userContractsBean) {
public Response<Object> insertOne(ActiveCustomerBean userContractsBean) {
String uri = super.getServiceUri("uri.activeCustomer.insertOne");
Request<ActiveCustomerBean> request = new Request<ActiveCustomerBean>();
......@@ -29,7 +29,7 @@ public class ActiveCustomerService extends BaseService {
HttpEntity<Request<ActiveCustomerBean>> entity = new HttpEntity<Request<ActiveCustomerBean>>(request);
Response<Integer> response = super.exchange(uri, HttpMethod.POST, entity, new ParameterizedTypeReference<Response<Integer>>() {
Response<Object> response = super.exchange(uri, HttpMethod.POST, entity, new ParameterizedTypeReference<Response<Object>>() {
}).getBody();
if (null != response) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment