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; }