|
|
|
@ -24,10 +24,8 @@ import org.springframework.stereotype.Service;
|
|
|
|
|
import org.springframework.util.CollectionUtils;
|
|
|
|
|
import org.springframework.util.StringUtils;
|
|
|
|
|
|
|
|
|
|
import java.util.List;
|
|
|
|
|
import java.util.Map;
|
|
|
|
|
import java.util.Optional;
|
|
|
|
|
import java.util.UUID;
|
|
|
|
|
import java.text.SimpleDateFormat;
|
|
|
|
|
import java.util.*;
|
|
|
|
|
import java.util.stream.Collectors;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
@ -152,6 +150,7 @@ public class MesProductionRecordGenerateStepService extends BaseStepService {
|
|
|
|
|
productionRecord.setOrganizeCode(reqBean.getOrganizeCode());
|
|
|
|
|
ConvertBean.serviceModelInitialize(productionRecord, reqBean.getUserInfo());
|
|
|
|
|
productionRecord.setCompleteDateTime(productionRecord.getModifyDatetime());
|
|
|
|
|
productionRecord.setCreateDatetime((new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS")).format(new Date()));
|
|
|
|
|
|
|
|
|
|
productionRecord.setFid(UUID.randomUUID().toString());
|
|
|
|
|
productionRecord.setOneMouldMoreId(UUID.randomUUID().toString());
|
|
|
|
|