修改bug
This commit is contained in:
parent
f9606da954
commit
ace89a374f
|
@ -73,6 +73,13 @@ public class KcYuyue implements Serializable {
|
|||
@DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
|
||||
private java.util.Date createTime;
|
||||
|
||||
|
||||
private java.lang.String kcmc;//课程名称
|
||||
private java.lang.String rwbh;//任务编号
|
||||
private java.lang.String xqxn;//学期学年
|
||||
private java.lang.String skjs;//授课教师
|
||||
|
||||
|
||||
@TableField(exist = false)
|
||||
private Boolean isOrderByNow;
|
||||
|
||||
|
|
|
@ -39,7 +39,7 @@
|
|||
if(jc.hhjs is null,'00:00:00',concat(substr(jc.hhjs,1,2),':',substr(jc.hhjs,3,4),':00')) as jssj,
|
||||
kcb.szkc,IF(tkxx.kcmc is null,'0','1') as sftkb,tkxx.tksy
|
||||
from kc_ketangbiao ktb
|
||||
left join (select * from kc_yuyue where userid = #{kcKetangbiao.userid}) yy on ktb.id = yy.ketangbiaoid
|
||||
left join (select * from kc_yuyue where userid = #{kcKetangbiao.userid}) yy on ktb.kcmc = yy.kcmc and ktb.skjs = yy.skjs and ktb.rwbh = yy.rwbh and ktb.xnxq and yy.xqxn
|
||||
LEFT JOIN (SELECT DISTINCT jsbh, jsmc from kc_zhihuijiaoshi where sfyx=0) js on ktb.jsbh = js.jsbh
|
||||
left join xxhbjsjbxx jsjbxx on jsjbxx.jsmc = ktb.skdd
|
||||
left join xxhbjxljbxx jxljbxx on jsjbxx.jxlh = jxljbxx.jzwh
|
||||
|
|
Loading…
Reference in New Issue