|
|
@@ -166,7 +166,7 @@ public class MESHelperServiceImpl implements MESHelperService {
|
|
|
iSN=map.get("iSN").toString();
|
|
|
iSource=map.get("iSource").toString();
|
|
|
weight=map.get("weight").toString().replaceAll("KG","");
|
|
|
- Object[] obj = baseDao.getFieldsDataByCondition(Master+".makeserial left join "+Master+".product on pr_code=ms_prodcode","pr_colorboxminw,pr_colorboxmaxw","ms_id =(select max(ms_id) from makeserial where ms_sncode='"+iSN+"')");
|
|
|
+ Object[] obj = baseDao.getFieldsDataByCondition(Master+".makeserial left join "+Master+".product on pr_code=ms_prodcode","pr_colorboxminw,pr_colorboxmaxw","ms_id =(select max(ms_id) from "+Master+".makeserial where ms_sncode='"+iSN+"')");
|
|
|
if(obj[0]!=null&&obj[1]!=null){
|
|
|
//不在设置的重量范围内
|
|
|
if(Double.parseDouble(weight)<Double.parseDouble(obj[0].toString())||Double.parseDouble(weight)>Double.parseDouble(obj[1].toString())){
|