Commit b5515b42 by 284718418@qq.com

1.修改bug

parent 6f489f43
...@@ -176,7 +176,7 @@ public class ZpglController { ...@@ -176,7 +176,7 @@ public class ZpglController {
QueryWrapper<ZpglZwxx> queryWrapper = new QueryWrapper<>(); QueryWrapper<ZpglZwxx> queryWrapper = new QueryWrapper<>();
queryWrapper.lambda().eq(ZpglZwxx::getOrgCode, userBean.getOrgCode()); queryWrapper.lambda().eq(ZpglZwxx::getOrgCode, userBean.getOrgCode());
if (deleteFlag.intValue() == 1) { if (deleteFlag.intValue() == 1) {
queryWrapper.lambda().eq(ZpglZwxx::getDeleteFlag, 0); queryWrapper.lambda().eq(ZpglZwxx::getDeleteFlag, 0).gt(ZpglZwxx::getEndTime,new Date());
} }
List<ZpglZwxx> zpglZwxxs = ZpglZwxx.builder().build().selectList(queryWrapper); List<ZpglZwxx> zpglZwxxs = ZpglZwxx.builder().build().selectList(queryWrapper);
return ResultUtil.data(zpglZwxxs, "查询成功"); return ResultUtil.data(zpglZwxxs, "查询成功");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment