Merge remote-tracking branch 'origin/xc' into xc
This commit is contained in:
+1
-1
@@ -253,7 +253,7 @@ public class ConDepartmentApiServiceImpl implements ConDepartmentApiService {
|
||||
String allChildKey = "consulation:departmentHaveDoctor:AllLevelTwo";
|
||||
|
||||
|
||||
if(!CollectionUtils.isEmpty(list)){
|
||||
if(!CollectionUtils.isEmpty(list)){
|
||||
redisUtil.del(key);
|
||||
redisUtil.del(allChildKey);
|
||||
for (ConDepartmentDO conDepartmentDO : list) {
|
||||
|
||||
-4
@@ -31,11 +31,7 @@ public class HelperSchedulingHistoryJob {
|
||||
|
||||
@XxlJob(value = "helperSchedulingHistoryJob")
|
||||
public ReturnT<String> helperSchedulingHistory() {
|
||||
String param = XxlJobHelper.getJobParam();
|
||||
JSONObject jsonObject = JSONObject.parseObject(param);
|
||||
String clientSign = jsonObject.getString("clientSign");
|
||||
|
||||
ClientSignThreadLocal.setClientSign(clientSign);
|
||||
XxlJobHelper.log("开始记录全科医生排班历史");
|
||||
log.info("开始记录全科医生排班历史");
|
||||
try {
|
||||
|
||||
+1
-1
@@ -32,7 +32,7 @@ public class SyncScheduleJob {
|
||||
|
||||
|
||||
@XxlJob(value = "endUserAndProfessiorHelper")
|
||||
public ReturnT<String> endUserAndProfessiorHelper(String time) {
|
||||
public ReturnT<String> endUserAndProfessiorHelper() {
|
||||
String expireHour = "168";
|
||||
|
||||
String param = XxlJobHelper.getJobParam();
|
||||
|
||||
+4
-4
@@ -38,10 +38,10 @@
|
||||
order by tian asc
|
||||
</if>
|
||||
<if test="dbType == 'oracle' || dbType == 'oracle12c' || dbType == 'dm'">
|
||||
select count(*) as visit
|
||||
,count(distinct(ip)) as ip
|
||||
,to_char(create_time, 'yyyy-mm-dd') as tian
|
||||
,to_char(create_time, 'mm-dd') as type
|
||||
select count(*) as "visit"
|
||||
,count(distinct(ip)) as "ip"
|
||||
,to_char(create_time, 'yyyy-mm-dd') as "tian"
|
||||
,to_char(create_time, 'mm-dd') as "type"
|
||||
from QH_SYS_LOG
|
||||
where log_type = 1 and create_time >= #{dayStart} and create_time < #{dayEnd}
|
||||
group by to_char(create_time, 'yyyy-mm-dd'),to_char(create_time, 'mm-dd')
|
||||
|
||||
+1
-1
@@ -403,7 +403,7 @@
|
||||
where INSTR(',' || #{userIds} || ',', ',' || id || ',') > 0
|
||||
</select>
|
||||
<select id="getUserNumByOrgCodeList" resultType="java.util.HashMap">
|
||||
SELECT org_code as orgCode, count(org_code) as num
|
||||
SELECT org_code as "orgCode", count(org_code) as "num"
|
||||
FROM QH_SYS_USER
|
||||
WHERE org_code LIKE
|
||||
<foreach collection="orgCodeList" item="orgCode" separator=" OR " open="(" close=")">
|
||||
|
||||
Reference in New Issue
Block a user