修改bug
This commit is contained in:
parent
98e02eaf25
commit
816e496a39
|
@ -69,6 +69,7 @@ public class SyncKcKetangbiao extends BaseSync {
|
|||
List<KcKetangbiao> arrayList = new ArrayList<>();
|
||||
for(int i=0;i<list.size();i++){
|
||||
KcKetangbiao kcKetangbiaoOld = list.get(i);
|
||||
try {
|
||||
String jkzc[] = kcKetangbiaoOld.getJkzc().split(",");
|
||||
String week = kcKetangbiaoOld.getWeek();
|
||||
for(int j=0;j<jkzc.length;j++){
|
||||
|
@ -87,6 +88,9 @@ public class SyncKcKetangbiao extends BaseSync {
|
|||
kcKetangbiaoAddNew.setDijizhou(djz);
|
||||
arrayList.add(kcKetangbiaoAddNew);
|
||||
}
|
||||
}catch (Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
}
|
||||
kcKetangbiaoService.saveBatch(arrayList);
|
||||
|
||||
|
|
|
@ -58,4 +58,12 @@
|
|||
|
||||
</select>
|
||||
|
||||
<select id="selectPage" resultType="org.jeecg.modules.kc.ktgl.entity.KcKechengbiao">
|
||||
select * from (
|
||||
select * from kc_kechengbiao where id in (select min(id) from kc_kechengbiao GROUP BY kcmc ,skjs,hh,skdd)
|
||||
and ( kcdl not like '%实习%' or kcdl not like '%实训%' or kcdl not like '%实践%')
|
||||
) a
|
||||
${ew.customSqlSegment}
|
||||
</select>
|
||||
|
||||
</mapper>
|
Loading…
Reference in New Issue