| | |
| | | <if test="updateUser != null and updateUser != ''"> and update_user = #{updateUser}</if> |
| | | <if test="remarks != null and remarks != ''"> and remarks = #{remarks}</if> |
| | | <if test="report30 != null and report30 != ''"> and report_30 = #{report30}</if> |
| | | <if test="dateConditions != null and dateConditions != ''"> and operate_time BETWEEN #{startTime} AND #{endTime}</if> |
| | | |
| | | |
| | | </where> |
| | | </select> |
| | |
| | | <include refid="selectBsOrderSchedulingVo"/> |
| | | where id = #{id} |
| | | </select> |
| | | |
| | | <select id="getPrepareOnlineList" resultType="com.jcdm.main.bs.orderScheduling.domain.BsOrderScheduling"> |
| | | select bos.* from bs_order_scheduling bos |
| | | <where> |
| | | <if test="prepareOnlineQuery.orderNo != null and prepareOnlineQuery.orderNo != '' "> |
| | | and bos.order_no = #{prepareOnlineQuery.orderNo} |
| | | </if> |
| | | <if test="prepareOnlineQuery.engineNo != null and prepareOnlineQuery.engineNo != '' "> |
| | | and bos.engine_no = #{prepareOnlineQuery.engineNo} |
| | | </if> |
| | | </where> |
| | | </select> |
| | | |
| | | |
| | | <insert id="insertBsOrderScheduling" parameterType="BsOrderScheduling" useGeneratedKeys="true" keyProperty="id"> |
| | | insert into bs_order_scheduling |
| | | <trim prefix="(" suffix=")" suffixOverrides=","> |