|
|
@ -4,17 +4,17 @@ |
|
|
|
<!-- <where> ${ew.sqlSegment} </where>--> |
|
|
|
<!-- ${ew.customSqlSegment} --> |
|
|
|
<select id="selectPageVo" resultType="com.yxt.anrui.buscenter.api.busdeliveredapply.BusDeliveredApplyVo"> |
|
|
|
SELECT sid, |
|
|
|
case state |
|
|
|
SELECT bd.sid, |
|
|
|
case bd.state |
|
|
|
when 1 then '待提交' |
|
|
|
when 2 then '待审核' |
|
|
|
when 3 then '已通过' |
|
|
|
when 4 then '未通过' end as state, |
|
|
|
contractNo, |
|
|
|
name, |
|
|
|
DATE_FORMAT(applyDate, '%Y-%m-%d') as applyDate, |
|
|
|
applyName |
|
|
|
FROM bus_delivered_apply |
|
|
|
bd.contractNo, |
|
|
|
bd.name, |
|
|
|
DATE_FORMAT(bd.applyDate, '%Y-%m-%d') as applyDate, |
|
|
|
bd.applyName |
|
|
|
FROM bus_delivered_apply bd |
|
|
|
<where> |
|
|
|
${ew.sqlSegment} |
|
|
|
</where> |
|
|
|