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