1.单据实体类增加三期校验字段

zhairh
x_z 3 years ago
parent 4bc21a1e0f
commit 0fc5dcb63c

@ -296,6 +296,7 @@ public class WareHouseController {
orderEntity1.setOutChangeEnable(addOrderRequest.isOutChangeEnable()); orderEntity1.setOutChangeEnable(addOrderRequest.isOutChangeEnable());
orderEntity1.setPreCheck(addOrderRequest.isPreCheck()); orderEntity1.setPreCheck(addOrderRequest.isPreCheck());
orderEntity1.setUpdateTime(new Date()); orderEntity1.setUpdateTime(new Date());
orderEntity1.setCodeFillCheck(addOrderRequest.isCodeFillCheck());
orderService.updateOrder(orderEntity1); orderService.updateOrder(orderEntity1);
WarehouseEntity warehouseEntity = new WarehouseEntity(); WarehouseEntity warehouseEntity = new WarehouseEntity();
warehouseEntity.setOrderId(addOrderRequest.getOrderId()); warehouseEntity.setOrderId(addOrderRequest.getOrderId());

@ -68,4 +68,9 @@ public class OrderEntity {
private String deptName; private String deptName;
private String printRemark; private String printRemark;
/**
* UDI
*/
private boolean codeFillCheck;
} }

@ -34,7 +34,7 @@
receiveStatus, erpFk, stockCheckFk, customerId, supId, receiveStatus, erpFk, stockCheckFk, customerId, supId,
exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser, exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser,
outChangeEnable, originUllageSupNo, preCheck, updateTime, replicateNo, invWarehouseCode, outChangeEnable, originUllageSupNo, preCheck, updateTime, replicateNo, invWarehouseCode,
fromSubInvCode, createTime, invStorageCode, deptCode, printRemark) fromSubInvCode, createTime, invStorageCode, deptCode, printRemark, codeFillCheck)
values (#{id}, values (#{id},
#{action}, #{action},
#{corpOrderId}, #{corpOrderId},
@ -56,56 +56,57 @@
#{ullageSupNo}, #{createUser}, #{reviewUser}, #{outChangeEnable}, #{originUllageSupNo}, #{preCheck}, #{ullageSupNo}, #{createUser}, #{reviewUser}, #{outChangeEnable}, #{originUllageSupNo}, #{preCheck},
#{updateTime}, #{replicateNo}, #{invWarehouseCode}, #{fromSubInvCode}, #{createTime}, #{invStorageCode}, #{updateTime}, #{replicateNo}, #{invWarehouseCode}, #{fromSubInvCode}, #{createTime}, #{invStorageCode},
#{deptCode}, #{deptCode},
#{printRemark}) #{printRemark},
#{codeFillCheck})
</insert> </insert>
<insert id="importOrder" keyProperty="id" parameterType="com.glxp.sale.admin.entity.inout.OrderEntity"> <insert id="importOrder" keyProperty="id" parameterType="com.glxp.sale.admin.entity.inout.OrderEntity">
insert insert
ignore ignore
INTO io_order(id, action, corpOrderId, actDate, fromCorpId, actor, mainAction, INTO io_order(id, action, corpOrderId, actDate, fromCorpId, actor, mainAction,
fromCorp, status, remark, exportStatus, fromType, contrastStatus, signStatus, fromCorp, status, remark, exportStatus, fromType, contrastStatus, signStatus,
receiveStatus, erpFk, stockCheckFk, customerId, supId, receiveStatus, erpFk, stockCheckFk, customerId, supId,
exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser, exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser,
outChangeEnable, originUllageSupNo, preCheck,updateTime,replicateNo,invWarehouseCode,fromSubInvCode,createTime,invStorageCode,deptCode,printRemark) outChangeEnable, originUllageSupNo, preCheck, updateTime, replicateNo, invWarehouseCode,
values ( fromSubInvCode, createTime, invStorageCode, deptCode, printRemark, codeFillCheck)
#{id}, values (#{id},
#{action}, #{action},
#{corpOrderId}, #{corpOrderId},
#{actDate}, #{actDate},
#{fromCorpId}, #{fromCorpId},
#{actor}, #{actor},
#{mainAction}, #{mainAction},
#{fromCorp}, #{fromCorp},
#{status}, #{status},
#{remark}, #{remark},
#{exportStatus}, #{exportStatus},
#{fromType}, #{fromType},
#{contrastStatus}, #{contrastStatus},
#{signStatus}, #{signStatus},
#{receiveStatus}, #{receiveStatus},
#{erpFk}, #{erpFk},
#{stockCheckFk}, #{stockCheckFk},
#{customerId}, #{customerId},
#{supId}, #{supId},
#{exportFilePath}, #{exportFilePath},
#{locStorageCode}, #{locStorageCode},
#{supplementNo}, #{supplementNo},
#{ullageSupNo}, #{ullageSupNo},
#{createUser}, #{createUser},
#{reviewUser}, #{reviewUser},
#{outChangeEnable}, #{outChangeEnable},
#{originUllageSupNo}, #{originUllageSupNo},
#{preCheck}, #{preCheck},
#{updateTime}, #{updateTime},
#{replicateNo}, #{replicateNo},
#{invWarehouseCode}, #{invWarehouseCode},
#{fromSubInvCode}, #{fromSubInvCode},
#{createTime}, #{createTime},
#{invStorageCode}, #{invStorageCode},
#{deptCode}, #{deptCode},
#{printRemark} #{printRemark},
) #{codeFillCheck})
</insert> </insert>
@ -147,7 +148,7 @@
<if test="createTime != null and createTime != ''">createTime=#{createTime},</if> <if test="createTime != null and createTime != ''">createTime=#{createTime},</if>
<if test="deptCode != null and deptCode != ''">deptCode=#{deptCode},</if> <if test="deptCode != null and deptCode != ''">deptCode=#{deptCode},</if>
<if test="printRemark != null and printRemark != ''">printRemark=#{printRemark},</if> <if test="printRemark != null and printRemark != ''">printRemark=#{printRemark},</if>
<if test="codeFillCheck != null">codeFillCheck=#{codeFillCheck},</if>
</trim> </trim>
WHERE id = #{id} WHERE id = #{id}
</update> </update>

Loading…
Cancel
Save