|
|
@ -205,7 +205,6 @@ |
|
|
|
and auditState = #{state} |
|
|
|
and receivablesName = #{type} |
|
|
|
and payTypeKey = #{payTypeKey} |
|
|
|
and subscribedOf = 0 |
|
|
|
group by contractNo |
|
|
|
</select> |
|
|
|
|
|
|
@ -217,7 +216,6 @@ |
|
|
|
and auditState = #{state} |
|
|
|
and receivablesName = #{type} |
|
|
|
and payTypeKey = #{payTypeKey} |
|
|
|
and subscribedOf = 0 |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="selectCustomerList" resultType="com.yxt.anrui.fin.api.finselectedreceivablesdetailed.SelectCustomerVo"> |
|
|
@ -226,7 +224,6 @@ |
|
|
|
where collSid = #{sid} |
|
|
|
and auditState = #{state} |
|
|
|
and receivablesName = #{type} |
|
|
|
and subscribedOf = 0 |
|
|
|
group by concat(customerName, customerPhone) |
|
|
|
</select> |
|
|
|
|
|
|
@ -236,7 +233,6 @@ |
|
|
|
from fin_selected_receivables_detailed |
|
|
|
where collSid = #{sid} |
|
|
|
and auditState = #{state} |
|
|
|
and subscribedOf = 0 |
|
|
|
and receivablesName = #{type} |
|
|
|
</select> |
|
|
|
|
|
|
@ -249,7 +245,6 @@ |
|
|
|
and receivablesName = #{type} |
|
|
|
and customerName = #{customerName} |
|
|
|
and customerPhone = #{customerPhone} |
|
|
|
and subscribedOf = 0 |
|
|
|
and length(VIN) > 0 |
|
|
|
</select> |
|
|
|
|
|
|
@ -261,7 +256,6 @@ |
|
|
|
and auditState = #{state} |
|
|
|
and receivablesName = #{type} |
|
|
|
and contractNo = #{contractNo} |
|
|
|
and subscribedOf = 0 |
|
|
|
and length(VIN) > 0 |
|
|
|
</select> |
|
|
|
|
|
|
@ -273,7 +267,6 @@ |
|
|
|
and auditState = #{state} |
|
|
|
and receivablesName = #{type} |
|
|
|
and contractNo = #{contractNo} |
|
|
|
and subscribedOf = 0 |
|
|
|
and length(VIN) = 0 |
|
|
|
</select> |
|
|
|
|
|
|
@ -286,7 +279,6 @@ |
|
|
|
and receivablesName = #{type} |
|
|
|
and customerName = #{customerName} |
|
|
|
and customerPhone = #{customerPhone} |
|
|
|
and subscribedOf = 0 |
|
|
|
and length(VIN) = 0 |
|
|
|
</select> |
|
|
|
|
|
|
@ -297,7 +289,6 @@ |
|
|
|
LEFT JOIN `fin_funds_carried_forward_veh` f ON f.`busSid` = fd.`sid` |
|
|
|
where ff.busVinSid = #{busVinSid} |
|
|
|
and fd.auditState = 3 |
|
|
|
and subscribedOf = 0 |
|
|
|
</select> |
|
|
|
|
|
|
|
<update id="updateAuditStateBySid"> |
|
|
|