浏览代码

新版培训发送消息增加时分

wy 6 月之前
父节点
当前提交
57de59c9ee

+ 1 - 1
ibps-provider-root/modules/provider-business/src/main/java/com/lc/ibps/business/service/impl/AuditServiceImpl.java

@@ -136,7 +136,7 @@ public class AuditServiceImpl implements AuditService {
     public void newPersonnelTrain(String[] records) throws Exception {
         log.warn(" com.lc.ibps.business.service.impl.AuditServiceImpl.personnelTrain()--->人员培训通知:records: {}", Arrays.toString(records));
         String sql = "select p.id_,p.bian_zhi_ren_,e.name_,p.bian_zhi_bu_men_,d.name_ as dept_name_,p.pei_xun_nei_rong_,p.pei_xun_zhuang_ta," +
-                "date_format(p.pei_xun_shi_jian_,'%%Y-%%m-%%d') pei_xun_shi_jian_,date_format(p.pei_xun_jie_shu_s,'%%Y-%%m-%%d')  " +
+                "date_format(p.pei_xun_shi_jian_,'%%Y-%%m-%%d %%H:%%i') pei_xun_shi_jian_,date_format(p.pei_xun_jie_shu_s,'%%Y-%%m-%%d %%H:%%i')  " +
                 " pei_xun_jie_shu_s,p.pei_xun_ren_yuan_,p.pei_xun_di_dian_,p.pei_xun_lao_shi_,p.di_dian_," +
                 "IF(pei_xun_shi_jian_<=DATE_FORMAT(date_add(now(), interval 1 week),'%%Y-%%m-%%d'),'1','0') as type_,p.tui_song_biao_zhi from t_lhrypxjlb p " +
                 "left join ibps_party_employee e on e.id_=p.bian_zhi_ren_ " +