| | |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="check_data" property="checkData" /> |
| | | <result column="settle" property="settle" /> |
| | | <result column="settle_size" property="settleSize" /> |
| | | <result column="assistant_plan_id" property="assistantPlanId" /> |
| | | <result column="host_plan_id" property="hostPlanId" /> |
| | | <result column="assistant_pri_id" property="assistantPriId" /> |
| | | <result column="host_pri_id" property="hostPriId" /> |
| | | <result column="assistant_host_sign" property="assistantHostSign" /> |
| | | </resultMap> |
| | | |
| | | <!-- 查询结果不包含excel数据data,以免结果集过大 --> |
| | |
| | | <result column="status" property="status" /> |
| | | <result column="update_time" property="updateTime" /> |
| | | <result column="settle" property="settle" /> |
| | | <result column="settle_size" property="settleSize" /> |
| | | <result column="assistant_plan_id" property="assistantPlanId" /> |
| | | <result column="host_plan_id" property="hostPlanId" /> |
| | | <result column="assistant_host_sign" property="assistantHostSign" /> |
| | | <result column="assistant_plan_id" property="assistantPlanId" /> |
| | | <result column="host_plan_id" property="hostPlanId" /> |
| | | <result column="assistant_pri_id" property="assistantPriId" /> |
| | | <result column="host_pri_id" property="hostPriId" /> |
| | | <result column="assistant_host_sign" property="assistantHostSign" /> |
| | | </resultMap> |
| | | |
| | | <select id="listByPage" resultMap="NoDataResultMap"> |
| | |
| | | ORDER BY id DESC |
| | | </select> |
| | | |
| | | <select id="listByAll" resultMap="NoDataResultMap"> |
| | | SELECT |
| | | * |
| | | FROM man_pri_online2 mp |
| | | WHERE 1=1 |
| | | and |
| | | mp.id in |
| | | ( |
| | | select |
| | | pri_online2_id |
| | | from man_pri_online2_foll |
| | | where 1=1 |
| | | and user_id = #{userId} |
| | | ) |
| | | ORDER BY id DESC |
| | | </select> |
| | | |
| | | <select id="listByAllTotal" resultType="java.lang.Integer"> |
| | | SELECT |
| | | count (1) |
| | | FROM man_pri_online2 mp |
| | | WHERE 1=1 |
| | | and |
| | | mp.id in |
| | | ( |
| | | select |
| | | pri_online2_id |
| | | from man_pri_online2_foll |
| | | where 1=1 |
| | | and user_id = #{userId} |
| | | ) |
| | | </select> |
| | | </mapper> |