Commit 6bd0cde7 by 徐高华

导购任务

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