组织架构考勤规则修改二次提交
This commit is contained in:
parent
8ba8ed30b8
commit
44dbbc0052
|
|
@ -59,6 +59,7 @@ public class OrgChangeController extends BaseController {
|
||||||
try{
|
try{
|
||||||
startPage();
|
startPage();
|
||||||
//不查撤回的
|
//不查撤回的
|
||||||
|
bean.setIsCheck("-1");
|
||||||
return getDataTable(orgChangeService.selectOrgChangeList(bean));
|
return getDataTable(orgChangeService.selectOrgChangeList(bean));
|
||||||
}catch (Exception e){
|
}catch (Exception e){
|
||||||
log.error(e.toString(),e);
|
log.error(e.toString(),e);
|
||||||
|
|
|
||||||
|
|
@ -188,6 +188,7 @@ public class SysUserController extends BaseController {
|
||||||
List<MapVo> orgList = userService.getOrgByUserId(user);
|
List<MapVo> orgList = userService.getOrgByUserId(user);
|
||||||
user.setOrgList(orgList);
|
user.setOrgList(orgList);
|
||||||
// 获取考勤组
|
// 获取考勤组
|
||||||
|
|
||||||
List<MapVo> attGroupList = userService.getAttGroupByUserId(user);
|
List<MapVo> attGroupList = userService.getAttGroupByUserId(user);
|
||||||
if(!attGroupList.isEmpty()){
|
if(!attGroupList.isEmpty()){
|
||||||
user.setAttGroupId(attGroupList.get(0).getId());
|
user.setAttGroupId(attGroupList.get(0).getId());
|
||||||
|
|
|
||||||
|
|
@ -27,7 +27,12 @@
|
||||||
and oc.create_time between #{startTime} and #{endTime}
|
and oc.create_time between #{startTime} and #{endTime}
|
||||||
</if>
|
</if>
|
||||||
<if test="isCheck != null and isCheck != '' ">
|
<if test="isCheck != null and isCheck != '' ">
|
||||||
and oc.is_check = #{isCheck}
|
<if test="isCheck == '-1'">
|
||||||
|
and oc.is_check in (0,1,2)
|
||||||
|
</if>
|
||||||
|
<if test="isCheck != '-1'">
|
||||||
|
and oc.is_check = #{isCheck}
|
||||||
|
</if>
|
||||||
</if>
|
</if>
|
||||||
group by oc.is_check ASC
|
group by oc.is_check ASC
|
||||||
</select>
|
</select>
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue