czt
2024-11-11 c5d51d30305bd402673745cea1abce9fd1c4b443
上海接口升级调整V3.0
已删除1个文件
已修改34个文件
已添加9个文件
2640 ■■■■ 文件已修改
src/main/java/com/fzzy/api/Constant.java 38 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/gd2022/GD2022PushService12.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/gd2022/GD2022PushService13.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/gd2023/GD2023ApiRemoteService2023.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/gd2023/GD2023PushService12.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/gd2023/GD2023PushService13.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/impl/ComPushService90.java 211 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/impl/ComPushService99.java 279 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1504.java 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1505.java 52 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1506.java 60 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1507.java 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1508.java 41 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1509.java 80 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1510.java 67 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023ApiRemoteService.java 192 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023Constant.java 15 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023OrderServiceImpl.java 42 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023PushService11.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023PushService12.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023PushService13.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023PushService14.java 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1201.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1202.java 18 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1205.java 14 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1209.java 36 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1213.java 69 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1504.java 86 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1505.java 101 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1506.java 103 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1507.java 126 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1508.java 79 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1509.java 171 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1510.java 112 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/SX2024ApiRemoteService.java 10 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1504.java 47 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1505.java 52 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1506.java 62 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1507.java 77 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1508.java 40 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1509.java 80 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1510.java 68 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/Constant.java
@@ -33,6 +33,14 @@
     * æŽ¥å£åˆ†ç±»-行政管理
     */
    public static String API_CATEGORY_14 = "14";
    /**
     * æŽ¥å£åˆ†ç±»-财务类
     */
    public static String API_CATEGORY_15 = "15";
    /**
     * æŽ¥å£åˆ†ç±»-其他类别
     */
    public static String API_CATEGORY_90 = "90";
    /**
     * æŽ¥å£ç¼–码-1101 å•位信息数据接口
@@ -201,9 +209,9 @@
     * æŽ¥å£ç¼–码-1405 é¡¹ç›®ä¿¡æ¯æ•°æ®æŽ¥å£
     */
    public static String API_CODE_1405 = "1405";
    //财务报表接口
    public static String API_CODE_1114 = "1114";
    /**
     * è´¢åŠ¡ç±»åˆ«
     */
    public static String API_CODE_1501 = "1501";
    public static String API_CODE_1502 = "1502";
    public static String API_CODE_1503 = "1503";
@@ -214,6 +222,30 @@
    public static String API_CODE_1508 = "1508";
    public static String API_CODE_1509 = "1509";
    public static String API_CODE_1510 = "1510";
    /*===========上海市定制接口========*/
    //数据相符性数据接口
    public static String API_CODE_9101 = "9101";
    //视频监控接口
    public static String API_CODE_9102 = "9102";
    //倒仓倒入数据接口
    public static String API_CODE_9103 = "9103";
    //粮情设备配置数据接口
    public static String API_CODE_9104 = "9104";
    //检斤单数据接口
    public static String API_CODE_9105 = "9105";
    //市储驳运单信息数据接口
    public static String API_CODE_9106 = "9106";
    //交易中心合同信心数据接口
    public static String API_CODE_9107 = "9107";
    //定化水检验接口
    public static String API_CODE_9108 = "9108";
    /*===========广东定制接口========*/
    //熏蒸备案
    public static String API_CODE_9201 = "9201";
    /**
     * å›½æ ‡å‡ºå…¥åº“类型
     */
src/main/java/com/fzzy/push/gd2022/GD2022ApiRemoteService2022.java
@@ -1147,7 +1147,7 @@
                return ApiCodeConstant.API_CODE_CWBBXX;
            case "1503":
                return ApiCodeConstant.API_CODE_CWBBXX;
            case "1023":
            case "9201":
                return ApiCodeConstant.API_CODE_XZBA;
            default:
                return inteId;
src/main/java/com/fzzy/push/gd2022/GD2022PushService12.java
@@ -4,7 +4,7 @@
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.service.PushService12;
import com.fzzy.push.impl.ComPushService12;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -24,7 +24,7 @@
    @Autowired
    private ComPushService12 pushService12;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService99;
    @Override
    public String getProtocol() {
@@ -75,9 +75,7 @@
        pushService12.pushData1109(apiRemoteService, param);
        //封仓确认单
        pushService99.pushData2001(apiRemoteService, param);
        //出清确认单
        pushService99.pushData2002(apiRemoteService, param);
        pushService12.pushData1213(apiRemoteService, param);
        log.info("------->>>>粮食购销 æŽ¥å£æ¨¡å—上报结束");
    }
src/main/java/com/fzzy/push/gd2022/GD2022PushService13.java
@@ -4,7 +4,7 @@
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.service.PushService13;
import com.fzzy.push.impl.ComPushService13;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -24,7 +24,7 @@
    @Autowired
    private ComPushService13 pushService13;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService90;
    @Override
    public String getProtocol() {
@@ -54,7 +54,7 @@
        pushService13.pushData1310(apiRemoteService, param);
        //熏蒸备案
        pushService99.pushData1023(apiRemoteService, param);
        pushService90.pushData9201(apiRemoteService, param);
    }
}
src/main/java/com/fzzy/push/gd2023/GD2023ApiRemoteService2023.java
@@ -1263,7 +1263,7 @@
                return com.fzzy.push.gd2023.ApiCodeConstant.API_CODE_CWBBXX;
            case "1503":
                return com.fzzy.push.gd2023.ApiCodeConstant.API_CODE_CWBBXX;
            case "1023":
            case "9201":
                return ApiCodeConstant.API_CODE_XZBA;
            default:
                return inteId;
src/main/java/com/fzzy/push/gd2023/GD2023PushService12.java
@@ -4,7 +4,7 @@
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.service.PushService12;
import com.fzzy.push.impl.ComPushService12;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -24,7 +24,7 @@
    @Autowired
    private ComPushService12 pushService12;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService99;
    @Override
    public String getProtocol() {
@@ -75,9 +75,7 @@
        pushService12.pushData1109(apiRemoteService, param);
        //封仓确认单
        pushService99.pushData2001(apiRemoteService, param);
        //出清确认单
        pushService99.pushData2002(apiRemoteService, param);
        pushService12.pushData1213(apiRemoteService, param);
        log.info("------->>>>粮食购销 æŽ¥å£æ¨¡å—上报结束");
    }
src/main/java/com/fzzy/push/gd2023/GD2023PushService13.java
@@ -4,7 +4,7 @@
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.service.PushService13;
import com.fzzy.push.impl.ComPushService13;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -24,7 +24,7 @@
    @Autowired
    private ComPushService13 pushService13;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService90;
    @Override
    public String getProtocol() {
@@ -54,7 +54,7 @@
        pushService13.pushData1310(apiRemoteService, param);
        //熏蒸备案
        pushService99.pushData1023(apiRemoteService, param);
        pushService90.pushData9201(apiRemoteService, param);
    }
}
src/main/java/com/fzzy/push/impl/ComPushService90.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,211 @@
package com.fzzy.push.impl;
import com.alibaba.fastjson.JSON;
import com.alibaba.fastjson.JSONObject;
import com.fzzy.api.Constant;
import com.fzzy.api.data.ApiParam;
import com.fzzy.api.dto.ResponseDto;
import com.fzzy.api.entity.ApiInfoData;
import com.fzzy.api.service.ApiRemoteService;
import com.fzzy.api.view.repository.ApiInfoDataRep;
import com.fzzy.push.gd2022.dto.Gd2022Api1023;
import com.fzzy.push.sh2023.SH2023Constant;
import com.fzzy.push.sh2023.dto.SH2023Api1115;
import com.fzzy.push.sh2023.dto.SH2023Api1311;
import com.fzzy.push.sh2023.dto.SH2023Api2103;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;
import java.util.List;
/**
 * @Description å„省省平台定制接口
 * @Author CZT
 * @Date 2024/4/22 15:31
 */
@Slf4j
@Service
public class ComPushService90 {
    @Autowired
    private ApiInfoDataRep apiInfoDataRep;
    /*==========上海市平台定制接口 -- å¼€å§‹==========*/
    /**
     * 9101 æ•°æ®ç›¸ç¬¦æ€§æŽ¥å£--上海市平台
     */
    public void pushData9101(ApiRemoteService apiRemoteService, ApiParam param) {
        // èŽ·å– è§†é¢‘监控接口数据
        List<ApiInfoData> items = apiInfoDataRep.getDataByInteId(Constant.API_CODE_9101);
        if (null == items || items.isEmpty()) {
            log.error("-----上海市平台2023版:未获取到数据相符性,不推送-----");
            return;
        }
        param.setInteCategory(Constant.API_CATEGORY_90);
        param.setInteId(Constant.API_CODE_9101);
        SH2023Api1115 shApi1115;
        ResponseDto responseDto;
        for (ApiInfoData infoData : items) {
            shApi1115 = JSONObject.parseObject(infoData.getData(), SH2023Api1115.class);
            shApi1115.setZhgxsj(infoData.getUpdateTime());
            param.setBizId(infoData.getDataId());
            responseDto = apiRemoteService.pushData(param, shApi1115);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(infoData.getCzbz())) {
                    infoData.setCzbz(Constant.CZBZ_U);
                    shApi1115.setCzbz(Constant.CZBZ_U);
                    infoData.setData(JSON.toJSONString(shApi1115));
                    apiInfoDataRep.save(infoData);
                }
            }
        }
    }
    /**
     * 9102 è§†é¢‘监控接口--上海市平台
     */
    public void pushData9102(ApiRemoteService apiRemoteService, ApiParam param) {
        // èŽ·å– è§†é¢‘监控接口数据
        List<ApiInfoData> items = apiInfoDataRep.getDataByInteId(Constant.API_CODE_9102);
        if (null == items || items.isEmpty()) {
            log.error("-----上海市平台2023版:未获取到视频监控,不推送-----");
            return;
        }
        param.setInteCategory(Constant.API_CATEGORY_90);
        param.setInteId(Constant.API_CODE_9102);
        SH2023Api1311 shApi1311;
        ResponseDto responseDto;
        for (ApiInfoData infoData : items) {
            shApi1311 = JSONObject.parseObject(infoData.getData(), SH2023Api1311.class);
            shApi1311.setZhgxsj(infoData.getUpdateTime());
            param.setBizId(infoData.getDataId());
            responseDto = apiRemoteService.pushData(param, shApi1311);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(infoData.getCzbz())) {
                    infoData.setCzbz(Constant.CZBZ_U);
                    apiInfoDataRep.save(infoData);
                }
            }
        }
    }
    /**
     * 9103 å€’仓倒入--上海市平台
     */
    public void pushData9103(ApiRemoteService apiRemoteService, ApiParam param) {
        log.error("-----上海市平台2023版:定化水检验暂未实现,不推送-----");
        //TODO
    }
    /**
     * 9104 ç²®æƒ…设备配置--上海市平台
     */
    public void pushData9104(ApiRemoteService apiRemoteService, ApiParam param) {
        // èŽ·å–ç²®æƒ…è®¾å¤‡é…ç½®æ•°æ®
        List<ApiInfoData> items = apiInfoDataRep.getDataByInteId(Constant.API_CODE_9104);
        if (null == items || items.isEmpty()) {
            log.error("-----上海市平台2023版:未获取到粮情设备配置,不推送-----");
            return;
        }
        param.setInteCategory(Constant.API_CATEGORY_90);
        param.setInteId(Constant.API_CODE_9104);
        SH2023Api2103 shApi2103;
        ResponseDto responseDto;
        for (ApiInfoData infoData : items) {
            shApi2103 = JSONObject.parseObject(infoData.getData(), SH2023Api2103.class);
            shApi2103.setZhgxsj(infoData.getUpdateTime());
            param.setBizId(infoData.getDataId());
            responseDto = apiRemoteService.pushData(param, shApi2103);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(infoData.getCzbz())) {
                    infoData.setCzbz(Constant.CZBZ_U);
                    apiInfoDataRep.save(infoData);
                }
            }
        }
    }
    /**
     * 9105 æ£€æ–¤å•--上海市平台
     */
    public void pushData9105(ApiRemoteService apiRemoteService, ApiParam param) {
        log.error("-----上海市平台2023版:定化水检验暂未实现,不推送-----");
        //TODO
    }
    /**
     * 9106  å¸‚储驳运单--上海市平台
     */
    public void pushData9106(ApiRemoteService apiRemoteService, ApiParam param) {
        log.error("-----上海市平台2023版:定化水检验暂未实现,不推送-----");
        //TODO
    }
    /**
     * 9107 äº¤æ˜“中心合同
     */
    public void pushData9107(ApiRemoteService apiRemoteService, ApiParam param) {
        log.error("-----上海市平台2023版:定化水检验暂未实现,不推送-----");
        //TODO
    }
    /**
     * 9108 å®šåŒ–水检验
     */
    public void pushData9108(ApiRemoteService apiRemoteService, ApiParam param) {
        log.error("-----上海市平台2023版:定化水检验暂未实现,不推送-----");
        //TODO
    }
    /*==========上海市平台定制接口 -- ç»“束==========*/
    /*==========广东省平台定制接口 -- å¼€å§‹==========*/
    /**
     * 9201 ç†è’¸å¤‡æ¡ˆæŽ¥å£
     */
    public void pushData9201(ApiRemoteService apiRemoteService, ApiParam param) {
        //获取熏蒸备案信息
        List<ApiInfoData> items = apiInfoDataRep.getDataByInteId(Constant.API_CODE_9201);
        if (null == items || items.isEmpty()) {
            log.error("-----广东省平台2022版:未获取到熏蒸备案信息,不推送-----");
            return;
        }
        param.setInteCategory(Constant.API_CATEGORY_90);
        param.setInteId(Constant.API_CODE_9201);
        Gd2022Api1023 gd2022Api1023;
        ResponseDto responseDto;
        for (ApiInfoData infoData : items) {
            gd2022Api1023 = JSONObject.parseObject(infoData.getData(), Gd2022Api1023.class);
            gd2022Api1023.setZhgxsj(infoData.getUpdateTime());
            param.setBizId(infoData.getDataId());
            responseDto = apiRemoteService.pushData(param, gd2022Api1023);
            if (responseDto.getSuccess() == 0) {
                if (Constant.CZBZ_I.equals(infoData.getCzbz())) {
                    infoData.setCzbz(Constant.CZBZ_U);
                    gd2022Api1023.setCzbz(Constant.CZBZ_U);
                    infoData.setData(JSON.toJSONString(gd2022Api1023));
                    apiInfoDataRep.save(infoData);
                }
            }
        }
    }
    /*==========广东省平台定制接口 -- ç»“束==========*/
}
src/main/java/com/fzzy/push/impl/ComPushService99.java
ÎļþÒÑɾ³ý
src/main/java/com/fzzy/push/nx2023/NX2023ApiRemoteService.java
@@ -770,16 +770,6 @@
            Api1504 api1504 = (Api1504)data;
            Nx2023Api1504 apiData = new Nx2023Api1504();
            BeanUtils.copyProperties(api1504, apiData);
            //设置統一单位编码
            if (StringUtils.isEmpty(apiData.getXqydm())) {
                String tydwbm = apiCommonService.getTydwbm(apiData.getCOrgCode());
                apiData.setXqydm(tydwbm);
            }
            //设置統一库区编码
            if (StringUtils.isEmpty(apiData.getXkqdm())) {
                String tykqbm = apiCommonService.getTykqbm(api1504.getKqdm());
                apiData.setXkqdm(tykqbm);
            }
            return apiData;
        }
        if (Constant.API_CODE_1505.equals(inteId)) {
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1504.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@@ -17,53 +18,69 @@
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "账套名称")
    private String cAcctName;
    @JsonProperty("cAcctName")
    private String cncctname;
    @PropertyDef(label = "本位币")
    private String cCurrency;
    @JsonProperty("cCurrency")
    private String ccurrency;
    @PropertyDef(label = "会计主管")
    private String cAcctChief;
    @JsonProperty("cAcctChief")
    private String cacctchief;
    @JSONField(format = "yyyy-MM-dd")
    @JSONField(format = "yyyyMM")
    @PropertyDef(label = "启用期间")
    private String cPeriodStart;
    @JsonProperty("cPeriodStart")
    private Date cperiodstart;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "启用日期")
    private String cYearBmd;
    @JsonProperty("cYearBmd")
    private Date cyearbmd;
    @PropertyDef(label = "期间数")
    private Double nAcctPeriodNum;
    @JsonProperty("nAcctPeriodNum")
    private Integer nacctperiodnum;
    @PropertyDef(label = "会计制度代码", description = "11:企业会计准则制度(粮食2013版)(默认代码值)")
    private String cAccClassCode;
    @JsonProperty("cAccClassCode")
    private String caccclasscode;
    @PropertyDef(label = "科目级次", description = "4-8:默认最小值为4")
    private Double nAccGrade;
    @JsonProperty("nAccGrade")
    private Integer naccgrade;
    @PropertyDef(label = "科目编码规则", description = "4222XXXX:默认前四级级长规则为4222")
    private String cAccCodeStr;
    @JsonProperty("cAccCodeStr")
    private String cacccodestr;
    @PropertyDef(label = "单位名称")
    private String cCropName;
    @JsonProperty("cCropName")
    private String ccropname;
    @PropertyDef(label = "单位代码")
    private String cOrgCode;
    @JsonProperty("cOrgCode")
    private String corgcode;
    @PropertyDef(label = "统一单位编码")
    private String xqydm;
    @JsonProperty("xqydm")
    private String tydwbm;
    @PropertyDef(label = "统一库区编码")
    private String xkqdm;
    @JsonProperty("xkqdm")
    private String tykqbm;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1505.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@@ -15,20 +16,29 @@
@Data
public class Nx2023Api1505 implements Serializable {
    @PropertyDef(label = "id主键")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "年度")
    private String cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "科目编码")
    private String cCode;
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "科目名称")
    private String cName;
    @JsonProperty("cName")
    private String cname;
    @PropertyDef(label = "科目全称")
    private String cAllName;
    @JsonProperty("cAllName")
    private String callname;
    /**
     * 1:资产类
@@ -39,41 +49,53 @@
     * 6:损益类
     */
    @PropertyDef(label = "科目类别")
    private String nClass;
    @JsonProperty("nClass")
    private String nclass;
    /**
     * (-1)-贷方;1-借方
     */
    @PropertyDef(label = "余额方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "末级科目")
    private String bL;
    @JsonProperty("bL")
    private Integer bl;
    @PropertyDef(label = "科目级次")
    private Double nGrade;
    @JsonProperty("nGrade")
    private Integer ngrade;
    @PropertyDef(label = "数量科目")
    private String bQ;
    @JsonProperty("bQ")
    private Integer bq;
    @PropertyDef(label = "数量单位")
    private String cQUnit;
    @JsonProperty("cQUnit")
    private Integer cqunit;
    @PropertyDef(label = "现金类科目")
    private String bCash;
    @JsonProperty("bCash")
    private Integer bcash;
    @PropertyDef(label = "银行类科目")
    private String bBank;
    @JsonProperty("bBank")
    private Integer bbank;
    @PropertyDef(label = "现金流量类科目")
    private String bXjll;
    @JsonProperty("bXjll")
    private Integer bxjll;
    @PropertyDef(label = "冻结")
    private String bF;
    @JsonProperty("bF")
    private Integer bf;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1506.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@@ -15,61 +16,88 @@
@Data
public class Nx2023Api1506 implements Serializable {
    @PropertyDef(label = "ID_")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "期间")
    private String cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "年度")
    private String nNo;
    @JsonProperty("nNo")
    private Integer nno;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "期初本位币余额")
    private Double bM;
    @JsonProperty("bM")
    private Double bm;
    @PropertyDef(label = "期末本位币余额")
    private Double eM;
    @JsonProperty("eM")
    private Double em;
    @PropertyDef(label = "期初数量")
    private Double bQty;
    @JsonProperty("bQty")
    private Double bqty;
    @PropertyDef(label = "期末数量")
    private Double eQty;
    @JsonProperty("eQty")
    private Double eqty;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "余额方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "借方本位币发生额")
    private Double dM;
    @JsonProperty("dM")
    private Double dm;
    @PropertyDef(label = "贷方本位币发生额")
    private Double cM;
    @JsonProperty("cM")
    private Double cm;
    @PropertyDef(label = "借方发生数量")
    private Double dQ;
    @JsonProperty("dQ")
    private Double dq;
    @PropertyDef(label = "贷方发生数量")
    private Double cQ;
    @JsonProperty("cQ")
    private Double cq;
    @PropertyDef(label = "期初外币余额")
    private Double bFm;
    @JsonProperty("bFm")
    private Double bfm;
    @PropertyDef(label = "期末外币余额")
    private Double eFm;
    @JsonProperty("eFm")
    private Double efm;
    @PropertyDef(label = "借方外币发生额")
    private Double dFm;
    @JsonProperty("dFm")
    private Double dfm;
    @PropertyDef(label = "贷方外币发生额")
    private Double cFm;
    @JsonProperty("cFm")
    private Double cfm;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1507.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@@ -15,89 +16,111 @@
@Data
public class Nx2023Api1507 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
    private String cVKind;
    @JsonProperty("cVKind")
    private String cvkind;
    @PropertyDef(label = "期间")
    private Double cMon;
    @JsonProperty("cMon")
    private Integer cmon;
    @PropertyDef(label = "年度")
    private Double cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "凭证号")
    private Double nVNo;
    @JsonProperty("nVNo")
    private Integer nvno;
    @PropertyDef(label = "分录序号")
    private Double nNo;
    @PropertyDef(label = "凭证分类")
    private Double bTmp;
    @JsonProperty("nNo")
    private Integer nno;
    @PropertyDef(label = "摘要")
    private String Digest;
    @JsonProperty("Digest")
    private String digest;
    @PropertyDef(label = "科目编码")
    private Double cCode;
    @JsonProperty("cCode")
    private String ccode;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "凭证日期")
    private String cVSmallDatetime;
    @JsonProperty("cVSmallDatetime")
    private Date ccsmalldatetime;
    @PropertyDef(label = "制单人")
    private String cMaker;
    @JsonProperty("cMaker")
    private String cmaker;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "审核人")
    private String cCkEr;
    @JsonProperty("cCkEr")
    private String ccker;
    @PropertyDef(label = "记账人")
    private String cPtEr;
    @JsonProperty("cPtEr")
    private String cpter;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "记账标志")
    private Double bPt;
    @JsonProperty("bPt")
    private Integer bpt;
    @PropertyDef(label = "附件张数")
    private Double nANum;
    @JsonProperty("nANum")
    private Integer nanum;
    @PropertyDef(label = "金额")
    private Double nM;
    @JsonProperty("nM")
    private Double nm;
    @PropertyDef(label = "数量")
    private Double nQty;
    @JsonProperty("nQty")
    private Double nqty;
    @PropertyDef(label = "单价")
    private Double nPrice;
    @PropertyDef(label = "结算号")
    private String cSettleNo;
    @JsonProperty("nPrice")
    private Double nprice;
    @PropertyDef(label = "出纳")
    private String cCashier;
    @JsonProperty("cCashier")
    private String ccashier;
    @PropertyDef(label = "汇率")
    @JsonProperty("rate")
    private Double rate;
    @PropertyDef(label = "外币金额")
    private Double nFm;
    @JsonProperty("nFm")
    private Double nfm;
    @PropertyDef(label = "计量单位",description = "计量单位汉字")
    private String meterUnitId;
    @JsonProperty("meterUnitId")
    private String meterunitid;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1508.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@@ -16,48 +17,64 @@
public class Nx2023Api1508 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
    private String cVKind;
    @JsonProperty("cVKind")
    private String cvkind;
    @PropertyDef(label = "期间")
    private Double cMon;
    @JsonProperty("cMon")
    private Integer cmon;
    @PropertyDef(label = "年度")
    private Double cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "凭证号")
    private Double nVNo;
    @JsonProperty("nVNo")
    private Integer nvno;
    @PropertyDef(label = "科目编码")
    private String cCode;
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "对方科目编码")
    private String cDFCode;
    @JsonProperty("cDFCode")
    private String cdfcode;
    @PropertyDef(label = "现金流量项目代码")
    private String cCashCode;
    @JsonProperty("cCashCode")
    private String ccashcode;
    @PropertyDef(label = "分录序号")
    private Double nNo;
    @JsonProperty("nNo")
    private Integer nrowno;
    @PropertyDef(label = "金额")
    private Double nM;
    @JsonProperty("nM")
    private Double nm;
    /**
     * 1:流入
     * -1:流出
     */
    @PropertyDef(label = "方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1509.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@@ -15,29 +16,42 @@
@Data
public class Nx2023Api1509 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
    private String fixAssetCode;
    @JsonProperty("fixAssetCode")
    private String fixassetcode;
    @PropertyDef(label = "固定资产自编码")
    private String origFixAssetCode;
    @JsonProperty("origFixAssetCode")
    private String origfixassetcode;
    @PropertyDef(label = "资产类别编码")
    private String groupCode;
    @JsonProperty("groupCode")
    private String groupcode;
    @PropertyDef(label = "固定资产名称")
    private String fixAssetName;
    @JsonProperty("fixAssetName")
    private String fixassetname;
    @PropertyDef(label = "计量单位名称")
    private String unitName;
    @JsonProperty("unitName")
    private String unitname;
    @PropertyDef(label = "原值")
    private Double valueOrg;
    @JsonProperty("valueOrg")
    private Double valueorg;
    @PropertyDef(label = "当前原值")
    private Double dresentValueOrg;
    @JsonProperty("dresentValueOrg")
    private Double dresentvalueorg;
    /**
     * 1:不提折旧法
     * 2:平均年限法
@@ -47,10 +61,9 @@
     * 6:双倍余额递减法
     */
    @PropertyDef(label = "折旧方法")
    private Double deprMethodId;
    @JsonProperty("deprMethodId")
    private Integer deprmethodid;
    @PropertyDef(label = "固定资产来源")
    private Double sourceid;
    /**
     * 1:投资
     * 2:自建
@@ -61,59 +74,74 @@
     * 7:捐赠
     * 8:换入
     */
    @PropertyDef(label = "对方科目编码")
    private String cDFCode;
    @PropertyDef(label = "固定资产来源")
    @JsonProperty("sourceid")
    private Integer sourceid;
    @PropertyDef(label = "型号")
    @JsonProperty("model")
    private String model;
    @PropertyDef(label = "规格")
    @JsonProperty("specs")
    private String specs;
    @PropertyDef(label = "制造商")
    @JsonProperty("manufacturer")
    private String manufacturer;
    @PropertyDef(label = "产地")
    private String makingPlace;
    @JsonProperty("makingPlace")
    private String makingplace;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "进单位日期")
    private String enterDay;
    @JsonProperty("enterDay")
    private Date enterday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "开始使用日期")
    private String beginUseDay;
    @JsonProperty("beginUseDay")
    private Date beginuseday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "建卡日期")
    private String makinDay;
    @JsonProperty("makinDay")
    private Date makinday;
    @PropertyDef(label = "管理人")
    @JsonProperty("keeper")
    private String keeper;
    @PropertyDef(label = "建卡人")
    @JsonProperty("maker")
    private String maker;
    @PropertyDef(label = "预计使用期间数")
    private Double usingPeriods;
    @JsonProperty("usingPeriods")
    private Integer usingperiods;
    @PropertyDef(label = "预计净残值")
    private Double expecRemain;
    @JsonProperty("expecRemain")
    private Double expecremain;
    @PropertyDef(label = "固定资产对应科目编码")
    private String assetAcctCode;
    @JsonProperty("assetAcctCode")
    private String assetacctcode;
    @PropertyDef(label = "累计折旧对应科目编码")
    private String deprAcctCode;
    @JsonProperty("deprAcctCode")
    private String depracctcode;
    @PropertyDef(label = "累计折旧")
    private Double accumulateDepr;
    @JsonProperty("accumulateDepr")
    private Double accumulatedepr;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "是否报废清理")
    @JsonProperty("abadoned")
    private String abadoned;
    /**
@@ -125,15 +153,19 @@
     * 6:盘亏
     */
    @PropertyDef(label = "当前使用状态名称")
    private String presentStatus;
    @JsonProperty("presentStatus")
    private String presentstatus;
    @PropertyDef(label = "备注")
    @JsonProperty("notes")
    private String notes;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1510.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
@@ -15,70 +16,96 @@
@Data
public class Nx2023Api1510 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
    private String fixAssetCode;
    @JsonProperty("fixAssetCode")
    private String fixassetcode;
    @PropertyDef(label = "期间")
    private Double period;
    @JsonProperty("period")
    private Integer period;
    @PropertyDef(label = "年度")
    private Double AcctYear;
    @JsonProperty("AcctYear")
    private Integer acctyear;
    @PropertyDef(label = "期初原值")
    private Double bValueOrg;
    @JsonProperty("bValueOrg")
    private Double bvalueorg;
    @PropertyDef(label = "累计折旧")
    private Double bAccumDepr;
    @JsonProperty("bAccumDepr")
    private Double baccumdepr;
    @PropertyDef(label = "本期计提折旧")
    private Double deprAmmount;
    @JsonProperty("deprAmmount")
    private Double deprammount;
    @PropertyDef(label = "本年累计计提折旧")
    private Double yAccumDepr;
    @JsonProperty("yAccumDepr")
    private Double yaccumdepr;
    @PropertyDef(label = "本期数量增加")
    private Double qtyAdd;
    @JsonProperty("qtyAdd")
    private Double qtyadd;
    @PropertyDef(label = "本期数量减少")
    private Double qtyDecrease;
    @JsonProperty("qtyDecrease")
    private Double qtydecrease;
    @PropertyDef(label = "本期原值增加")
    private Double valueOrgAdd;
    @JsonProperty("valueOrgAdd")
    private Double valueorgadd;
    @PropertyDef(label = "本期原值减少")
    private Double valueOrgDerease;
    @JsonProperty("valueOrgDerease")
    private Double valueorgderease;
    @PropertyDef(label = "本期累计折旧调增")
    private Double accuDeprAdjustAdd;
    @JsonProperty("accuDeprAdjustAdd")
    private Double accudepradjustadd;
    @PropertyDef(label = "本期累计折旧调减")
    private Double accuDeprAdjustDec;
    @JsonProperty("accuDeprAdjustDec")
    private Double accudepradjustdec;
    @PropertyDef(label = "本年累计数量增加")
    private Double yQtyIncrease;
    @JsonProperty("yQtyIncrease")
    private Double yqtyIncrease;
    @PropertyDef(label = "本年累计数量减少")
    private Double yQtyDecrease;
    @JsonProperty("yQtyDecrease")
    private Double yqtydecrease;
    @PropertyDef(label = "本年原值累计增加")
    private Double yValueIncrease;
    @JsonProperty("yValueIncrease")
    private Double yvalueincrease;
    @PropertyDef(label = "本年原值累计减少")
    private Double yValueDecrease;
    @JsonProperty("yValueDecrease")
    private Double yvaluedecrease;
    @PropertyDef(label = "本年累计折旧调增")
    private Double yAccuDeprIncrease;
    @JsonProperty("yAccuDeprIncrease")
    private Double yaccudeprincrease;
    @PropertyDef(label = "本年累计折旧调减")
    private Double YAccuDeprDecrease;
    @JsonProperty("YAccuDeprDecrease")
    private Double yaccudeprdecrease;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/SH2023ApiRemoteService.java
@@ -11,7 +11,10 @@
import com.fzzy.api.service.ApiTriggerService;
import com.fzzy.api.utils.*;
import com.fzzy.api.view.repository.*;
import com.fzzy.push.nx2023.NX2023Constant;
import com.fzzy.push.sh2023.dto.*;
import com.fzzy.push.sx2024.SX2024Constant;
import com.fzzy.push.sx2024.data.*;
import lombok.Data;
import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang.StringUtils;
@@ -61,6 +64,8 @@
    @Autowired
    private Api1205Rep api1205Rep;
    @Autowired
    private Api1310Rep api1310Rep;
    @Autowired
    private Api1403Rep api1403Rep;
    @Autowired
    private Api1404Rep api1404Rep;
@@ -77,7 +82,7 @@
    @Override
    public ResponseDto pushData(ApiParam param, ApiConfs conf, Object data) {
        String inteId = param.getInteId();
        String kqdm = param.getKqdm();
        //查询库区信息行政区划码
        List<Api1102> api1102List = api1102Rep.findPushData(kqdm);
@@ -89,23 +94,18 @@
            //添加日志
            ApiLog apiLog = new ApiLog();
            apiLog.setId(ContextUtil.getUUID());
            //若为财务1501、1502、1503接口,则接口编码填写1114
            if (Constant.API_CODE_1501.equals(param.getInteId())
                    || Constant.API_CODE_1502.equals(param.getInteId())
                    || Constant.API_CODE_1503.equals(param.getInteId())) {
                inteId = Constant.API_CODE_1114;
            }
            apiLog.setInteId(inteId);
            if (StringUtils.isEmpty(inteId)) {
            if (StringUtils.isEmpty(param.getInteId())) {
                ResponseDto responseDto = new ResponseDto(99, "没有获取到接口");
                apiLog.setStatus(99);
                apiLog.setResult("没有获取到接口");
                apiLogRep.save(apiLog);
                return responseDto;
            }
            apiLog.setInteId(param.getInteId());
            //获取接口编码
            String inteId = this.getInteId(param.getInteId());
            //获取JSON报文
            String jsonData = getJsonData(param.getInteId(), data, api1102List.get(0).getXzqhdm());
            log.info("接口数据信息=" + jsonData);
            apiLog.setData(jsonData);
@@ -481,6 +481,13 @@
            if(StringUtils.isEmpty(api1201.getKhtyshxydm())){
                api1201.setGxfs("3");
            }
            //付款方式
            if(StringUtils.isEmpty(api1201.getFkfs())){
                api1201.setFkfs("4");
            }
            if(StringUtils.isEmpty(api1201.getYsfs())){
                api1201.setYsfs("按封仓数量进行验收");
            }
            //设置空属性为默认值
            changeObject(api1201);
            return api1201;
@@ -494,6 +501,11 @@
            if(StringUtils.isEmpty(api1202.getTyhwbm())){
                String tyhwbm = apiCommonService.getTyhwbm(api1202.getHwdm());
                api1202.setTyhwbm(tyhwbm);
            }
            //校验统一编码是否为空,为空则查询信息进行赋值
            if(StringUtils.isEmpty(api1202.getLqgsdwtybm())){
                String tydwbm = apiCommonService.getTydwbm(apiData.getKqdm().substring(0,18));
                api1202.setLqgsdwtybm(tydwbm);
            }
            api1202.setJzrq(apiData.getCmsj());
            if (StringUtils.isEmpty(api1202.getCddm())) {
@@ -527,6 +539,13 @@
            }
            //粮食性质
            api1202.setLsxzdm("200");
            //售粮人信息
            if(StringUtils.isEmpty(api1202.getSlr())){
                api1202.setSlr("售粮人");
            }
            if(StringUtils.isEmpty(api1202.getSlrdz())){
                api1202.setSlrdz("售粮人地址");
            }
            //设置空属性为默认值
            changeObject(api1202);
@@ -640,7 +659,18 @@
            if (null != api1208List && api1208List.size() > 0) {
                api1205.setPch(apiData.getHwdm() + api1208List.get(0).getShnd());
            }
            //质检单号
            List<Api1310> api1310List = api1310Rep.getDataByHwdm(api1205.getHwdm(), "02");
            if (null != api1310List && api1310List.size() > 0) {
                api1205.setZjbgdh(apiData.getHwdm() + api1310List.get(0).getZjbgdh());
            }
            //生成方式
            if(null == api1205.getScfs()){
                api1205.setScfs(1);
            }
            if(StringUtils.isEmpty(api1205.getSdblyy())){
                api1205.setSdblyy("流程生成无补录原因");
            }
            //设置空属性为默认值
            changeObject(api1205);
            return api1205;
@@ -759,6 +789,16 @@
            //粮食性质,暂时默认区级储备
            api1209.setLsxzdm("122");
            //损益环节,默认出库损耗
            if(StringUtils.isEmpty(api1209.getSyhj())){
                api1209.setSyhj("2");
            }
            //获取上海规范损益类型
            api1209.setSylx(getShSylxByGb(api1209.getSylx()));
            //入库数量
            if(api1209.getRksl() < api1209.getRkjz()){
                api1209.setRksl(api1209.getRkjz());
            }
            //设置空属性为默认值
            changeObject(api1209);
            return api1209;
@@ -846,6 +886,17 @@
            //设置空属性为默认值
            changeObject(api1212);
            return api1212;
        }
        if (SH2023Constant.SH_2023_API_CODE_1213.equals(inteId)) {
            Api1213 api1213 = (Api1213) data;
            SH2023Api1213 apiData = new SH2023Api1213();
            BeanUtils.copyProperties(api1213, apiData);
            //设置統一货位编码
            if (StringUtils.isEmpty(apiData.getTyhwbm())) {
                String tyhwbm = apiCommonService.getTyhwbm(api1213.getHwdm());
                apiData.setTyhwbm(tyhwbm);
            }
            return apiData;
        }
        if (SH2023Constant.SH_2023_API_CODE_1301.equals(inteId)) {
            SH2023Api1301 api1301 = new SH2023Api1301();
@@ -1210,6 +1261,42 @@
            //设置空属性为默认值
            changeObject(data);
            return data;
        }
        if (Constant.API_CODE_1504.equals(inteId)) {
            Api1504 api1504 = (Api1504)data;
            SH2023Api1504 apiData = new SH2023Api1504();
            BeanUtils.copyProperties(api1504, apiData);
            return apiData;
        }
        if (Constant.API_CODE_1505.equals(inteId)) {
            SH2023Api1505 apiData = new SH2023Api1505();
            BeanUtils.copyProperties(data, apiData);
            return apiData;
        }
        if (Constant.API_CODE_1506.equals(inteId)) {
            SH2023Api1506 apiData = new SH2023Api1506();
            BeanUtils.copyProperties(data, apiData);
            return apiData;
        }
        if (Constant.API_CODE_1507.equals(inteId)) {
            SH2023Api1507 apiData = new SH2023Api1507();
            BeanUtils.copyProperties(data, apiData);
            return apiData;
        }
        if (Constant.API_CODE_1508.equals(inteId)) {
            SH2023Api1508 apiData = new SH2023Api1508();
            BeanUtils.copyProperties(data, apiData);
            return apiData;
        }
        if (Constant.API_CODE_1509.equals(inteId)) {
            SH2023Api1509 apiData = new SH2023Api1509();
            BeanUtils.copyProperties(data, apiData);
            return apiData;
        }
        if (Constant.API_CODE_1510.equals(inteId)) {
            SH2023Api1510 apiData = new SH2023Api1510();
            BeanUtils.copyProperties(data, apiData);
            return apiData;
        }
        //设置空属性为默认值
        changeObject(data);
@@ -1652,4 +1739,85 @@
        return object;
    }
    private String getShSylxByGb(String gbSylx){
        if("1".equals(gbSylx)){
            return "2";
        }
        if("2".equals(gbSylx)){
            return "1";
        }
        return gbSylx;
    }
    /**
     * æ ¹æ®æŽ¥å£ç¼–码获取对应的接口数据库表名
     *
     * @param inteId
     * @return
     */
    private String getInteId(String inteId) {
        //数据相符性
        if (Constant.API_CODE_9101.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1115;
        }
        //视频监控接口
        if (Constant.API_CODE_9102.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1311;
        }
        //倒仓倒入数据接口
        if (Constant.API_CODE_9103.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_2102;
        }
        //粮情设备配置数据接口
        if (Constant.API_CODE_9104.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_2103;
        }
        //检斤单数据接口
        if (Constant.API_CODE_9105.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_2101;
        }
        //市储驳运单信息数据接口
        if (Constant.API_CODE_9106.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_2104;
        }
        //交易中心合同信心数据接口
        if (Constant.API_CODE_9107.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_2203;
        }
        //定化水检验接口
        if (Constant.API_CODE_9108.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_2204;
        }
        if (Constant.API_CODE_1501.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1114;
        }
        if (Constant.API_CODE_1502.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1114;
        }
        if (Constant.API_CODE_1503.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1114;
        }
        if (Constant.API_CODE_1504.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1116;
        }
        if (Constant.API_CODE_1505.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1117;
        }
        if (Constant.API_CODE_1506.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1118;
        }
        if (Constant.API_CODE_1507.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1119;
        }
        if (Constant.API_CODE_1508.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1120;
        }
        if (Constant.API_CODE_1509.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1121;
        }
        if (Constant.API_CODE_1510.equals(inteId)) {
            return SH2023Constant.SH_2023_API_CODE_1122;
        }
        return inteId;
    }
}
src/main/java/com/fzzy/push/sh2023/SH2023Constant.java
@@ -69,6 +69,17 @@
     * æŽ¥å£ç¼–码-1115 æ•°æ®ç›¸ç¬¦æ€§æ•°æ®æŽ¥å£
     */
    public static String SH_2023_API_CODE_1115 = "1115";
    /**
     * æŽ¥å£ç¼–码-财务7个接口
     */
    public static String SH_2023_API_CODE_1116 = "1116";
    public static String SH_2023_API_CODE_1117 = "1117";
    public static String SH_2023_API_CODE_1118 = "1118";
    public static String SH_2023_API_CODE_1119 = "1119";
    public static String SH_2023_API_CODE_1120 = "1120";
    public static String SH_2023_API_CODE_1121 = "1121";
    public static String SH_2023_API_CODE_1122 = "1122";
    /**
     * æŽ¥å£ç¼–码-1201 åˆåŒä¿¡æ¯æ•°æ®æŽ¥å£
     */
@@ -117,6 +128,10 @@
     * æŽ¥å£ç¼–码-1212 å®¢æˆ·ä¿¡æ¯æ•°æ®æŽ¥å£
     */
    public static String SH_2023_API_CODE_1212 = "1212";
    /**
     * æŽ¥å£ç¼–码-1213 å°ä»“确认单
     */
    public static String SH_2023_API_CODE_1213 = "1213";
    /**
     * æŽ¥å£ç¼–码-1301 å®‰å…¨ç®¡ç†æ•°æ®æŽ¥å£
src/main/java/com/fzzy/push/sh2023/SH2023OrderServiceImpl.java
@@ -42,7 +42,7 @@
    @Autowired
    private ComPushService15 pushService15;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService90;
    @Override
    public String getProtocol() {
@@ -130,7 +130,28 @@
                pushService15.pushData1500(apiRemoteService, param);
                break;
            case "1115":
                pushService99.pushData1115(apiRemoteService, param);
                pushService90.pushData9101(apiRemoteService, param);
                break;
            case "1116":
                pushService15.pushData1504(apiRemoteService, param);
                break;
            case "1117":
                pushService15.pushData1505(apiRemoteService, param);
                break;
            case "1118":
                pushService15.pushData1506(apiRemoteService, param);
                break;
            case "1119":
                pushService15.pushData1507(apiRemoteService, param);
                break;
            case "1120":
                pushService15.pushData1508(apiRemoteService, param);
                break;
            case "1121":
                pushService15.pushData1509(apiRemoteService, param);
                break;
            case "1122":
                pushService15.pushData1510(apiRemoteService, param);
                break;
            case "1201":
                pushService12.pushData1201(apiRemoteService, param);
@@ -168,14 +189,17 @@
            case "1212":
                pushService12.pushData1212(apiRemoteService, param);
                break;
            case "1213":
                pushService12.pushData1213(apiRemoteService, param);
                break;
            case "2101":
                pushService99.pushData2101(apiRemoteService, param);
                pushService90.pushData9105(apiRemoteService, param);
                break;
            case "2102":
                pushService99.pushData2102(apiRemoteService, param);
                pushService90.pushData9103(apiRemoteService, param);
                break;
            case "2104":
                pushService99.pushData2104(apiRemoteService, param);
                pushService90.pushData9106(apiRemoteService, param);
                break;
            case "1301":
                pushService13.pushData1301(apiRemoteService, param);
@@ -208,10 +232,10 @@
                pushService13.pushData1310(apiRemoteService, param);
                break;
            case "1311":
                pushService99.pushData1311(apiRemoteService, param);
                pushService90.pushData9102(apiRemoteService, param);
                break;
            case "2103":
                pushService99.pushData2103(apiRemoteService, param);
                pushService90.pushData9104(apiRemoteService, param);
                break;
            case "1401":
                pushService14.pushData1401(apiRemoteService, param);
@@ -229,10 +253,10 @@
                pushService14.pushData1405(apiRemoteService, param);
                break;
            case "2203":
                pushService99.pushData2203(apiRemoteService, param);
                pushService90.pushData9107(apiRemoteService, param);
                break;
            case "2204":
                pushService99.pushData2204(apiRemoteService, param);
                pushService90.pushData9108(apiRemoteService, param);
                break;
            default:
                log.error("-----上海市平台:未匹配到接口编码,不推送-----");
src/main/java/com/fzzy/push/sh2023/SH2023PushService11.java
@@ -5,7 +5,7 @@
import com.fzzy.api.service.PushService11;
import com.fzzy.push.impl.ComPushService11;
import com.fzzy.push.impl.ComPushService15;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -27,7 +27,7 @@
    @Autowired
    private ComPushService15 pushService15;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService99;
    @Override
    public String getProtocol() {
        return PushProtocol.SB_SH_2023.getCode();
@@ -69,7 +69,7 @@
        //财务报表数据推送
        pushService15.pushData1500(apiRemoteService, param);
        //数据相符性
        pushService99.pushData1115(apiRemoteService, param);
        pushService99.pushData9101(apiRemoteService, param);
        log.info("------->>>>基础信息 æŽ¥å£æ¨¡å—上报结束");
    }
src/main/java/com/fzzy/push/sh2023/SH2023PushService12.java
@@ -4,7 +4,7 @@
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.service.PushService12;
import com.fzzy.push.impl.ComPushService12;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -25,7 +25,7 @@
    @Autowired
    private ComPushService12 pushService12;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService99;
    @Override
    public String getProtocol() {
        return PushProtocol.SB_SH_2023.getCode();
@@ -74,9 +74,9 @@
        //文件
        pushService12.pushData1109(apiRemoteService, param);
        pushService99.pushData2101(apiRemoteService, param);
        pushService99.pushData2102(apiRemoteService, param);
        pushService99.pushData2104(apiRemoteService, param);
        pushService99.pushData9105(apiRemoteService, param);
        pushService99.pushData9103(apiRemoteService, param);
        pushService99.pushData9106(apiRemoteService, param);
        log.info("------->>>>粮食购销 æŽ¥å£æ¨¡å—上报结束");
    }
src/main/java/com/fzzy/push/sh2023/SH2023PushService13.java
@@ -4,7 +4,7 @@
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.service.PushService13;
import com.fzzy.push.impl.ComPushService13;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -25,7 +25,7 @@
    @Autowired
    private ComPushService13 pushService13;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService90;
    @Override
@@ -62,8 +62,8 @@
        //质检
        pushService13.pushData1310(apiRemoteService, param);
        pushService99.pushData1311(apiRemoteService, param);
        pushService99.pushData2103(apiRemoteService, param);
        pushService90.pushData9102(apiRemoteService, param);
        pushService90.pushData9104(apiRemoteService, param);
        log.info("------->>>>粮库管理 æŽ¥å£æ¨¡å—上报结束");
    }
src/main/java/com/fzzy/push/sh2023/SH2023PushService14.java
@@ -4,7 +4,7 @@
import com.fzzy.api.data.PushProtocol;
import com.fzzy.api.service.PushService14;
import com.fzzy.push.impl.ComPushService14;
import com.fzzy.push.impl.ComPushService99;
import com.fzzy.push.impl.ComPushService90;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Component;
@@ -25,7 +25,7 @@
    @Autowired
    private ComPushService14 pushService14;
    @Autowired
    private ComPushService99 pushService99;
    private ComPushService90 pushService99;
    @Override
    public String getProtocol() {
@@ -47,8 +47,8 @@
        pushService14.pushData1405(apiRemoteService, param);
        //其他接口
        pushService99.pushData2203(apiRemoteService, param);
        pushService99.pushData2204(apiRemoteService, param);
        pushService99.pushData9107(apiRemoteService, param);
        pushService99.pushData9108(apiRemoteService, param);
        log.info("------->>>>行政管理 æŽ¥å£æ¨¡å—上报结束");
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1201.java
@@ -31,7 +31,7 @@
    @PropertyDef(label = "统一单位编码")
    private String tydwbm;
    @PropertyDef(label = "业务类别")
    @PropertyDef(label = "业务类别",description = "1:销售合同,2:采购合同,3:委托收储合同,4:委托收购合同")
    private String ywlx;
    @PropertyDef(label = "购销方式")
@@ -74,6 +74,9 @@
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "约定完成时间")
    private Date ydwcsj;
    @PropertyDef(label = "验收方式")
    private String ysfs;
    @PropertyDef(label = "签订地点")
    private String qddd;
@@ -119,6 +122,15 @@
    @PropertyDef(label = "结算与合同不一致原因")
    private String jsyhtbyzyy;
    /**
     * 1:全额先款后货
     * 2:按到款进度逐批发货
     * 3:货到并确认后一次性付款
     * 4:按到货批次逐批确认、逐批付款
     */
    @PropertyDef(label = "付款方式")
    private String fkfs;
    @PropertyDef(label = "客户方开户行")
    private String khfkhh;
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1202.java
@@ -43,6 +43,9 @@
    @PropertyDef(label = "合同号")
    private String hth;
    @PropertyDef(label = "粮权归属单位统一编码")
    private String lqgsdwtybm;
    @PropertyDef(label = "承运人")
    private String cyr;
@@ -70,6 +73,21 @@
    @PropertyDef(label = "装粮地点")
    private String ldd;
    @PropertyDef(label = "售粮人")
    private String slr;
    @PropertyDef(label = "售粮人联系方式")
    private String slrlxfs;
    @PropertyDef(label = "售粮人身份证号")
    private String slrsfzh;
    @PropertyDef(label = "售粮人账号(银行卡或账户)")
    private String slrzh;
    @PropertyDef(label = "售粮人地址")
    private String slrdz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "登记时间")
    private Date djsj;
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1205.java
@@ -5,11 +5,6 @@
import com.fzzy.api.entity.ApiParent;
import lombok.Data;
import lombok.EqualsAndHashCode;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;
@@ -48,6 +43,9 @@
    @PropertyDef(label = "合同号")
    private String hth;
    @PropertyDef(label = "质检报告单号")
    private String zjbgdh;
    @PropertyDef(label = "承运人")
    private String cyr;
@@ -152,6 +150,12 @@
    @PropertyDef(label = "出库结算单号")
    private String ckjsdh;
    @PropertyDef(label = "生成方式")
    private Integer scfs;
    @PropertyDef(label = "手动补录原因")
    private String sdblyy;
    @PropertyDef(label = "备注")
    private String bz;
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1209.java
@@ -4,7 +4,6 @@
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import lombok.EqualsAndHashCode;
import java.io.Serializable;
import java.util.Date;
@@ -29,11 +28,24 @@
    private String tyhwbm;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "业务日期" )
    private Date ywrq;
    @PropertyDef(label = "损溢类型", description = "1:损耗;2:损失;3:溢余;4:其他")
    private String sylx;
    @PropertyDef(label = "损溢环节", description = "1:入库损溢,2:出库损溢,3.其他")
    private String syhj;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "记账日期")
    private Date jzrq;
    @PropertyDef(label = "入库净重")
    private Double rkjz;
    @PropertyDef(label = "入库数量(公斤)")
    private double rksl;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "入库时间")
@@ -58,7 +70,10 @@
    @PropertyDef(label = "出库杂质")
    private Double ckzz;
    @PropertyDef(label = "净重损溢数量")
    @PropertyDef(label = "储备时长")
    private Integer ccsc;
    @PropertyDef(label = "实际损溢数量")
    private Double jzsysl;
    @PropertyDef(label = "水杂减量")
@@ -67,17 +82,24 @@
    @PropertyDef(label = "自然损耗定额")
    private Double zrshde;
    @PropertyDef(label = "是否超耗", description = "1:是,2:否")
    private Integer sfch;
    @PropertyDef(label = "超耗数量")
    private Double chsl;
    @PropertyDef(label = "损益是否正常")
    private String sysfzc;
    @PropertyDef(label = "损溢类型",description = "1:损耗,2:损失,3.其他")
    private String sylx;
    @PropertyDef(label = "损溢原因")
    private String syyy;
    @PropertyDef(label = "出清确认标识",description = "0:未完成出清确认,1:已完成出清确认")
    private Integer cqqrbs;
    @PropertyDef(label = "出清确认时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date cqqrsj;
    @PropertyDef(label = "仓储审核人")
    private String ccshr;
@@ -116,7 +138,5 @@
    @PropertyDef(label = "粮食性质代码")
    private String lsxzdm;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "业务日期" )
    private Date ywrq;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1213.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,69 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description
 * @Author CZT
 * @Date 2024/11/11 10:53
 */
@Data
public class SH2023Api1213 implements Serializable {
    @PropertyDef(label = "封仓确认单号", description = "2位业务编码(21代表封仓)+yyMMdd+4位顺序码,212405040001")
    private String fcqrdh;
    @PropertyDef(label = "统一货位编码")
    private String tyhwbm;
    @PropertyDef(label = "封仓日期")
    @JSONField(format = "yyyy-MM-dd")
    private Date fcrq;
    @PropertyDef(label = "粮食品种代码")
    private String lspzdm;
    @PropertyDef(label = "粮食性质代码")
    private String lsxzdm;
    @PropertyDef(label = "粮食等级代码")
    private String lsdjdm;
    @PropertyDef(label = "收获年度")
    private String shnd;
    @PropertyDef(label = "国别")
    private String gb;
    @PropertyDef(label = "产地")
    private String cd;
    @PropertyDef(label = "保管员")
    private String bgy;
    @PropertyDef(label = "封仓数量")
    private Double fcsl;
    @PropertyDef(label = "封仓申请人")
    private String fcsqr;
    @PropertyDef(label = "部门审核人")
    private String bmshr;
    @PropertyDef(label = "领导审核人")
    private String ldshr;
    @PropertyDef(label = "备注")
    private String bz;
    @PropertyDef(label = "操作标志")
    private String czbz;
    @PropertyDef(label = "最后更新时间")
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1504.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,86 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description è´¦å¥—信息
 * @Author CZT
 * @Date 2024/11/6 16:15
 */
@Data
public class SH2023Api1504 implements Serializable {
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "账套名称")
    @JsonProperty("cAcctName")
    private String cncctname;
    @PropertyDef(label = "本位币")
    @JsonProperty("cCurrency")
    private String ccurrency;
    @PropertyDef(label = "会计主管")
    @JsonProperty("cAcctChief")
    private String cacctchief;
    @JSONField(format = "yyyyMM")
    @PropertyDef(label = "启用期间")
    @JsonProperty("cPeriodStart")
    private Date cperiodstart;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "启用日期")
    @JsonProperty("cYearBmd")
    private Date cyearbmd;
    @PropertyDef(label = "期间数")
    @JsonProperty("nAcctPeriodNum")
    private Integer nacctperiodnum;
    @PropertyDef(label = "会计制度代码", description = "11:企业会计准则制度(粮食2013版)(默认代码值)")
    @JsonProperty("cAccClassCode")
    private String caccclasscode;
    @PropertyDef(label = "科目级次", description = "4-8:默认最小值为4")
    @JsonProperty("nAccGrade")
    private Integer naccgrade;
    @PropertyDef(label = "科目编码规则", description = "4222XXXX:默认前四级级长规则为4222")
    @JsonProperty("cAccCodeStr")
    private String cacccodestr;
    @PropertyDef(label = "单位名称")
    @JsonProperty("cCropName")
    private String ccropname;
    @PropertyDef(label = "单位代码")
    @JsonProperty("cOrgCode")
    private String corgcode;
    @PropertyDef(label = "统一单位编码")
    @JsonProperty("xqydm")
    private String tydwbm;
    @PropertyDef(label = "统一库区编码")
    @JsonProperty("xkqdm")
    private String tykqbm;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1505.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,101 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description ç§‘目信息
 * @Author CZT
 * @Date 2024/11/6 16:20
 */
@Data
public class SH2023Api1505 implements Serializable {
    @PropertyDef(label = "id主键")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "年度")
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "科目名称")
    @JsonProperty("cName")
    private String cname;
    @PropertyDef(label = "科目全称")
    @JsonProperty("cAllName")
    private String callname;
    /**
     * 1:资产类
     * 2:负债类
     * 3:共同类
     * 4:所有者权益类
     * 5:成本费用类
     * 6:损益类
     */
    @PropertyDef(label = "科目类别")
    @JsonProperty("nClass")
    private String nclass;
    /**
     * (-1)-贷方;1-借方
     */
    @PropertyDef(label = "余额方向")
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "末级科目")
    @JsonProperty("bL")
    private Integer bl;
    @PropertyDef(label = "科目级次")
    @JsonProperty("nGrade")
    private Integer ngrade;
    @PropertyDef(label = "数量科目")
    @JsonProperty("bQ")
    private Integer bq;
    @PropertyDef(label = "数量单位")
    @JsonProperty("cQUnit")
    private Integer cqunit;
    @PropertyDef(label = "现金类科目")
    @JsonProperty("bCash")
    private Integer bcash;
    @PropertyDef(label = "银行类科目")
    @JsonProperty("bBank")
    private Integer bbank;
    @PropertyDef(label = "现金流量类科目")
    @JsonProperty("bXjll")
    private Integer bxjll;
    @PropertyDef(label = "冻结")
    @JsonProperty("bF")
    private Integer bf;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1506.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,103 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description ç§‘目余额信息
 * @Author CZT
 * @Date 2024/11/6 16:25
 */
@Data
public class SH2023Api1506 implements Serializable {
    @PropertyDef(label = "ID_")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "期间")
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "年度")
    @JsonProperty("nNo")
    private Integer nno;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "期初本位币余额")
    @JsonProperty("bM")
    private Double bm;
    @PropertyDef(label = "期末本位币余额")
    @JsonProperty("eM")
    private Double em;
    @PropertyDef(label = "期初数量")
    @JsonProperty("bQty")
    private Double bqty;
    @PropertyDef(label = "期末数量")
    @JsonProperty("eQty")
    private Double eqty;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "余额方向")
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "借方本位币发生额")
    @JsonProperty("dM")
    private Double dm;
    @PropertyDef(label = "贷方本位币发生额")
    @JsonProperty("cM")
    private Double cm;
    @PropertyDef(label = "借方发生数量")
    @JsonProperty("dQ")
    private Double dq;
    @PropertyDef(label = "贷方发生数量")
    @JsonProperty("cQ")
    private Double cq;
    @PropertyDef(label = "期初外币余额")
    @JsonProperty("bFm")
    private Double bfm;
    @PropertyDef(label = "期末外币余额")
    @JsonProperty("eFm")
    private Double efm;
    @PropertyDef(label = "借方外币发生额")
    @JsonProperty("dFm")
    private Double dfm;
    @PropertyDef(label = "贷方外币发生额")
    @JsonProperty("cFm")
    private Double cfm;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1507.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,126 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description ä¼šè®¡å‡­è¯ä¿¡æ¯
 * @Author CZT
 * @Date 2024/11/6 16:30
 */
@Data
public class SH2023Api1507 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
    @JsonProperty("cVKind")
    private String cvkind;
    @PropertyDef(label = "期间")
    @JsonProperty("cMon")
    private Integer cmon;
    @PropertyDef(label = "年度")
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "凭证号")
    @JsonProperty("nVNo")
    private Integer nvno;
    @PropertyDef(label = "分录序号")
    @JsonProperty("nNo")
    private Integer nno;
    @PropertyDef(label = "摘要")
    @JsonProperty("Digest")
    private String digest;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
    private String ccode;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "凭证日期")
    @JsonProperty("cVSmallDatetime")
    private Date ccsmalldatetime;
    @PropertyDef(label = "制单人")
    @JsonProperty("cMaker")
    private String cmaker;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "方向")
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "审核人")
    @JsonProperty("cCkEr")
    private String ccker;
    @PropertyDef(label = "记账人")
    @JsonProperty("cPtEr")
    private String cpter;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "记账标志")
    @JsonProperty("bPt")
    private Integer bpt;
    @PropertyDef(label = "附件张数")
    @JsonProperty("nANum")
    private Integer nanum;
    @PropertyDef(label = "金额")
    @JsonProperty("nM")
    private Double nm;
    @PropertyDef(label = "数量")
    @JsonProperty("nQty")
    private Double nqty;
    @PropertyDef(label = "单价")
    @JsonProperty("nPrice")
    private Double nprice;
    @PropertyDef(label = "出纳")
    @JsonProperty("cCashier")
    private String ccashier;
    @PropertyDef(label = "汇率")
    @JsonProperty("rate")
    private Double rate;
    @PropertyDef(label = "外币金额")
    @JsonProperty("nFm")
    private Double nfm;
    @PropertyDef(label = "计量单位",description = "计量单位汉字")
    @JsonProperty("meterUnitId")
    private String meterunitid;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1508.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,79 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description çŽ°é‡‘æµé‡åˆ†é…ä¿¡æ¯
 * @Author CZT
 * @Date 2024/11/6 16:35
 */
@Data
public class SH2023Api1508 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
    @JsonProperty("cVKind")
    private String cvkind;
    @PropertyDef(label = "期间")
    @JsonProperty("cMon")
    private Integer cmon;
    @PropertyDef(label = "年度")
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "凭证号")
    @JsonProperty("nVNo")
    private Integer nvno;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "对方科目编码")
    @JsonProperty("cDFCode")
    private String cdfcode;
    @PropertyDef(label = "现金流量项目代码")
    @JsonProperty("cCashCode")
    private String ccashcode;
    @PropertyDef(label = "分录序号")
    @JsonProperty("nNo")
    private Integer nrowno;
    @PropertyDef(label = "金额")
    @JsonProperty("nM")
    private Double nm;
    /**
     * 1:流入
     * -1:流出
     */
    @PropertyDef(label = "方向")
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1509.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,171 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description å›ºå®šèµ„产卡片信息
 * @Author CZT
 * @Date 2024/11/6 16:35
 */
@Data
public class SH2023Api1509 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
    @JsonProperty("fixAssetCode")
    private String fixassetcode;
    @PropertyDef(label = "固定资产自编码")
    @JsonProperty("origFixAssetCode")
    private String origfixassetcode;
    @PropertyDef(label = "资产类别编码")
    @JsonProperty("groupCode")
    private String groupcode;
    @PropertyDef(label = "固定资产名称")
    @JsonProperty("fixAssetName")
    private String fixassetname;
    @PropertyDef(label = "计量单位名称")
    @JsonProperty("unitName")
    private String unitname;
    @PropertyDef(label = "原值")
    @JsonProperty("valueOrg")
    private Double valueorg;
    @PropertyDef(label = "当前原值")
    @JsonProperty("dresentValueOrg")
    private Double dresentvalueorg;
    /**
     * 1:不提折旧法
     * 2:平均年限法
     * 3:动态平均年限法
     * 4:工作量法
     * 5:年数总和法
     * 6:双倍余额递减法
     */
    @PropertyDef(label = "折旧方法")
    @JsonProperty("deprMethodId")
    private Integer deprmethodid;
    /**
     * 1:投资
     * 2:自建
     * 3:è´­ä¹°
     * 4:融资租赁
     * 5:经营租入
     * 6:无偿调入
     * 7:捐赠
     * 8:换入
     */
    @PropertyDef(label = "固定资产来源")
    @JsonProperty("sourceid")
    private Integer sourceid;
    @PropertyDef(label = "型号")
    @JsonProperty("model")
    private String model;
    @PropertyDef(label = "规格")
    @JsonProperty("specs")
    private String specs;
    @PropertyDef(label = "制造商")
    @JsonProperty("manufacturer")
    private String manufacturer;
    @PropertyDef(label = "产地")
    @JsonProperty("makingPlace")
    private String makingplace;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "进单位日期")
    @JsonProperty("enterDay")
    private Date enterday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "开始使用日期")
    @JsonProperty("beginUseDay")
    private Date beginuseday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "建卡日期")
    @JsonProperty("makinDay")
    private Date makinday;
    @PropertyDef(label = "管理人")
    @JsonProperty("keeper")
    private String keeper;
    @PropertyDef(label = "建卡人")
    @JsonProperty("maker")
    private String maker;
    @PropertyDef(label = "预计使用期间数")
    @JsonProperty("usingPeriods")
    private Integer usingperiods;
    @PropertyDef(label = "预计净残值")
    @JsonProperty("expecRemain")
    private Double expecremain;
    @PropertyDef(label = "固定资产对应科目编码")
    @JsonProperty("assetAcctCode")
    private String assetacctcode;
    @PropertyDef(label = "累计折旧对应科目编码")
    @JsonProperty("deprAcctCode")
    private String depracctcode;
    @PropertyDef(label = "累计折旧")
    @JsonProperty("accumulateDepr")
    private Double accumulatedepr;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "是否报废清理")
    @JsonProperty("abadoned")
    private String abadoned;
    /**
     * 1:在使用
     * 2:未使用
     * 3:停用
     * 4:出售
     * 5:报损
     * 6:盘亏
     */
    @PropertyDef(label = "当前使用状态名称")
    @JsonProperty("presentStatus")
    private String presentstatus;
    @PropertyDef(label = "备注")
    @JsonProperty("notes")
    private String notes;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1510.java
¶Ô±ÈÐÂÎļþ
@@ -0,0 +1,112 @@
package com.fzzy.push.sh2023.dto;
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
 * @Description èµ„产折旧信息
 * @Author CZT
 * @Date 2024/11/6 16:40
 */
@Data
public class SH2023Api1510 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
    @JsonProperty("fixAssetCode")
    private String fixassetcode;
    @PropertyDef(label = "期间")
    @JsonProperty("period")
    private Integer period;
    @PropertyDef(label = "年度")
    @JsonProperty("AcctYear")
    private Integer acctyear;
    @PropertyDef(label = "期初原值")
    @JsonProperty("bValueOrg")
    private Double bvalueorg;
    @PropertyDef(label = "累计折旧")
    @JsonProperty("bAccumDepr")
    private Double baccumdepr;
    @PropertyDef(label = "本期计提折旧")
    @JsonProperty("deprAmmount")
    private Double deprammount;
    @PropertyDef(label = "本年累计计提折旧")
    @JsonProperty("yAccumDepr")
    private Double yaccumdepr;
    @PropertyDef(label = "本期数量增加")
    @JsonProperty("qtyAdd")
    private Double qtyadd;
    @PropertyDef(label = "本期数量减少")
    @JsonProperty("qtyDecrease")
    private Double qtydecrease;
    @PropertyDef(label = "本期原值增加")
    @JsonProperty("valueOrgAdd")
    private Double valueorgadd;
    @PropertyDef(label = "本期原值减少")
    @JsonProperty("valueOrgDerease")
    private Double valueorgderease;
    @PropertyDef(label = "本期累计折旧调增")
    @JsonProperty("accuDeprAdjustAdd")
    private Double accudepradjustadd;
    @PropertyDef(label = "本期累计折旧调减")
    @JsonProperty("accuDeprAdjustDec")
    private Double accudepradjustdec;
    @PropertyDef(label = "本年累计数量增加")
    @JsonProperty("yQtyIncrease")
    private Double yqtyIncrease;
    @PropertyDef(label = "本年累计数量减少")
    @JsonProperty("yQtyDecrease")
    private Double yqtydecrease;
    @PropertyDef(label = "本年原值累计增加")
    @JsonProperty("yValueIncrease")
    private Double yvalueincrease;
    @PropertyDef(label = "本年原值累计减少")
    @JsonProperty("yValueDecrease")
    private Double yvaluedecrease;
    @PropertyDef(label = "本年累计折旧调增")
    @JsonProperty("yAccuDeprIncrease")
    private Double yaccudeprincrease;
    @PropertyDef(label = "本年累计折旧调减")
    @JsonProperty("YAccuDeprDecrease")
    private Double yaccudeprdecrease;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sx2024/SX2024ApiRemoteService.java
@@ -853,16 +853,6 @@
            Api1504 api1504 = (Api1504)data;
            SX2024Api1504 apiData = new SX2024Api1504();
            BeanUtils.copyProperties(api1504, apiData);
            //设置統一单位编码
            if (StringUtils.isEmpty(apiData.getXqydm())) {
                String tydwbm = apiCommonService.getTydwbm(apiData.getCOrgCode());
                apiData.setXqydm(tydwbm);
            }
            //设置統一库区编码
            if (StringUtils.isEmpty(apiData.getXkqdm())) {
                String tykqbm = apiCommonService.getTykqbm(api1504.getKqdm());
                apiData.setXkqdm(tykqbm);
            }
            return apiData;
        }
        if (Constant.API_CODE_1505.equals(inteId)) {
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1504.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@@ -16,53 +17,69 @@
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "账套名称")
    private String cAcctName;
    @JsonProperty("cAcctName")
    private String cncctname;
    @PropertyDef(label = "本位币")
    private String cCurrency;
    @JsonProperty("cCurrency")
    private String ccurrency;
    @PropertyDef(label = "会计主管")
    private String cAcctChief;
    @JsonProperty("cAcctChief")
    private String cacctchief;
    @JSONField(format = "yyyy-MM-dd")
    @JSONField(format = "yyyyMM")
    @PropertyDef(label = "启用期间")
    private String cPeriodStart;
    @JsonProperty("cPeriodStart")
    private Date cperiodstart;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "启用日期")
    private String cYearBmd;
    @JsonProperty("cYearBmd")
    private Date cyearbmd;
    @PropertyDef(label = "期间数")
    private Double nAcctPeriodNum;
    @JsonProperty("nAcctPeriodNum")
    private Integer nacctperiodnum;
    @PropertyDef(label = "会计制度代码", description = "11:企业会计准则制度(粮食2013版)(默认代码值)")
    private String cAccClassCode;
    @JsonProperty("cAccClassCode")
    private String caccclasscode;
    @PropertyDef(label = "科目级次", description = "4-8:默认最小值为4")
    private Double nAccGrade;
    @JsonProperty("nAccGrade")
    private Integer naccgrade;
    @PropertyDef(label = "科目编码规则", description = "4222XXXX:默认前四级级长规则为4222")
    private String cAccCodeStr;
    @JsonProperty("cAccCodeStr")
    private String cacccodestr;
    @PropertyDef(label = "单位名称")
    private String cCropName;
    @JsonProperty("cCropName")
    private String ccropname;
    @PropertyDef(label = "单位代码")
    private String cOrgCode;
    @JsonProperty("cOrgCode")
    private String corgcode;
    @PropertyDef(label = "统一单位编码")
    private String xqydm;
    @JsonProperty("xqydm")
    private String tydwbm;
    @PropertyDef(label = "统一库区编码")
    private String xkqdm;
    @JsonProperty("xkqdm")
    private String tykqbm;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1505.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@@ -14,20 +15,29 @@
@Data
public class SX2024Api1505 implements Serializable {
    @PropertyDef(label = "id主键")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "年度")
    private String cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "科目编码")
    private String cCode;
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "科目名称")
    private String cName;
    @JsonProperty("cName")
    private String cname;
    @PropertyDef(label = "科目全称")
    private String cAllName;
    @JsonProperty("cAllName")
    private String callname;
    /**
     * 1:资产类
@@ -38,41 +48,53 @@
     * 6:损益类
     */
    @PropertyDef(label = "科目类别")
    private String nClass;
    @JsonProperty("nClass")
    private String nclass;
    /**
     * (-1)-贷方;1-借方
     */
    @PropertyDef(label = "余额方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "末级科目")
    private String bL;
    @JsonProperty("bL")
    private Integer bl;
    @PropertyDef(label = "科目级次")
    private Double nGrade;
    @JsonProperty("nGrade")
    private Integer ngrade;
    @PropertyDef(label = "数量科目")
    private String bQ;
    @JsonProperty("bQ")
    private Integer bq;
    @PropertyDef(label = "数量单位")
    private String cQUnit;
    @JsonProperty("cQUnit")
    private Integer cqunit;
    @PropertyDef(label = "现金类科目")
    private String bCash;
    @JsonProperty("bCash")
    private Integer bcash;
    @PropertyDef(label = "银行类科目")
    private String bBank;
    @JsonProperty("bBank")
    private Integer bbank;
    @PropertyDef(label = "现金流量类科目")
    private String bXjll;
    @JsonProperty("bXjll")
    private Integer bxjll;
    @PropertyDef(label = "冻结")
    private String bF;
    @JsonProperty("bF")
    private Integer bf;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1506.java
@@ -2,7 +2,10 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import javax.persistence.Column;
import java.io.Serializable;
import java.util.Date;
@@ -14,61 +17,88 @@
@Data
public class SX2024Api1506 implements Serializable {
    @PropertyDef(label = "ID_")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "期间")
    private String cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "年度")
    private String nNo;
    @JsonProperty("nNo")
    private Integer nno;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "期初本位币余额")
    private Double bM;
    @JsonProperty("bM")
    private Double bm;
    @PropertyDef(label = "期末本位币余额")
    private Double eM;
    @JsonProperty("eM")
    private Double em;
    @PropertyDef(label = "期初数量")
    private Double bQty;
    @JsonProperty("bQty")
    private Double bqty;
    @PropertyDef(label = "期末数量")
    private Double eQty;
    @JsonProperty("eQty")
    private Double eqty;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "余额方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "借方本位币发生额")
    private Double dM;
    @JsonProperty("dM")
    private Double dm;
    @PropertyDef(label = "贷方本位币发生额")
    private Double cM;
    @JsonProperty("cM")
    private Double cm;
    @PropertyDef(label = "借方发生数量")
    private Double dQ;
    @JsonProperty("dQ")
    private Double dq;
    @PropertyDef(label = "贷方发生数量")
    private Double cQ;
    @JsonProperty("cQ")
    private Double cq;
    @PropertyDef(label = "期初外币余额")
    private Double bFm;
    @JsonProperty("bFm")
    private Double bfm;
    @PropertyDef(label = "期末外币余额")
    private Double eFm;
    @JsonProperty("eFm")
    private Double efm;
    @PropertyDef(label = "借方外币发生额")
    private Double dFm;
    @JsonProperty("dFm")
    private Double dfm;
    @PropertyDef(label = "贷方外币发生额")
    private Double cFm;
    @JsonProperty("cFm")
    private Double cfm;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1507.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@@ -14,89 +15,111 @@
@Data
public class SX2024Api1507 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
    private String cVKind;
    @JsonProperty("cVKind")
    private String cvkind;
    @PropertyDef(label = "期间")
    private Double cMon;
    @JsonProperty("cMon")
    private Integer cmon;
    @PropertyDef(label = "年度")
    private Double cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "凭证号")
    private Double nVNo;
    @JsonProperty("nVNo")
    private Integer nvno;
    @PropertyDef(label = "分录序号")
    private Double nNo;
    @PropertyDef(label = "凭证分类")
    private Double bTmp;
    @JsonProperty("nNo")
    private Integer nno;
    @PropertyDef(label = "摘要")
    private String Digest;
    @JsonProperty("Digest")
    private String digest;
    @PropertyDef(label = "科目编码")
    private Double cCode;
    @JsonProperty("cCode")
    private String ccode;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "凭证日期")
    private String cVSmallDatetime;
    @JsonProperty("cVSmallDatetime")
    private Date ccsmalldatetime;
    @PropertyDef(label = "制单人")
    private String cMaker;
    @JsonProperty("cMaker")
    private String cmaker;
    /**
     * 1:借方
     * -1:贷方
     */
    @PropertyDef(label = "方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "审核人")
    private String cCkEr;
    @JsonProperty("cCkEr")
    private String ccker;
    @PropertyDef(label = "记账人")
    private String cPtEr;
    @JsonProperty("cPtEr")
    private String cpter;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "记账标志")
    private Double bPt;
    @JsonProperty("bPt")
    private Integer bpt;
    @PropertyDef(label = "附件张数")
    private Double nANum;
    @JsonProperty("nANum")
    private Integer nanum;
    @PropertyDef(label = "金额")
    private Double nM;
    @JsonProperty("nM")
    private Double nm;
    @PropertyDef(label = "数量")
    private Double nQty;
    @JsonProperty("nQty")
    private Double nqty;
    @PropertyDef(label = "单价")
    private Double nPrice;
    @PropertyDef(label = "结算号")
    private String cSettleNo;
    @JsonProperty("nPrice")
    private Double nprice;
    @PropertyDef(label = "出纳")
    private String cCashier;
    @JsonProperty("cCashier")
    private String ccashier;
    @PropertyDef(label = "汇率")
    @JsonProperty("rate")
    private Double rate;
    @PropertyDef(label = "外币金额")
    private Double nFm;
    @JsonProperty("nFm")
    private Double nfm;
    @PropertyDef(label = "计量单位",description = "计量单位汉字")
    private String meterUnitId;
    @JsonProperty("meterUnitId")
    private String meterunitid;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1508.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@@ -14,49 +15,64 @@
@Data
public class SX2024Api1508 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
    private String cVKind;
    @JsonProperty("cVKind")
    private String cvkind;
    @PropertyDef(label = "期间")
    private Double cMon;
    @JsonProperty("cMon")
    private Integer cmon;
    @PropertyDef(label = "年度")
    private Double cYear;
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "凭证号")
    private Double nVNo;
    @JsonProperty("nVNo")
    private Integer nvno;
    @PropertyDef(label = "科目编码")
    private String cCode;
    @JsonProperty("cCode")
    private String ccode;
    @PropertyDef(label = "对方科目编码")
    private String cDFCode;
    @JsonProperty("cDFCode")
    private String cdfcode;
    @PropertyDef(label = "现金流量项目代码")
    private String cCashCode;
    @JsonProperty("cCashCode")
    private String ccashcode;
    @PropertyDef(label = "分录序号")
    private Double nNo;
    @JsonProperty("nNo")
    private Integer nrowno;
    @PropertyDef(label = "金额")
    private Double nM;
    @JsonProperty("nM")
    private Double nm;
    /**
     * 1:流入
     * -1:流出
     */
    @PropertyDef(label = "方向")
    private String cDc;
    @JsonProperty("cDc")
    private Integer cdc;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1509.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@@ -14,29 +15,42 @@
@Data
public class SX2024Api1509 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
    private String fixAssetCode;
    @JsonProperty("fixAssetCode")
    private String fixassetcode;
    @PropertyDef(label = "固定资产自编码")
    private String origFixAssetCode;
    @JsonProperty("origFixAssetCode")
    private String origfixassetcode;
    @PropertyDef(label = "资产类别编码")
    private String groupCode;
    @JsonProperty("groupCode")
    private String groupcode;
    @PropertyDef(label = "固定资产名称")
    private String fixAssetName;
    @JsonProperty("fixAssetName")
    private String fixassetname;
    @PropertyDef(label = "计量单位名称")
    private String unitName;
    @JsonProperty("unitName")
    private String unitname;
    @PropertyDef(label = "原值")
    private Double valueOrg;
    @JsonProperty("valueOrg")
    private Double valueorg;
    @PropertyDef(label = "当前原值")
    private Double dresentValueOrg;
    @JsonProperty("dresentValueOrg")
    private Double dresentvalueorg;
    /**
     * 1:不提折旧法
     * 2:平均年限法
@@ -46,10 +60,9 @@
     * 6:双倍余额递减法
     */
    @PropertyDef(label = "折旧方法")
    private Double deprMethodId;
    @JsonProperty("deprMethodId")
    private Integer deprmethodid;
    @PropertyDef(label = "固定资产来源")
    private Double sourceid;
    /**
     * 1:投资
     * 2:自建
@@ -60,59 +73,74 @@
     * 7:捐赠
     * 8:换入
     */
    @PropertyDef(label = "对方科目编码")
    private String cDFCode;
    @PropertyDef(label = "固定资产来源")
    @JsonProperty("sourceid")
    private Integer sourceid;
    @PropertyDef(label = "型号")
    @JsonProperty("model")
    private String model;
    @PropertyDef(label = "规格")
    @JsonProperty("specs")
    private String specs;
    @PropertyDef(label = "制造商")
    @JsonProperty("manufacturer")
    private String manufacturer;
    @PropertyDef(label = "产地")
    private String makingPlace;
    @JsonProperty("makingPlace")
    private String makingplace;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "进单位日期")
    private String enterDay;
    @JsonProperty("enterDay")
    private Date enterday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "开始使用日期")
    private String beginUseDay;
    @JsonProperty("beginUseDay")
    private Date beginuseday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "建卡日期")
    private String makinDay;
    @JsonProperty("makinDay")
    private Date makinday;
    @PropertyDef(label = "管理人")
    @JsonProperty("keeper")
    private String keeper;
    @PropertyDef(label = "建卡人")
    @JsonProperty("maker")
    private String maker;
    @PropertyDef(label = "预计使用期间数")
    private Double usingPeriods;
    @JsonProperty("usingPeriods")
    private Integer usingperiods;
    @PropertyDef(label = "预计净残值")
    private Double expecRemain;
    @JsonProperty("expecRemain")
    private Double expecremain;
    @PropertyDef(label = "固定资产对应科目编码")
    private String assetAcctCode;
    @JsonProperty("assetAcctCode")
    private String assetacctcode;
    @PropertyDef(label = "累计折旧对应科目编码")
    private String deprAcctCode;
    @JsonProperty("deprAcctCode")
    private String depracctcode;
    @PropertyDef(label = "累计折旧")
    private Double accumulateDepr;
    @JsonProperty("accumulateDepr")
    private Double accumulatedepr;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "是否报废清理")
    @JsonProperty("abadoned")
    private String abadoned;
    /**
@@ -124,15 +152,19 @@
     * 6:盘亏
     */
    @PropertyDef(label = "当前使用状态名称")
    private String presentStatus;
    @JsonProperty("presentStatus")
    private String presentstatus;
    @PropertyDef(label = "备注")
    @JsonProperty("notes")
    private String notes;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1510.java
@@ -2,6 +2,7 @@
import com.alibaba.fastjson.annotation.JSONField;
import com.bstek.dorado.annotation.PropertyDef;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
@@ -14,70 +15,97 @@
@Data
public class SX2024Api1510 implements Serializable {
    @PropertyDef(label = "id")
    @JSONField(serialize = false)
    private String id;
    @PropertyDef(label = "账套号")
    private Double nAcctId;
    @JsonProperty("nAcctId")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
    private String fixAssetCode;
    @JsonProperty("fixAssetCode")
    private String fixassetcode;
    @PropertyDef(label = "期间")
    private Double period;
    @JsonProperty("period")
    private Integer period;
    @PropertyDef(label = "年度")
    private Double AcctYear;
    @JsonProperty("AcctYear")
    private Integer acctyear;
    @PropertyDef(label = "期初原值")
    private Double bValueOrg;
    @JsonProperty("bValueOrg")
    private Double bvalueorg;
    @PropertyDef(label = "累计折旧")
    private Double bAccumDepr;
    @JsonProperty("bAccumDepr")
    private Double baccumdepr;
    @PropertyDef(label = "本期计提折旧")
    private Double deprAmmount;
    @JsonProperty("deprAmmount")
    private Double deprammount;
    @PropertyDef(label = "本年累计计提折旧")
    private Double yAccumDepr;
    @JsonProperty("yAccumDepr")
    private Double yaccumdepr;
    @PropertyDef(label = "本期数量增加")
    private Double qtyAdd;
    @JsonProperty("qtyAdd")
    private Double qtyadd;
    @PropertyDef(label = "本期数量减少")
    private Double qtyDecrease;
    @JsonProperty("qtyDecrease")
    private Double qtydecrease;
    @PropertyDef(label = "本期原值增加")
    private Double valueOrgAdd;
    @JsonProperty("valueOrgAdd")
    private Double valueorgadd;
    @PropertyDef(label = "本期原值减少")
    private Double valueOrgDerease;
    @JsonProperty("valueOrgDerease")
    private Double valueorgderease;
    @PropertyDef(label = "本期累计折旧调增")
    private Double accuDeprAdjustAdd;
    @JsonProperty("accuDeprAdjustAdd")
    private Double accudepradjustadd;
    @PropertyDef(label = "本期累计折旧调减")
    private Double accuDeprAdjustDec;
    @JsonProperty("accuDeprAdjustDec")
    private Double accudepradjustdec;
    @PropertyDef(label = "本年累计数量增加")
    private Double yQtyIncrease;
    @JsonProperty("yQtyIncrease")
    private Double yqtyIncrease;
    @PropertyDef(label = "本年累计数量减少")
    private Double yQtyDecrease;
    @JsonProperty("yQtyDecrease")
    private Double yqtydecrease;
    @PropertyDef(label = "本年原值累计增加")
    private Double yValueIncrease;
    @JsonProperty("yValueIncrease")
    private Double yvalueincrease;
    @PropertyDef(label = "本年原值累计减少")
    private Double yValueDecrease;
    @JsonProperty("yValueDecrease")
    private Double yvaluedecrease;
    @PropertyDef(label = "本年累计折旧调增")
    private Double yAccuDeprIncrease;
    @JsonProperty("yAccuDeprIncrease")
    private Double yaccudeprincrease;
    @PropertyDef(label = "本年累计折旧调减")
    private Double YAccuDeprDecrease;
    @JsonProperty("YAccuDeprDecrease")
    private Double yaccudeprdecrease;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
    private String czbz;
    @JSONField(format = "yyyy-MM-dd HH:mm:ss")
    @PropertyDef(label = "最后更新时间")
    @JsonProperty("zhgxsj")
    private Date zhgxsj;
}