mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
余料库逻新增辑修改
This commit is contained in:
+2
-2
@@ -39,9 +39,9 @@ public class RemainPlateServiceImpl implements RemainPlateService {
|
||||
public Boolean createRemainPlate(RemainPlateSaveReqVO createReqVO) {
|
||||
List<RemainPlateDO> remainPlates = new ArrayList<>();
|
||||
// 插入
|
||||
if (createReqVO.getCount() > 1) {
|
||||
if (createReqVO.getCount() >= 1) {
|
||||
for (int i = 0; i < createReqVO.getCount(); i++) {
|
||||
RemainPlateDO remainPlate = BeanUtils.toBean(createReqVO, RemainPlateDO.class).setCount(1);
|
||||
RemainPlateDO remainPlate = BeanUtils.toBean(createReqVO, RemainPlateDO.class).setCount(1).setOrganId(OrganContextHolder.getOrganId());
|
||||
remainPlates.add(remainPlate);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user