|
|
|
@ -282,17 +282,17 @@ public class SDNYMainProcessController extends AbstractController { |
|
|
|
|
snDetailMap.put("specificationModel", detail.getString("ggxh")); |
|
|
|
|
snDetailMap.put("unit", detail.getString("jldw")); |
|
|
|
|
String quantity = detail.getString("spsl"); |
|
|
|
|
if (quantity.length() > 3) { |
|
|
|
|
int index = quantity.indexOf("."); |
|
|
|
|
quantity = quantity.substring(0, index + 2); |
|
|
|
|
} |
|
|
|
|
// if (quantity.length() > 3) {
|
|
|
|
|
// int index = quantity.indexOf(".");
|
|
|
|
|
// quantity = quantity.substring(0, index + 2);
|
|
|
|
|
// }
|
|
|
|
|
snDetailMap.put("quantity", quantity); |
|
|
|
|
|
|
|
|
|
String unitPrice = detail.getString("bhsdj"); |
|
|
|
|
if (unitPrice.length() > 3) { |
|
|
|
|
int index = unitPrice.indexOf("."); |
|
|
|
|
unitPrice = unitPrice.substring(0, index + 3); |
|
|
|
|
} |
|
|
|
|
// if (unitPrice.length() > 3) {
|
|
|
|
|
// int index = unitPrice.indexOf(".");
|
|
|
|
|
// unitPrice = unitPrice.substring(0, index + 3);
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
snDetailMap.put("unitPrice", unitPrice); |
|
|
|
|
|
|
|
|
|