mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-13 21:32:07 +08:00
Merge remote-tracking branch 'origin/main'
This commit is contained in:
+2
-2
@@ -39,9 +39,9 @@ public class RemainPlateServiceImpl implements RemainPlateService {
|
|||||||
public Boolean createRemainPlate(RemainPlateSaveReqVO createReqVO) {
|
public Boolean createRemainPlate(RemainPlateSaveReqVO createReqVO) {
|
||||||
List<RemainPlateDO> remainPlates = new ArrayList<>();
|
List<RemainPlateDO> remainPlates = new ArrayList<>();
|
||||||
// 插入
|
// 插入
|
||||||
if (createReqVO.getCount() > 1) {
|
if (createReqVO.getCount() >= 1) {
|
||||||
for (int i = 0; i < createReqVO.getCount(); i++) {
|
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);
|
remainPlates.add(remainPlate);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user