rev:注释
This commit is contained in:
@@ -388,16 +388,16 @@ public class StatisticalReportServiceImpl implements StatisticalReportService {
|
|||||||
JSONObject map = new JSONObject();
|
JSONObject map = new JSONObject();
|
||||||
map.put("flag", "4");
|
map.put("flag", "4");
|
||||||
map.put("ext_id", jsonMater.getString("ext_id"));
|
map.put("ext_id", jsonMater.getString("ext_id"));
|
||||||
// JSONObject num_jo = WQL.getWO("QL_ERP").addParamMap(map).setDbname("dataSource1").process().uniqueResult(0);
|
JSONObject num_jo = WQL.getWO("QL_ERP").addParamMap(map).setDbname("dataSource1").process().uniqueResult(0);
|
||||||
|
|
||||||
//合同在途
|
//合同在途
|
||||||
double notqty = 0;
|
double notqty = 0;
|
||||||
/*if (ObjectUtil.isNotEmpty(num_jo)) {
|
if (ObjectUtil.isNotEmpty(num_jo)) {
|
||||||
notqty = num_jo.getDoubleValue("notqty");
|
notqty = num_jo.getDoubleValue("notqty");
|
||||||
if (notqty < 0) {
|
if (notqty < 0) {
|
||||||
notqty = 0;
|
notqty = 0;
|
||||||
}
|
}
|
||||||
}*/
|
}
|
||||||
jo6.put(material_id, String.format("%.2f", notqty));
|
jo6.put(material_id, String.format("%.2f", notqty));
|
||||||
|
|
||||||
//5、库/需差额量 :库存现存量-排产需求量
|
//5、库/需差额量 :库存现存量-排产需求量
|
||||||
|
|||||||
Reference in New Issue
Block a user