|
|
@ -175,7 +175,7 @@
|
|
|
|
<select id="getIdByCode" resultType="java.lang.Long">
|
|
|
|
<select id="getIdByCode" resultType="java.lang.Long">
|
|
|
|
select id
|
|
|
|
select id
|
|
|
|
from auth_dept
|
|
|
|
from auth_dept
|
|
|
|
where code = #{fromCorpId}
|
|
|
|
where id = #{fromCorpId}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
<insert id="insertInvWarehouse" keyProperty="id"
|
|
|
|
<insert id="insertInvWarehouse" keyProperty="id"
|
|
|
|
parameterType="com.glxp.api.entity.auth.DeptEntity">
|
|
|
|
parameterType="com.glxp.api.entity.auth.DeptEntity">
|
|
|
@ -283,4 +283,4 @@
|
|
|
|
<select id="selectNameByCode" resultType="java.lang.String">
|
|
|
|
<select id="selectNameByCode" resultType="java.lang.String">
|
|
|
|
select name from auth_dept where code = #{code}
|
|
|
|
select name from auth_dept where code = #{code}
|
|
|
|
</select>
|
|
|
|
</select>
|
|
|
|
</mapper>
|
|
|
|
</mapper>
|
|
|
|