修改因子问题

This commit is contained in:
jiangzhe 2024-04-12 13:55:32 +08:00
parent a78331ca70
commit 1eeecb0ea2
3 changed files with 4 additions and 6 deletions

View File

@ -25,4 +25,6 @@ public class QuestionAnswerVo implements Serializable {
private Long questionOrder;
private List<SysScaleAnswerVo> answerList;
private Long answerId;
}

View File

@ -60,8 +60,4 @@ public class SysScaleAnswerVo implements Serializable {
*/
private Integer sort;
}

View File

@ -162,7 +162,7 @@ public class SysScalePublishServiceImpl implements ISysScalePublishService {
if (deptId != null) {
LambdaQueryWrapper<SysScalePublish> lqw = Wrappers.lambdaQuery();
lqw.eq(SysScalePublish::getDeptId, deptId);
lqw.eq(SysScalePublish::getStatus, 0);
lqw.eq(SysScalePublish::getStatus, 1);
lqw.last("limit 1");
sysScalePublishVo = baseMapper.selectVoOne(lqw);
}
@ -170,7 +170,7 @@ public class SysScalePublishServiceImpl implements ISysScalePublishService {
if (sysScalePublishVo == null) {
LambdaQueryWrapper<SysScalePublish> lqw = Wrappers.lambdaQuery();
lqw.eq(SysScalePublish::getDeptId, null);
lqw.eq(SysScalePublish::getStatus, 0);
lqw.eq(SysScalePublish::getStatus, 1);
sysScalePublishVo = baseMapper.selectVoOne(lqw);
}
if (sysScalePublishVo == null) {