mirror of
http://192.168.1.205:9980/cf_devdept2/cf_imes_server.git
synced 2026-08-12 21:02:08 +08:00
修复用户模板授权分页列表接口响应异常
This commit is contained in:
+2
-2
@@ -34,9 +34,9 @@
|
||||
resultType="com.cf.imes.module.system.controller.admin.machine.vo.AutoTemplateVO" parameterType="java.util.Map">
|
||||
select b.user_id, c.name AS templateName, c.id AS templateId
|
||||
from user_machine b
|
||||
inner join system_machine_template c on b.machine_id = c.id
|
||||
inner join system_machine_template c on b.machine_id = c.id and c.deleted = 0
|
||||
<where>
|
||||
c.deleted = 0
|
||||
b.user_id = #{userId}
|
||||
<if test="templateName != null and templateName != ''">
|
||||
and c.name like concat('%',#{templateName},'%')
|
||||
</if>
|
||||
|
||||
Reference in New Issue
Block a user