| | |
| | | <result column="offices" property="offices"/> |
| | | <result column="officetime" property="officetime"/> |
| | | <result column="deptid" property="deptid"/> |
| | | <result column="examinetime" property="examinetime"/> |
| | | <result column="representativecell" property="representativecell"/> |
| | | <result column="contacts" property="contacts"/> |
| | | <result column="contactscell" property="contactscell"/> |
| | | <result column="approve" property="approve"/> |
| | | <result column="jurisdiction" property="jurisdiction"/> |
| | | <result column="cardid" property="cardid"/> |
| | | <result column="ptype" property="ptype"/> |
| | | <result column="papprove" property="papprove"/> |
| | | <result column="xapprove" property="xapprove"/> |
| | | <result column="sapprove" property="sapprove"/> |
| | | <result column="popinion" property="popinion"/> |
| | | <result column="xopinion" property="xopinion"/> |
| | | <result column="sopinion" property="sopinion"/> |
| | | </resultMap> |
| | | |
| | | |
| | | <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> |