去除外键之财务主表jsh_accounthead相关修改

This commit is contained in:
qiankunpingtai
2019-04-10 16:22:15 +08:00
parent d91db76e1e
commit 89b42d342c
6 changed files with 160 additions and 43 deletions

View File

@@ -72,4 +72,16 @@
)
and ifnull(delete_Flag,'0') !='1'
</select>
<select id="getAccountItemListByHeaderIds" resultMap="com.jsh.erp.datasource.mappers.AccountItemMapper.BaseResultMap">
select
<include refid="com.jsh.erp.datasource.mappers.AccountItemMapper.Base_Column_List" />
from jsh_accountitem
where 1=1
and headerId in (
<foreach collection="headerIds" item="headerId" separator=",">
#{headerId}
</foreach>
)
and ifnull(delete_Flag,'0') !='1'
</select>
</mapper>