| | |
| | | or jtrfr.confirm_user_id = #{vo.confirmUserId} |
| | | </if> |
| | | </if> |
| | | <!-- 网格员及其他 --> |
| | | <!-- 其他 --> |
| | | <if test="vo.roleType ==null"> |
| | | <choose> |
| | | <when test="regionChildCodesList !=null and regionChildCodesList.size()>0"> |
| | |
| | | ) |
| | | </when> |
| | | </choose> |
| | | |
| | | </if> |
| | | <!-- 网格员 --> |
| | | <if test="vo.roleName =='wgy'"> |
| | | <choose> |
| | | <when test="gridCodeList !=null and gridCodeList.size()>0"> |
| | | and ( |
| | |
| | | <foreach collection="gridCodeList" item="code" open="(" close=")" separator=","> |
| | | #{code} |
| | | </foreach> |
| | | or |
| | | or |
| | | jp.grid_code in |
| | | <foreach collection="gridCodeList" item="code" open="(" close=")" separator=","> |
| | | #{code} |
| | |
| | | <if test="vo.confirmUserId != null "> |
| | | or jtrfr.confirm_user_id = #{vo.confirmUserId} |
| | | </if> |
| | | |
| | | </if> |
| | | </if> |
| | | ORDER BY jtrfr.create_time DESC |