| | |
| | | |
| | | |
| | | <select id="selectRecordkPage" resultMap="recordkResultMap"> |
| | | select * from sys_recordk |
| | | select * from sys_recordk si left join |
| | | sys_jurisdiction sj |
| | | on |
| | | sj.id = si.jurisdiction where 1=1 |
| | | <if test="recordk.ptype!=null and recordk.ptype!=''"> |
| | | and ptype=#{record.ptype} |
| | | </if> |
| | | <if test="recordk.jurisdiction!=null and recordk.jurisdiction != '' and recordk.jurisdiction!='1372091709474910209'"> |
| | | and (sj.id = #{record.jurisdiction} or sj.parent_id = #{record.jurisdiction}) |
| | | </if> |
| | | <if test="recordk.papprove!=null and recordk.papprove!=''"> |
| | | and papprove=#{record.papprove} |
| | | </if> |
| | | <if test="recordk.xapprove!=null and recordk.xapprove!=''"> |
| | | and xapprove=#{record.xapprove} |
| | | </if> |
| | | <if test="recordk.sapprove!=null and recordk.sapprove!=''"> |
| | | and sapprove=#{record.sapprove} |
| | | </if> |
| | | </select> |
| | | |
| | | <select id="selectIn" resultType="java.util.HashMap"> |