|
@@ -2,6 +2,7 @@ package com.steerinfo.dil.controller;
|
|
|
|
|
|
import com.steerinfo.dil.service.impl.TmstruckWeightResultServiceImpl;
|
|
|
import com.steerinfo.dil.util.BaseRESTfulController;
|
|
|
+import com.steerinfo.framework.controller.RESTfulResult;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
@@ -29,9 +30,9 @@ public class TmstruckWeightResultController extends BaseRESTfulController {
|
|
|
*/
|
|
|
@ApiModelProperty(value = "接收计量实绩")
|
|
|
@PostMapping("/receiveTmsTruckWeightResult")
|
|
|
- public int receiveTmsTruckWeightResult(@RequestBody Map<String,Object> mapValue) {
|
|
|
+ public RESTfulResult receiveTmsTruckWeightResult(@RequestBody Map<String,Object> mapValue) {
|
|
|
int result = tmstruckWeightResultService.receiveTmsTruckWeightResult(mapValue);
|
|
|
- return result;
|
|
|
+ return success();
|
|
|
}
|
|
|
|
|
|
|