| | |
| | | } |
| | | |
| | | public int UpdateCard(Company company) throws Exception { |
| | | System.out.println(company); |
| | | QueryWrapper queryWrapper = new QueryWrapper(); |
| | | queryWrapper.eq("companyId", company.getCompanyid()); |
| | | Company company1 = new Company(); |
| | |
| | | company1.setPhone(DESUtil.encrypt(company.getPhone(), this.key)); |
| | | company1.setAccountbank(DESUtil.encrypt(company.getAccountbank(), this.key)); |
| | | company1.setShuinum(DESUtil.encrypt(company.getShuinum(), this.key)); |
| | | System.out.println(company1); |
| | | return ((CompanyMapper)this.baseMapper).update(company1, queryWrapper); |
| | | } |
| | | |