| | |
| | | <result column="approve" property="approve"/> |
| | | <result column="jurisdiction" property="jurisdiction"/> |
| | | <result column="overtime" property="overtime"/> |
| | | <result column="approve" property="approve"/> |
| | | <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="selectRevokePage" resultMap="revokeResultMap"> |
| | | select * from sys_revoke |
| | | select * from sys_revoke si left join |
| | | sys_jurisdiction sj |
| | | on |
| | | sj.id = si.jurisdiction where 1=1 |
| | | <if test="revoke.ptype!=null and revoke.ptype!=''"> |
| | | and ptype=#{record.ptype} |
| | | </if> |
| | | <if test="revoke.jurisdiction!=null and revoke.jurisdiction != '' and revoke.jurisdiction!='1372091709474910209'"> |
| | | and (sj.id = #{record.jurisdiction} or sj.parent_id = #{record.jurisdiction}) |
| | | </if> |
| | | <if test="revoke.papprove!=null and revoke.papprove!=''"> |
| | | and papprove=#{record.papprove} |
| | | </if> |
| | | <if test="revoke.xapprove!=null and revoke.xapprove!=''"> |
| | | and xapprove=#{record.xapprove} |
| | | </if> |
| | | <if test="revoke.sapprove!=null and revoke.sapprove!=''"> |
| | | and sapprove=#{record.sapprove} |
| | | </if> |
| | | </select> |
| | | <select id="selectIn" resultType="java.util.HashMap"> |
| | | select * from sys_revoke where cardid=#{cardid} and ptype=#{type} |