|
|
|
@ -899,7 +899,8 @@
|
|
|
|
|
ods_procure_order_card
|
|
|
|
|
LEFT JOIN ods_procure_order ON ods_procure_order.ID = TRY_CAST(ods_procure_order_card.User_Defined4 AS INT)
|
|
|
|
|
WHERE ods_procure_order.user_defined5=#{userDefined5}
|
|
|
|
|
AND ods_procure_order_card.User_Defined10='0'
|
|
|
|
|
AND (ods_procure_order_card.User_Defined10= '0'
|
|
|
|
|
OR ods_procure_order_card.User_Defined10= '2')
|
|
|
|
|
</select>
|
|
|
|
|
<select id="selectOdsProcureOrderCardByUserDefined1new" parameterType="OdsProcureOrder" resultMap="OdsProcureOrderResult">
|
|
|
|
|
SELECT
|
|
|
|
|