|
@@ -14,6 +14,7 @@ import io.swagger.annotations.ApiOperation;
|
|
|
import io.swagger.models.auth.In;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.web.bind.annotation.*;
|
|
|
+import org.springframework.web.multipart.MultipartFile;
|
|
|
|
|
|
import java.math.BigDecimal;
|
|
|
import java.util.HashMap;
|
|
@@ -282,6 +283,12 @@ public class TMSController extends BaseRESTfulController {
|
|
|
return tmsshipFeign.getCapacityList(mapValue==null?new HashMap<String, Object>():mapValue,pageNum, pageSize, apiId,con);
|
|
|
}
|
|
|
|
|
|
+
|
|
|
+ @PostMapping(value = "/uploadCargoPic")
|
|
|
+ public String uploadCargoPic(@RequestParam ("file") MultipartFile multipartFile){
|
|
|
+ return tmsshipFeign.uploadCargoPic(multipartFile);
|
|
|
+ }
|
|
|
+
|
|
|
/**
|
|
|
* 卸船作业
|
|
|
* @param mapValue
|