| | |
| | | import lombok.AllArgsConstructor; |
| | | import com.alibaba.fastjson.JSON; |
| | | import org.springblade.common.cache.DictCache; |
| | | import org.springblade.common.constant.FtpConstant; |
| | | import org.springblade.common.config.FtpConfig; |
| | | import org.springblade.common.enums.DictEnum; |
| | | import org.springblade.core.boot.ctrl.BladeController; |
| | | import org.springblade.core.cache.utils.CacheUtil; |
| | |
| | | String format = ""; |
| | | if (information.getBusinessLicense() != null && !"".equals(information.getBusinessLicense())) { |
| | | businessLicense = information.getBusinessLicense().substring(26, information.getBusinessLicense().length()); |
| | | businessLicenses = FtpConstant.ip + businessLicense; |
| | | businessLicenses = FtpConfig.ip + businessLicense; |
| | | } else { |
| | | businessLicenses = ""; |
| | | } |
| | | if (information.getLicence() != null && !"".equals(information.getLicence())) { |
| | | licence = information.getLicence().substring(26, information.getLicence().length()); |
| | | licences = FtpConstant.ip + licence; |
| | | licences = FtpConfig.ip + licence; |
| | | } else { |
| | | licences = ""; |
| | | } |
| | |
| | | informationService.deleteIn(strArray[i]); |
| | | informationService.deleteSh(strArray[i]); |
| | | informationService.deleteMe(strArray[i]); |
| | | |
| | | String s1 = "delete from sys_information where creditCode = " + "'" + strArray[i] + "'"; |
| | | FtpUtil.sqlFileUpload(s1); |
| | | String s2 = "delete from sys_shareholder where creditCode = " + "'" + strArray[i] + "'"; |
| | | FtpUtil.sqlFileUpload(s2); |
| | | String s3 = "delete from sys_member where creditCode = " + "'" + strArray[i] + "'"; |
| | | FtpUtil.sqlFileUpload(s3); |
| | | } |
| | | for (int j = 0; j < strArrays.length; j++) { |
| | | //机构删除 |
| | | informationService.deleteDept(strArrays[j]); |
| | | String s4 = "delete from blade_dept where id = " + "'" + strArrays[j] + "'"; |
| | | FtpUtil.sqlFileUpload(s4); |
| | | } |
| | | |
| | | return R.success("删除成功"); |