仓库信息中 增加是否被供应商使用

master
wangwei 2 years ago
parent cafab71220
commit fd95c48a17

@ -22,4 +22,5 @@ public class InvSubWarehouseResponse {
private String parentCode;
private String parentInvName;
private Boolean advanceType;
private Boolean spUse;
}

@ -134,7 +134,7 @@
parameterType="com.glxp.api.entity.auth.InvWarehouseEntity">
replace
INTO auth_warehouse
( id, code, `name`, parentId, remark, defaultInv, advanceType, parentCode
( id, code, `name`, parentId, remark, defaultInv, advanceType, spUse,parentCode
, thirdId, thirdId1, thirdId2, thirdId3, thirdId4)
values (#{id},
#{code},
@ -143,6 +143,7 @@
#{remark},
#{defaultInv},
#{advanceType},
#{spUse},
#{parentCode},
#{thirdId},
#{thirdId1},
@ -204,6 +205,9 @@
<if test="advanceType != null">
advanceType=#{advanceType},
</if>
<if test="spUse != null">
spUse=#{spUse},
</if>
</trim>
WHERE id = #{id}
</update>
@ -270,7 +274,8 @@
a.thirdId4,
b.name as parentName,
a.parentCode,
c.name parentInvName
c.name parentInvName,
a.spUse
FROM auth_warehouse a
left join auth_dept b on a.parentId = b.code
left join auth_warehouse c on a.parentCode = c.code

Loading…
Cancel
Save