|
|
@ -344,7 +344,7 @@ |
|
|
|
WHERE |
|
|
|
busState = '401' |
|
|
|
<!-- and (finState = '1' OR carryVehicleState = '1' ))--> |
|
|
|
AND ((saleTypeKey = '1' and (finState = '1' OR carryVehicleState = '1' )) or (saleTypeKey = '2' and invoiceApplyState = '1'))) |
|
|
|
AND ((saleTypeKey = '1' and (finState = '1' OR carryVehicleState = '1' )) or (saleTypeKey = '2' and finState = '1' and manageState = '1'))) |
|
|
|
AND bbv.vehicleState != '0002' |
|
|
|
</where> |
|
|
|
GROUP BY |
|
|
@ -543,7 +543,7 @@ |
|
|
|
WHERE |
|
|
|
busState = '401' |
|
|
|
<!--and (finState = '1' OR carryVehicleState = 1 ))--> |
|
|
|
AND (( saleTypeKey = '1' and (finState = '1' OR carryVehicleState = 1 )) or (saleTypeKey = '2' and invoiceApplyState = '1'))) |
|
|
|
AND (( saleTypeKey = '1' and (finState = '1' OR carryVehicleState = 1 )) or (saleTypeKey = '2' and finState = '1' and manageState = '1'))) |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="vinLists3" resultType="com.yxt.anrui.buscenter.api.busdelivered.AppVinListVo"> |
|
|
@ -591,7 +591,7 @@ |
|
|
|
anrui_base.base_vehicle_state |
|
|
|
WHERE |
|
|
|
busState = '401' |
|
|
|
AND (saleTypeKey = '2' and invoiceApplyState = '1')) |
|
|
|
AND (saleTypeKey = '2' and finState = '1' and manageState = '1')) |
|
|
|
</select> |
|
|
|
|
|
|
|
<select id="vinLists2" resultType="com.yxt.anrui.buscenter.api.busdelivered.VinListVo2"> |
|
|
|