|
|
@@ -468,7 +468,7 @@
|
|
|
AND SOURCE_ID IS NOT NULL
|
|
|
</if>
|
|
|
<if test="DiaoCar!=null">
|
|
|
- AND RP.PERSONNEL_POST in ('摆放','指挥工')
|
|
|
+ AND RP.PERSONNEL_POST in ('业务处人工队')
|
|
|
</if>
|
|
|
)
|
|
|
<where>
|
|
|
@@ -498,7 +498,7 @@
|
|
|
ORDER BY "countNumber" DESC
|
|
|
</if>
|
|
|
<if test="!(capacityId!=null and capacityId!='')">
|
|
|
- order by "personnelId" desc
|
|
|
+ order by LENGTH("label") ASC,"personnelId" desc
|
|
|
</if>
|
|
|
FETCH NEXT 10 ROWS ONLY
|
|
|
)
|
|
|
@@ -1465,6 +1465,7 @@
|
|
|
<select id="getIdCardCode" resultType="java.lang.String">
|
|
|
SELECT RC.INNNER_CODE FROM RMS_PERSONNEL RC
|
|
|
WHERE RC.PERSONNEL_JOB_NUMBER = #{jobNumber}
|
|
|
+ AND RC.PERSONNEL_POST = '司机'
|
|
|
FETCH NEXT 1 ROWS ONLY
|
|
|
</select>
|
|
|
|
|
|
@@ -2291,5 +2292,13 @@
|
|
|
</if>
|
|
|
</where>
|
|
|
</select>
|
|
|
+ <select id="getTransOrderInFoByNo" resultType="java.util.Map">
|
|
|
+ SELECT OTO.CAPACITY_NUMBER "capacityNumber",
|
|
|
+ OTO.DRIVER_NAME "driverName",
|
|
|
+ OTO.CAPACITY_ID "capacityId",
|
|
|
+ OTO.DRIVER_ID "driverId"
|
|
|
+ FROM OMS_TRANS_ORDER OTO
|
|
|
+ WHERE OTO.SERIAL_NUMBER = #{transOrderNumber}
|
|
|
+ </select>
|
|
|
|
|
|
</mapper>
|