维护产品类型表 jsh_materialcategory
序列号表 jsh_serial_number 用户表 jsh_user 机构表 jsh_organization 机构用户关系表 jsh_orga_user_rel 对应的删除标记
This commit is contained in:
@@ -41,7 +41,7 @@
|
||||
<select id="getDepotList" parameterType="java.util.Map" resultMap="ResultMapEx">
|
||||
select dep.*,usr.username as principalName
|
||||
FROM jsh_depot dep
|
||||
left join jsh_user usr on usr.id=dep.principal
|
||||
left join jsh_user usr on usr.id=dep.principal and ifnull(usr.status,'0') not in('1','2')
|
||||
where 1=1
|
||||
<if test="name != null and name != ''">
|
||||
<bind name="name" value="'%' + _parameter.name + '%'" />
|
||||
|
||||
Reference in New Issue
Block a user