Commit 6bd0cde7 by 徐高华

导购任务

parent 64be5add
...@@ -204,9 +204,8 @@ public class ClerkTaskController { ...@@ -204,9 +204,8 @@ public class ClerkTaskController {
*/ */
@RequestMapping("update-content") @RequestMapping("update-content")
@ResponseBody @ResponseBody
public RestResponse<String> updateContent(String enterpriseId , @RequestBody SaveContentQO qo) { public RestResponse<String> updateContent( @RequestBody SaveContentQO qo) {
ClerkTaskContentLogDTO dto = EntityUtil.changeEntityByJSON(ClerkTaskContentLogDTO.class,qo) ; ClerkTaskContentLogDTO dto = EntityUtil.changeEntityByJSON(ClerkTaskContentLogDTO.class,qo) ;
dto.setEnterpriseId(enterpriseId);
ServiceResponse<Long> resp = this.clerkTaskApiService.saveContent(dto) ; ServiceResponse<Long> resp = this.clerkTaskApiService.saveContent(dto) ;
if(!resp.isSuccess()) { if(!resp.isSuccess()) {
return RestResponse.failure("9999",resp.getMessage()) ; return RestResponse.failure("9999",resp.getMessage()) ;
......
...@@ -29,6 +29,16 @@ public class SaveContentQO implements Serializable { ...@@ -29,6 +29,16 @@ public class SaveContentQO implements Serializable {
*/ */
private Long planId ; private Long planId ;
private String enterpriseId ;
public String getEnterpriseId() {
return enterpriseId;
}
public void setEnterpriseId(String enterpriseId) {
this.enterpriseId = enterpriseId;
}
public Long getContentLogId() { public Long getContentLogId() {
return contentLogId; return contentLogId;
} }
......
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 to comment