|
@@ -529,6 +529,7 @@ public class PdaSMTServiceImpl implements PdaSMTService {
|
|
|
+" sysdate,'"+dsl_location+"','"+linecode+"','"+ma_code+"','"+table+"',"+isVir+" from feeder where fe_code='"+fecode+"' and fe_location='"+dsl_location+"'");
|
|
+" sysdate,'"+dsl_location+"','"+linecode+"','"+ma_code+"','"+table+"',"+isVir+" from feeder where fe_code='"+fecode+"' and fe_location='"+dsl_location+"'");
|
|
|
sql += " where fe_location='"+dsl_location+"' and fe_code='"+fecode+"'";
|
|
sql += " where fe_location='"+dsl_location+"' and fe_code='"+fecode+"'";
|
|
|
sqls.add(sql);
|
|
sqls.add(sql);
|
|
|
|
|
+ sqls.add("update devsmtlocation set dsl_fecode=null where dsl_fecode='"+fecode+"' and dsl_location='"+dsl_location+"'");
|
|
|
}
|
|
}
|
|
|
}else{
|
|
}else{
|
|
|
if(Untying==-1){
|
|
if(Untying==-1){
|
|
@@ -666,6 +667,7 @@ public class PdaSMTServiceImpl implements PdaSMTService {
|
|
|
+" sysdate,'"+dsl_location+"','"+dl_linecode+"','"+dl_macode+"','"+dl_table+"',"+isVir+" from feeder where fe_code='"+fecode+"' and fe_location='"+dsl_location+"'");
|
|
+" sysdate,'"+dsl_location+"','"+dl_linecode+"','"+dl_macode+"','"+dl_table+"',"+isVir+" from feeder where fe_code='"+fecode+"' and fe_location='"+dsl_location+"'");
|
|
|
sql += " where fe_location='"+dsl_location+"' and fe_code='"+fecode+"'";
|
|
sql += " where fe_location='"+dsl_location+"' and fe_code='"+fecode+"'";
|
|
|
sqls.add(sql);
|
|
sqls.add(sql);
|
|
|
|
|
+ sqls.add("update devsmtlocation set dsl_fecode=null where dsl_fecode='"+fecode+"' and dsl_location='"+dsl_location+"'");
|
|
|
}else {
|
|
}else {
|
|
|
if (Untying == -1) {
|
|
if (Untying == -1) {
|
|
|
sqls.add("update feeder set fe_location='',fe_barcode='' where fe_location='" + dsl_location + "'");
|
|
sqls.add("update feeder set fe_location='',fe_barcode='' where fe_location='" + dsl_location + "'");
|
|
@@ -761,6 +763,7 @@ public class PdaSMTServiceImpl implements PdaSMTService {
|
|
|
+ " sysdate,'" + dsl_location + "','" + dl_linecode + "','" + dl_macode + "','" + dl_table + "'," + isVir + " from feeder where fe_code='" + fecode + "' and fe_location='" + dsl_location + "'");
|
|
+ " sysdate,'" + dsl_location + "','" + dl_linecode + "','" + dl_macode + "','" + dl_table + "'," + isVir + " from feeder where fe_code='" + fecode + "' and fe_location='" + dsl_location + "'");
|
|
|
sql += " where fe_location='" + dsl_location + "' and fe_code='" + fecode + "'";
|
|
sql += " where fe_location='" + dsl_location + "' and fe_code='" + fecode + "'";
|
|
|
sqls.add(sql);
|
|
sqls.add(sql);
|
|
|
|
|
+ sqls.add("update devsmtlocation set dsl_fecode=null where dsl_fecode='"+fecode+"' and dsl_location='"+dsl_location+"'");
|
|
|
}
|
|
}
|
|
|
}
|
|
}
|
|
|
|
|
|