智慧保安后台管理项目备份
zhongrj
2022-08-24 ddae03ebb4297e78c69beab11bc8bd7e9c370913
src/main/java/org/springblade/modules/record/mapper/RecordMapper.xml
@@ -41,7 +41,16 @@
    <select id="selectRecordPage" resultMap="recordResultMap">
        select * from sys_record
        select * from sys_record where 1=1
        <if test="record.ptype!=null and record.ptype!=''">
            and  ptype=#{permit.ptype}
        </if>
        <if test="record.usetype=='1'.toString()">
            and jurisdiction in(${jurisdiction})
        </if>
        <if test="record.usetype=='2'.toString()">
            and  jurisdiction=#{permit.jurisdiction}
        </if>
    </select>
</mapper>