|
|
@ -276,7 +276,7 @@ public class DeviceTaskServiceImpl implements IDeviceTaskService {
|
|
|
|
for (EquPlanEquSpare spare : spares) {
|
|
|
|
for (EquPlanEquSpare spare : spares) {
|
|
|
|
EquSpareApply apply = new EquSpareApply();
|
|
|
|
EquSpareApply apply = new EquSpareApply();
|
|
|
|
apply.setApplyId(IdUtils.fastSimpleUUID());
|
|
|
|
apply.setApplyId(IdUtils.fastSimpleUUID());
|
|
|
|
apply.setApplyCode("A"+orderCode+String.format("%03d",applySerialNum));
|
|
|
|
apply.setApplyCode("A"+orderCode+String.format("%02d",applySerialNum));
|
|
|
|
applySerialNum++;
|
|
|
|
applySerialNum++;
|
|
|
|
apply.setSpareCode(spare.getMaterialCode());
|
|
|
|
apply.setSpareCode(spare.getMaterialCode());
|
|
|
|
apply.setSpareName(spare.getMaterialDesc());
|
|
|
|
apply.setSpareName(spare.getMaterialDesc());
|
|
|
|