修改bug
This commit is contained in:
parent
29e06f3497
commit
9b59f710b1
|
@ -118,9 +118,11 @@
|
||||||
kc_ketangbiao kt,
|
kc_ketangbiao kt,
|
||||||
kc_kkdw dw,
|
kc_kkdw dw,
|
||||||
kc_evaluation ev,
|
kc_evaluation ev,
|
||||||
|
kc_assessuser au,
|
||||||
kc_casusers cu
|
kc_casusers cu
|
||||||
WHERE
|
WHERE
|
||||||
kt.kkdw = dw.kkdw
|
kt.kkdw = dw.kkdw
|
||||||
|
AND au.usercode = ev.upuserid
|
||||||
|
|
||||||
<if test="startTime != null and startTime != ''">
|
<if test="startTime != null and startTime != ''">
|
||||||
and skrq >= #{startTime}
|
and skrq >= #{startTime}
|
||||||
|
|
|
@ -50,7 +50,7 @@
|
||||||
SELECT usercode, username, GROUP_CONCAT( assess1 SEPARATOR ',' ) tksf1, GROUP_CONCAT( assess2 SEPARATOR ',' ) tksf2, max( tkyq ) tkyq,assesscode,dwmc
|
SELECT usercode, username, GROUP_CONCAT( assess1 SEPARATOR ',' ) tksf1, GROUP_CONCAT( assess2 SEPARATOR ',' ) tksf2, max( tkyq ) tkyq,assesscode,dwmc
|
||||||
FROM kc_assessuser
|
FROM kc_assessuser
|
||||||
<if test="kcTingke.tksf!=null and kcTingke.tksf!=''">
|
<if test="kcTingke.tksf!=null and kcTingke.tksf!=''">
|
||||||
AND assesscode = #{kcTingke.tksf}
|
assesscode = #{kcTingke.tksf}
|
||||||
</if>
|
</if>
|
||||||
WHERE 1 = 1 GROUP BY usercode, username
|
WHERE 1 = 1 GROUP BY usercode, username
|
||||||
) au ON tk.userid = au.usercode
|
) au ON tk.userid = au.usercode
|
||||||
|
|
Loading…
Reference in New Issue