|
|
|
@ -608,12 +608,13 @@
|
|
|
|
|
|
|
|
|
|
<select id="getCurrentRevisionRef" resultMap="BaseResultMap">
|
|
|
|
|
SELECT
|
|
|
|
|
HANDLE,OPERATION,
|
|
|
|
|
REVISION
|
|
|
|
|
FROM OPERATION
|
|
|
|
|
WHERE SITE = #{site}
|
|
|
|
|
AND OPERATION = #{operation}
|
|
|
|
|
AND CURRENT_REVISION = 'true'
|
|
|
|
|
O.HANDLE,O.OPERATION,
|
|
|
|
|
O.REVISION,OT.DESCRIPTION
|
|
|
|
|
FROM OPERATION O
|
|
|
|
|
LEFT JOIN OPERATION_T OT ON O.HANDLE = OT.OPERATION_BO AND OT.LOCALE = 'zh'
|
|
|
|
|
WHERE O.SITE = #{site}
|
|
|
|
|
AND O.OPERATION = #{operation}
|
|
|
|
|
AND O.CURRENT_REVISION = 'true'
|
|
|
|
|
</select>
|
|
|
|
|
|
|
|
|
|
<select id="queryOperationByErpWorkCenter" resultMap="BaseResultMap">
|
|
|
|
|