Browse Source

【华信科】【联合无限香港增加品牌NuVolta伏达上传】【系统反馈号2024020188】

wub 1 year ago
parent
commit
5f341857e5
1 changed files with 2 additions and 2 deletions
  1. 2 2
      src/main/java/com/uas/eis/task/SyncProductStockTask.java

+ 2 - 2
src/main/java/com/uas/eis/task/SyncProductStockTask.java

@@ -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"));