| | |
| | | <if test="resultCode != null and resultCode != ''"> and result_code = #{resultCode}</if> |
| | | <if test="sfResult != null and sfResult != ''"> and sf_result = #{sfResult}</if> |
| | | <if test="onlineCompletionMark != null and sfResult != ''"> and online_completion_mark = #{onlineCompletionMark}</if> |
| | | <if test="trolleyYard != null and trolleyYard != ''"> and trolley_yard = #{trolleyYard}</if> |
| | | |
| | | |
| | | </where> |
| | | ORDER BY stream_number DESC |
| | |
| | | <select id="getLastOrder" resultMap="OmProductionOrdeInfoResult"> |
| | | select top 1 * from om_production_orde_info order by id desc |
| | | </select> |
| | | |
| | | <select id="listLoopLine" parameterType="OmProductionOrdeInfo" resultMap="OmProductionOrdeInfoResult"> |
| | | <include refid="selectOmProductionOrdeInfoVo"/> |
| | | <where> |
| | | <if test="productNum != null and productNum != ''"> and product_num like concat('%', #{productNum}, '%')</if> |
| | | </where> |
| | | ORDER BY stream_number DESC |
| | | </select> |
| | | </mapper> |