|
@@ -4,6 +4,7 @@ import cn.iocoder.yudao.framework.common.pojo.PageResult;
|
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|
import cn.iocoder.yudao.framework.mybatis.core.query.LambdaQueryWrapperX;
|
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
|
import cn.iocoder.yudao.framework.mybatis.core.mapper.BaseMapperX;
|
|
import cn.iocoder.yudao.module.as.dal.dataobject.aidingstudentscollegemanage.AidingStudentsCollegeManageDO;
|
|
import cn.iocoder.yudao.module.as.dal.dataobject.aidingstudentscollegemanage.AidingStudentsCollegeManageDO;
|
|
|
|
+import cn.iocoder.yudao.module.as.dal.dataobject.aidingstudentscollegemanage.AidingStudentsCollegeManageProjectInfoPageRespDO;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import cn.iocoder.yudao.module.as.controller.admin.aidingstudentscollegemanage.vo.*;
|
|
import cn.iocoder.yudao.module.as.controller.admin.aidingstudentscollegemanage.vo.*;
|
|
import org.apache.ibatis.annotations.Param;
|
|
import org.apache.ibatis.annotations.Param;
|
|
@@ -30,7 +31,7 @@ public interface AidingStudentsCollegeManageMapper extends BaseMapperX<AidingStu
|
|
.eqIfPresent(AidingStudentsCollegeManageDO::getManageId, reqVO.getManageId())
|
|
.eqIfPresent(AidingStudentsCollegeManageDO::getManageId, reqVO.getManageId())
|
|
.eqIfPresent(AidingStudentsCollegeManageDO::getCollegeId, reqVO.getCollegeId())
|
|
.eqIfPresent(AidingStudentsCollegeManageDO::getCollegeId, reqVO.getCollegeId())
|
|
.eqIfPresent(AidingStudentsCollegeManageDO::getCollegeNoticeFile, reqVO.getCollegeNoticeFile())
|
|
.eqIfPresent(AidingStudentsCollegeManageDO::getCollegeNoticeFile, reqVO.getCollegeNoticeFile())
|
|
- .likeIfPresent(AidingStudentsCollegeManageDO::getCollegeNoticeFileName, reqVO.getCollegeNoticeFileName())
|
|
|
|
|
|
+ //.likeIfPresent(AidingStudentsCollegeManageDO::getCollegeNoticeFileName, reqVO.getCollegeNoticeFileName())
|
|
.betweenIfPresent(AidingStudentsCollegeManageDO::getReportingTime, reqVO.getReportingTime())
|
|
.betweenIfPresent(AidingStudentsCollegeManageDO::getReportingTime, reqVO.getReportingTime())
|
|
.orderByDesc(AidingStudentsCollegeManageDO::getId));
|
|
.orderByDesc(AidingStudentsCollegeManageDO::getId));
|
|
}
|
|
}
|
|
@@ -38,9 +39,9 @@ public interface AidingStudentsCollegeManageMapper extends BaseMapperX<AidingStu
|
|
@Select("SELECT as_aiding_students_manage.id,di_name,di_status,di_notice,di_notice_file,di_notice_file_name,di_end_time, " +
|
|
@Select("SELECT as_aiding_students_manage.id,di_name,di_status,di_notice,di_notice_file,di_notice_file_name,di_end_time, " +
|
|
"submit_time,evaluation_time,audit_time,publicity_time,com_status,manage_id,college_id,college_notice_file,college_notice_file_name,reporting_time,as_aiding_students_manage.create_time ,as_aiding_students_manage.creator " +
|
|
"submit_time,evaluation_time,audit_time,publicity_time,com_status,manage_id,college_id,college_notice_file,college_notice_file_name,reporting_time,as_aiding_students_manage.create_time ,as_aiding_students_manage.creator " +
|
|
"FROM as_aiding_students_manage left join as_aiding_students_college_manage on as_aiding_students_manage.id= as_aiding_students_college_manage.manage_id and as_aiding_students_college_manage.deleted=false " +
|
|
"FROM as_aiding_students_manage left join as_aiding_students_college_manage on as_aiding_students_manage.id= as_aiding_students_college_manage.manage_id and as_aiding_students_college_manage.deleted=false " +
|
|
- "where as_aiding_students_manage.deleted=false and as_aiding_students_manage.di_status=1 " +
|
|
|
|
|
|
+ "where as_aiding_students_manage.deleted=false and as_aiding_students_manage.di_status!=0 " +
|
|
"ORDER BY as_aiding_students_manage.create_time DESC limit #{pageSize} offset #{offset}")
|
|
"ORDER BY as_aiding_students_manage.create_time DESC limit #{pageSize} offset #{offset}")
|
|
- List<AidingStudentsCollegeManageProjectInfoRespVO> selectProjectInfoPage(@Param("pageSize") Integer pageSize, @Param("offset") Integer offset);
|
|
|
|
|
|
+ List<AidingStudentsCollegeManageProjectInfoPageRespDO> selectProjectInfoPage(@Param("pageSize") Integer pageSize, @Param("offset") Integer offset);
|
|
|
|
|
|
@Select("SELECT count(1) FROM as_aiding_students_manage left join as_aiding_students_college_manage on as_aiding_students_manage.id= as_aiding_students_college_manage.manage_id and as_aiding_students_college_manage.deleted=false " +
|
|
@Select("SELECT count(1) FROM as_aiding_students_manage left join as_aiding_students_college_manage on as_aiding_students_manage.id= as_aiding_students_college_manage.manage_id and as_aiding_students_college_manage.deleted=false " +
|
|
"where as_aiding_students_manage.deleted=false")
|
|
"where as_aiding_students_manage.deleted=false")
|