|
@ -20,10 +20,6 @@ |
|
|
<if test="query.costTitle != null and query.costTitle != ''"> and `tbs_cost_apply`.`charge_theme` like concat('%',#{query.costTitle},'%') </if> |
|
|
<if test="query.costTitle != null and query.costTitle != ''"> and `tbs_cost_apply`.`charge_theme` like concat('%',#{query.costTitle},'%') </if> |
|
|
</sql> |
|
|
</sql> |
|
|
|
|
|
|
|
|
<resultMap id="vtbActivityCheckDTOMap" type="com.qs.serve.modules.vtb.entity.dto.VtbActivityCheckDTO"> |
|
|
|
|
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
|
|
|
<select id="pageActivityCheck" resultType="com.qs.serve.modules.vtb.entity.dto.VtbActivityCheckDTO"> |
|
|
<select id="pageActivityCheck" resultType="com.qs.serve.modules.vtb.entity.dto.VtbActivityCheckDTO"> |
|
|
select |
|
|
select |
|
|
tbs_cost_apply.`id` as costApplyId, |
|
|
tbs_cost_apply.`id` as costApplyId, |
|
@ -60,9 +56,15 @@ |
|
|
group by vtb.activity_id |
|
|
group by vtb.activity_id |
|
|
) vvtb on vvtb.activity_id = tbs_activity.id |
|
|
) vvtb on vvtb.activity_id = tbs_activity.id |
|
|
<include refid="baseSelectCheckWhere"></include> |
|
|
<include refid="baseSelectCheckWhere"></include> |
|
|
|
|
|
<if test="query.openPage!=null and query.openPage==1"> |
|
|
limit #{query.startRow},#{query.pageSize} |
|
|
limit #{query.startRow},#{query.pageSize} |
|
|
|
|
|
</if> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="vtbActivityCheckDTOMap" type="com.qs.serve.modules.vtb.entity.dto.VtbActivityCheckDTO"> |
|
|
|
|
|
|
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<select id="countActivityCheck" resultType="java.lang.Long"> |
|
|
<select id="countActivityCheck" resultType="java.lang.Long"> |
|
|
select |
|
|
select |
|
|
count(1) |
|
|
count(1) |
|
@ -155,7 +157,9 @@ |
|
|
<if test="query.chargeTheme != null and query.chargeTheme != ''"> and `cost`.`charge_theme` like concat('%',#{query.chargeTheme},'%')</if> |
|
|
<if test="query.chargeTheme != null and query.chargeTheme != ''"> and `cost`.`charge_theme` like concat('%',#{query.chargeTheme},'%')</if> |
|
|
<if test="query.startCheckTime != null and query.startCheckTime != ''"> and `vtb`.`finished_time` >= #{query.startCheckTime}</if> |
|
|
<if test="query.startCheckTime != null and query.startCheckTime != ''"> and `vtb`.`finished_time` >= #{query.startCheckTime}</if> |
|
|
<if test="query.startCheckTime != null and query.startCheckTime != ''"> and `vtb`.`finished_time` <= #{query.endCheckTime}</if> |
|
|
<if test="query.startCheckTime != null and query.startCheckTime != ''"> and `vtb`.`finished_time` <= #{query.endCheckTime}</if> |
|
|
|
|
|
<if test="query.openPage!=null and query.openPage==1"> |
|
|
limit #{query.startRow},#{query.pageSize} |
|
|
limit #{query.startRow},#{query.pageSize} |
|
|
|
|
|
</if> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="countVerificationCheck" resultType="java.lang.Long"> |
|
|
<select id="countVerificationCheck" resultType="java.lang.Long"> |
|
|