master
parent
d3b3d08c92
commit
72366595d9
|
@ -1,17 +0,0 @@
|
||||||
package com.zzjee.wmutil.sql;
|
|
||||||
|
|
||||||
import java.util.Map;
|
|
||||||
|
|
||||||
public class WmsqlUtil {
|
|
||||||
public String queryReSalePlanComDifList(Map params){
|
|
||||||
String sql ="SELECT RP.*,ROW_NUMBER() over (ORDER BY RP.X13,RP.X2,RP.X3,RP.X4,X12,X15,X17) as ROWNUM \n" +
|
|
||||||
"\t FROM RE_SALE_PLAN_COMPARE_DIF RP\n" +
|
|
||||||
"\t WHERE 1=1 \n";
|
|
||||||
sql = SqlUtils.getBatchAndEqual(sql, "RP.X3,RP.X4,RP.X15,RP.X12,RP.X13",
|
|
||||||
"area,pq,cn,salefw,years", params);
|
|
||||||
sql = SqlUtils.getBatchIn(sql, "RP.X3,RP.X4,RP.X12,RP.X15", "areaList,pqList,fws,cnList", params);
|
|
||||||
sql = SqlUtils.getBatchAndLike(sql,"RP.X15","x15",params);
|
|
||||||
|
|
||||||
return sql;
|
|
||||||
}
|
|
||||||
}
|
|
Loading…
Reference in New Issue