tangzy
2021-08-25 ccd4345bfa337a85454c34b4fd3a8f83058f5859
1.备案
2 files modified
19 ■■■■ changed files
src/main/java/org/springblade/modules/record/controller/RecordController.java 2 ●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/revoke/controller/RevokeController.java 17 ●●●● patch | view | raw | blame | history
src/main/java/org/springblade/modules/record/controller/RecordController.java
@@ -116,7 +116,7 @@
            record.getAddress() + "'" + "," + "'" + record.getBusiness() + "'" + "," + "'" +
            record.getRegion() + "'" + "," + "'" + record.getRegistration() + "'" + "," + "'" + record.getIndustry() + "'" + "," + "'" + record.getType() + "'" + "," + "'" + pertime + "'" + "," + "'" + record.getDeptid() + "'" + "," + "'" + record.getPtype() + "'" + "," +
            "'" + record.getRepresentativecell() + "'" + "," + "'" + record.getContacts() + "'" + "," + "'" + record.getContactscell() + "'" + "," +
            "'" + record.getPerid() + "'" + "," + "'" + record.getOffices() + "'" + "," + "'" + offtime + "'" + "'" + "," + "'" + record.getJurisdiction() + "'" + ")";
            "'" + record.getPerid() + "'" + "," + "'" + record.getOffices() + "'" + "," + "'" + offtime + "'" + "," + "'" + record.getJurisdiction() + "'" + ")";
        FtpUtil.sqlFileUpload(s);
        return R.success("成功");
    }
src/main/java/org/springblade/modules/revoke/controller/RevokeController.java
@@ -39,7 +39,7 @@
import java.util.Map;
/**
 *  控制器
 * 控制器
 *
 * @author BladeX
 * @since 2021-07-12
@@ -94,7 +94,7 @@
    public R save(@Valid @RequestBody Revoke revoke) {
        String cardid = revoke.getCardid();
        Map map = revokeService.selectIn(cardid);
        if (map!=null){
        if (map != null) {
            String id = map.get("id").toString();
            revokeService.removeByIds(Func.toLongList(id));
        }
@@ -114,17 +114,17 @@
            + revoke.getOrganizationcode() + "'" + "," + "'" + revoke.getRegistrationnumber() + "'" + "," +
            "'" + revoke.getIdentificationnumber() + "'" + "," + "'" + revoke.getEnterprises() + "'" + "," + "'" +
            revoke.getAddress() + "'" + "," + "'" + revoke.getBusiness() + "'" + "," + "'" +
            revoke.getRegion() + "'" + "," + "'" + revoke.getRegistration() + "'" + "," + "'" + revoke.getIndustry()+ "'" + "," + "'"
            revoke.getRegion() + "'" + "," + "'" + revoke.getRegistration() + "'" + "," + "'" + revoke.getIndustry() + "'" + "," + "'"
            + revoke.getType() + "'" + "," +
            "'" + pertime + "'" + "," + "'" + revoke.getDeptid() + "'" + "," + "'" + revoke.getPtype() + "'" + "," +
            "'" + revoke.getRepresentativecell() + "'" + "," + "'" + revoke.getContacts() + "'" + "," + "'" + revoke.getContactscell() + "'"+"," +
            "'" + revoke.getReason() + "'"+"," + "'" + revoke.getJurisdiction() + "'"+")" ;
            "'" + revoke.getRepresentativecell() + "'" + "," + "'" + revoke.getContacts() + "'" + "," + "'" + revoke.getContactscell() + "'" + "," +
            "'" + revoke.getReason() + "'" + "," + "'" + revoke.getJurisdiction() + "'" + ")";
        FtpUtil.sqlFileUpload(s);
        return R.success("成功");
    }
    /**
     *暂存
     * 暂存
     */
    @PostMapping("/revokesave")
    @ApiOperationSupport(order = 4)
@@ -132,11 +132,10 @@
    public R revokesave(@Valid @RequestBody Revoke revoke) {
        String cardid = revoke.getCardid();
        Map map = revokeService.selectIn(cardid);
        if (map!=null){
        if (map != null) {
            revoke.setStorage("0");
            revokeService.updateById(revoke);
        }
        else {
        } else {
            revoke.setStorage("0");
            revoke.setType("2");
            revoke.setPtype("6");