Commit ece56712 authored by tangwei's avatar tangwei

新增创建工单人

parent 189f1773
......@@ -142,4 +142,6 @@ public class HYGFMaintenanceTicketsDto extends BaseDto {
*/
@JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
private Date taskEndTime;
//创建人id
private String creatorUserId;
}
......@@ -168,4 +168,8 @@ public class HYGFMaintenanceTickets extends BaseEntity {
@TableField("score")
private String score ;
//创建人id
@TableField("creator_user_id")
private String creatorUserId;
}
......@@ -40,7 +40,8 @@ public class HYGFMaintenanceTicketsController extends BaseController {
@PostMapping(value = "/save")
@ApiOperation(httpMethod = "POST", value = "新增运维工单", notes = "新增运维工单")
public ResponseModel<HYGFMaintenanceTicketsDto> save(@RequestBody HYGFMaintenanceTicketsDto model) {
hygfMaintenanceTicketsServiceimpl.sendMeassageToMcb(model);
model.setCreatorUserId(getUserId());
hygfMaintenanceTicketsServiceimpl.sendMeassageToMcb(model);
return ResponseHelper.buildResponse(model);
}
......
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