|
|
@ -4,8 +4,7 @@ |
|
|
|
<!-- <where> ${ew.sqlSegment} </where>--> |
|
|
|
<!-- ${ew.customSqlSegment} --> |
|
|
|
<select id="selectPageVo" resultType="com.yxt.anrui.scm.api.scmapplyinbound.ScmApplyInboundListVo"> |
|
|
|
SELECT id, sid, applicationCode, applicationDate, purchaseOrderNo, modelName,nodeState, |
|
|
|
(select count(1) from scm_apply_inbound_vehicle where applySid=scm_apply_inbound.sid) vehicleNum |
|
|
|
SELECT id, sid, applicationCode, applicationDate, purchaseOrderNo, modelName,nodeState,num |
|
|
|
FROM scm_apply_inbound |
|
|
|
<where> ${ew.sqlSegment} </where> |
|
|
|
ORDER BY id DESC |
|
|
|