|
@@ -252,8 +252,8 @@ public class ProductSMTServiceImpl implements ProductSMTService{
|
|
|
map.put("pr_detail", rs.getString("pr_detail"));
|
|
|
map.put("pr_spec", rs.getString("pr_spec"));
|
|
|
map.put("bd_baseqty", rs.getString("bdl_baseqty"));
|
|
|
- map.put("qty", 0-rs.getDouble("bdl_baseqty"));
|
|
|
- map.put("remark", "差异:缺少"+(rs.getInt("rep")==-1?"替代料":"物料")+"位号:"+rs.getString("bdl_location"));
|
|
|
+ map.put("qty", 0-rs.getFloat("bdl_baseqty"));
|
|
|
+ map.put("remark", "差异:缺少"+(rs.getFloat("rep")==-1?"替代料":"物料")+"位号:"+rs.getString("bdl_location"));
|
|
|
data.add(map);
|
|
|
}
|
|
|
|
|
@@ -266,9 +266,9 @@ public class ProductSMTServiceImpl implements ProductSMTService{
|
|
|
map.put("pr_code", rs.getString("sl_soncode"));
|
|
|
map.put("pr_detail", rs.getString("pr_detail"));
|
|
|
map.put("pr_spec", rs.getString("pr_spec"));
|
|
|
- map.put("psl_baseqty", rs.getDouble("sl_baseqty"));
|
|
|
- map.put("qty", rs.getInt("sl_baseqty"));
|
|
|
- map.put("remark","差异:多余"+(rs.getInt("rep")==-1?"替代料":"物料")+"位号:"+rs.getString("sl_location"));
|
|
|
+ map.put("psl_baseqty", rs.getFloat("sl_baseqty"));
|
|
|
+ map.put("qty", rs.getFloat("sl_baseqty"));
|
|
|
+ map.put("remark","差异:多余"+(rs.getFloat("rep")==-1?"替代料":"物料")+"位号:"+rs.getString("sl_location"));
|
|
|
data.add(map);
|
|
|
}
|
|
|
} else{
|
|
@@ -317,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.getDouble("qty"));
|
|
|
- map.put("bd_baseqty", rs.getDouble("bd_baseqty"));
|
|
|
+ map.put("qty", rs.getFloat("qty"));
|
|
|
+ map.put("bd_baseqty", rs.getFloat("bd_baseqty"));
|
|
|
map.put("remark", "差异: "+sb.toString());
|
|
|
data.add(map);
|
|
|
}
|
|
@@ -334,8 +334,8 @@ public class ProductSMTServiceImpl implements ProductSMTService{
|
|
|
map.put("pr_code", rs.getString("bd_soncode"));
|
|
|
map.put("pr_detail", rs.getString("pr_detail"));
|
|
|
map.put("pr_spec", rs.getString("pr_spec"));
|
|
|
- map.put("bd_baseqty", rs.getInt("bd_baseqty"));
|
|
|
- map.put("qty", 0-rs.getInt("bd_baseqty"));
|
|
|
+ map.put("bd_baseqty", rs.getFloat("bd_baseqty"));
|
|
|
+ map.put("qty", 0-rs.getFloat("bd_baseqty"));
|
|
|
map.put("remark", "差异:缺少物料");
|
|
|
data.add(map);
|
|
|
}
|
|
@@ -352,8 +352,8 @@ public class ProductSMTServiceImpl implements ProductSMTService{
|
|
|
map.put("pr_code", rs.getString("psl_repcode"));
|
|
|
map.put("pr_detail", rs.getString("pr_detail"));
|
|
|
map.put("pr_spec", rs.getString("pr_spec"));
|
|
|
- map.put("psl_baseqty", rs.getDouble("qty"));
|
|
|
- map.put("qty", rs.getInt("qty"));
|
|
|
+ map.put("psl_baseqty", rs.getFloat("qty"));
|
|
|
+ map.put("qty", rs.getFloat("qty"));
|
|
|
map.put("remark", "差异:多余物料,"+sb.toString());
|
|
|
data.add(map);
|
|
|
}
|