| | |
| | | @Column(name = "ywlx", length = 1) |
| | | private String ywlx; |
| | | |
| | | @PropertyDef(label = "合同种类") |
| | | @Column(name = "htzl", length = 1) |
| | | private String htzl; |
| | | |
| | | @PropertyDef(label = "客户类型") |
| | | @Column(name = "khlx", length = 1) |
| | | private String khlx; |
| | |
| | | @Column(name = "ydwcsj") |
| | | private Date ydwcsj; |
| | | |
| | | @PropertyDef(label = "验收方式") |
| | | @Column(name = "ysfs", length = 64) |
| | | private String ysfs; |
| | | |
| | | @PropertyDef(label = "签订地点") |
| | | @Column(name = "qddd", length = 512) |
| | | private String qddd; |
| | |
| | | @Column(name = "htzje", precision = 20, scale = 6) |
| | | private BigDecimal htzje; |
| | | |
| | | /** |
| | | * 1:全额先款后货 |
| | | * 2:按到款进度逐批发货 |
| | | * 3:货到并确认后一次性付款 |
| | | * 4:按到货批次逐批确认、逐批付款 |
| | | */ |
| | | @PropertyDef(label = "付款方式") |
| | | @Column(name = "fkfs", length = 1) |
| | | private String fkfs; |
| | | |
| | | @PropertyDef(label = "履约保证金") |
| | | @Column(name = "lybzj", precision = 20, scale = 6) |
| | | private double lybzj; |
| | |
| | | @Column(name = "lqgsdwdm", length = 18) |
| | | private String lqgsdwdm; |
| | | |
| | | @PropertyDef(label = "粮权归属单位统一编码") |
| | | @Column(name = "lqgsdwtybm", length = 18) |
| | | private String lqgsdwtybm; |
| | | |
| | | @PropertyDef(label = "承运人") |
| | | @Column(name = "cyr", length = 64) |
| | | private String cyr; |
| | |
| | | @Column(name = "ckjsdh", length = 33) |
| | | private String ckjsdh; |
| | | |
| | | @PropertyDef(label = "质检报告单号") |
| | | @Column(name = "zjbgdh", length = 14) |
| | | private String zjbgdh; |
| | | |
| | | @PropertyDef(label = "生成方式") |
| | | @Column(name = "scfs", length = 1) |
| | | private String scfs; |
| | | |
| | | @PropertyDef(label = "手动补录原因") |
| | | @Column(name = "sdblyy", length = 400) |
| | | private String sdblyy; |
| | | |
| | | @PropertyDef(label = "备注") |
| | | @Column(name = "bz", length = 400) |
| | | private String bz; |
| | |
| | | import com.bstek.dorado.annotation.PropertyDef; |
| | | import lombok.Data; |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import javax.persistence.Column; |
| | | import javax.persistence.Entity; |
| | | import javax.persistence.Id; |
| | |
| | | @Table(name = "API_1206") |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Api1206 implements Serializable { |
| | | |
| | | public static String SORT_PROP = "ckjsdh"; |
| | | |
| | | public static String SORT_PROP = "ckjsdh"; |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = -8778664614878279565L; |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = -8778664614878279565L; |
| | | |
| | | @Id |
| | | @PropertyDef(label = "出库结算单号" ) |
| | | @Id |
| | | @PropertyDef(label = "出库结算单号") |
| | | @Column(name = "ckjsdh", length = 33) |
| | | private String ckjsdh; |
| | | |
| | |
| | | @Column(name = "tydwbm", length = 20) |
| | | private String tydwbm; |
| | | |
| | | @PropertyDef(label = "合同号" ) |
| | | @PropertyDef(label = "统一库区编码") |
| | | @Column(name = "tykqbm", length = 22) |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "合同号") |
| | | @Column(name = "hth", length = 64) |
| | | private String hth; |
| | | |
| | | @PropertyDef(label = "结算数量(公斤)" ) |
| | | @PropertyDef(label = "结算数量(公斤)") |
| | | @Column(name = "jssl", precision = 20, scale = 6) |
| | | private double jssl; |
| | | |
| | | @PropertyDef(label = "结算单价(元/公斤)" ) |
| | | @PropertyDef(label = "结算单价(元/公斤)") |
| | | @Column(name = "jsdj", precision = 20, scale = 6) |
| | | private double jsdj; |
| | | |
| | | @PropertyDef(label = "结算金额(元)" ) |
| | | @PropertyDef(label = "结算金额(元)") |
| | | @Column(name = "jsje", precision = 20, scale = 6) |
| | | private double jsje; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "结算时间" ) |
| | | @PropertyDef(label = "结算时间") |
| | | @Column(name = "jssj") |
| | | private Date jssj; |
| | | |
| | | @PropertyDef(label = "结算方式" ) |
| | | @PropertyDef(label = "结算方式") |
| | | @Column(name = "jsfs", length = 1) |
| | | private String jsfs; |
| | | |
| | | @PropertyDef(label = "付款人" ) |
| | | @PropertyDef(label = "付款人") |
| | | @Column(name = "fkr", length = 256) |
| | | private String fkr; |
| | | |
| | | @PropertyDef(label = "银行行别代码" ) |
| | | @PropertyDef(label = "银行行别代码") |
| | | @Column(name = "yhhbdm", length = 3) |
| | | private String yhhbdm; |
| | | |
| | | @PropertyDef(label = "开户行号" ) |
| | | @PropertyDef(label = "开户行号") |
| | | @Column(name = "khhh", length = 32) |
| | | private String khhh; |
| | | |
| | | @PropertyDef(label = "开户行名称" ) |
| | | @PropertyDef(label = "开户行名称") |
| | | @Column(name = "khhmc", length = 128) |
| | | private String khhmc; |
| | | |
| | | @PropertyDef(label = "银行账号" ) |
| | | @PropertyDef(label = "银行账号") |
| | | @Column(name = "yhzh", length = 32) |
| | | private String yhzh; |
| | | |
| | | @PropertyDef(label = "发票号码" ) |
| | | @PropertyDef(label = "发票号码") |
| | | @Column(name = "fphm", length = 10) |
| | | private String fphm; |
| | | |
| | | @PropertyDef(label = "发票状态" ) |
| | | @PropertyDef(label = "发票状态") |
| | | @Column(name = "fpzt", length = 1) |
| | | private String fpzt; |
| | | |
| | |
| | | import javax.persistence.Table; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | private String sylx; |
| | | |
| | | @PropertyDef(label = "储备时长") |
| | | @Column(name = "ccsc", length = 4) |
| | | private String ccsc; |
| | | @Column(name = "ccsc",precision = 3) |
| | | private BigDecimal ccsc; |
| | | |
| | | @PropertyDef(label = "是否超耗", description = "1:是,2:否") |
| | | @Column(name = "sfch", length = 1) |
| | |
| | | @Column(name = "fxglcs", length = 1000) |
| | | private String fxglcs; |
| | | |
| | | @JSONField(name = "Yhxx") |
| | | @PropertyDef(label = "隐患信息" ) |
| | | @Column(name = "yhxx", length = 256) |
| | | private String yhxx; |
| | |
| | | |
| | | @Query("from Api1310 where bizId=:bizId ") |
| | | List<Api1310> getDataByBizId(@Param("bizId") String bizId); |
| | | |
| | | @Query("from Api1310 where hwdm=:hwdm and jylb=:jylb order by zhgxsj") |
| | | List<Api1310> getDataByHwdm(@Param("hwdm") String hwdm,@Param("jylb") String jylb); |
| | | } |
| | |
| | | import javax.persistence.Id; |
| | | import javax.persistence.Table; |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | |
| | | @Id |
| | | @Column(name = "ID_", length = 40) |
| | | @PropertyDef(label = "损益单号", description = "由货位代码+业务日期(yyyyMMdd)+3位顺序号组成") |
| | | @PropertyDef(label = "损益单号", description = "业务日期(yyyyMMdd)+3位顺序号组成") |
| | | private String id; |
| | | |
| | | @Column(name = "COMPANY_ID_", length = 10) |
| | |
| | | @PropertyDef(label = "所属仓库") |
| | | private String depotId; |
| | | |
| | | |
| | | @Column(name = "TYPE_", length = 10) |
| | | @PropertyDef(label = "类型", description = "损耗/溢出") |
| | | private String type; |
| | | |
| | | @Column(name = "SUBMIT_TIME_") |
| | | @PropertyDef(label = "业务日期", description = "yyyy-MM-dd") |
| | | private Date submitTime; |
| | | |
| | | @Column(name = "TYPE_", length = 1) |
| | | @PropertyDef(label = "类型", description = "1:损耗,2:损失,3:其他") |
| | | private String type; |
| | | /** |
| | | * |
| | | */ |
| | | @Column(name = "syhj", length = 1) |
| | | @PropertyDef(label = "损溢环节", description = "1:损耗,2:损失,3:其他") |
| | | private String syhj; |
| | | |
| | | @Column(name = "FOOD_VARIETY_", length = 10) |
| | | @PropertyDef(label = "粮食品种") |
| | | private String foodVariety; |
| | | |
| | | @Column(name = "FOOD_LEVEL_", length = 10) |
| | | @PropertyDef(label = "粮食等级") |
| | | private String foodLevel; |
| | | |
| | | @Column(name = "FOOD_TYPE_", length = 10) |
| | | @PropertyDef(label = "粮食性质") |
| | | private String foodType; |
| | | |
| | | @Column(name = "QUANTITY_ID1", length = 40) |
| | | @PropertyDef(label = "入库质检", description = "数据从MQuantity中获取,上个质检批次") |
| | | private String quantity1; |
| | | |
| | | @PropertyDef(label = "入库净重", description = "单位:KG") |
| | | @Column(name = "rkjz", precision = 20, scale = 6) |
| | | private double rkjz; |
| | | private Double rkjz; |
| | | |
| | | @Column(name = "ccsc") |
| | | @PropertyDef(label = "储存时长") |
| | | private BigDecimal ccsc; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "入库时间") |
| | |
| | | |
| | | @PropertyDef(label = "入库水分(%)") |
| | | @Column(name = "rksf", precision = 20, scale = 6) |
| | | private double rksf; |
| | | private Double rksf; |
| | | |
| | | @PropertyDef(label = "入库杂质(%)") |
| | | @Column(name = "rkzz", precision = 20, scale = 6) |
| | | private double rkzz; |
| | | private Double rkzz; |
| | | |
| | | @Column(name = "QUANTITY_ID2", length = 40) |
| | | @PropertyDef(label = "出库质检", description = "数据从MQuantity中获取,上个质检批次") |
| | | private String quantity2; |
| | | |
| | | @JSONField(format = "yyyy-MM-dd HH:mm:ss") |
| | | @PropertyDef(label = "出库时间") |
| | |
| | | |
| | | @PropertyDef(label = "出库净重", description = "单位:KG") |
| | | @Column(name = "ckjz", precision = 20, scale = 6) |
| | | private double ckjz; |
| | | private Double ckjz; |
| | | |
| | | @PropertyDef(label = "出库水分(%)") |
| | | @Column(name = "cksf", precision = 16, scale = 6) |
| | | private double cksf; |
| | | private Double cksf; |
| | | |
| | | @PropertyDef(label = "出库杂质(%)") |
| | | @Column(name = "ckzz", precision = 16, scale = 6) |
| | | private double ckzz; |
| | | private Double ckzz; |
| | | |
| | | @Column(name = "qzszkl") |
| | | @PropertyDef(label = "水杂总减量") |
| | | private Double qzszkl; |
| | | |
| | | @Column(name = "qzzrshde") |
| | | @PropertyDef(label = "保管自然损耗") |
| | | private Double qzzrshde; |
| | | |
| | | @Column(name = "chsl") |
| | | @PropertyDef(label = "超耗数量") |
| | | private Double chsl; |
| | | |
| | | @Column(name = "AMOUNT_") |
| | | @PropertyDef(label = "重量", description = "损溢数量KG;损耗为正数,溢余为负数") |
| | | @PropertyDef(label = "损耗量", description = "损溢数量KG;损耗为正数,溢余为负数") |
| | | private Double amount; |
| | | |
| | | @Column(name = "LOSS_PER_") |
| | | @PropertyDef(label = "损耗率") |
| | | private Double lossPer; |
| | | |
| | | @PropertyDef(label = "损益是否正常", description = "0:正常 1:不正常") |
| | | @Column(name = "sysfzc", length = 1) |
| | |
| | | |
| | | //业务类型 |
| | | apiData.setYwlx(sysData.getType()); |
| | | apiData.setHtzl(sysData.getType()); |
| | | //客户类型 |
| | | apiData.setKhlx(sysData.getCustomerType()); |
| | | |
| | |
| | | mappingCode = apiTriggerService.getMappingCode(Constant.TRIGGER_P_LSXZ, sysData.getFoodType()); |
| | | apiData.setLsxzdm(mappingCode); |
| | | |
| | | //todo 验收方式数据来源 |
| | | apiData.setYsfs("以入仓数量为标准"); |
| | | |
| | | //todo 付款方式 |
| | | |
| | | //单价:元/吨 |
| | | apiData.setHtdj(sysData.getPrice() == null ? 0.0 : sysData.getPrice()); |
| | | apiData.setYdgxlssl(sysData.getContactAmount() == null ? 0.0 : sysData.getContactAmount()); |
| | |
| | | apiData.setShsj(sysData.getAuditDate() == null ? new Date() : sysData.getAuditDate()); |
| | | apiData.setSswcsj(sysData.getRelEndTime()); |
| | | apiData.setYdwcsj(sysData.getEndTime()); |
| | | apiData.setBfqyr(StringUtils.isEmpty(sysData.getSignUser())?"本方签约人":sysData.getSignUser()); |
| | | apiData.setBfqyr(StringUtils.isEmpty(sysData.getSignUser()) ? "本方签约人" : sysData.getSignUser()); |
| | | |
| | | |
| | | apiData.setSyncTime(new Date()); |
| | |
| | | @Autowired |
| | | private Api1204Rep api1204Rep; |
| | | @Autowired |
| | | private Api1208Rep api1208Rep; |
| | | @Autowired |
| | | private Api1404Rep api1404Rep; |
| | | @Autowired |
| | | private ApiCommonService commonService; |
| | |
| | | } |
| | | } |
| | | |
| | | //粮权单位归属代码 |
| | | List<Api1208> dataByHwdm = api1208Rep.findDataByHwdm(apiData.getHwdm()); |
| | | apiData.setLqgsdwdm(StringUtils.isEmpty(dataByHwdm.get(0).getLqgsdwdm()) ? apiData.getHwdm().substring(0, 18) : dataByHwdm.get(0).getLqgsdwdm()); |
| | | |
| | | apiData.setXxdz(StringUtils.isEmpty(sysData.getUserAddress()) ? "详细地址" : sysData.getUserAddress()); |
| | | |
| | | //运输工具,若为空,则默认给1-汽车 |
| | |
| | | apiData.setBzbjs(sysData.getBzbjs()); |
| | | apiData.setCmsj(sysData.getCompleteTime()); |
| | | //结算单号 |
| | | if(StringUtils.isNotEmpty(sysData.getSettleId())){ |
| | | if (StringUtils.isNotEmpty(sysData.getSettleId())) { |
| | | apiData.setRkjsdh(kqdm + sysData.getSettleId()); |
| | | } |
| | | if(StringUtils.isNotEmpty(apiData.getHth())){ |
| | | if (StringUtils.isNotEmpty(apiData.getHth())) { |
| | | api1204List = api1204Rep.getDataByHthAndHwdm(apiData.getHth(), apiData.getHwdm()); |
| | | if(null == api1204List || api1204List.isEmpty()){ |
| | | if (null == api1204List || api1204List.isEmpty()) { |
| | | api1204List = api1204Rep.getDataByHth(apiData.getHth()); |
| | | if(null != api1204List && api1204List.size() > 0){ |
| | | if (null != api1204List && api1204List.size() > 0) { |
| | | apiData.setRkjsdh(api1204List.get(0).getRkjsdh()); |
| | | } |
| | | }else { |
| | | } else { |
| | | apiData.setRkjsdh(api1204List.get(0).getRkjsdh()); |
| | | } |
| | | } |
| | |
| | | apiData.setBz(null == sysData.getRemarks() ? "备注" : sysData.getRemarks()); |
| | | apiData.setKlyy("扣量原因"); |
| | | |
| | | apiData.setCmqrmgryxm(StringUtils.isEmpty(sysData.getRegisterUser())?"登记人":sysData.getRegisterUser()); |
| | | apiData.setDjmgryxm(StringUtils.isEmpty(sysData.getRegisterUser())?"登记人":sysData.getRegisterUser()); |
| | | apiData.setCmqrmgryxm(StringUtils.isEmpty(sysData.getRegisterUser()) ? "登记人" : sysData.getRegisterUser()); |
| | | apiData.setDjmgryxm(StringUtils.isEmpty(sysData.getRegisterUser()) ? "登记人" : sysData.getRegisterUser()); |
| | | //01:表示大型汽车号牌,黄底黑字; 02:表示小型汽车号牌,蓝底白字; 03:表示新能源汽车号牌,绿底黑 字; |
| | | //04:表示农用车车牌号,绿底白字; LS:表示临时虚拟号牌,仅限于售 粮车无固定号牌时使用 |
| | | apiData.setCchlx("01"); |
| | |
| | | @Autowired |
| | | private Api1206Rep api1206Rep; |
| | | @Autowired |
| | | private Api1310Rep api1310Rep; |
| | | @Autowired |
| | | private Api1404Rep api1404Rep; |
| | | @Autowired |
| | | private ApiCommonService commonService; |
| | |
| | | mappingCode = apiTriggerService.getMappingCode(Constant.TRIGGER_P_LSDJ, sysData.getFoodLevel()); |
| | | apiData.setLsdjdm(mappingCode); |
| | | |
| | | //质检报告单号 |
| | | List<Api1310> dataByHwdm = api1310Rep.getDataByHwdm(apiData.getHwdm(), "02"); |
| | | apiData.setZjbgdh(dataByHwdm.get(0).getZjbgdh()); |
| | | |
| | | //生成方式 |
| | | apiData.setScfs(sysData.getRecordStatus().equals("ADD") ? "2" : "1"); |
| | | |
| | | //手动补录原因 |
| | | apiData.setSdblyy("库区停电,无法上传"); |
| | | |
| | | |
| | | //粮食性质 |
| | | mappingCode = apiTriggerService.getMappingCode(Constant.TRIGGER_P_LSXZ, sysData.getFoodType()); |
| | | apiData.setLsxzdm(mappingCode); |
| | |
| | | apiLog.setStatus(99); |
| | | apiLog.setId(ContextUtil.getUUID()); |
| | | try { |
| | | //获取粮食入库结算信息 |
| | | //获取粮食出库结算信息 |
| | | List<Fz40InoutSettle> list = fzzySync1204Rep.listInoutSettle(deptId, INOUT_TYPE_OUT, start, end); |
| | | |
| | | if (null == list || list.isEmpty()) { |
| | | log.info("-------------没有获取到粮食入库结算信息------------------"); |
| | | log.info("-------------没有获取到粮食出库结算信息------------------"); |
| | | return; |
| | | } |
| | | |
| | |
| | | apiData.setCkjz(sysData.getCkjz()); |
| | | apiData.setRksj(sysData.getRksj()); |
| | | apiData.setCksj(sysData.getCksj()); |
| | | apiData.setCcsc(sysData.getCcsc()); |
| | | |
| | | apiData.setRksf(sysData.getRksf()); |
| | | apiData.setRkzz(sysData.getRkzz()); |
| | |
| | | apiData.setQzzrshde(0); |
| | | apiData.setChsl(0); |
| | | apiData.setSysfzc(StringUtils.isEmpty(sysData.getSysfzc()) ? "0" : sysData.getSysfzc()); |
| | | apiData.setSfch("0".equals(apiData.getSysfzc()) ? "2" : "1"); |
| | | apiData.setSyyy(sysData.getSyyy()); |
| | | apiData.setCcshr(StringUtils.isEmpty(sysData.getCcshr())?"审核人":sysData.getCcshr()); |
| | | apiData.setZjshr(StringUtils.isEmpty(sysData.getZjshr())?"审核人":sysData.getZjshr()); |
| | | apiData.setTjshr(StringUtils.isEmpty(sysData.getTjshr())?"审核人":sysData.getTjshr()); |
| | | apiData.setKjshr(StringUtils.isEmpty(sysData.getKjshr())?"审核人":sysData.getKjshr()); |
| | | apiData.setLdshr(StringUtils.isEmpty(sysData.getLdshr())?"审核人":sysData.getLdshr()); |
| | | apiData.setBz(StringUtils.isEmpty(sysData.getRemark())?"备注信息":sysData.getRemark()); |
| | | apiData.setCcshr(StringUtils.isEmpty(sysData.getCcshr()) ? "审核人" : sysData.getCcshr()); |
| | | apiData.setZjshr(StringUtils.isEmpty(sysData.getZjshr()) ? "审核人" : sysData.getZjshr()); |
| | | apiData.setTjshr(StringUtils.isEmpty(sysData.getTjshr()) ? "审核人" : sysData.getTjshr()); |
| | | apiData.setKjshr(StringUtils.isEmpty(sysData.getKjshr()) ? "审核人" : sysData.getKjshr()); |
| | | apiData.setLdshr(StringUtils.isEmpty(sysData.getLdshr()) ? "审核人" : sysData.getLdshr()); |
| | | apiData.setBz(StringUtils.isEmpty(sysData.getRemark()) ? "备注信息" : sysData.getRemark()); |
| | | |
| | | |
| | | //操作标志及最后更新时间 |
| | |
| | | String tydwbm = apiCommonService.getTydwbm(apiData.getKqdm().substring(0, 18)); |
| | | apiData.setTydwbm(tydwbm); |
| | | } |
| | | if ("0".equals(apiData.getTykqbm()) || StringUtils.isEmpty(apiData.getTykqbm())) { |
| | | String tykqbm = apiCommonService.getTykqbm(apiData.getKqdm()); |
| | | apiData.setTykqbm(tykqbm); |
| | | } |
| | | apiData.setZhgxsj(DateUtils.addSeconds(new Date(), -10)); |
| | | return JSON.toJSONString(apiData); |
| | | } |
| | |
| | | } |
| | | //校验统一编码是否为空,为空则查询信息进行赋值 |
| | | if ("0".equals(apiData.getTyajbm()) || StringUtils.isEmpty(apiData.getTyajbm())) { |
| | | String tyajbm = apiCommonService.getTyajbm(apiData.getHwdm().substring(0, 26)); |
| | | String tyajbm = apiCommonService.getTyajbm(apiData.getHwdm().substring(0, 28)); |
| | | apiData.setTyajbm(tyajbm); |
| | | } |
| | | apiData.setZhgxsj(DateUtils.addSeconds(new Date(), -10)); |
| | |
| | | String tydwbm = apiCommonService.getTydwbm(apiData.getQydm()); |
| | | apiData.setWgdwtybm(tydwbm); |
| | | } |
| | | if ("0".equals(apiData.getTykqbm()) || StringUtils.isEmpty(apiData.getTykqbm())) { |
| | | String tykqbm = apiCommonService.getTykqbm(apiData.getKqdm()); |
| | | apiData.setTykqbm(tykqbm); |
| | | } |
| | | apiData.setZhgxsj(DateUtils.addSeconds(new Date(), -10)); |
| | | return JSON.toJSONString(apiData); |
| | | } |
| | |
| | | apiData.setZhgxsj(DateUtils.addSeconds(new Date(), -10)); |
| | | return JSON.toJSONString(apiData); |
| | | } |
| | | if (com.fzzy.push.gd2023.ApiCodeConstant.API_2001.equals(inteId)) { |
| | | if (ApiCodeConstant.API_2001.equals(inteId)) { |
| | | Gd2023Api2001 apiData = new Gd2023Api2001(); |
| | | BeanUtils.copyProperties(data, apiData); |
| | | //校验统一编码是否为空,为空则查询信息进行赋值 |
| | |
| | | apiData.setZhgxsj(DateUtils.addSeconds(new Date(), -10)); |
| | | return JSON.toJSONString(apiData); |
| | | } |
| | | if (com.fzzy.push.gd2023.ApiCodeConstant.API_2002.equals(inteId)) { |
| | | if (ApiCodeConstant.API_2002.equals(inteId)) { |
| | | Gd2023Api2002 apiData = new Gd2023Api2002(); |
| | | BeanUtils.copyProperties(data, apiData); |
| | | //校验统一编码是否为空,为空则查询信息进行赋值 |
| | |
| | | @EqualsAndHashCode(callSuper = false) |
| | | public class Gd2023Api1201 extends ApiParent implements Serializable { |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = -5548540780391804729L; |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = -5548540780391804729L; |
| | | |
| | | |
| | | @PropertyDef(label = "合同号") |
| | |
| | | @PropertyDef(label = "结算与合同一致性") |
| | | private String jsyhtyzx; |
| | | |
| | | @PropertyDef(label = "签订地点") |
| | | private String qddd; |
| | | |
| | | @PropertyDef(label = "结算与合同不一致原因") |
| | | private String jsyhtbyzyy; |
| | | |
| | |
| | | @PropertyDef(label = "统一单位编码") |
| | | private String tydwbm; |
| | | |
| | | @PropertyDef(label = "统一库区编码") |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "合同号" ) |
| | | private String hth; |
| | | |
| | |
| | | import lombok.EqualsAndHashCode; |
| | | |
| | | import java.io.Serializable; |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | |
| | | /** |
| | |
| | | private Double ckzz; |
| | | |
| | | @PropertyDef(label = "储存时长" ) |
| | | private String ccsc; |
| | | private BigDecimal ccsc; |
| | | |
| | | @PropertyDef(label = "实际损益数量" ) |
| | | private Double jzsysl; |
| | |
| | | @PropertyDef(label = "违规单位统一编码") |
| | | private String wgdwtybm; |
| | | |
| | | @PropertyDef(label = "库区统一编码") |
| | | private String tykqbm; |
| | | |
| | | @PropertyDef(label = "违规行为人" ) |
| | | private String wgxwr; |
| | | |
| | |
| | | @PropertyDef(label = "最后更新时间" ) |
| | | private Date zhgxsj; |
| | | |
| | | @PropertyDef(label = "库区代码") |
| | | private String kqdm; |
| | | |
| | | } |