AuditProcessMapper.xml 640 B

12345678910111213141516
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
  3. <mapper namespace="com.jsh.erp.datasource.mappers.AuditProcessMapper">
  4. <select id="listBy" parameterType="com.jsh.erp.datasource.dto.AuditProcessQueryDTO" resultType="com.jsh.erp.datasource.vo.AuditProcessVo">
  5. SELECT id,`name`,type,description
  6. FROM audit_process
  7. <where>
  8. delete_flag = 0
  9. <if test="type != null and type != ''">
  10. AND type LIKE CONCAT('%',#{type},'%')
  11. </if>
  12. </where>
  13. </select>
  14. </mapper>