| | |
| | | <if test="query.status != null"> |
| | | and t1.status = #{query.status} |
| | | </if> |
| | | <if test="query.tenantId != null"> |
| | | and t1.tenant_id = #{query.tenantId} |
| | | </if> |
| | | AND t1.disabled = ${@com.ruoyi.common.enums.DisabledEnum@NO.getCode()} |
| | | |
| | | </where> |
| | | order by t1.create_time desc |
| | | </select> |
| | | <select id="contractAppletList" resultType="com.ruoyi.system.model.TContract"> |
| | | select t1.* from t_contract t1 |
| | |
| | | #{item} |
| | | </foreach> |
| | | </if> |
| | | <if test="query.ids != null and query.ids.size()=0"> |
| | | <if test="query.ids == null or query.ids.size()==0"> |
| | | <if test="query.partyTwoName != null and query.partyTwoName != ''"> |
| | | and t1.party_two_name like concat('%',#{query.partyTwoName},'%') |
| | | </if> |