fix:合同在途sql
This commit is contained in:
@@ -15,8 +15,8 @@
|
||||
#################################################
|
||||
输入.flag TYPEAS s_string
|
||||
输入.ext_id TYPEAS s_string
|
||||
输入.material_id TYPEAS s_string
|
||||
输入.source_name TYPEAS s_string
|
||||
输入.material_id TYPEAS s_string
|
||||
输入.source_name TYPEAS s_string
|
||||
输入.hide TYPEAS s_string
|
||||
输入.pcsn TYPEAS s_string
|
||||
输入.mater_ids TYPEAS f_string
|
||||
@@ -165,8 +165,8 @@
|
||||
OPTION 输入.mater_ids <> ""
|
||||
PURCHASE.ITEM_ID in 输入.mater_ids
|
||||
ENDOPTION
|
||||
OPTION 输入.source_name <> ""
|
||||
PURCHASE.NAME like 输入.source_name
|
||||
OPTION 输入.source_name <> ""
|
||||
PURCHASE.NAME like "%" 输入.source_name "%"
|
||||
ENDOPTION
|
||||
OPTION 输入.hide <> ""
|
||||
1=1 HAVING sum( PURCHASE.QTY_ZT ) > 0
|
||||
|
||||
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user