优化
This commit is contained in:
@@ -203,7 +203,7 @@ public class StatisticalReportServiceImpl implements StatisticalReportService {
|
|||||||
double noin_qty = 0;
|
double noin_qty = 0;
|
||||||
List<Object> noinJoInfo = noinJoMap.get(material_id);
|
List<Object> noinJoInfo = noinJoMap.get(material_id);
|
||||||
if (ObjectUtil.isNotEmpty(noinJoInfo)) {
|
if (ObjectUtil.isNotEmpty(noinJoInfo)) {
|
||||||
bom_qty = ((JSONObject) noinJoInfo.get(0)).getDoubleValue("noin_qty");
|
noin_qty = ((JSONObject) noinJoInfo.get(0)).getDoubleValue("noin_qty");
|
||||||
}
|
}
|
||||||
jo4.put(material_id, String.format("%.2f", noin_qty));
|
jo4.put(material_id, String.format("%.2f", noin_qty));
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user