yangys
2024-04-04 ed4a5236bab800094be4a8378f5098eebe3de6ac
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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);
}