Commit cc387181 authored by 赵啸非's avatar 赵啸非

添加用户钉钉主动拉取请假记录

parent 96c0b428
......@@ -170,7 +170,7 @@ public class ApiWebPerformController extends AbstractBaseController<PerformReq>
@PostMapping("effect/save")
@UnAuth
public Rest<Void> effectSave(@RequestBody EffectSaveReq req) {
// log.info("web Api req==>{}", JSON.toJSONString(req));
log.info("web Api req==>{}", JSON.toJSONString(req));
String busiDesc = "外部效能新增";
Rest rest = Rest.ok(busiDesc + "成功!");
try {
......@@ -495,8 +495,9 @@ public class ApiWebPerformController extends AbstractBaseController<PerformReq>
private StaffEntity getStaff(String phone) {
StaffEntity staffEntity = staffService.selectOne(new StaffQuery().phoneNumber(phone));
if (ObjectUtils.isEmpty(staffEntity))
if (ObjectUtils.isEmpty(staffEntity)){
throw new AppException(String.format("当前手机号码未找到匹配的员工!phone:%s", phone));
}
return staffEntity;
}
......
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