Commit 45f4c092 authored by 18310373984@163.com's avatar 18310373984@163.com

失能申请增加是否定位打卡字段

parent 27a46684
...@@ -179,7 +179,8 @@ ...@@ -179,7 +179,8 @@
a.MEDICAL_AREA medicalArea, a.MEDICAL_AREA medicalArea,
a.REVIEW_FREQUENCY reviewFrequency, a.REVIEW_FREQUENCY reviewFrequency,
a.BANK_CARD_NO bankCardNo, a.BANK_CARD_NO bankCardNo,
to_char(a.APPLY_TIME,'yyyy-MM-dd') applyTime to_char(a.APPLY_TIME,'yyyy-MM-dd') applyTime,
a.is_located isLocated
from CH_DISABLE_APPLY a from CH_DISABLE_APPLY a
LEFT JOIN CH_SRV_ORGAN o ON a.SRV_ORGAN_ID = o.SRV_ORGAN_ID LEFT JOIN CH_SRV_ORGAN o ON a.SRV_ORGAN_ID = o.SRV_ORGAN_ID
where a.APPLY_ID = #{applyId} where a.APPLY_ID = #{applyId}
...@@ -247,7 +248,8 @@ ...@@ -247,7 +248,8 @@
a.REVIEW_FREQUENCY reviewFrequency, a.REVIEW_FREQUENCY reviewFrequency,
a.BANK_CARD_NO bankCardNo, a.BANK_CARD_NO bankCardNo,
to_char(a.APPLY_TIME,'yyyy-MM-dd') applyTime, to_char(a.APPLY_TIME,'yyyy-MM-dd') applyTime,
A.Positioning_distance positioningDistance A.Positioning_distance positioningDistance,
a.is_located isLocated
from (select * from CH_DISABLE_APPLY where apply_status <![CDATA[<>]]> 2 ) a from (select * from CH_DISABLE_APPLY where apply_status <![CDATA[<>]]> 2 ) a
LEFT JOIN CH_SRV_ORGAN o ON a.SRV_ORGAN_ID = o.SRV_ORGAN_ID LEFT JOIN CH_SRV_ORGAN o ON a.SRV_ORGAN_ID = o.SRV_ORGAN_ID
where a.APPLY_ID = #{applyId} where a.APPLY_ID = #{applyId}
...@@ -309,7 +311,8 @@ ...@@ -309,7 +311,8 @@
a.REVIEW_FREQUENCY reviewFrequency, a.REVIEW_FREQUENCY reviewFrequency,
a.BANK_CARD_NO bankCardNo, a.BANK_CARD_NO bankCardNo,
to_char(a.APPLY_TIME,'yyyy-MM-dd') applyTime, to_char(a.APPLY_TIME,'yyyy-MM-dd') applyTime,
A.Positioning_distance positioningDistance A.Positioning_distance positioningDistance,
a.is_located isLocated
from ( from (
select y.apply_id a_apply_id,y.APPLY_TIME,y.SRV_ORGAN_ID,y.BANK_CARD_NO,y.CHECK_NAME apply_check_name,y.APPLY_STATUS apply_check_status, select y.apply_id a_apply_id,y.APPLY_TIME,y.SRV_ORGAN_ID,y.BANK_CARD_NO,y.CHECK_NAME apply_check_name,y.APPLY_STATUS apply_check_status,
y.check_remark apply_check_remark,y.REASONS_REMARK,y.REASONS_REVIEW,y.REVIEW_FREQUENCY,y.MEDICAL_AREA, y.check_remark apply_check_remark,y.REASONS_REMARK,y.REASONS_REVIEW,y.REVIEW_FREQUENCY,y.MEDICAL_AREA,
......
...@@ -655,4 +655,6 @@ public class ChDisableApply extends PageInfo implements Serializable { ...@@ -655,4 +655,6 @@ public class ChDisableApply extends PageInfo implements Serializable {
private Integer positioningDistance;//定位距离 private Integer positioningDistance;//定位距离
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
private String isLocated;//是否定位打卡
} }
...@@ -606,6 +606,8 @@ public class ChDisableApplyHis implements Serializable { ...@@ -606,6 +606,8 @@ public class ChDisableApplyHis implements Serializable {
private Integer positioningDistance;//定位距离 private Integer positioningDistance;//定位距离
private String isLocated;//是否定位打卡
private static final long serialVersionUID = 1L; private static final long serialVersionUID = 1L;
public Long getApplyHisId() { public Long getApplyHisId() {
......
...@@ -144,4 +144,6 @@ public class ChDisableInfo extends PageInfo implements Serializable { ...@@ -144,4 +144,6 @@ public class ChDisableInfo extends PageInfo implements Serializable {
private java.util.Date exitTime; private java.util.Date exitTime;
private Integer positioningDistance;//定位距离 private Integer positioningDistance;//定位距离
private String isLocated;//是否定位打卡
} }
...@@ -473,7 +473,7 @@ public class ChDisableInfoChange { ...@@ -473,7 +473,7 @@ public class ChDisableInfoChange {
private Integer positioningDistance;//定位距离 private Integer positioningDistance;//定位距离
private String isLocated;//是否定位打卡
} }
...@@ -137,4 +137,6 @@ public class DisableExamineInfoVO { ...@@ -137,4 +137,6 @@ public class DisableExamineInfoVO {
//定位距离 //定位距离
private Integer positioningDistance;//定位距离 private Integer positioningDistance;//定位距离
private String isLocated;//是否定位打卡
} }
...@@ -159,4 +159,6 @@ public class DisableUpdateDetailVO { ...@@ -159,4 +159,6 @@ public class DisableUpdateDetailVO {
private Integer positioningDistance;//定位距离 private Integer positioningDistance;//定位距离
private String isLocated;//是否定位打卡
} }
...@@ -27,6 +27,7 @@ import javax.annotation.Resource; ...@@ -27,6 +27,7 @@ import javax.annotation.Resource;
import java.util.ArrayList; import java.util.ArrayList;
import java.util.Date; import java.util.Date;
import java.util.List; import java.util.List;
import java.util.Objects;
import java.util.stream.Collectors; import java.util.stream.Collectors;
/** /**
...@@ -257,6 +258,15 @@ public class UserController { ...@@ -257,6 +258,15 @@ public class UserController {
systemUser.setUserId(reqUserInfo.getId()); systemUser.setUserId(reqUserInfo.getId());
flag = true; flag = true;
} }
if (!reqUserInfo.getOrganId().equals(systemUser.getOrganId())) {//页面修改了适用机构,后台未保存,页面如果没有选择适用机构会报错
systemUser.setOrganId(reqUserInfo.getOrganId());
flag = true;
}
if (!Objects.equals(reqUserInfo.getEnable(), systemUser.getUserStatus())) {//页面修改了是否停用,后台未保存
systemUser.setUserStatus(reqUserInfo.getEnable());
flag = true;
}
if (flag) { if (flag) {
systemUser.setUpdatedTime(new Date()); systemUser.setUpdatedTime(new Date());
userInfoService.updateById(systemUser); userInfoService.updateById(systemUser);
......
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