|
|
@ -22,24 +22,24 @@ |
|
|
|
|
|
|
|
<select id="getCarInspectedList" |
|
|
|
resultType="com.yxt.anrui.scm.api.scmvehicleexamine.AppScmVehicleExaminePageVo"> |
|
|
|
SELECT sve.sid as inspectedSid, |
|
|
|
sve.modelName as model, |
|
|
|
sve.vinNo as vin, |
|
|
|
sve.departureDate as dispatchedDate, |
|
|
|
sve.purchaseType, |
|
|
|
sve.inspection as inspectedName, |
|
|
|
sve.inspectionDate as inspectedDate, |
|
|
|
sve.inspectionResult as inspectedType, |
|
|
|
sve.saveStatus |
|
|
|
SELECT sve.sid as inspectedSid, |
|
|
|
sve.modelName as model, |
|
|
|
sve.vinNo as vin, |
|
|
|
sve.departureDate as dispatchedDate, |
|
|
|
sve.purchaseType, |
|
|
|
sve.inspection as inspectedName, |
|
|
|
sve.inspectionDate as inspectedDate, |
|
|
|
sve.inspectionResult as inspectedType, |
|
|
|
sve.saveStatus |
|
|
|
FROM scm_vehicle_examine sve |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
|
<if test="names != '' and names != null"> |
|
|
|
and concat(sve.vinNo |
|
|
|
, sve.modelName |
|
|
|
, sve.purchaseType) LIKE concat('%' |
|
|
|
, #{names} |
|
|
|
, '%') |
|
|
|
, sve.modelName |
|
|
|
, sve.purchaseType) LIKE concat('%' |
|
|
|
, #{names} |
|
|
|
, '%') |
|
|
|
</if> |
|
|
|
</where> |
|
|
|
ORDER BY sve.createTime DESC |
|
|
@ -76,6 +76,7 @@ |
|
|
|
sve.inspectionResult as `state`, |
|
|
|
sve.remarks, |
|
|
|
sve.address as location, |
|
|
|
sve.addressCode, |
|
|
|
sve.price, |
|
|
|
sve.modelDifferenceExplain, |
|
|
|
sve.guaranteeCardNo, |
|
|
@ -86,14 +87,14 @@ |
|
|
|
|
|
|
|
<select id="selectCarInspectedList" |
|
|
|
resultType="com.yxt.anrui.scm.api.scmvehicleexamine.ScmVehicleExaminePageVo"> |
|
|
|
SELECT sve.sid as inspectedSid, |
|
|
|
sve.modelName as model, |
|
|
|
sve.vinNo as vin, |
|
|
|
sve.departureDate as dispatchedDate, |
|
|
|
sve.purchaseType, |
|
|
|
sve.inspection as inspectedName, |
|
|
|
sve.inspectionDate as inspectedDate, |
|
|
|
sve.inspectionResult as inspectedType |
|
|
|
SELECT sve.sid as inspectedSid, |
|
|
|
sve.modelName as model, |
|
|
|
sve.vinNo as vin, |
|
|
|
sve.departureDate as dispatchedDate, |
|
|
|
sve.purchaseType, |
|
|
|
sve.inspection as inspectedName, |
|
|
|
sve.inspectionDate as inspectedDate, |
|
|
|
sve.inspectionResult as inspectedType |
|
|
|
FROM scm_vehicle_examine sve |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
|