质检物料上架,不合格数量设置为0
This commit is contained in:
parent
96db2fb197
commit
770a325c9e
|
|
@ -442,7 +442,7 @@ public class NormalQMController extends BaseController {
|
||||||
zwm3A18DTO.getItem1().add(item1DTO);
|
zwm3A18DTO.getItem1().add(item1DTO);
|
||||||
} else {
|
} else {
|
||||||
item1DTO.setErfmg1(item1DTO.getErfmg1().add(code.getQualifiedQty()));
|
item1DTO.setErfmg1(item1DTO.getErfmg1().add(code.getQualifiedQty()));
|
||||||
item1DTO.setErfmg2(item1DTO.getErfmg2().add(code.getUnqualifiedQty()));
|
item1DTO.setErfmg2(BigDecimal.ZERO);
|
||||||
}
|
}
|
||||||
if (StrUtil.isNotBlank(code.getSerialNum())) {
|
if (StrUtil.isNotBlank(code.getSerialNum())) {
|
||||||
String flag = code.getInspectionResult().equals("合格") ? "X" : "";
|
String flag = code.getInspectionResult().equals("合格") ? "X" : "";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue