|
|
@@ -53,12 +53,12 @@ public class SyncProductStockTask {
|
|
|
" (select ct_id from (select ct_id from CUSTOMTABLE where ct_caller='XiaoMiProduct' " +
|
|
|
//"and trunc(ct_recorddate)=trunc(sysdate) " +
|
|
|
"and ct_statuscode='AUDITED' and nvl(CT_SENDSTATUS,' ')<>'已上传' order by ct_id ) where rownum=1) " +
|
|
|
- " and PR_BRAND in ('NEXPERIA','VANCHIP') " +
|
|
|
+ " and PR_BRAND in ('NEXPERIA','VANCHIP','NuVolta') " +
|
|
|
" order by cd_detno) A) where rn<=1000";
|
|
|
SqlRowList rs = baseDao.queryForRowSet(Sql);
|
|
|
while (rs.next()) {
|
|
|
Map<String, Object> map = new HashMap<>();
|
|
|
- map.put("factory_code", "VANCHIP".equals(rs.getGeneralString("pr_brand")) ? configuration.getX5vendercode() : configuration.getX5vendercodeSZ());
|
|
|
+ map.put("factory_code", ("VANCHIP".equals(rs.getGeneralString("pr_brand")) || "NuVolta".equals(rs.getGeneralString("pr_brand"))) ? configuration.getX5vendercode() : configuration.getX5vendercodeSZ());
|
|
|
map.put("component_code", rs.getGeneralString("cd_varchar50_3"));
|
|
|
map.put("product_code", rs.getGeneralString("cd_varchar50_2"));
|
|
|
map.put("product_desc", rs.getGeneralString("cd_varchar200_1"));
|