|
@@ -872,9 +872,6 @@ public class BMSController extends BaseRESTfulController {
|
|
|
files.add(temp);
|
|
|
}
|
|
|
}
|
|
|
- if(files.size() < 1){
|
|
|
- return failed("没有上传图片!");
|
|
|
- }
|
|
|
//上传图片
|
|
|
try{
|
|
|
for(int i=0;i<files.size();i++){
|
|
@@ -893,6 +890,15 @@ public class BMSController extends BaseRESTfulController {
|
|
|
return bmstruckFeign.updateTruckDetail(map);
|
|
|
}
|
|
|
|
|
|
+ @PostMapping("addTruckDetail")
|
|
|
+ @ApiOperation(value = "直接修改汽运详单")
|
|
|
+ RESTfulResult addTruckDetail(@RequestBody Map<String,Object> map) {
|
|
|
+ if(map==null){
|
|
|
+ return failed("参数为空!");
|
|
|
+ }
|
|
|
+ return bmstruckFeign.addTruckDetail(map);
|
|
|
+ }
|
|
|
+
|
|
|
@ApiOperation("查询发票图片")
|
|
|
@PostMapping("/getStatementPhoto")
|
|
|
public List<String> getStatementPhoto(@RequestParam BigDecimal statementId) throws Exception{
|