package com.qianwen.smartman.modules.mdc.mapper;
|
|
import com.baomidou.mybatisplus.core.conditions.Wrapper;
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
import org.apache.ibatis.annotations.Param;
|
import org.apache.ibatis.annotations.Select;
|
import com.qianwen.smartman.common.constant.CommonConstant;
|
import com.qianwen.smartman.modules.mdc.entity.WorkstationFeedbackDetail;
|
|
/* loaded from: blade-api.jar:BOOT-INF/classes/org/springblade/modules/mdc/mapper/WorkstationFeedbackDetailMapper.class */
|
public interface WorkstationFeedbackDetailMapper extends BaseMapper<WorkstationFeedbackDetail> {
|
public static final String BASE_WRAPPER_SQL = "select * from blade_wcs_feedback_detail ${ew.customSqlSegment} ";
|
|
@Select({"select * from blade_wcs_feedback_detail ${ew.customSqlSegment} order by start_time desc limit 1; "})
|
@Select.List({@Select(databaseId = CommonConstant.ORACLE, value = {"select * from blade_wcs_feedback_detail ${ew.customSqlSegment} AND ROWNUM = 1 ORDER BY START_TIME DESC; "})})
|
WorkstationFeedbackDetail latestFeedbackByWorkstationId(@Param("ew") Wrapper<WorkstationFeedbackDetail> wrapper);
|
|
@Select({"select * from blade_wcs_feedback_detail ${ew.customSqlSegment} order by start_time desc limit 1;"})
|
@Select.List({@Select(databaseId = CommonConstant.ORACLE, value = {"select * from blade_wcs_feedback_detail ${ew.customSqlSegment} AND ROWNUM = 1 ORDER BY START_TIME DESC "})})
|
WorkstationFeedbackDetail overwriteFeedbackCheck(@Param("ew") Wrapper<WorkstationFeedbackDetail> nested);
|
}
|