fix:合同在途sql

This commit is contained in:
zhangzhiqiang
2023-04-03 19:42:33 +08:00
parent db4ba29b36
commit e9cced47d4
2 changed files with 5 additions and 5 deletions

View File

@@ -166,7 +166,7 @@
PURCHASE.ITEM_ID in 输入.mater_ids
ENDOPTION
OPTION 输入.source_name <> ""
PURCHASE.NAME like 输入.source_name
PURCHASE.NAME like "%" 输入.source_name "%"
ENDOPTION
OPTION 输入.hide <> ""
1=1 HAVING sum( PURCHASE.QTY_ZT ) > 0

View File

@@ -579,7 +579,7 @@ public class StatisticalReportServiceImpl implements StatisticalReportService {
.setDbname("dataSource1")
.addParam("flag", "6")
.addParam("material_id", ext_id)
.addParam("source_name", "%" + sourceName + "%")
.addParam("source_name", sourceName)
.addParam("hide", hide)
.addParam("mater_ids", allmaterialId)
.process().getResultJSONArray(0);