去除外键之账户信息表jsh_account相关修改

This commit is contained in:
qiankunpingtai
2019-04-10 14:37:36 +08:00
parent 85bc297e3b
commit 76034a1298
11 changed files with 197 additions and 6 deletions

View File

@@ -438,5 +438,17 @@
</foreach>
)
</update>
<select id="getDepotHeadListByAccountIds" resultMap="com.jsh.erp.datasource.mappers.DepotHeadMapper.BaseResultMap">
select
<include refid="com.jsh.erp.datasource.mappers.DepotHeadMapper.Base_Column_List" />
from jsh_depothead
where 1=1
and accountId in (
<foreach collection="accountIds" item="accountId" separator=",">
#{accountId}
</foreach>
)
and ifnull(delete_Flag,'0') !='1'
</select>
</mapper>