Browse Source

fix: 解决卫生模板查询失败的问题

zhongwei
liwen 6 months ago
parent
commit
b7e4fb1027
  1. 2
      hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/HygieneTemplateMapper.xml

2
hzims-service/safeproduct/src/main/java/com/hnac/hzims/safeproduct/mapper/HygieneTemplateMapper.xml

@ -9,7 +9,7 @@
WHERE WHERE
is_deleted = 0 is_deleted = 0
<if test="param.templateName != null and param.templateName != ''"> <if test="param.templateName != null and param.templateName != ''">
AND template_name like concate('%', #{param.templateName}, '%') AND template_name like concat('%', #{param.templateName}, '%')
</if> </if>
ORDER BY ORDER BY
create_time DESC create_time DESC

Loading…
Cancel
Save