1/2 龙海中医院接口优化第三方供应商

Lhxyy
wangwei 3 months ago
parent 166b23c27f
commit 97cd9548a6

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.hlfyyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvCodeResultEntity {
@JsonProperty("recordNo")
private Integer recordNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("inDept")
private String inDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialPrc")
private Integer materialPrc;
@JsonProperty("dictBarcode")
private String dictBarcode;
@JsonProperty("Barcode")
private String barcode;
@JsonProperty("feeTime")
private String feeTime;
@JsonProperty("feeOper")
private String feeOper;
}

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.hlfyyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvProjectResultEntity {
@JsonProperty("seqNo")
private String seqNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("applyDept")
private String applyDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("itemCode")
private String itemCode;
@JsonProperty("itemName")
private String itemName;
@JsonProperty("Price")
private Double price;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("Cost")
private Double cost;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("OperTime")
private String operTime;
}

@ -1,60 +0,0 @@
package com.glxp.mipsdl.client.hlfyyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvResultEntity {
@JsonProperty("applyNo")
private String applyNo;
@JsonProperty("ioFlag")
private String ioFlag;
@JsonProperty("ioType")
private String ioType;
@JsonProperty("ioTypeName")
private String ioTypeName;
@JsonProperty("Debit")
private String debit;
@JsonProperty("DebitName")
private String debitName;
@JsonProperty("Credit")
private String credit;
@JsonProperty("CreditName")
private String creditName;
@JsonProperty("AccoutDate")
private String accoutDate;
@JsonProperty("Accoutant")
private String accoutant;
@JsonProperty("receiveOper")
private String receiveOper;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialSpec")
private String materialSpec;
@JsonProperty("materialUnit")
private String materialUnit;
@JsonProperty("batchNo")
private String batchNo;
@JsonProperty("invoiceNo")
private String invoiceNo;
@JsonProperty("invoiceDate")
private String invoiceDate;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("importPrc")
private Double importPrc;
@JsonProperty("importMoney")
private Integer importMoney;
@JsonProperty("factoryCode")
private String factoryCode;
@JsonProperty("factoryName")
private String factoryName;
}

@ -21,6 +21,7 @@ import com.glxp.mipsdl.dao.thrsys.ThrProductsDao;
import com.glxp.mipsdl.dao.thrsys.ThrSystemBusApiDao;
import com.glxp.mipsdl.entity.auth.AuthWarehouseEntity;
import com.glxp.mipsdl.entity.basic.BasicBussinessTypeEntity;
import com.glxp.mipsdl.entity.basic.BasicCorpEntity;
import com.glxp.mipsdl.entity.basic.BasicUdirelEntity;
import com.glxp.mipsdl.entity.inout.IoCodeEntity;
import com.glxp.mipsdl.entity.inout.IoOrderDetailBizEntity;
@ -177,7 +178,8 @@ public class LhzyyClient extends CommonHttpClient {
}
} else if (basicBussinessTypeEntity.getCorpType().equals(Constants.CORP_SP)) {
//供应商
ThrCorpEntity thrCorp = thrCorpService.getThrCorp(udiwmsOrderRequest.getCorpId());
ThrCorpEntity thrCorp = thrCorpService.getThrCorp(orderEntity.getFromCorp());
log.error("第三方系统{}",thrCorp);
if (null != thrCorp) {
dsOrderRequest.setCorpId(thrCorp.getUnitId());
dsOrderRequest.setCorpName(thrCorp.getName());

File diff suppressed because one or more lines are too long

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.scpwxyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvCodeResultEntity {
@JsonProperty("recordNo")
private Integer recordNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("inDept")
private String inDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialPrc")
private Integer materialPrc;
@JsonProperty("dictBarcode")
private String dictBarcode;
@JsonProperty("Barcode")
private String barcode;
@JsonProperty("feeTime")
private String feeTime;
@JsonProperty("feeOper")
private String feeOper;
}

@ -1,41 +0,0 @@
package com.glxp.mipsdl.client.scpwxyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvProjectResultEntity {
@JsonProperty("seqNo")
private String seqNo;
@JsonProperty("visitNo")
private String visitNo;
@JsonProperty("sickName")
private String sickName;
@JsonProperty("applyDept")
private String applyDept;
@JsonProperty("deptName")
private String deptName;
@JsonProperty("itemCode")
private String itemCode;
@JsonProperty("itemName")
private String itemName;
@JsonProperty("Price")
private Double price;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("Cost")
private Double cost;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("OperTime")
private String operTime;
}

@ -1,60 +0,0 @@
package com.glxp.mipsdl.client.scpwxyy.entity;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;
import lombok.NoArgsConstructor;
/**
*
*/
@NoArgsConstructor
@Data
public class InvResultEntity {
@JsonProperty("applyNo")
private String applyNo;
@JsonProperty("ioFlag")
private String ioFlag;
@JsonProperty("ioType")
private String ioType;
@JsonProperty("ioTypeName")
private String ioTypeName;
@JsonProperty("Debit")
private String debit;
@JsonProperty("DebitName")
private String debitName;
@JsonProperty("Credit")
private String credit;
@JsonProperty("CreditName")
private String creditName;
@JsonProperty("AccoutDate")
private String accoutDate;
@JsonProperty("Accoutant")
private String accoutant;
@JsonProperty("receiveOper")
private String receiveOper;
@JsonProperty("materialCode")
private String materialCode;
@JsonProperty("materialName")
private String materialName;
@JsonProperty("materialSpec")
private String materialSpec;
@JsonProperty("materialUnit")
private String materialUnit;
@JsonProperty("batchNo")
private String batchNo;
@JsonProperty("invoiceNo")
private String invoiceNo;
@JsonProperty("invoiceDate")
private String invoiceDate;
@JsonProperty("quantity")
private Integer quantity;
@JsonProperty("importPrc")
private Double importPrc;
@JsonProperty("importMoney")
private Integer importMoney;
@JsonProperty("factoryCode")
private String factoryCode;
@JsonProperty("factoryName")
private String factoryName;
}
Loading…
Cancel
Save