This commit is contained in:
gaowdong 2025-04-29 09:54:46 +08:00
parent a17b94f142
commit 3bb59100df
2 changed files with 4 additions and 2 deletions

View File

@ -73,7 +73,8 @@ public interface AccInfoMapper extends BaseMapper<AccInfo> {
List<AccInfoDetailsVO> queryAccInfoDetails(@Param("accountInfoQueryParam") AccountInfoQueryParam accountInfoQueryParam, List<AccInfoDetailsVO> queryAccInfoDetails(@Param("accountInfoQueryParam") AccountInfoQueryParam accountInfoQueryParam,
@Param("encryptedSearchValue") String encryptedSearchValue); @Param("encryptedSearchValue") String encryptedSearchValue);
AccInfoDetailsVO queryAccInfoBalanceSum(@Param("accountInfoQueryParam") AccountInfoQueryParam accountInfoQueryParam); AccInfoDetailsVO queryAccInfoBalanceSum(@Param("accountInfoQueryParam") AccountInfoQueryParam accountInfoQueryParam,
@Param("encryptedSearchValue") String encryptedSearchValue);
void updateAccInfoEndDateByUserId(LocalDate endDate, List<Long> userIds, String updateBy); void updateAccInfoEndDateByUserId(LocalDate endDate, List<Long> userIds, String updateBy);
List<AccInfoDetailsVO> queryAccInfoByUserIds(@Param("userIds") List<Long> userIds); List<AccInfoDetailsVO> queryAccInfoByUserIds(@Param("userIds") List<Long> userIds);

View File

@ -309,10 +309,11 @@ public class AccInfoServiceImpl implements IAccInfoService {
} }
public AccInfoDetailsVO queryAccInfoBalanceSum(AccountInfoQueryParam accountInfoQueryParam) { public AccInfoDetailsVO queryAccInfoBalanceSum(AccountInfoQueryParam accountInfoQueryParam) {
String encryptedSearchValue = SM4EncryptUtils.sm4Encrypt(accountInfoQueryParam.getSearchValue());
if(CollUtil.isEmpty(accountInfoQueryParam.getAccStatusList())) { if(CollUtil.isEmpty(accountInfoQueryParam.getAccStatusList())) {
accountInfoQueryParam.setAccStatusList(AccStatusEnum.getAllKeys()); accountInfoQueryParam.setAccStatusList(AccStatusEnum.getAllKeys());
} }
return accInfoMapper.queryAccInfoBalanceSum(accountInfoQueryParam); return accInfoMapper.queryAccInfoBalanceSum(accountInfoQueryParam, encryptedSearchValue);
} }
@Transactional(rollbackFor = {Exception.class}) @Transactional(rollbackFor = {Exception.class})