1、认领/待认领合并查询

This commit is contained in:
zhengyf 2025-08-26 11:20:36 +08:00
parent 469a277797
commit ee243d889d
1 changed files with 47 additions and 18 deletions

View File

@ -18,11 +18,10 @@ import java.util.List;
import java.util.Map;
/**
* Created by zydd on 2025-08-20 17:20
* Created by zydd on 2025-08-26 10:51
*/
@Service
public class IClaimSKServiceImpl implements IClaimSKService {
@Autowired
private IMdmModuleDao mdmModuleDao;
@Autowired
@ -71,23 +70,55 @@ public class IClaimSKServiceImpl implements IClaimSKService {
//prop1 对方账号
if(entity.getPropValue1()!=null&& !"".equals(entity.getPropValue1())){
entity.setProp1("");
entity.setPropValue1("");
// prop1 对方账户 cnteracctno
if (entity.getPropValue1() != null && !"".equals(entity.getPropValue1().trim())) {
entity.setProp1("cnteracctno");
entity.setPropValue1(entity.getPropValue1().trim());
}
// prop2 对方户名 cnteracctname
if (entity.getPropValue2() != null && !"".equals(entity.getPropValue2().trim())) {
entity.setProp2("cnteracctname");
entity.setPropValue2(entity.getPropValue2().trim()); // 注意这里修正为 setPropValue2
}
// prop3 对方开户行 opnbnkinfo
if (entity.getPropValue3() != null && !"".equals(entity.getPropValue3().trim())) {
entity.setProp3("opnbnkinfo");
entity.setPropValue3(entity.getPropValue3().trim());
}
// prop4 交易时间 trantimep
if (entity.getPropValue4() != null && !"".equals(entity.getPropValue4().trim())) {
entity.setProp4("trantimep");
entity.setPropValue4(entity.getPropValue4().trim());
}
// prop5 交易金额 tranamt
if (entity.getPropValue5() != null && !"".equals(entity.getPropValue5().trim())) {
entity.setProp5("tranamt");
entity.setPropValue5(entity.getPropValue5().trim());
}
// prop6 用途 yt
if (entity.getPropValue6() != null && !"".equals(entity.getPropValue6().trim())) {
entity.setProp6("yt");
entity.setPropValue6(entity.getPropValue6().trim());
}
// prop7 附言 postscript
if (entity.getPropValue7() != null && !"".equals(entity.getPropValue7().trim())) {
entity.setProp7("postscript");
entity.setPropValue7(entity.getPropValue7().trim());
}
// prop8 摘要 zy
if (entity.getPropValue8() != null && !"".equals(entity.getPropValue8().trim())) {
entity.setProp8("zy");
entity.setPropValue8(entity.getPropValue8().trim());
}
// prop9 备注 remark
if (entity.getPropValue9() != null && !"".equals(entity.getPropValue9().trim())) {
entity.setProp9("remark");
entity.setPropValue9(entity.getPropValue9().trim());
}
//prop2 对方单位
//prop3 交易时间
//prop4 交易金额
//prop5 用途
//prop6 附言
//prop7 对方账号
//prop8 对方行名
//prop9 收款付款 outFlag=D/C
//收款付款 outFlag=D/C
if(entity.getOutFlag()!=null&& !"".equals(entity.getOutFlag())){
entity.setProp9("outFlag");
entity.setPropValue1(entity.getOutFlag());
entity.setOutFlag(entity.getOutFlag());
}
PageHelper.startPage(entity.getPageNum(), entity.getPageSize());
@ -99,8 +130,6 @@ public class IClaimSKServiceImpl implements IClaimSKService {
@Override
public List<Map<String, Object>> queryFlowDateIds(MdmDBQueryVO entity) {
entity.setTablename("mdm_kk_bankflow_gts");
List<Map<String, Object>> maps= mdmDBQueryVODAO.queryMdmDateBySK(entity);
return maps;