stopDetail.id,
stopDetail.no,
stopDetail.sb_id,
stopDetail.repair_id,
stopDetail.user_id,
stopDetail.type,
stopDetail.apply_date,
stopDetail.start_date,
stopDetail.stop_date,
stopDetail.content,
stopDetail.status,
stopDetail.remark,
stopDetail.created_time,
stopDetail.update_time,
stopDetail.created_user_id,
stopDetail.created_user_name,
stopDetail.update_user_id,
stopDetail.update_user_name
stopDetail.no,
stopDetail.sb_id,
stopDetail.repair_id,
stopDetail.user_id,
stopDetail.type,
stopDetail.apply_date,
stopDetail.start_date,
stopDetail.stop_date,
stopDetail.content,
stopDetail.status,
stopDetail.remark,
and stopDetail.id = #{id}
and stopDetail.no = #{no}
and stopDetail.sb_id = #{sbId}
and stopDetail.repair_id = #{repairId}
and stopDetail.user_id = #{userId}
and stopDetail.type = #{type}
and stopDetail.apply_date =]]>; #{applyDateStart}
and stopDetail.apply_date #{applyDateEnd}
and stopDetail.apply_date = #{applyDate}
and stopDetail.start_date =]]>; #{startDateStart}
and stopDetail.start_date #{startDateEnd}
and stopDetail.start_date = #{startDate}
and stopDetail.stop_date =]]>; #{stopDateStart}
and stopDetail.stop_date #{stopDateEnd}
and stopDetail.stop_date = #{stopDate}
and stopDetail.content = #{content}
and stopDetail.status = #{status}
and stopDetail.remark = #{remark}
and stopDetail.created_time =]]>; #{createdTimeStart}
and stopDetail.created_time #{createdTimeEnd}
and stopDetail.created_time = #{createdTime}
and stopDetail.update_time =]]>; #{updateTimeStart}
and stopDetail.update_time #{updateTimeEnd}
and stopDetail.update_time = #{updateTime}
and stopDetail.created_user_id = #{createdUserId}
and stopDetail.created_user_name = #{createdUserName}
and stopDetail.update_user_id = #{updateUserId}
and stopDetail.update_user_name = #{updateUserName}
and (stopDetail.id like concat(concat('%',#{keyword}),'%')
or t1.no like concat(concat('%',#{keyword}),'%')
or t1.name like concat(concat('%',#{keyword}),'%')
)