aps-modules/aps-core/src/main/java/com/aps/core/domain/ApsPlatePlan.java
@@ -26,7 +26,7 @@ private static final long serialVersionUID = 1L; /** 主键id */ private String id; private Long id; /** 主计划员 */ @Excel(name = "主计划") aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlatePlanServiceImpl.java
@@ -1,5 +1,6 @@ package com.aps.core.service.impl; import cn.hutool.core.util.IdUtil; import com.aps.common.core.utils.DateUtils; import com.aps.common.core.utils.uuid.IdUtils; import com.aps.common.security.utils.DictUtils; @@ -68,7 +69,7 @@ @Override public int insertApsPlatePlan(ApsPlatePlan apsPlatePlan) { apsPlatePlan.setId(IdUtils.fastUUID()); apsPlatePlan.setId(IdUtil.getSnowflakeNextId()); apsPlatePlan.setCreateTime(DateUtils.getNowDate()); return apsPlatePlanMapper.insertApsPlatePlan(apsPlatePlan); } @@ -122,7 +123,7 @@ ids[i]=apsPartPlanTemps.get(i).getId(); ApsPlatePlan platePlan=new ApsPlatePlan(); BeanUtils.copyProperties(apsPartPlanTemps.get(i), platePlan); platePlan.setId(IdUtils.fastUUID()); platePlan.setId(IdUtil.getSnowflakeNextId()); platePlan.setCreateTime(DateUtils.getNowDate()); //插入正式表,并记录 apsPlatePlanMapper.insertApsPlatePlan(platePlan); aps-modules/aps-core/src/main/java/com/aps/core/service/impl/ApsPlateStandardRequireServiceImpl.java
@@ -203,7 +203,7 @@ /*构建需求信息*/ ApsPlateStandardRequire require = new ApsPlateStandardRequire(); require.setId(IdUtil.getSnowflakeNextId()); require.setRequireTrackId(plan.getId()); require.setRequireTrackId(plan.getId() + ""); require.setBatchNumber(batchNum); require.setDocNum(plan.getDocumentNumber()); require.setOrgCode(plant); aps-modules/aps-core/src/main/resources/mapper/core/ApsPlatePlanOrderManagerMapper.xml
@@ -150,11 +150,11 @@ <update id="updatePlanDateByBatch" parameterType="ApsPlateOrderPlanRequireDate"> update aps_plate_plan set plan_start_day = #{planRequireDate.start}, plan_end_day = #{planRequireDate.end}, update_by = #{planRequireDate.updateBy}, plan_start_day = #{start}, plan_end_day = #{end}, update_by = #{updateBy}, update_time = now() where id = #{planRequireDate.id} where id = #{id} </update> <update id="updatePlanDateByCustom" parameterType="ApsPlateOrderPlanDate">