|
@@ -277,6 +277,12 @@ public class ZwywLrJbxxServiceImpl implements IZwywLrJbxxService {
|
|
|
String xb = Integer.parseInt(zwywLrJbxx.getLrZjhm().substring(17, 18)) % 2 == 0 ? "2" : "1";
|
|
|
zwywLrJbxx.setLrXb(xb);
|
|
|
}
|
|
|
+ LoginUser user = SecurityUtils.getLoginUser();
|
|
|
+ if (ObjectUtils.isNotEmpty(user)) {
|
|
|
+ if (ObjectUtils.isNotEmpty(user.getSysUser())) {
|
|
|
+ zwywLrJbxx.setCreateUserId(String.valueOf(user.getSysUser().getUserId()));
|
|
|
+ }
|
|
|
+ }
|
|
|
} catch (Exception ignored) {}
|
|
|
return zwywLrJbxxMapper.insert(zwywLrJbxx);
|
|
|
}
|
|
@@ -341,6 +347,12 @@ public class ZwywLrJbxxServiceImpl implements IZwywLrJbxxService {
|
|
|
String xb = Integer.parseInt(zwywLrJbxx.getLrZjhm().substring(17, 18)) % 2 == 0 ? "2" : "1";
|
|
|
zwywLrJbxx.setLrXb(xb);
|
|
|
}
|
|
|
+ LoginUser user = SecurityUtils.getLoginUser();
|
|
|
+ if (ObjectUtils.isNotEmpty(user)) {
|
|
|
+ if (ObjectUtils.isNotEmpty(user.getSysUser())) {
|
|
|
+ zwywLrJbxx.setCreateUserId(String.valueOf(user.getSysUser().getUserId()));
|
|
|
+ }
|
|
|
+ }
|
|
|
} catch (Exception ignored) {}
|
|
|
return zwywLrJbxxMapper.insert(zwywLrJbxx);
|
|
|
}
|