Commit 257df619 by wancheng

物料清单导入

parent 6d401a87
...@@ -742,7 +742,7 @@ public class ServiceHPSC002 extends ServiceBase { ...@@ -742,7 +742,7 @@ public class ServiceHPSC002 extends ServiceBase {
} }
} }
@OperationLogAnnotation(operModul = "物料清单",operType = "导入",operDesc = "导入")
public EiInfo importData(EiInfo inInfo) { public EiInfo importData(EiInfo inInfo) {
try { try {
List<HPSC002> dataList = (List) inInfo.get("dataList"); List<HPSC002> dataList = (List) inInfo.get("dataList");
...@@ -753,12 +753,6 @@ public class ServiceHPSC002 extends ServiceBase { ...@@ -753,12 +753,6 @@ public class ServiceHPSC002 extends ServiceBase {
String parentPrdtName = (String) params.get("parentPrdtName"); String parentPrdtName = (String) params.get("parentPrdtName");
// 写入数据 // 写入数据
for (HPSC002 hpsc002:dataList) { for (HPSC002 hpsc002:dataList) {
/*BigDecimal num = hpsc002.getNum();
BigDecimal unitWt = hpsc002.getUnitWt();
DecimalFormat decimalFormat = new DecimalFormat("#.000");
BigDecimal totalWt = new BigDecimal(decimalFormat.format(num.multiply(unitWt).floatValue()));
hpsc002.setDelStatus(CommonConstant.YesNo.NO_0.intValue());
hpsc002.setTotalWt(totalWt);*/
hpsc002.setParentId(parentId); hpsc002.setParentId(parentId);
hpsc002.setProjCode(projCode); hpsc002.setProjCode(projCode);
hpsc002.setProjName(projName); hpsc002.setProjName(projName);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment