|
@@ -2,11 +2,14 @@ package org.jeecg.modules.billet.billetHotsend.service.impl;
|
|
|
|
|
|
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
|
|
import com.baomidou.mybatisplus.core.conditions.update.LambdaUpdateWrapper;
|
|
|
+import com.baomidou.mybatisplus.core.toolkit.IdWorker;
|
|
|
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
|
|
import lombok.extern.slf4j.Slf4j;
|
|
|
import org.jeecg.common.util.oConvertUtils;
|
|
|
import org.jeecg.modules.actualControl.billetActual.billetActual.entity.BilletBasicInfo;
|
|
|
import org.jeecg.modules.actualControl.billetActual.billetActual.service.IBilletBasicInfoService;
|
|
|
+import org.jeecg.modules.actualControl.heatsActuals.entity.HeatsActuals;
|
|
|
+import org.jeecg.modules.actualControl.heatsActuals.service.IHeatsActualsService;
|
|
|
import org.jeecg.modules.billet.billetHotsend.entity.BilletHotsend;
|
|
|
import org.jeecg.modules.billet.billetHotsend.entity.BilletHotsendDetailsVo;
|
|
|
import org.jeecg.modules.billet.billetHotsend.entity.RollClubCommon;
|
|
@@ -98,7 +101,8 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
private IBilletBasicInfoService billetBasicInfoService;
|
|
|
@Autowired
|
|
|
private IBilletHotsendTypeConfigService billetHotsendTypeConfigService;
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private IHeatsActualsService heatsActualsService;
|
|
|
@Override
|
|
|
public void updateDesc(BilletHotsend billetHotsend) {
|
|
|
RulerDefaultConfig last = rulerDefaultConfigService.getLast(billetHotsend.getCcmNo());
|
|
@@ -310,15 +314,26 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
BilletHotsendTypeConfig billetHotsendTypeConfig = billetHotsendTypeConfigService.getById(billetHotsendDetailsVo.getBilletHotsendTypeConfigId());
|
|
|
List<RollClubCommon> rollClubCommonList = billetHotsendDetailsVo.getRollClubCommonList();
|
|
|
BilletHotsend billetHotsend = new BilletHotsend();
|
|
|
+
|
|
|
// 新保存 钢坯热送基础信息
|
|
|
BeanUtils.copyProperties(billetHotsendDetailsVo.getBilletHotsend(), billetHotsend);
|
|
|
billetHotsend.setCreateDate(new Date());
|
|
|
// billetHotsend.setAmountTotal(rollClubCommonList.size()); //总支数
|
|
|
+ LambdaQueryWrapper<HeatsActuals> queryWrapperHA = new LambdaQueryWrapper();
|
|
|
+ queryWrapperHA.eq(HeatsActuals::getCasterCode, billetHotsend.getCcmNo()).eq(HeatsActuals::getHeatsCode, billetHotsend.getHeatNo());
|
|
|
+ HeatsActuals heatsActuals = heatsActualsService.getOne(queryWrapperHA);
|
|
|
LambdaQueryWrapper<BilletHotsend> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
- queryWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
|
- .eq(BilletHotsend::getHeatNo, billetHotsend.getHeatNo())
|
|
|
- .eq(BilletHotsend::getShift, billetHotsend.getShift())
|
|
|
- .eq(BilletHotsend::getShiftGroup, billetHotsend.getShiftGroup());
|
|
|
+ if (oConvertUtils.isEmpty(heatsActuals)){
|
|
|
+ queryWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
|
+ .eq(BilletHotsend::getHeatNo, billetHotsend.getHeatNo())
|
|
|
+ .eq(BilletHotsend::getShift, billetHotsend.getShift())
|
|
|
+ .eq(BilletHotsend::getShiftGroup, billetHotsend.getShiftGroup());
|
|
|
+ }else {
|
|
|
+ queryWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
|
+ .eq(BilletHotsend::getHeatNo, billetHotsend.getHeatNo())
|
|
|
+ .eq(BilletHotsend::getShift, heatsActuals.getShift())
|
|
|
+ .eq(BilletHotsend::getShiftGroup, heatsActuals.getShiftGroup());
|
|
|
+ }
|
|
|
BilletHotsend check = baseMapper.selectOne(queryWrapper);
|
|
|
if (oConvertUtils.isNotEmpty(check) && oConvertUtils.listIsEmpty(rollClubCommonList)){
|
|
|
return;
|
|
@@ -337,15 +352,15 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
return;
|
|
|
}else {
|
|
|
if ("roll_club_one".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollcluboneNum(check.getRollcluboneNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollcluboneNum(oConvertUtils.isEmpty(check.getRollcluboneNum()) ? rollClubCommonList.size() : check.getRollcluboneNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_club_two".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollclubtwoNum(check.getRollclubtwoNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollclubtwoNum(oConvertUtils.isEmpty(check.getRollclubtwoNum()) ? rollClubCommonList.size() : check.getRollclubtwoNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_club_three".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollclubthreeNum(check.getRollclubthreeNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollclubthreeNum(oConvertUtils.isEmpty(check.getRollclubthreeNum()) ? rollClubCommonList.size() : check.getRollclubthreeNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_height".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollheightNum(check.getRollheightNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollheightNum(oConvertUtils.isEmpty(check.getRollheightNum()) ? rollClubCommonList.size() : check.getRollheightNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_out_shipp".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRolloutshippNum(check.getRolloutshippNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRolloutshippNum(oConvertUtils.isEmpty(check.getRolloutshippNum()) ? rollClubCommonList.size() : check.getRolloutshippNum() + rollClubCommonList.size());
|
|
|
}
|
|
|
LambdaUpdateWrapper<BilletHotsend> updateWrapper = new LambdaUpdateWrapper<>();
|
|
|
updateWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
@@ -385,8 +400,10 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollClubOneDetails rollClubOneDetails = new RollClubOneDetails();
|
|
|
BeanUtils.copyProperties(x, rollClubOneDetails);
|
|
|
+ rollClubOneDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollClubOneDetails.setShift(billetHotsend.getShift());
|
|
|
rollClubOneDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
+ rollClubOneDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollClubOneDetailsList.add(rollClubOneDetails);
|
|
|
});
|
|
@@ -419,10 +436,12 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollClubTwoDetails rollClubTwoDetails = new RollClubTwoDetails();
|
|
|
BeanUtils.copyProperties(x, rollClubTwoDetails);
|
|
|
+ rollClubTwoDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollClubTwoDetails.setShift(billetHotsend.getShift());
|
|
|
rollClubTwoDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
rollClubTwoDetails.setStorageBillId(storageBill.getId());
|
|
|
rollClubTwoDetails.setLicensePlate(storageBill.getLicensePlate());
|
|
|
+ rollClubTwoDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollClubTwoDetailsList.add(rollClubTwoDetails);
|
|
|
});
|
|
@@ -457,10 +476,12 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollClubThreeDetails rollClubThreeDetails = new RollClubThreeDetails();
|
|
|
BeanUtils.copyProperties(x, rollClubThreeDetails);
|
|
|
+ rollClubThreeDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollClubThreeDetails.setShift(billetHotsend.getShift());
|
|
|
rollClubThreeDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
rollClubThreeDetails.setStorageBillId(storageBill.getId());
|
|
|
rollClubThreeDetails.setLicensePlate(storageBill.getLicensePlate());
|
|
|
+ rollClubThreeDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollClubThreeDetailsList.add(rollClubThreeDetails);
|
|
|
});
|
|
@@ -495,9 +516,11 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollHeightDetails rollHeightDetails = new RollHeightDetails();
|
|
|
BeanUtils.copyProperties(x, rollHeightDetails);
|
|
|
+ rollHeightDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollHeightDetails.setShift(billetHotsend.getShift());
|
|
|
rollHeightDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
+ rollHeightDetails.setCreateTime(new Date());
|
|
|
rollHeightDetailsList.add(rollHeightDetails);
|
|
|
});
|
|
|
rollHeightDetailsService.saveBatch(rollHeightDetailsList);
|
|
@@ -532,10 +555,12 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollOutShippDetails rollOutShippDetails = new RollOutShippDetails();
|
|
|
BeanUtils.copyProperties(x, rollOutShippDetails);
|
|
|
+ rollOutShippDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollOutShippDetails.setShift(billetHotsend.getShift());
|
|
|
rollOutShippDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
rollOutShippDetails.setStorageBillId(storageBill.getId());
|
|
|
rollOutShippDetails.setLicensePlate(storageBill.getLicensePlate());
|
|
|
+ rollOutShippDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollOutShippDetailsList.add(rollOutShippDetails);
|
|
|
});
|
|
@@ -618,24 +643,23 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
BeanUtils.copyProperties(billetHotsendDetailsVo.getBilletHotsend(), billetHotsend);
|
|
|
billetHotsend.setCreateDate(new Date());
|
|
|
// billetHotsend.setAmountTotal(rollClubCommonList.size()); //总支数
|
|
|
+ LambdaQueryWrapper<HeatsActuals> queryWrapperHA = new LambdaQueryWrapper();
|
|
|
+ queryWrapperHA.eq(HeatsActuals::getCasterCode, billetHotsend.getCcmNo()).eq(HeatsActuals::getHeatsCode, billetHotsend.getHeatNo());
|
|
|
+ HeatsActuals heatsActuals = heatsActualsService.getOne(queryWrapperHA);
|
|
|
LambdaQueryWrapper<BilletHotsend> queryWrapper = new LambdaQueryWrapper<>();
|
|
|
- queryWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
|
- .eq(BilletHotsend::getHeatNo, billetHotsend.getHeatNo())
|
|
|
- .eq(BilletHotsend::getShift, billetHotsend.getShift())
|
|
|
- .eq(BilletHotsend::getShiftGroup, billetHotsend.getShiftGroup());
|
|
|
+ if (oConvertUtils.isEmpty(heatsActuals)){
|
|
|
+ queryWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
|
+ .eq(BilletHotsend::getHeatNo, billetHotsend.getHeatNo())
|
|
|
+ .eq(BilletHotsend::getShift, billetHotsend.getShift())
|
|
|
+ .eq(BilletHotsend::getShiftGroup, billetHotsend.getShiftGroup());
|
|
|
+ }else {
|
|
|
+ queryWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
|
+ .eq(BilletHotsend::getHeatNo, billetHotsend.getHeatNo())
|
|
|
+ .eq(BilletHotsend::getShift, heatsActuals.getShift())
|
|
|
+ .eq(BilletHotsend::getShiftGroup, heatsActuals.getShiftGroup());
|
|
|
+ }
|
|
|
BilletHotsend check = baseMapper.selectOne(queryWrapper);
|
|
|
if (oConvertUtils.isEmpty(check) && oConvertUtils.listIsEmpty(rollClubCommonList)){
|
|
|
- if ("roll_club_one".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollcluboneNum(rollClubCommonList.size());
|
|
|
- }else if ("roll_club_two".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollclubtwoNum(rollClubCommonList.size());
|
|
|
- }else if ("roll_club_three".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollclubthreeNum(rollClubCommonList.size());
|
|
|
- }else if ("roll_height".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollheightNum(rollClubCommonList.size());
|
|
|
- }else if ("roll_out_shipp".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRolloutshippNum(rollClubCommonList.size());
|
|
|
- }
|
|
|
billetHotsend.setRollclubtwoNum(0);
|
|
|
billetHotsend.setRollcluboneNum(0);
|
|
|
billetHotsend.setRolloutshippNum(0);
|
|
@@ -643,18 +667,18 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
billetHotsend.setRollclubthreeNum(0);
|
|
|
baseMapper.insert(billetHotsend);
|
|
|
billetHotsend.setId(check.getId());
|
|
|
- operateLogService.add(billetHotsend,null,BilletHotsend.class);
|
|
|
+ operateLogService.add(billetHotsend,null, BilletHotsend.class);
|
|
|
}else {
|
|
|
if ("roll_club_one".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollcluboneNum(check.getRollcluboneNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollcluboneNum(oConvertUtils.isEmpty(check.getRollcluboneNum()) ? rollClubCommonList.size() : check.getRollcluboneNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_club_two".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollclubtwoNum(check.getRollclubtwoNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollclubtwoNum(oConvertUtils.isEmpty(check.getRollclubtwoNum()) ? rollClubCommonList.size() : check.getRollclubtwoNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_club_three".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollclubthreeNum(check.getRollclubthreeNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollclubthreeNum(oConvertUtils.isEmpty(check.getRollclubthreeNum()) ? rollClubCommonList.size() : check.getRollclubthreeNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_height".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRollheightNum(check.getRollheightNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRollheightNum(oConvertUtils.isEmpty(check.getRollheightNum()) ? rollClubCommonList.size() : check.getRollheightNum() + rollClubCommonList.size());
|
|
|
}else if ("roll_out_shipp".equals(billetHotsendDetailsVo.getBelongTable()) && "0".equals(billetHotsendTypeConfig.getBelongType().toString())){
|
|
|
- billetHotsend.setRolloutshippNum(check.getRolloutshippNum() + rollClubCommonList.size());
|
|
|
+ billetHotsend.setRolloutshippNum(oConvertUtils.isEmpty(check.getRolloutshippNum()) ? rollClubCommonList.size() : check.getRolloutshippNum() + rollClubCommonList.size());
|
|
|
}
|
|
|
LambdaUpdateWrapper<BilletHotsend> updateWrapper = new LambdaUpdateWrapper<>();
|
|
|
updateWrapper.eq(BilletHotsend::getCcmNo, billetHotsend.getCcmNo())
|
|
@@ -689,13 +713,15 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubOne.setId(rollClubOne1.getId());
|
|
|
rollClubOneService.updateById(rollClubOne);
|
|
|
}
|
|
|
- // 保存棒二明细信息
|
|
|
+ // 保存棒一明细信息
|
|
|
List<RollClubOneDetails> rollClubOneDetailsList = new ArrayList<>();
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollClubOneDetails rollClubOneDetails = new RollClubOneDetails();
|
|
|
BeanUtils.copyProperties(x, rollClubOneDetails);
|
|
|
+ rollClubOneDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollClubOneDetails.setShift(billetHotsend.getShift());
|
|
|
rollClubOneDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
+ rollClubOneDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollClubOneDetailsList.add(rollClubOneDetails);
|
|
|
});
|
|
@@ -703,7 +729,7 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
}
|
|
|
|
|
|
if ("roll_club_two".equals(billetHotsendDetailsVo.getBelongTable())){
|
|
|
- // 保存棒一信息
|
|
|
+ // 保存棒二信息
|
|
|
RollClubTwo rollClubTwo = new RollClubTwo();
|
|
|
BeanUtils.copyProperties(billetHotsend, rollClubTwo);
|
|
|
rollClubTwo.setSize(rollClubCommonList.stream().findFirst().orElse(null).getSize()); //定尺
|
|
@@ -728,10 +754,12 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollClubTwoDetails rollClubTwoDetails = new RollClubTwoDetails();
|
|
|
BeanUtils.copyProperties(x, rollClubTwoDetails);
|
|
|
+ rollClubTwoDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollClubTwoDetails.setShift(billetHotsend.getShift());
|
|
|
rollClubTwoDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
rollClubTwoDetails.setStorageBillId(storageBill.getId());
|
|
|
rollClubTwoDetails.setLicensePlate(storageBill.getLicensePlate());
|
|
|
+ rollClubTwoDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollClubTwoDetailsList.add(rollClubTwoDetails);
|
|
|
});
|
|
@@ -765,10 +793,12 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollClubThreeDetails rollClubThreeDetails = new RollClubThreeDetails();
|
|
|
BeanUtils.copyProperties(x, rollClubThreeDetails);
|
|
|
+ rollClubThreeDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollClubThreeDetails.setShift(billetHotsend.getShift());
|
|
|
rollClubThreeDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
rollClubThreeDetails.setStorageBillId(storageBill.getId());
|
|
|
rollClubThreeDetails.setLicensePlate(storageBill.getLicensePlate());
|
|
|
+ rollClubThreeDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollClubThreeDetailsList.add(rollClubThreeDetails);
|
|
|
});
|
|
@@ -802,8 +832,10 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollHeightDetails rollHeightDetails = new RollHeightDetails();
|
|
|
BeanUtils.copyProperties(x, rollHeightDetails);
|
|
|
+ rollHeightDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollHeightDetails.setShift(billetHotsend.getShift());
|
|
|
rollHeightDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
+ rollHeightDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollHeightDetailsList.add(rollHeightDetails);
|
|
|
});
|
|
@@ -838,10 +870,12 @@ public class BilletHotsendBaseServiceImpl extends ServiceImpl<BilletHotsendBaseM
|
|
|
rollClubCommonList.forEach(x ->{
|
|
|
RollOutShippDetails rollOutShippDetails = new RollOutShippDetails();
|
|
|
BeanUtils.copyProperties(x, rollOutShippDetails);
|
|
|
+ rollOutShippDetails.setId(String.valueOf(IdWorker.getId()));
|
|
|
rollOutShippDetails.setShift(billetHotsend.getShift());
|
|
|
rollOutShippDetails.setShiftGroup(billetHotsend.getShiftGroup());
|
|
|
rollOutShippDetails.setStorageBillId(storageBill.getId());
|
|
|
rollOutShippDetails.setLicensePlate(storageBill.getLicensePlate());
|
|
|
+ rollOutShippDetails.setCreateTime(new Date());
|
|
|
billetNos.add(x.getBilletNo());
|
|
|
rollOutShippDetailsList.add(rollOutShippDetails);
|
|
|
});
|