|
@ -20,6 +20,10 @@ |
|
|
<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, |
|
@ -79,8 +83,22 @@ |
|
|
<include refid="baseSelectCheckWhere"></include> |
|
|
<include refid="baseSelectCheckWhere"></include> |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
|
|
|
<resultMap id="verificationCheckMap" type="com.qs.serve.modules.vtb.entity.dto.VtbVerificationDTO"> |
|
|
|
|
|
<result property="verificationCode" column="verification_code"/> |
|
|
|
|
|
<result property="supplierCode" column="supplier_code"/> |
|
|
|
|
|
<result property="supplierName" column="supplier_name"/> |
|
|
|
|
|
<result property="wayTitle" column="way_title"/> |
|
|
|
|
|
<result property="amount" column="amount"/> |
|
|
|
|
|
<result property="payAmt" column="pay_amt"/> |
|
|
|
|
|
<result property="notPayAmt" column="not_pay_amt"/> |
|
|
|
|
|
<result property="costApplyCode" column="code"/> |
|
|
|
|
|
<result property="chargeTheme" column="charge_theme"/> |
|
|
|
|
|
<result property="submitTime" column="submit_time"/> |
|
|
|
|
|
<result property="activityCode" column="activity_code"/> |
|
|
|
|
|
<result property="actTitle" column="act_title"/> |
|
|
|
|
|
</resultMap> |
|
|
|
|
|
|
|
|
<select id="pageVerificationCheck" resultType="com.qs.serve.modules.vtb.entity.dto.VtbVerificationDTO"> |
|
|
<select id="pageVerificationCheck" resultType="com.qs.serve.modules.vtb.entity.dto.VtbVerificationDTO" resultMap="verificationCheckMap"> |
|
|
select |
|
|
select |
|
|
vtb.verification_code , |
|
|
vtb.verification_code , |
|
|
vtb.supplier_code , |
|
|
vtb.supplier_code , |
|
@ -123,6 +141,7 @@ |
|
|
left join tbs_activity act on act.id = vtb.activity_id |
|
|
left join tbs_activity act on act.id = vtb.activity_id |
|
|
where |
|
|
where |
|
|
vtb.del_flag = 0 |
|
|
vtb.del_flag = 0 |
|
|
|
|
|
and vtb.verification_state = 1 |
|
|
and act.del_flag = 0 |
|
|
and act.del_flag = 0 |
|
|
and act.cancel_flag = 0 |
|
|
and act.cancel_flag = 0 |
|
|
and cost.del_flag = 0 |
|
|
and cost.del_flag = 0 |
|
@ -136,6 +155,7 @@ |
|
|
<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> |
|
|
|
|
|
limit #{query.startRow},#{query.pageSize} |
|
|
</select> |
|
|
</select> |
|
|
|
|
|
|
|
|
<select id="countVerificationCheck" resultType="java.lang.Long"> |
|
|
<select id="countVerificationCheck" resultType="java.lang.Long"> |
|
|