|
@@ -41,6 +41,8 @@ public class DeptPerfServiceImpl extends ServiceImpl<DeptPerfMapper, DeptPerf> i
|
|
|
public void edit(DeptPerfDto dto) {
|
|
|
Assert.notEmpty(dto.getId(), "Id不能为空!");
|
|
|
Assert.notEmpty(dto.getYears(), "年份不能为空!");
|
|
|
+ Assert.notEmpty(dto.getDeptId(), "部门Id不能为空!");
|
|
|
+ Assert.notEmpty(dto.getGroupId(), "组id不能为空!");
|
|
|
|
|
|
this.saveOrUpdate(dto);
|
|
|
}
|