| | |
| | | <if test="finalAssemblyOfflineTime != null and finalAssemblyOfflineTime != ''"> and final_assembly_offline_time = #{finalAssemblyOfflineTime}</if> |
| | | <if test="cvtLaunchTime != null and cvtLaunchTime != ''"> and cvt_launch_time = #{cvtLaunchTime}</if> |
| | | <if test="cvtOfflineTime != null and cvtOfflineTime != ''"> and cvt_offline_time = #{cvtOfflineTime}</if> |
| | | |
| | | |
| | | <if test="startTime != null and startTime != '' and endTime != null and endTime != ''"> and cvt_offline_time between #{startTime} and #{endTime}</if> |
| | | <if test="engineNoList != null and engineNoList.size() > 0"> |
| | | and engine_no in |
| | | <foreach collection="engineNoList" open="(" close=")" separator="," item="engine"> |
| | | #{engine} |
| | | </foreach> |
| | | </if> |
| | | <if test="engineNoListExcel != null and engineNoListExcel.size() > 0"> |
| | | and engine_no in |
| | | <foreach collection="engineNoListExcel" open="(" close=")" separator="," item="engine"> |
| | | #{engine} |
| | | </foreach> |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | |
| | | </if> |
| | | </where> |
| | | </select> |
| | | <select id="getProduceNumToday" resultType="java.lang.Integer"> |
| | | select count(*) from bs_order_scheduling |
| | | where ${queryField} BETWEEN #{startTime} AND #{endTime} |
| | | </select> |
| | | |
| | | |
| | | <insert id="insertBsOrderScheduling" parameterType="BsOrderScheduling" useGeneratedKeys="true" keyProperty="id"> |