Commit 4a34ada41e88d6970d0d8df35513c4d1c562a3d9

Authored by 王通
1 parent f4e1a1a7

1.临港公交人员不做处理

src/main/java/com/bsth/handler/personnelUpdateHandler.java
@@ -289,6 +289,9 @@ public class personnelUpdateHandler { @@ -289,6 +289,9 @@ public class personnelUpdateHandler {
289 // 赋值分公司编码1 不然无法查询 289 // 赋值分公司编码1 不然无法查询
290 rows = jdbcTemplate.update("update bsth_c_personnel set branche_company_code = '1' where branche_company_code is null"); 290 rows = jdbcTemplate.update("update bsth_c_personnel set branche_company_code = '1' where branche_company_code is null");
291 logger.info(String.format("分公司代码更新为1,记录数%d",rows)); 291 logger.info(String.format("分公司代码更新为1,记录数%d",rows));
  292 + // 赋值分公司编码1 不然无法查询
  293 + rows = jdbcTemplate.update("update bsth_c_personnel set destroy = 0 where company_code = 77");
  294 + logger.info(String.format("临港公交的人员全部启用,记录数%d",rows));
292 logger.info("人事数据同步 结束"); 295 logger.info("人事数据同步 结束");
293 tran.commit(status); 296 tran.commit(status);
294 } catch (Exception e) { 297 } catch (Exception e) {