|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @Transactional(rollbackFor = Throwable.class) | 
|---|
|  |  |  | @Scheduled(cron = "${erp.refreshtime}") | 
|---|
|  |  |  | //@Scheduled(cron = "${erp.refreshtime}") | 
|---|
|  |  |  | public void InCancelScheduler() { | 
|---|
|  |  |  | //log.info("InCancelScheduler开始了"); | 
|---|
|  |  |  | if (!erpEnabled) return; | 
|---|
|  |  |  | String sqlInCancelTB = "select * from erp_InCancelTB where LKName='中扬二期'"; | 
|---|
|  |  |  | String sqlInCancelTB = "select * from erp_InCancelTB where LKName='高霖立库'"; | 
|---|
|  |  |  | List<InCancelTB> ins = erpSqlServer.select(sqlInCancelTB, InCancelTB.class); | 
|---|
|  |  |  | for (InCancelTB in : ins) { | 
|---|
|  |  |  | System.out.println(in); | 
|---|
|  |  |  | com.zy.third.lk.entity.InCancelTB lkCancel = inMS.tryCancel(in.getBillNo()); | 
|---|
|  |  |  | if (lkCancel != null) { | 
|---|
|  |  |  | HashMap<String, String> condition = new HashMap<>(); | 
|---|