11
This commit is contained in:
parent
a084d5987a
commit
7ff9488d4c
@ -90,9 +90,6 @@ public class DriveSchoolExamPassServiceImpl implements IDriveSchoolExamPassServi
|
||||
Long userId = SecurityFrameworkUtils.getLoginUserId();
|
||||
AdminUserRespDTO user = userApi.getUser(userId);
|
||||
Long deptId = user.getDeptId();
|
||||
if (deptId == 100){
|
||||
deptId = 227L;
|
||||
}
|
||||
DriveSchoolInfoVO schoolInfoByDeptId = driveSchoolInfoMapper.getSchoolInfoByDeptId(deptId);
|
||||
driveSchoolExamPass.setJxId(schoolInfoByDeptId.getId());
|
||||
return driveSchoolExamPassMapper.selectDriveSchoolExamPassList(driveSchoolExamPass, page);
|
||||
@ -211,9 +208,6 @@ public class DriveSchoolExamPassServiceImpl implements IDriveSchoolExamPassServi
|
||||
Long userId = SecurityFrameworkUtils.getLoginUserId();
|
||||
AdminUserRespDTO user = userApi.getUser(userId);
|
||||
Long deptId = user.getDeptId();
|
||||
if (deptId == 100){
|
||||
deptId = null;
|
||||
}
|
||||
DriveSchoolInfoVO schoolInfoByDeptId = driveSchoolInfoMapper.getSchoolInfoByDeptId(deptId);
|
||||
driveSchoolExamPass.setJxId(schoolInfoByDeptId.getId());
|
||||
}
|
||||
|
@ -129,9 +129,6 @@ public class DriveSchoolReservationCourseServiceImpl implements IDriveSchoolRese
|
||||
AdminUserRespDTO user = userApi.getUser(userId);
|
||||
Long deptId = user.getDeptId();
|
||||
driveSchoolReservationCourse.setDeptId(deptId);
|
||||
if (deptId == 100){
|
||||
driveSchoolReservationCourse.setDeptId(null);
|
||||
}
|
||||
IPage<DriveSchoolReservationCourse> driveSchoolReservationCourseIPage = driveSchoolReservationCourseMapper.selectDriveSchoolReservationCourseList(driveSchoolReservationCourse, page);
|
||||
List<DriveSchoolReservationCourse> courseList = driveSchoolReservationCourseIPage.getRecords();
|
||||
|
||||
@ -145,10 +142,13 @@ public class DriveSchoolReservationCourseServiceImpl implements IDriveSchoolRese
|
||||
// SysUser sysUserData = sysUserMapper.findSysUserById(item.getUserId());
|
||||
// item.setSysUser(sysUserData);
|
||||
AdminUserRespDTO sysUserData = userApi.getUser(item.getUserId());
|
||||
AdminUserDO adminUserDO = new AdminUserDO();
|
||||
BeanUtils.copyProperties(sysUserData,adminUserDO);
|
||||
if (ObjectUtils.isNotEmpty(sysUserData)){
|
||||
AdminUserDO adminUserDO = new AdminUserDO();
|
||||
BeanUtils.copyProperties(sysUserData,adminUserDO);
|
||||
item.setSysUser(adminUserDO);
|
||||
}
|
||||
|
||||
// SysUser sysUserData = sysUserMapper.findSysUserById(item.getUserId());
|
||||
item.setSysUser(adminUserDO);
|
||||
DriveSchoolPay driveSchoolPay = driveSchoolPayMapper.selectByUserId(item.getUserId());
|
||||
if (ObjectUtils.isNotEmpty(driveSchoolPay)){
|
||||
item.setUserName(driveSchoolPay.getName());
|
||||
|
@ -160,7 +160,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
||||
deleted = 0 and
|
||||
payState = 1
|
||||
and status = 1
|
||||
<if test="entity.payStartTimes != null and entity.payEndTimes != null"> and payd_time between #{entity.payStartTimes} and #{entity.payEndTimes}</if>
|
||||
<if test="entity.payStartTimes != null and entity.payEndTimes != null"> and payTime between #{entity.payStartTimes} and #{entity.payEndTimes}</if>
|
||||
<if test="entity.jlName != null and entity.jlName != ''"> and jlName like concat('%', #{entity.jlName}, '%')</if>
|
||||
<if test="entity.jlId != null "> and jlId = #{entity.jlId}</if>
|
||||
<if test="entity.jxId != null "> and jxId = #{entity.jxId}</if>
|
||||
|
Loading…
Reference in New Issue
Block a user