|
|
@@ -167,11 +167,12 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
int spb_use_count = Integer.parseInt(rs.getString("spb_use_count"));
|
|
|
if(Node.contains("回温开始")){
|
|
|
spb_use_count += 1;
|
|
|
+ baseDao.updateByCondition("spmbarcode", "SPB_REWARMINGDATE = to_date('"+ScanTime+"','yyyy-mm-dd hh24:mi:ss')", "spb_barcode='" + SolderCode + "'");
|
|
|
}
|
|
|
|
|
|
if(Node.contains("回温结束")){
|
|
|
Object prevDate = baseDao.getFieldDataByCondition("spmbarcode","round((to_date('"+ScanTime+"','yyyy-mm-dd hh24:mi:ss') - spb_update_time) * 24, 2)","spb_barcode='"+SolderCode+"'");
|
|
|
- baseDao.updateByCondition("spmbarcode", "SPB_REWARMINGDATE = to_date('"+ScanTime+"','yyyy-mm-dd hh24:mi:ss'),SPB_REWARMINTIME = '"+prevDate+"'", "spb_barcode='" + SolderCode + "'");
|
|
|
+ baseDao.updateByCondition("spmbarcode", "SPB_REWARMINTIME = '"+prevDate+"'", "spb_barcode='" + SolderCode + "'");
|
|
|
}
|
|
|
|
|
|
/*if(Node.contains("领用")){
|