Commit 710cf28d by 徐高华

导购任务

parent 6bd0cde7
......@@ -189,9 +189,8 @@ public class ClerkTaskController {
*/
@RequestMapping("save-content")
@ResponseBody
public RestResponse<String> saveContent(String enterpriseId , @RequestBody SaveContentQO qo) {
public RestResponse<String> saveContent(@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()) ;
......
......@@ -13,6 +13,16 @@ public class ClerkAwardQO extends BasePageInfo implements Serializable {
private Long planId ;
private String enterpriseId ;
public String getEnterpriseId() {
return enterpriseId;
}
public void setEnterpriseId(String enterpriseId) {
this.enterpriseId = enterpriseId;
}
public String getClerkId() {
return clerkId;
}
......
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