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

purchase
x_z 3 years ago
parent 1e9e3b4a0a
commit 954addf7f7

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

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

@ -34,7 +34,8 @@
receiveStatus, erpFk, stockCheckFk, thirdBillNo, supId,
exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser,
outChangeEnable, originUllageSupNo, preCheck, updateTime, replicateNo, invWarehouseCode,
fromSubInvCode, createTime, originFromType,invStorageCode,deptCode,printRemark)
fromSubInvCode, createTime, originFromType, invStorageCode, deptCode, printRemark,
codeFillCheck)
values (#{id},
#{action},
#{corpOrderId},
@ -54,7 +55,9 @@
#{stockCheckFk},
#{thirdBillNo}, #{supId}, #{exportFilePath}, #{locStorageCode}, #{supplementNo},
#{ullageSupNo}, #{createUser}, #{reviewUser}, #{outChangeEnable}, #{originUllageSupNo}, #{preCheck},
#{updateTime}, #{replicateNo}, #{invWarehouseCode}, #{fromSubInvCode}, #{createTime}, #{originFromType},#{invStorageCode},#{deptCode},#{printRemark})
#{updateTime}, #{replicateNo}, #{invWarehouseCode}, #{fromSubInvCode}, #{createTime}, #{originFromType},
#{invStorageCode}, #{deptCode}, #{printRemark},
#{codeFillCheck})
</insert>
<insert id="importOrder" keyProperty="id" parameterType="com.glxp.api.admin.entity.inout.OrderEntity">
@ -64,9 +67,9 @@
fromCorp, status, remark, exportStatus, fromType, contrastStatus, signStatus,
receiveStatus, erpFk, stockCheckFk, thirdBillNo, supId,
exportFilePath, locStorageCode, supplementNo, ullageSupNo, createUser, reviewUser,
outChangeEnable, originUllageSupNo, preCheck,updateTime,replicateNo,invWarehouseCode,fromSubInvCode,createTime,originFromType,invStorageCode,deptCode,printRemark)
values (
#{id},
outChangeEnable, originUllageSupNo, preCheck, updateTime, replicateNo, invWarehouseCode,
fromSubInvCode, createTime, originFromType, invStorageCode, deptCode, printRemark, codeFillCheck)
values (#{id},
#{action},
#{corpOrderId},
#{actDate},
@ -99,8 +102,8 @@
#{invWarehouseCode},
#{fromSubInvCode},
#{createTime},
#{originFromType},#{invStorageCode},#{deptCode}, #{printRemark}
)
#{originFromType}, #{invStorageCode}, #{deptCode}, #{printRemark},
#{codeFillCheck})
</insert>
@ -144,7 +147,7 @@
<if test="originFromType != null and originFromType != ''">originFromType=#{originFromType},</if>
<if test="deptCode != null and deptCode != ''">deptCode=#{deptCode},</if>
<if test="printRemark != null and printRemark != ''">printRemark=#{printRemark},</if>
<if test="codeFillCheck != null">codeFillCheck=#{codeFillCheck},</if>
</trim>
WHERE id = #{id}
</update>

Loading…
Cancel
Save