czt
2024-11-26 58c47f9f7fdd6e6991db9b43607e36d2175c35ad
调试上海接口,调整对应字段
已修改24个文件
359 ■■■■■ 文件已修改
src/main/java/com/fzzy/api/entity/Api1507.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/entity/Api9109.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/entity/Api9114.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/view/Api1506.view.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/view/Api1507.view.xml 9 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/view/Api9109.view.xml 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/view/repository/ApiConfsRep.java 8 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/inte/sh2023/controller/ControllerSh2023.java 10 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/inte/sh2023/service/SHDNService.java 87 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1504.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/SH2023ApiRemoteService.java 67 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1504.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1505.java 22 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1506.java 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1507.java 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1508.java 14 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1509.java 60 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1510.java 6 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/SX2024ApiRemoteService.java 5 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1504.java 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1505.java 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1510.java 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application-dev.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/resources/application.yml 2 ●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/main/java/com/fzzy/api/entity/Api1507.java
@@ -57,6 +57,10 @@
    @Column(name = "nno")
    private Integer nno;
    @PropertyDef(label = "凭证分类")
    @Column(name = "btmp")
    private Integer btmp;
    @PropertyDef(label = "摘要")
    @Column(name = "digest", length = 512)
    private String digest;
src/main/java/com/fzzy/api/entity/Api9109.java
@@ -80,8 +80,8 @@
    private Integer cfs;
    @PropertyDef(label = "油罐数")
    @Column(name = "ygs")
    private Integer ygs;
    @Column(name = "ajs")
    private Integer ajs;
    @PropertyDef(label = "经度")
    @Column(name = "jd", precision = 20, scale = 6)
src/main/java/com/fzzy/api/entity/Api9114.java
@@ -63,10 +63,6 @@
    @Column(name = "xxdz", length = 256)
    private String xxdz;
    @PropertyDef(label = "身份证号")
    @Column(name = "sfzh", length = 18)
    private String sfzh;
    @PropertyDef(label = "运输工具")
    @Column(name = "ysgj", length = 1)
    private String ysgj;
src/main/java/com/fzzy/api/view/Api1506.view.xml
@@ -26,11 +26,11 @@
      </PropertyDef>
      <PropertyDef name="cyear">
        <Property name="dataType">Integer</Property>
        <Property name="label">期间</Property>
        <Property name="label">年度</Property>
      </PropertyDef>
      <PropertyDef name="nno">
        <Property name="dataType">Integer</Property>
        <Property name="label">年度</Property>
        <Property name="label">期间</Property>
      </PropertyDef>
      <PropertyDef name="ccode">
        <Property></Property>
src/main/java/com/fzzy/api/view/Api1507.view.xml
@@ -44,6 +44,10 @@
        <Property name="dataType">Integer</Property>
        <Property name="label">分录序号</Property>
      </PropertyDef>
      <PropertyDef name="btmp">
        <Property name="dataType">Integer</Property>
        <Property name="label">凭证分类</Property>
      </PropertyDef>
      <PropertyDef name="digest">
        <Property></Property>
        <Property name="label">摘要</Property>
@@ -391,6 +395,11 @@
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">btmp</Property>
            <Property name="property">btmp</Property>
            <Editor/>
          </AutoFormElement>
          <AutoFormElement>
            <Property name="name">digest</Property>
            <Property name="property">digest</Property>
            <Editor/>
src/main/java/com/fzzy/api/view/Api9109.view.xml
@@ -57,9 +57,9 @@
        <Property name="dataType">Integer</Property>
        <Property name="label">仓房数</Property>
      </PropertyDef>
      <PropertyDef name="ygs">
      <PropertyDef name="ajs">
        <Property name="dataType">Integer</Property>
        <Property name="label">油罐数</Property>
        <Property name="label">廒间数</Property>
      </PropertyDef>
      <PropertyDef name="jd">
        <Property name="dataType">Double</Property>
src/main/java/com/fzzy/api/view/repository/ApiConfsRep.java
@@ -16,4 +16,12 @@
     */
    @Query("from ApiConfs where kqdm =:kqdm ")
    List<ApiConfs> getDataByKqdm(@Param("kqdm") String kqdm);
    /**
     * 根据粮库系统库区编码获取配置信息
     * @param deptId
     * @return
     */
    @Query("from ApiConfs where deptId =:deptId ")
    ApiConfs getDataByDeptId(@Param("deptId") String deptId);
}
src/main/java/com/fzzy/inte/sh2023/controller/ControllerSh2023.java
@@ -43,10 +43,10 @@
        }
        //解密报文
        dataStr = RSAUtils.decrypt(dataStr, PRIVATE_KEY);
        if(StringUtils.isEmpty(dataStr)){
            return new ApiResp(ApiRespCode.R_500.getCode(),ApiRespCode.R_500.getMsg());
        }
//        dataStr = RSAUtils.decrypt(dataStr, PRIVATE_KEY);
//        if(StringUtils.isEmpty(dataStr)){
//            return new ApiResp(ApiRespCode.R_500.getCode(),ApiRespCode.R_500.getMsg());
//        }
        SHDN2023ReqDto shdn2023ReqDto = JSONObject.parseObject(dataStr, SHDN2023ReqDto.class);
        if(null == shdn2023ReqDto){
@@ -58,7 +58,7 @@
        }
        //异步保存
        shdnService.syncData(interfaceId, shdn2023ReqDto.getData());
        shdnService.syncData(interfaceId, shdn2023ReqDto.getData(), shdn2023ReqDto.getDeptId());
        return new ApiResp();
    }
src/main/java/com/fzzy/inte/sh2023/service/SHDNService.java
@@ -2,22 +2,22 @@
import com.alibaba.fastjson.JSONObject;
import com.fzzy.api.entity.*;
import com.fzzy.api.service.ApiCommonService;
import com.fzzy.api.view.repository.*;
import com.fzzy.inte.sh2023.dto.SHDN2023ReqDto;
import com.fzzy.push.sh2023.SH2023Constant;
import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.scheduling.annotation.Async;
import org.springframework.stereotype.Component;
import org.springframework.stereotype.Service;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
@Slf4j
@Service
public class SHDNService {
    @Autowired
    private ApiConfsRep apiConfsRep;
    @Autowired
    private Api9109Rep api9109Rep;
    @Autowired
@@ -37,55 +37,114 @@
    @Async
    public void syncData(String interfaceId, String dataStr){
    public void syncData(String interfaceId, String dataStr, String deptId){
        ApiConfs apiConfs = apiConfsRep.getDataByDeptId(deptId);
        if(null == apiConfs){
            log.error("-----未获取到库区信息配置,不解析---------");
            return;
        }
        //单位信息
        if(SH2023Constant.SH_2023_API_CODE_3101.equals(interfaceId)){
            List<Api9109> list = JSONObject.parseArray(dataStr, Api9109.class);
            api9109Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                log.error("-----未获取到信息,不解析---------");
                return;
            }
            for (Api9109 apiData : list) {
                apiData.setKqdm(apiConfs.getKqdm());
                apiData.setZhgxsj(new Date());
                api9109Rep.save(apiData);
            }
        }
        //收纳库信息
        if(SH2023Constant.SH_2023_API_CODE_3102.equals(interfaceId)){
            List<Api9110> list = JSONObject.parseArray(dataStr, Api9110.class);
            api9110Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                return;
            }
            for (Api9110 apiData : list) {
                apiData.setZhgxsj(new Date());
                api9110Rep.save(apiData);
            }
        }
        //仓房信息
        if(SH2023Constant.SH_2023_API_CODE_3103.equals(interfaceId)){
            List<Api9111> list = JSONObject.parseArray(dataStr, Api9111.class);
            api9111Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                return;
            }
            for (Api9111 apiData : list) {
                apiData.setZhgxsj(new Date());
                api9111Rep.save(apiData);
            }
        }
        //廒间信息
        if(SH2023Constant.SH_2023_API_CODE_3104.equals(interfaceId)){
            List<Api9112> list = JSONObject.parseArray(dataStr, Api9112.class);
            api9112Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                return;
            }
            for (Api9112 apiData : list) {
                apiData.setKqdm(apiConfs.getKqdm());
                apiData.setZhgxsj(new Date());
                api9112Rep.save(apiData);
            }
        }
        //货位信息
        if(SH2023Constant.SH_2023_API_CODE_3105.equals(interfaceId)){
            List<Api9113> list = JSONObject.parseArray(dataStr, Api9113.class);
            api9113Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                return;
            }
            for (Api9113 apiData : list) {
                apiData.setKqdm(apiConfs.getKqdm());
                apiData.setZhgxsj(new Date());
                api9113Rep.save(apiData);
            }
        }
        //粮食入库信息
        if(SH2023Constant.SH_2023_API_CODE_3201.equals(interfaceId)){
            List<Api9114> list = JSONObject.parseArray(dataStr, Api9114.class);
            api9114Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                return;
            }
            for (Api9114 apiData : list) {
                apiData.setKqdm(apiConfs.getKqdm());
                apiData.setZhgxsj(new Date());
                api9114Rep.save(apiData);
            }
        }
        //来粮检验信息
        if(SH2023Constant.SH_2023_API_CODE_3202.equals(interfaceId)){
            List<Api9115> list = JSONObject.parseArray(dataStr, Api9115.class);
            api9115Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                return;
            }
            for (Api9115 apiData : list) {
                apiData.setKqdm(apiConfs.getKqdm());
                apiData.setZhgxsj(new Date());
                api9115Rep.save(apiData);
            }
        }
        //粮食收购基础信息
        if(SH2023Constant.SH_2023_API_CODE_3203.equals(interfaceId)){
            List<Api9116> list = JSONObject.parseArray(dataStr, Api9116.class);
            api9116Rep.saveAll(list);
            if(null == list || list.isEmpty()){
                return;
            }
            for (Api9116 apiData : list) {
                apiData.setKqdm(apiConfs.getKqdm());
                apiData.setZhgxsj(new Date());
                api9116Rep.save(apiData);
            }
        }
src/main/java/com/fzzy/push/nx2023/dto/Nx2023Api1504.java
@@ -72,7 +72,7 @@
    private String tydwbm;
    @PropertyDef(label = "统一库区编码")
    @JsonProperty("xkqdm")
    @JsonProperty("tykqbm")
    private String tykqbm;
    @PropertyDef(label = "操作标志")
src/main/java/com/fzzy/push/sh2023/SH2023ApiRemoteService.java
@@ -50,6 +50,8 @@
    @Autowired
    private Api1102Rep api1102Rep;
    @Autowired
    private Api9110Rep api9110Rep;
    @Autowired
    private Api1103Rep api1103Rep;
    @Autowired
    private Api1104Rep api1104Rep;
@@ -84,8 +86,17 @@
    public ResponseDto pushData(ApiParam param, ApiConfs conf, Object data) {
        String kqdm = param.getKqdm();
        //查询库区信息行政区划码
        List<Api1102> api1102List = api1102Rep.findPushData(kqdm);
        String xzqhdm= "";
        if(param.getInteId().startsWith("91")){
            //查询库区信息行政区划码
            List<Api9110> api9110List = api9110Rep.findPushData(kqdm);
            xzqhdm = api9110List.get(0).getXzqhdm();
        }else {
            //查询库区信息行政区划码
            List<Api1102> api1102List = api1102Rep.findPushData(kqdm);
            xzqhdm = api1102List.get(0).getXzqhdm();
        }
        try {
            if (null == conf) {
                conf = apiCommonService.getConf(kqdm);
@@ -106,7 +117,7 @@
            //获取接口编码
            String inteId = this.getInteId(param.getInteId());
            //获取JSON报文
            String jsonData = getJsonData(param.getInteId(), data, api1102List.get(0).getXzqhdm());
            String jsonData = getJsonData(param.getInteId(), data, xzqhdm);
            log.info("接口数据信息=" + jsonData);
            apiLog.setData(jsonData);
            apiLog.setKqdm(kqdm);
@@ -1271,33 +1282,71 @@
            return apiData;
        }
        if (Constant.API_CODE_1505.equals(inteId)) {
            Api1505 api1505 = (Api1505)data;
            SH2023Api1505 apiData = new SH2023Api1505();
            BeanUtils.copyProperties(data, apiData);
            BeanUtils.copyProperties(api1505, apiData);
            apiData.setCqunit(api1505.getCqunit() +"");
            apiData.setCyear(api1505.getCyear() +"");
            apiData.setCdc(api1505.getCdc() +"");
            apiData.setBl(api1505.getBl() +"");
            apiData.setNgrade(api1505.getNgrade() +"");
            apiData.setBq(api1505.getBq() +"");
            apiData.setCqunit(api1505.getCqunit() +"");
            apiData.setBcash(api1505.getBcash() +"");
            apiData.setBbank(api1505.getBbank() +"");
            apiData.setBxjll(api1505.getBxjll() +"");
            apiData.setBf(api1505.getBf() +"");
            return apiData;
        }
        if (Constant.API_CODE_1506.equals(inteId)) {
            Api1506 api1506 = (Api1506)data;
            SH2023Api1506 apiData = new SH2023Api1506();
            BeanUtils.copyProperties(data, apiData);
            BeanUtils.copyProperties(api1506, apiData);
            apiData.setCyear(api1506.getCyear() +"");
            apiData.setNno(api1506.getNno() +"");
            apiData.setCdc(api1506.getCdc() +"");
            return apiData;
        }
        if (Constant.API_CODE_1507.equals(inteId)) {
            Api1507 api1507 = (Api1507)data;
            SH2023Api1507 apiData = new SH2023Api1507();
            BeanUtils.copyProperties(data, apiData);
            BeanUtils.copyProperties(api1507, apiData);
            apiData.setCmon(api1507.getCmon() +"");
            apiData.setCyear(api1507.getCyear() +"");
            apiData.setNvno(api1507.getNvno() +"");
            apiData.setNno(api1507.getNno() +"");
            apiData.setCdc(api1507.getCdc() +"");
            apiData.setBpt(api1507.getBpt() +"");
            apiData.setNanum(api1507.getNanum() +"");
            apiData.setBtmp(api1507.getBtmp() +"");
            return apiData;
        }
        if (Constant.API_CODE_1508.equals(inteId)) {
            Api1508 api1508 = (Api1508)data;
            SH2023Api1508 apiData = new SH2023Api1508();
            BeanUtils.copyProperties(data, apiData);
            BeanUtils.copyProperties(api1508, apiData);
            apiData.setCmon(api1508.getCmon() +"");
            apiData.setCyear(api1508.getCyear() +"");
            apiData.setNvno(api1508.getNvno() +"");
            apiData.setNrowno(api1508.getNrowno() +"");
            apiData.setCdc(api1508.getCdc() +"");
            return apiData;
        }
        if (Constant.API_CODE_1509.equals(inteId)) {
            Api1509 api1509 = (Api1509)data;
            SH2023Api1509 apiData = new SH2023Api1509();
            BeanUtils.copyProperties(data, apiData);
            BeanUtils.copyProperties(api1509, apiData);
            apiData.setDeprmethodid(api1509.getDeprmethodid() + "");
            apiData.setSourceid(api1509.getSourceid() + "");
            apiData.setUsingperiods(api1509.getUsingperiods() + "");
            return apiData;
        }
        if (Constant.API_CODE_1510.equals(inteId)) {
            Api1510 api1510 = (Api1510)data;
            SH2023Api1510 apiData = new SH2023Api1510();
            BeanUtils.copyProperties(data, apiData);
            BeanUtils.copyProperties(api1510, apiData);
            apiData.setPeriod(api1510.getPeriod() + "");
            apiData.setAcctyear(api1510.getAcctyear() + "");
            return apiData;
        }
        //设置空属性为默认值
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1504.java
@@ -18,7 +18,7 @@
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    @JsonProperty("nAcctID")
    private String nacctid;
    @PropertyDef(label = "账套名称")
@@ -68,7 +68,7 @@
    private String corgcode;
    @PropertyDef(label = "统一单位编码")
    @JsonProperty("xqydm")
    @JsonProperty("tydwbm")
    private String tydwbm;
    @PropertyDef(label = "统一库区编码")
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1505.java
@@ -21,12 +21,12 @@
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    @JsonProperty("nAcctID")
    private String nacctid;
    @PropertyDef(label = "年度")
    @JsonProperty("cYear")
    private Integer cyear;
    private String cyear;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
@@ -56,39 +56,39 @@
     */
    @PropertyDef(label = "余额方向")
    @JsonProperty("cDc")
    private Integer cdc;
    private String cdc;
    @PropertyDef(label = "末级科目")
    @JsonProperty("bL")
    private Integer bl;
    private String bl;
    @PropertyDef(label = "科目级次")
    @JsonProperty("nGrade")
    private Integer ngrade;
    private String ngrade;
    @PropertyDef(label = "数量科目")
    @JsonProperty("bQ")
    private Integer bq;
    private String bq;
    @PropertyDef(label = "数量单位")
    @JsonProperty("cQUnit")
    private Integer cqunit;
    private String cqunit;
    @PropertyDef(label = "现金类科目")
    @JsonProperty("bCash")
    private Integer bcash;
    private String bcash;
    @PropertyDef(label = "银行类科目")
    @JsonProperty("bBank")
    private Integer bbank;
    private String bbank;
    @PropertyDef(label = "现金流量类科目")
    @JsonProperty("bXjll")
    private Integer bxjll;
    private String bxjll;
    @PropertyDef(label = "冻结")
    @JsonProperty("bF")
    private Integer bf;
    private String bf;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1506.java
@@ -22,16 +22,16 @@
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    @JsonProperty("nAcctID")
    private String nacctid;
    @PropertyDef(label = "期间")
    @JsonProperty("cYear")
    private Integer cyear;
    @PropertyDef(label = "年度")
    @JsonProperty("cYear")
    private String cyear;
    @PropertyDef(label = "期间")
    @JsonProperty("nNo")
    private Integer nno;
    private String nno;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
@@ -58,7 +58,7 @@
     */
    @PropertyDef(label = "余额方向")
    @JsonProperty("cDc")
    private Integer cdc;
    private String cdc;
    @PropertyDef(label = "借方本位币发生额")
    @JsonProperty("dM")
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1507.java
@@ -21,7 +21,7 @@
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    @JsonProperty("nAcctID")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
@@ -30,19 +30,23 @@
    @PropertyDef(label = "期间")
    @JsonProperty("cMon")
    private Integer cmon;
    private String cmon;
    @PropertyDef(label = "年度")
    @JsonProperty("cYear")
    private Integer cyear;
    private String cyear;
    @PropertyDef(label = "凭证号")
    @JsonProperty("nVNo")
    private Integer nvno;
    private String nvno;
    @PropertyDef(label = "分录序号")
    @JsonProperty("nNo")
    private Integer nno;
    private String nno;
    @PropertyDef(label = "凭证分类")
    @JsonProperty("bTmp")
    private String btmp;
    @PropertyDef(label = "摘要")
    @JsonProperty("Digest")
@@ -66,7 +70,7 @@
     */
    @PropertyDef(label = "方向")
    @JsonProperty("cDc")
    private Integer cdc;
    private String cdc;
    @PropertyDef(label = "审核人")
    @JsonProperty("cCkEr")
@@ -81,11 +85,11 @@
     */
    @PropertyDef(label = "记账标志")
    @JsonProperty("bPt")
    private Integer bpt;
    private String bpt;
    @PropertyDef(label = "附件张数")
    @JsonProperty("nANum")
    private Integer nanum;
    private String nanum;
    @PropertyDef(label = "金额")
    @JsonProperty("nM")
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1508.java
@@ -21,7 +21,7 @@
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    @JsonProperty("nAcctID")
    private String nacctid;
    @PropertyDef(label = "凭证类型")
@@ -30,15 +30,15 @@
    @PropertyDef(label = "期间")
    @JsonProperty("cMon")
    private Integer cmon;
    private String cmon;
    @PropertyDef(label = "年度")
    @JsonProperty("cYear")
    private Integer cyear;
    private String cyear;
    @PropertyDef(label = "凭证号")
    @JsonProperty("nVNo")
    private Integer nvno;
    private String nvno;
    @PropertyDef(label = "科目编码")
    @JsonProperty("cCode")
@@ -53,8 +53,8 @@
    private String ccashcode;
    @PropertyDef(label = "分录序号")
    @JsonProperty("nNo")
    private Integer nrowno;
    @JsonProperty("nRowNo")
    private String nrowno;
    @PropertyDef(label = "金额")
    @JsonProperty("nM")
@@ -66,7 +66,7 @@
     */
    @PropertyDef(label = "方向")
    @JsonProperty("cDc")
    private Integer cdc;
    private String cdc;
    @PropertyDef(label = "操作标志")
    @JsonProperty("czbz")
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1509.java
@@ -21,35 +21,35 @@
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    @JsonProperty("nAcctID")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
    @JsonProperty("fixAssetCode")
    @JsonProperty("FixAssetCode")
    private String fixassetcode;
    @PropertyDef(label = "固定资产自编码")
    @JsonProperty("origFixAssetCode")
    @JsonProperty("OrigFixAssetCode")
    private String origfixassetcode;
    @PropertyDef(label = "资产类别编码")
    @JsonProperty("groupCode")
    @JsonProperty("GroupCode")
    private String groupcode;
    @PropertyDef(label = "固定资产名称")
    @JsonProperty("fixAssetName")
    @JsonProperty("FixAssetName")
    private String fixassetname;
    @PropertyDef(label = "计量单位名称")
    @JsonProperty("unitName")
    @JsonProperty("UnitName")
    private String unitname;
    @PropertyDef(label = "原值")
    @JsonProperty("valueOrg")
    @JsonProperty("ValueOrg")
    private Double valueorg;
    @PropertyDef(label = "当前原值")
    @JsonProperty("dresentValueOrg")
    @JsonProperty("PresentValueOrg")
    private Double dresentvalueorg;
    /**
@@ -61,8 +61,8 @@
     * 6:双倍余额递减法
     */
    @PropertyDef(label = "折旧方法")
    @JsonProperty("deprMethodId")
    private Integer deprmethodid;
    @JsonProperty("DeprMethodId")
    private String deprmethodid;
    /**
     * 1:投资
@@ -75,73 +75,73 @@
     * 8:换入
     */
    @PropertyDef(label = "固定资产来源")
    @JsonProperty("sourceid")
    private Integer sourceid;
    @JsonProperty("Sourceid")
    private String sourceid;
    @PropertyDef(label = "型号")
    @JsonProperty("model")
    @JsonProperty("Model")
    private String model;
    @PropertyDef(label = "规格")
    @JsonProperty("specs")
    @JsonProperty("Specs")
    private String specs;
    @PropertyDef(label = "制造商")
    @JsonProperty("manufacturer")
    @JsonProperty("Manufacturer")
    private String manufacturer;
    @PropertyDef(label = "产地")
    @JsonProperty("makingPlace")
    @JsonProperty("MakingPlace")
    private String makingplace;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "进单位日期")
    @JsonProperty("enterDay")
    @JsonProperty("EnterDay")
    private Date enterday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "开始使用日期")
    @JsonProperty("beginUseDay")
    @JsonProperty("BeginUseDay")
    private Date beginuseday;
    @JSONField(format = "yyyy-MM-dd")
    @PropertyDef(label = "建卡日期")
    @JsonProperty("makinDay")
    @JsonProperty("MakinDay")
    private Date makinday;
    @PropertyDef(label = "管理人")
    @JsonProperty("keeper")
    @JsonProperty("Keeper")
    private String keeper;
    @PropertyDef(label = "建卡人")
    @JsonProperty("maker")
    @JsonProperty("Maker")
    private String maker;
    @PropertyDef(label = "预计使用期间数")
    @JsonProperty("usingPeriods")
    private Integer usingperiods;
    @JsonProperty("UsingPeriods")
    private String usingperiods;
    @PropertyDef(label = "预计净残值")
    @JsonProperty("expecRemain")
    @JsonProperty("ExpecRemain")
    private Double expecremain;
    @PropertyDef(label = "固定资产对应科目编码")
    @JsonProperty("assetAcctCode")
    @JsonProperty("AssetAcctCode")
    private String assetacctcode;
    @PropertyDef(label = "累计折旧对应科目编码")
    @JsonProperty("deprAcctCode")
    @JsonProperty("DeprAcctCode")
    private String depracctcode;
    @PropertyDef(label = "累计折旧")
    @JsonProperty("accumulateDepr")
    @JsonProperty("AccumulateDepr")
    private Double accumulatedepr;
    /**
     * 0:否
     * 1:是
     */
    @PropertyDef(label = "是否报废清理")
    @JsonProperty("abadoned")
    @JsonProperty("Abadoned")
    private String abadoned;
    /**
@@ -153,11 +153,11 @@
     * 6:盘亏
     */
    @PropertyDef(label = "当前使用状态名称")
    @JsonProperty("presentStatus")
    @JsonProperty("PresentStatus")
    private String presentstatus;
    @PropertyDef(label = "备注")
    @JsonProperty("notes")
    @JsonProperty("Notes")
    private String notes;
    @PropertyDef(label = "操作标志")
src/main/java/com/fzzy/push/sh2023/dto/SH2023Api1510.java
@@ -21,7 +21,7 @@
    private String id;
    @PropertyDef(label = "账套号")
    @JsonProperty("nAcctId")
    @JsonProperty("nAcctID")
    private String nacctid;
    @PropertyDef(label = "固定资产编码")
@@ -30,11 +30,11 @@
    @PropertyDef(label = "期间")
    @JsonProperty("period")
    private Integer period;
    private String period;
    @PropertyDef(label = "年度")
    @JsonProperty("AcctYear")
    private Integer acctyear;
    private String acctyear;
    @PropertyDef(label = "期初原值")
    @JsonProperty("bValueOrg")
src/main/java/com/fzzy/push/sx2024/SX2024ApiRemoteService.java
@@ -26,6 +26,7 @@
import org.springframework.stereotype.Service;
import java.lang.reflect.Field;
import java.math.BigDecimal;
import java.util.*;
/**
@@ -868,8 +869,10 @@
            return apiData;
        }
        if (Constant.API_CODE_1505.equals(inteId)) {
            Api1505 api1505 = (Api1505)data;
            SX2024Api1505 apiData = new SX2024Api1505();
            BeanUtils.copyProperties(data, apiData);
            BeanUtils.copyProperties(api1505, apiData);
            apiData.setCqunit(api1505.getCqunit() + "");
            return apiData;
        }
        if (Constant.API_CODE_1506.equals(inteId)) {
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1504.java
@@ -67,11 +67,11 @@
    private String corgcode;
    @PropertyDef(label = "统一单位编码")
    @JsonProperty("xqydm")
    @JsonProperty("tydwbm")
    private String tydwbm;
    @PropertyDef(label = "统一库区编码")
    @JsonProperty("tydwbm")
    @JsonProperty("tykqbm")
    private String tykqbm;
    @PropertyDef(label = "操作标志")
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1505.java
@@ -71,7 +71,7 @@
    @PropertyDef(label = "数量单位")
    @JsonProperty("cQUnit")
    private Integer cqunit;
    private String cqunit;
    @PropertyDef(label = "现金类科目")
    @JsonProperty("bCash")
src/main/java/com/fzzy/push/sx2024/data/SX2024Api1510.java
@@ -5,6 +5,7 @@
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;
/**
src/main/resources/application-dev.yml
@@ -39,7 +39,7 @@
    #次数据源
    secondary:
#      url: jdbc:mysql://127.0.0.1:3306/igds_4.0_5016?useUnicode=true&useSSL=false&characterEncoding=utf-8  #大湾区
#      url: jdbc:mysql://127.0.0.1:3306/igds_4.0_5303?useUnicode=true&useSSL=false&characterEncoding=utf-8  #上海嘉定
      url: jdbc:mysql://127.0.0.1:3306/igds_4.0_5303?useUnicode=true&useSSL=false&characterEncoding=utf-8  #上海嘉定
#      url: jdbc:mysql://127.0.0.1:3306/igds_4.0_5306?useUnicode=true&useSSL=false&characterEncoding=utf-8  #宁夏石嘴山
#      url: jdbc:mysql://127.0.0.1:3306/igds_3.5_5311?useUnicode=true&useSSL=false&characterEncoding=utf-8  #广澳
#      url: jdbc:mysql://127.0.0.1:3306/igds_4.0_5317?useUnicode=true&useSSL=false&characterEncoding=utf-8  #潮阳库
src/main/resources/application.yml
@@ -1,7 +1,7 @@
##########################  Server   ##########################
spring:
  profiles:
    active: pro
    active: dev
  application:
    name: igds-api
  main: