|
@@ -1,13 +1,5 @@
|
|
|
package com.uas.mes.pm.service.impl;
|
|
|
|
|
|
-import java.util.ArrayList;
|
|
|
-import java.util.HashMap;
|
|
|
-import java.util.List;
|
|
|
-import java.util.Map;
|
|
|
-
|
|
|
-import org.springframework.beans.factory.annotation.Autowired;
|
|
|
-import org.springframework.stereotype.Service;
|
|
|
-
|
|
|
import com.uas.mes.common.dao.DetailGridDao;
|
|
|
import com.uas.mes.common.data.BaseDao;
|
|
|
import com.uas.mes.common.data.SqlUtil;
|
|
@@ -19,6 +11,13 @@ import com.uas.mes.core.data.SqlRowList;
|
|
|
import com.uas.mes.core.support.StateAssert;
|
|
|
import com.uas.mes.core.util.FlexJsonUtil;
|
|
|
import com.uas.mes.pm.service.ProductSMTService;
|
|
|
+import org.springframework.beans.factory.annotation.Autowired;
|
|
|
+import org.springframework.stereotype.Service;
|
|
|
+
|
|
|
+import java.util.ArrayList;
|
|
|
+import java.util.HashMap;
|
|
|
+import java.util.List;
|
|
|
+import java.util.Map;
|
|
|
|
|
|
@Service("productSMTService")
|
|
|
public class ProductSMTServiceImpl implements ProductSMTService{
|
|
@@ -318,8 +317,8 @@ public class ProductSMTServiceImpl implements ProductSMTService{
|
|
|
map.put("pr_code", rs.getString("BD_fsoncode"));
|
|
|
map.put("pr_detail", rs.getString("pr_detail"));
|
|
|
map.put("pr_spec", rs.getString("pr_spec"));
|
|
|
- map.put("qty", rs.getInt("qty"));
|
|
|
- map.put("bd_baseqty", rs.getInt("bd_baseqty"));
|
|
|
+ map.put("qty", rs.getDouble("qty"));
|
|
|
+ map.put("bd_baseqty", rs.getDouble("bd_baseqty"));
|
|
|
map.put("remark", "差异: "+sb.toString());
|
|
|
data.add(map);
|
|
|
}
|