diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/GyzjServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/GyzjServiceImpl.java index b7375a1..ed1334c 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/GyzjServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/GyzjServiceImpl.java @@ -1210,7 +1210,7 @@ public class GyzjServiceImpl extends ServiceImpl implements IG @Override @Transactional(rollbackFor = Exception.class) public void gh(GhForm form) { - SysUser jsr1 = sysUserService.selectUserById(form.getJsr1Id()); + SysUser jsr1 = SecurityUtils.getLoginUser().getSysUser(); SysUser jsr2 = sysUserService.selectUserById(form.getJsr2Id()); //验证接收人1密码 checkPassword(jsr1,form.getJsr1mm()); diff --git a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/MjyServiceImpl.java b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/MjyServiceImpl.java index 115dcb8..ab9d5f0 100644 --- a/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/MjyServiceImpl.java +++ b/hxhq-modules/hxhq-system/src/main/java/com/hxhq/business/service/impl/MjyServiceImpl.java @@ -1173,7 +1173,7 @@ public class MjyServiceImpl extends ServiceImpl implements IMjyS public void gh( GhForm form) { SysUser ghr1 = sysUserService.selectUserById(form.getGhr1Id()); SysUser ghr2 = sysUserService.selectUserById(form.getGhr2Id()); - SysUser jsr1 = sysUserService.selectUserById(form.getJsr1Id()); + SysUser jsr1 = SecurityUtils.getLoginUser().getSysUser(); SysUser jsr2 = sysUserService.selectUserById(form.getJsr2Id()); //验证归还人1密码 checkPassword(ghr1,form.getGhr1mm());