| | |
| | | routePlan.setCityCode(openCity.getCityCode()); |
| | | routePlan.setDistrictName(openCity.getDistrictName()); |
| | | routePlan.setDistrictCode(openCity.getDistrictCode()); |
| | | routePlan.setCreateBy(SecurityUtils.getLoginUser().getSysUser().getNickName()); |
| | | // 5. 保存到数据库 |
| | | this.save(routePlan); |
| | | } |
| | |
| | | routePlan.setCityCode(openCity.getCityCode()); |
| | | routePlan.setDistrictName(openCity.getDistrictName()); |
| | | routePlan.setDistrictCode(openCity.getDistrictCode()); |
| | | routePlan.setUpdateBy(SecurityUtils.getLoginUser().getSysUser().getNickName()); |
| | | // routePlan.setUpdateBy(SecurityUtils.getLoginUser().getSysUser().getNickName()); |
| | | // 5. 保存更新 |
| | | this.updateById(routePlan); |
| | | } |