checkstandard.id,
checkstandard.sb_id,
checkstandard.standard_hours,
checkstandard.real_hours,
checkstandard.last_date,
checkstandard.check_user_id,
checkstandard.name,
checkstandard.no,
checkstandard.type,
checkstandard.period,
checkstandard.periodType,
checkstandard.actionType,
checkstandard.enable,
checkstandard.part,
checkstandard.requirement,
checkstandard.remark,
checkstandard.created_user_id,
checkstandard.update_user_id,
checkstandard.created_user_name,
checkstandard.update_user_name,
checkstandard.created_time,
checkstandard.update_time
checkstandard.sb_id,
checkstandard.standard_hours,
checkstandard.real_hours,
checkstandard.check_user_id,
checkstandard.last_date,
checkstandard.name,
checkstandard.no,
checkstandard.type,
checkstandard.period,
checkstandard.part,
checkstandard.periodType,
checkstandard.actionType,
checkstandard.enable,
checkstandard.requirement,
checkstandard.remark,
and checkstandard.id = #{id}
and checkstandard.sb_id = #{sbId}
and checkstandard.name = #{name}
and checkstandard.part = #{part}
and checkstandard.check_user_id = #{checkUserId}
and checkstandard.no = #{no}
and checkstandard.type = #{type}
and checkstandard.period = #{period}
and checkstandard.period_type = #{periodType}
and checkstandard.action_type = #{actionType}
and checkstandard.enable = #{enable}
and checkstandard.requirement = #{requirement}
and checkstandard.remark = #{remark}
and checkstandard.created_user_id = #{createdUserId}
and checkstandard.update_user_id = #{updateUserId}
and checkstandard.created_user_name = #{createdUserName}
and checkstandard.update_user_name = #{updateUserName}
and checkstandard.created_time =]]>; #{createdTimeStart}
and checkstandard.created_time #{createdTimeEnd}
and checkstandard.created_time = #{createdTime}
and checkstandard.update_time =]]>; #{updateTimeStart}
and checkstandard.update_time #{updateTimeEnd}
and checkstandard.update_time = #{updateTime}
and checkstandard.name like concat('%',#{keyword},'%')
and checkstandard.last_date = ]]> #{searchStartTime}
and checkstandard.last_date #{searchEndTime}
and (
sb.name like concat('%',#{keyword},'%')
or
sb.no like concat('%',#{keyword},'%')
or
sb.card_no like concat('%',#{keyword},'%')
)