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.

21 lines
829 B

<?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.tc.mapper.zztb.AssetCurrentZztbMapper">
<select id="getAuditList" resultType="com.ruoyi.tc.entity.zztb.AssetCurrentZztbPo">
select a.* from asset_current_zztb a
<where>
<if test="req.name!=null and req.name!='' ">
and a.xtmc like concat('%',#{req.name},'%')
</if>
<if test="req.dwmc!=null and req.dwmc!='' ">
and a.dwmc like concat('%',#{req.dwmc},'%')
</if>
<if test="req.auditState!=null">
and a.audit_state =#{req.auditState}
</if>
</where>
order by a.create_time desc
</select>
</mapper>