| | |
| | | <if test="outboundTime != null "> and outbound_time = #{outboundTime}</if> |
| | | <if test="outRsSign != null "> and out_rs_sign = #{outRsSign}</if> |
| | | <if test="outRsSign != null "> and out_rs_sign = #{outRsSign}</if> |
| | | |
| | | <if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> and outbound_time between #{startTime} and #{endTime}</if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | <include refid="selectDaPassingStationCollectionVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <select id="getListBySfcCode" |
| | | resultMap="DaPassingStationCollectionResult"> |
| | | <include refid="selectDaPassingStationCollectionVo"/> |
| | | where sfc_code in |
| | | <foreach collection="engineNoList" open="(" close=")" item="code" separator=","> |
| | | #{code} |
| | | </foreach> |
| | | </select> |
| | | |
| | | <insert id="insertDaPassingStationCollection" parameterType="DaPassingStationCollection"> |
| | | insert into da_passing_station_collection |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |