| | |
| | | <result property="createTime" column="create_time" /> |
| | | <result property="updateBy" column="update_by" /> |
| | | <result property="updateTime" column="update_time" /> |
| | | <result property="standardTime" column="standard_time" /> |
| | | <result property="processOrder" column="process_order" /> |
| | | </resultMap> |
| | | |
| | | <sql id="selectApsProcessRouteVo"> |
| | | select id, item_no, work_order_no, process_number, process_name, process_plan_start_day, process_plan_end_day, not_start_work_count, completed_count, discard_count, integration_day, plant, del_flag, create_by, create_time, update_by, update_time from aps_process_route |
| | | select id, item_no, work_order_no, process_number, process_name, process_plan_start_day, process_plan_end_day, not_start_work_count, completed_count, discard_count, integration_day, plant, del_flag, create_by, create_time, update_by, update_time,standard_time,process_order from aps_process_route |
| | | </sql> |
| | | |
| | | <select id="selectApsProcessRouteList" parameterType="ApsProcessRoute" resultMap="ApsProcessRouteResult"> |
| | |
| | | <if test="notStartWorkCount != null "> and not_start_work_count = #{notStartWorkCount}</if> |
| | | <if test="completedCount != null "> and completed_count = #{completedCount}</if> |
| | | <if test="discardCount != null "> and discard_count = #{discardCount}</if> |
| | | <if test="integrationDay != null "> and integration_day = #{integrationDay}</if> |
| | | <if test="params.beginIntegrationDay != null and params.beginIntegrationDay != '' and params.endIntegrationDay != null and params.endIntegrationDay != ''"> and integration_day between #{params.beginIntegrationDay} and #{params.endIntegrationDay}</if> |
| | | <!-- <if test="integrationDay != null "> and integration_day = #{integrationDay}</if>--> |
| | | <if test="plant != null and plant != ''"> and plant = #{plant}</if> |
| | | </where> |
| | | </select> |
| | |
| | | <if test="createTime != null">create_time,</if> |
| | | <if test="updateBy != null">update_by,</if> |
| | | <if test="updateTime != null">update_time,</if> |
| | | <if test="standardTime != null">standard_time,</if> |
| | | <if test="processOrder != null">process_order,</if> |
| | | </trim> |
| | | <trim prefix="values (" suffix=")" suffixOverrides=","> |
| | | <if test="id != null">#{id},</if> |
| | |
| | | <if test="createTime != null">#{createTime},</if> |
| | | <if test="updateBy != null">#{updateBy},</if> |
| | | <if test="updateTime != null">#{updateTime},</if> |
| | | <if test="standardTime != null">#{standardTime},</if> |
| | | <if test="processOrder != null">#{processOrder},</if> |
| | | </trim> |
| | | </insert> |
| | | |
| | |
| | | <if test="createTime != null">create_time = #{createTime},</if> |
| | | <if test="updateBy != null">update_by = #{updateBy},</if> |
| | | <if test="updateTime != null">update_time = #{updateTime},</if> |
| | | <if test="standardTime != null">standard_time = #{standardTime},</if> |
| | | <if test="processOrder != null">process_order = #{processOrder},</if> |
| | | </trim> |
| | | where id = #{id} |
| | | </update> |