Commit 3f6786ac authored by 刘斌's avatar 刘斌

fix: 编制计划记录,修改导入备注

parent 7bca886f
...@@ -90,7 +90,7 @@ public class StaffingPlanRecordsCtrl { ...@@ -90,7 +90,7 @@ public class StaffingPlanRecordsCtrl {
@PutMapping() @PutMapping()
public Response edit(@Validated(EditGroup.class) @RequestBody StaffingPlanRecordsParam param) { public Response edit(@Validated(EditGroup.class) @RequestBody StaffingPlanRecordsParam param) {
if (!staffingPlanRecordsServ.checkRecordDateUnique(param)) { if (!staffingPlanRecordsServ.checkRecordDateUnique(param)) {
return Response.buildFailure(ResultCode.FAIL.getCode(), "新增编制规划'" + param.getRecordDate() + "'失败,记录时间已存在"); return Response.buildFailure(ResultCode.FAIL.getCode(), "修改编制规划'" + param.getRecordDate() + "'失败,记录时间已存在");
} }
return ResponseUtils.ofResult(staffingPlanRecordsServ.updateByParam(param)); return ResponseUtils.ofResult(staffingPlanRecordsServ.updateByParam(param));
} }
......
...@@ -381,7 +381,7 @@ public class StaffingPlanDataImportVo extends ExcelBaseEntity implements Seriali ...@@ -381,7 +381,7 @@ public class StaffingPlanDataImportVo extends ExcelBaseEntity implements Seriali
/** /**
* 备注 * 备注
*/ */
@ExcelProperty(index = 59) @ExcelProperty(index = 35)
private String remark; private String remark;
public void setPlate(String plate) { public void setPlate(String plate) {
......
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