去除外键之供应商客户信息表jsh_supplier、经手人表jsh_person相关修改
This commit is contained in:
@@ -88,14 +88,26 @@
|
||||
</foreach>
|
||||
)
|
||||
</update>
|
||||
<select id="getAccountHeadListByAccountIds" resultMap="com.jsh.erp.datasource.mappers.AccountHeadMapper.BaseResultMap">
|
||||
<select id="getAccountHeadListByOrganIds" resultMap="com.jsh.erp.datasource.mappers.AccountHeadMapper.BaseResultMap">
|
||||
select
|
||||
<include refid="com.jsh.erp.datasource.mappers.AccountHeadMapper.Base_Column_List" />
|
||||
from jsh_accounthead
|
||||
where 1=1
|
||||
and accountId in (
|
||||
<foreach collection="accountIds" item="accountId" separator=",">
|
||||
#{accountId}
|
||||
and organId in (
|
||||
<foreach collection="organIds" item="organId" separator=",">
|
||||
#{organId}
|
||||
</foreach>
|
||||
)
|
||||
and ifnull(delete_Flag,'0') !='1'
|
||||
</select>
|
||||
<select id="getAccountHeadListByHandsPersonIds" resultMap="com.jsh.erp.datasource.mappers.AccountHeadMapper.BaseResultMap">
|
||||
select
|
||||
<include refid="com.jsh.erp.datasource.mappers.AccountHeadMapper.Base_Column_List" />
|
||||
from jsh_accounthead
|
||||
where 1=1
|
||||
and handsPersonId in (
|
||||
<foreach collection="handsPersonIds" item="handsPersonId" separator=",">
|
||||
#{handsPersonId}
|
||||
</foreach>
|
||||
)
|
||||
and ifnull(delete_Flag,'0') !='1'
|
||||
|
||||
Reference in New Issue
Block a user