|
@@ -1942,7 +1942,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
String barcode = maps.get("reel_id").toString();
|
|
|
String qty = maps.get("QTY").toString();
|
|
|
Map<Object, Object> map = new HashMap<>();
|
|
|
- SqlRowList rs = baseDao.queryForRowSet(" select pr_detail,pr_spec,bar_prodcode,to_char(bar_madedate)bar_madedate,bar_code from barcode left join product on pr_code = bar_prodcode where bar_code = '"+barcode+"' ");
|
|
|
+ SqlRowList rs = baseDao.queryForRowSet(" select pr_detail,pr_spec,bar_prodcode,to_char(bar_madedate,'YYYY-MM-DD')bar_madedate,bar_code from barcode left join product on pr_code = bar_prodcode where bar_code = '"+barcode+"' ");
|
|
|
if(rs.next())
|
|
|
{
|
|
|
baseDao.updateByCondition("barcode","bar_remain = '"+qty+"' " +
|