|
|
@@ -54,13 +54,13 @@ public class SyncProductWIPTask {
|
|
|
" (select ct_id from (select ct_id from CUSTOMTABLE where ct_caller='XiaoMiProductWIP' " +
|
|
|
//"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_1"));
|
|
|
map.put("process",rs.getGeneralString("cd_varchar50_2"));
|
|
|
map.put("line_id",rs.getGeneralString("cd_varchar50_3"));
|