去除外键之产品类型表jsh_materialcategory相关修改
This commit is contained in:
@@ -149,6 +149,18 @@
|
||||
</foreach>
|
||||
)
|
||||
</update>
|
||||
<select id="getMaterialListByCategoryIds" resultMap="com.jsh.erp.datasource.mappers.MaterialMapper.BaseResultMap">
|
||||
select
|
||||
<include refid="com.jsh.erp.datasource.mappers.MaterialMapper.Base_Column_List" />
|
||||
from jsh_material
|
||||
where 1=1
|
||||
and categoryId in (
|
||||
<foreach collection="categoryIds" item="categoryId" separator=",">
|
||||
#{categoryId}
|
||||
</foreach>
|
||||
)
|
||||
and ifnull(delete_Flag,'0') !='1'
|
||||
</select>
|
||||
|
||||
|
||||
</mapper>
|
||||
Reference in New Issue
Block a user