Commit b9d8c3fd by liuyang

2024-09-18

1、项目乙方数据过滤修复
parent 7bc9739f
...@@ -217,6 +217,8 @@ public class ServiceHGCW002A extends ServiceBase { ...@@ -217,6 +217,8 @@ public class ServiceHGCW002A extends ServiceBase {
} }
} }
else if (contractCategory.equals("2")) { else if (contractCategory.equals("2")) {
params.get(0).put("supCode",params.get(0).get("usercode"));
params.get(0).put("supName",params.get(0).get("username"));
inInfo = super.query(inInfo,HGPZ003.QUERY, new HGPZ003(),false,new HGPZ003().eiMetadata,EiConstant.queryBlock, "partyAResult", "partyAResult"); inInfo = super.query(inInfo,HGPZ003.QUERY, new HGPZ003(),false,new HGPZ003().eiMetadata,EiConstant.queryBlock, "partyAResult", "partyAResult");
List<HGPZ003> hgpz003List = MapUtils.toDaoEPBases(inInfo.getBlock("partyAResult").getRows(), HGPZ003.class); List<HGPZ003> hgpz003List = MapUtils.toDaoEPBases(inInfo.getBlock("partyAResult").getRows(), HGPZ003.class);
if (CollectionUtils.isNotEmpty(hgpz003List)) { if (CollectionUtils.isNotEmpty(hgpz003List)) {
......
...@@ -48,7 +48,7 @@ ...@@ -48,7 +48,7 @@
SUP_CLASS = #supClass# SUP_CLASS = #supClass#
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="supCode"> <isNotEmpty prepend=" AND " property="supCode">
SUP_CODE = #supCode# SUP_CODE LIKE CONCAT('%', #supCode#, '%')
</isNotEmpty> </isNotEmpty>
<isNotEmpty prepend=" AND " property="supName"> <isNotEmpty prepend=" AND " property="supName">
SUP_NAME LIKE CONCAT('%', #supName#, '%') SUP_NAME LIKE CONCAT('%', #supName#, '%')
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment