liwen
6 months ago
4 changed files with 23 additions and 23 deletions
@ -0,0 +1,18 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?> |
||||
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd"> |
||||
<mapper namespace="com.hnac.hzims.safeproduct.mapper.CarCheckTemplateMapper"> |
||||
|
||||
<select id="getCarCheckTemplatePage" resultType="com.hnac.hzims.safeproduct.entity.CarCheckTemplateEntity"> |
||||
SELECT |
||||
* |
||||
FROM |
||||
hzims_car_check_template |
||||
WHERE |
||||
is_deleted = 0 |
||||
<if test="param.templateName != null and param.templateName != ''"> |
||||
AND template_name like concat('%', #{param.templateName}, '%') |
||||
</if> |
||||
ORDER BY |
||||
create_time DESC |
||||
</select> |
||||
</mapper> |
Loading…
Reference in new issue