Commit 4a34ada41e88d6970d0d8df35513c4d1c562a3d9
1 parent
f4e1a1a7
1.临港公交人员不做处理
Showing
1 changed file
with
3 additions
and
0 deletions
src/main/java/com/bsth/handler/personnelUpdateHandler.java
| ... | ... | @@ -289,6 +289,9 @@ public class personnelUpdateHandler { |
| 289 | 289 | // 赋值分公司编码1 不然无法查询 |
| 290 | 290 | rows = jdbcTemplate.update("update bsth_c_personnel set branche_company_code = '1' where branche_company_code is null"); |
| 291 | 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 | 295 | logger.info("人事数据同步 结束"); |
| 293 | 296 | tran.commit(status); |
| 294 | 297 | } catch (Exception e) { | ... | ... |