瀏覽代碼

feat: 多人积分包-联调结算3

李学松 2 年之前
父節點
當前提交
5f4fbbc801

+ 4 - 4
hnqz-upms/hnqz-upms-biz/src/main/java/com/qunzhixinxi/hnqz/admin/service/impl/WmScorePackageSettleNoteServiceImpl.java

@@ -703,16 +703,16 @@ public class WmScorePackageSettleNoteServiceImpl extends ServiceImpl<WmScorePack
 
 			SysUser sysUser = sysUserService.getById(note.getUserId());
 
-			if (input.getSubjectLocation() == null) {
+			if (note.getSubjectLocation() == null) {
 				return R.failed(sysUser.getRealname() + "人员结算渠道不存在,不能结算");
 			}
 
 			// 获取结算零工
-			GigTypeEnum gigTypeEnum = input.getSubjectLocation().getGigType();
-			String subType = String.valueOf(input.getSubjectLocation().getGigType().getCode());
+			GigTypeEnum gigTypeEnum = note.getSubjectLocation().getGigType();
+			String subType = String.valueOf(note.getSubjectLocation().getGigType().getCode());
 
 			SysUserSub userSub = sysUserSubMapper.selectOne(Wrappers.<SysUserSub>lambdaQuery()
-					.eq(SysUserSub::getSubjectLocation, input.getSubjectLocation())
+					.eq(SysUserSub::getSubjectLocation, note.getSubjectLocation())
 					.eq(SysUserSub::getDeptId, sysUser.getDeptId())
 					.eq(SysUserSub::getUserId, sysUser.getUserId())
 			);