|
@@ -182,6 +182,9 @@ public class ApiController extends BaseController {
|
|
|
}
|
|
|
try {
|
|
|
String userId = getPageData().getString("userId");
|
|
|
+ if(StringUtils.isBlank(userId)) {
|
|
|
+ return AppUtil.error("参数用户ID不可以为空");
|
|
|
+ }
|
|
|
SapUser sapUser = sapUserService.selectByUserId(userId);
|
|
|
if(!sapUser.getDelFlag()) {
|
|
|
return AppUtil.error("该用户ID不是离职数据");
|