去除外键之收支项目表jsh_inoutitem相关修改

This commit is contained in:
qiankunpingtai
2019-04-10 16:48:45 +08:00
parent 89b42d342c
commit bb1f9b7e97
5 changed files with 127 additions and 4 deletions

View File

@@ -84,4 +84,16 @@
)
and ifnull(delete_Flag,'0') !='1'
</select>
<select id="getAccountItemListByInOutItemIds" 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 inOutItemId in (
<foreach collection="inOutItemIds" item="inOutItemId" separator=",">
#{inOutItemId}
</foreach>
)
and ifnull(delete_Flag,'0') !='1'
</select>
</mapper>