Commit 9beaa760 by Your Name Committed by chenzg

更新了每个页面的数据都有一定的概率不加载数据问题

parent 150b8d2e
......@@ -293,9 +293,13 @@ public class AttController {
Schedule sch = new Schedule();
sch.setUserid(yhr.getUserid());
YgglMainEmp yhna = YgglMainEmp.builder().build().selectOne(new QueryWrapper<YgglMainEmp>().lambda().eq(YgglMainEmp::getEmpNum, yhr.getUserid()));
sch.setUsername(yhna.getName());
if(yhna !=null){
sch.setUsername(yhna.getName());
}
sch.setKqzid(attscheduling.getKqzid());
schlist.add(sch);
}
return ResultUtil.data(schlist);
......@@ -4351,7 +4355,7 @@ public class AttController {
}
/**
* @param clock
* @param remind
* @return 日历提醒
*/
@PostMapping(value = "/Attendancecalendar")
......
......@@ -1170,7 +1170,7 @@ public class TimeCardController {
@ApiOperation(value = "35:获取打卡地址数据", httpMethod = "GET", notes = "接口发布说明")
@ApiOperationSupport(order = 35)
public Result<Object> getInGroupPunchAddress(@CurrentUser UserBean userBean) {
List<KqglAssoDkdz> shiftList = KqglAssoDkdz.builder().build().selectList(new QueryWrapper<KqglAssoDkdz>().lambda().eq(KqglAssoDkdz::getQyid, userBean.getOrgCode()).orderByAsc(KqglAssoDkdz::getId));
List<KqglAssoDkdz> shiftList = KqglAssoDkdz.builder().build().selectList(new QueryWrapper<KqglAssoDkdz>().lambda().eq(KqglAssoDkdz::getQyid, userBean.getOrgCode()));
return ResultUtil.data(shiftList);
}
......@@ -1181,7 +1181,7 @@ public class TimeCardController {
@ApiOperation(value = "36:获取打卡WIFI数据", httpMethod = "GET", notes = "接口发布说明")
@ApiOperationSupport(order = 36)
public Result<Object> getInGroupPunchWIFI(@CurrentUser UserBean userBean) {
List<KqglAssoDkwx> shiftList = KqglAssoDkwx.builder().build().selectList(new QueryWrapper<KqglAssoDkwx>().lambda().eq(KqglAssoDkwx::getQyid, userBean.getOrgCode()).orderByAsc(KqglAssoDkwx:: getId));
List<KqglAssoDkwx> shiftList = KqglAssoDkwx.builder().build().selectList(new QueryWrapper<KqglAssoDkwx>().lambda().eq(KqglAssoDkwx::getQyid, userBean.getOrgCode()));
return ResultUtil.data(shiftList);
}
......@@ -1192,7 +1192,7 @@ public class TimeCardController {
@ApiOperation(value = "37:获取班次-根据 组织机构代码", httpMethod = "GET", notes = "接口发布说明")
@ApiOperationSupport(order = 37)
public Result<Object> getAttShiftList(@CurrentUser UserBean userBean) {
List<KqglAssoBcsz> attshiftList = KqglAssoBcsz.builder().build().selectList(new QueryWrapper<KqglAssoBcsz>().lambda().eq(KqglAssoBcsz::getQyid, userBean.getOrgCode()).orderByAsc(KqglAssoBcsz:: getId));
List<KqglAssoBcsz> attshiftList = KqglAssoBcsz.builder().build().selectList(new QueryWrapper<KqglAssoBcsz>().lambda().eq(KqglAssoBcsz::getQyid, userBean.getOrgCode()));
return ResultUtil.data(attshiftList);
}
......
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