checkjob.id,
checkjob.plan_id,
checkstandard.standard_hours,
checkstandard.real_hours,
checkjob.start_time,
checkjob.end_time,
checkjob.actual_user,
checkjob.type,
checkjob.actual_start_time,
checkjob.actual_end_time,
checkjob.status,
checkjob.sb_status,
checkjob.receive_overtime,
checkjob.check_user_id,
checkjob.created_user_id,
checkjob.update_user_id,
checkjob.created_user_name,
checkjob.update_user_name,
checkjob.created_time,
checkjob.update_time
checkjob.plan_id,
checkjob.actual_user,
checkstandard.standard_hours,
checkstandard.real_hours,
checkjob.start_time,
checkjob.type,
checkjob.check_user_id,
checkjob.end_time,
checkjob.actual_start_time,
checkjob.actual_end_time,
checkjob.checked_num,
checkjob.abnormal_num,
checkjob.check_num,
checkjob.status,
checkjob.receive_overtime,
checkjob.sb_status
and checkjob.id = #{id}
and checkjob.receive_overtime = #{receiveOvertime}
and checkjob.plan_id = #{planId}
and checkjob.sb_id = #{sbId}
and checkjob.part_id = #{partId}
and checkjob.standard_id = #{standardId}
and checkjob.requirement = #{requirement}
and checkjob.remark = #{remark}
and checkjob.feedback = #{feedback}
and checkjob.start_time =]]>#{startTimeStart}
and checkjob.start_time #{startTimeEnd}
and checkjob.start_time = #{startTime}
and checkjob.end_time =]]>; #{endTimeStart}
and checkjob.end_time #{endTimeEnd}
and checkjob.end_time = #{endTime}
and checkjob.actual_start_time =]]>; #{actualStartTimeStart}
and checkjob.actual_start_time #{actualStartTimeEnd}
and checkjob.actual_start_time = #{actualStartTime}
and checkjob.actual_end_time =]]> #{actualEndTimeStart}
and checkjob.actual_end_time #{actualEndTimeEnd}
and checkjob.actual_end_time = #{actualEndTime}
and checkjob.status = #{status}
and checkjob.sb_status = #{sbStatus}
and checkjob.created_user_id = #{createdUserId}
and checkjob.update_user_id = #{updateUserId}
and checkjob.created_user_name = #{createdUserName}
and checkjob.update_user_name = #{updateUserName}
and checkjob.created_time =]]> #{createdTimeStart}
and checkjob.created_time #{createdTimeEnd}
and checkjob.created_time = #{createdTime}
and checkjob.update_time =]]> #{updateTimeStart}
and checkjob.update_time #{updateTimeEnd}
and checkjob.update_time = #{updateTime}
and (
standard.no like concat('%',#{keyword},'%') or
sbinfo.name like concat('%',#{keyword},'%') or
sbinfo.no like concat('%',#{keyword},'%') )
and sbinfo.zbh = #{zbh}
and sbinfo.level = #{sbLevel}
and standard.period_type = #{periodType}
and standard.level = #{standardLevel}
AND standard.level in
#{item}
and checkjob.check_user_id = #{checkUserId}
and checkjob.type = #{type}
and checkjob.start_time = ]]> date_format(#{searchStartTime},'%Y-%m-%d')
and checkjob.start_time #{searchEndTime}
and checkjob.actual_start_time = ]]> #{searchStartTime}
and checkjob.actual_start_time #{searchEndTime}
AND checkjob.status in
#{item}
and u.real_name like concat('%',#{checkUserName},'%')
and checkjob.actual_user like concat('%',#{actualUser},'%')
and sbInfo.position_id = #{positionId}
update t_check_job
receive_overtime = #{item.receiveOvertime}
start_time = #{item.startTime}
where id = #{item.id}