erzhongxmu 2023-12-27 20:10:35 +08:00
parent d3b3d08c92
commit 72366595d9
1 changed files with 0 additions and 17 deletions

View File

@ -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;
}
}