|
@@ -28,10 +28,16 @@ import com.up.sell.util.ServletUtils;
|
|
|
import com.up.sell.vo.Member;
|
|
|
import com.up.sell.vo.ResultObject;
|
|
|
|
|
|
+import io.swagger.annotations.Api;
|
|
|
+import io.swagger.annotations.ApiImplicitParam;
|
|
|
+import io.swagger.annotations.ApiImplicitParams;
|
|
|
+import io.swagger.annotations.ApiOperation;
|
|
|
+
|
|
|
/**
|
|
|
* @author zmg
|
|
|
*
|
|
|
*/
|
|
|
+@Api(value="ProjectManagerController",tags={"项目流程审核接口集"})
|
|
|
@RestController
|
|
|
@RequestMapping(value = "/projectManager")
|
|
|
public class ProjectManagerController extends AbstractController {
|
|
@@ -249,11 +255,15 @@ public class ProjectManagerController extends AbstractController {
|
|
|
/**
|
|
|
* 多次到访备注录入
|
|
|
*/
|
|
|
+ @ApiOperation("新增到访备注接口(多次)")
|
|
|
+ @ApiImplicitParams({@ApiImplicitParam(name = "picPath", value = "图片路径", required = true, paramType = "create", dataType = "String"),
|
|
|
+ @ApiImplicitParam(name = "description", value = "备注说明", required = true, paramType = "create", dataType = "String"),
|
|
|
+ @ApiImplicitParam(name = "orderId", value = "流程ID", required = true, paramType = "create", dataType = "String")})
|
|
|
@PostMapping("/auth/addDescr")
|
|
|
- public ResultObject addDescAndPic(HttpServletRequest request,String picPath,String description,Integer id) {
|
|
|
+ public ResultObject addDescAndPic(HttpServletRequest request,String picPath,String description,Integer orderId) {
|
|
|
ResultObject resultObject = new ResultObject();
|
|
|
try {
|
|
|
- projectService.updateDescrAndPic(picPath, description, id);
|
|
|
+ projectService.updateDescrAndPic(picPath, description, orderId);
|
|
|
}catch (ResultException e) {
|
|
|
resultObject.setCode(e.getCode());
|
|
|
resultObject.setMessage(e.getMessage());
|