修改查询sql

This commit is contained in:
yangjun 2023-12-14 16:27:24 +08:00
parent 613e7c6061
commit ce1e3a71e5
1 changed files with 3 additions and 1 deletions

View File

@ -18,7 +18,9 @@
when xqbh = 'U' then '全部'
ELSE '' END as xq,
jgh,xnxq,jzglb,1 as sfcj,sfxsk as skxs,'' as sfzc,'' as bz,'' as zt,kcdl,#{xqxn}
from xxhbkckb t,kc_jieci jc where concat(substring(sksj,2,2),'、',substring(sksj,4,2)) = jc.jieci and t.kcdl != '毕业设计'
from xxhbkckb t,kc_jieci jc where concat(substring(sksj,2,2),'、',substring(sksj,4,2)) = jc.jieci
and (t.kcdl is null or t.kcdl != '毕业设计')
<!-- and (t.kcdl is null )-->
<!-- <if test="startTime != null and startTime != ''">-->
<!-- and sksj > #{startTime}-->
<!-- </if>-->