Sfoglia il codice sorgente

同步客户失败错误日志记录

koul 1 anno fa
parent
commit
ff107995ab

+ 1 - 1
src/main/java/com/uas/eis/service/Impl/ScheduleTaskServiceImpl.java

@@ -275,7 +275,7 @@ public class ScheduleTaskServiceImpl implements ScheduleTaskService {
                                     baseDao.updateByCondition("mes_customer","status='D'","status='W' and cu_id="+customer.getCu_id());
                                 }else {
                                     baseDao.updateByCondition("mes_customer","status='F'","status='W' and cu_id="+customer.getCu_id());
-                                    baseDao.execute("insert into meserrorlog (mel_id,mel_url,mel_error,mel_indate,mel_djcode,mel_type) values (MESERRORLOG_SEQ.NEXTVAL,'"+tokenConfig.get("syncCustomer")+"','"+StringUtil.nvl(map.get("msgStr"),"")+"',sysdate,'"+customer.getCu_code()+"','客户资料')");
+                                    baseDao.execute("insert into meserrorlog (mel_id,mel_url,mel_error,mel_indate,mel_djcode,mel_type) values (MESERRORLOG_SEQ.NEXTVAL,'"+tokenConfig.get("syncCustomer")+"','"+StringUtil.nvl(map.get("msg"),"")+"',sysdate,'"+customer.getCu_code()+"','客户资料')");
                                 }
                             }
                         }