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