You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

19 lines
629 B

4 weeks ago
<?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.ruoyi.gysl.mapper.MxMapper">
3 weeks ago
<select id="selectAll" resultType="com.ruoyi.gysl.entity.Mx">
select * from gysl_mx
<where>
<if test="req.name != null and req.name != '' ">
AND name like concat('%',#{req.name},'%')
</if>
<if test="req.jtzb != null and req.jtzb != ''">
AND jtzb like concat('%',#{req.jtzb},'%')
</if>
</where>
</select>
4 weeks ago
</mapper>