长泰区医院库存出库明细

dev
anthonywj 1 year ago
parent c93c0bc195
commit b50097f3e2

@ -81,6 +81,14 @@ public interface BaseHttpClient {
*/
BaseResponse getInvResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest);
/**
*
*
* @param udiwmsInvProductsRequest
* @return
*/
BaseResponse getInvFeeResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest);
/**
*

@ -282,4 +282,10 @@ public abstract class CommonHttpClient implements BaseHttpClient {
public BaseResponse getInvCodeResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
return null;
}
@Override
public BaseResponse getInvFeeResult(UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
return null;
}
}

File diff suppressed because one or more lines are too long

@ -1,14 +1,41 @@
package com.glxp.mipsdl.client.ctqyy.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;
}

@ -11,17 +11,31 @@ import lombok.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;
}

@ -120,7 +120,7 @@ public class UdiWmsController {
/**
* /
* /
*
* @param udiwmsInvProductsRequest
* @return
@ -130,8 +130,20 @@ public class UdiWmsController {
return ClientProcessor.getHttpClient().getInvResult(udiwmsInvProductsRequest);
}
/**
*
*
*
* @param udiwmsInvProductsRequest
* @return
*/
@PostMapping("/udiwms/erp/inv/getInvFeeResult")
public BaseResponse getInvFeeResult(@RequestBody UdiwmsInvProductsRequest udiwmsInvProductsRequest) {
return ClientProcessor.getHttpClient().getInvFeeResult(udiwmsInvProductsRequest);
}
/**
*
*
* @param udiwmsInvProductsRequest
* @return
@ -149,7 +161,6 @@ public class UdiWmsController {
* @return
*/
@PostMapping("/udiwms/erp/post/product")
public BaseResponse postProduct(@RequestBody UdiwmsAddProductsRequest udiwmsAddProductsRequest) {
return ClientProcessor.getHttpClient().submitProducts(udiwmsAddProductsRequest);
}

@ -0,0 +1,10 @@
package com.glxp.mipsdl.dao.basic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.mipsdl.entity.basic.BasicSkProjectDetailEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface BasicDestinyRelMapper extends BaseMapper<BasicSkProjectDetailEntity> {
}

@ -0,0 +1,10 @@
package com.glxp.mipsdl.dao.basic;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.glxp.mipsdl.entity.basic.BasicSkProjectEntity;
import org.apache.ibatis.annotations.Mapper;
@Mapper
public interface BasicSkProjectMapper extends BaseMapper<BasicSkProjectEntity> {
}

@ -0,0 +1,63 @@
package com.glxp.mipsdl.entity.basic;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
/**
*
*/
@Data
@TableName(value = "basic_sk_project_detail")
public class BasicSkProjectDetailEntity {
@TableId(value = "id", type = IdType.INPUT)
private Long id;
/**
* id
*/
@TableField(value = "relId")
private Long relId;
/**
* id
*/
@TableField(value = "pId")
private Long pId;
/**
*
*/
@TableField(value = "`count`")
private Integer count;
@TableField(value = "`thrName`")
private String thrName;
@TableField(value = "`thrCode`")
private String thrCode;
@TableField(value = "`measureCount`")
private String measureCount;
@TableField(value = "`measureUnit`")
private String measureUnit;
@TableField(value = "`category`")
private String category;
@TableField(value = "`frequency`")
private String frequency;
@TableField(value = "`price`")
private String price;
@TableField(value = "`ggxh`")
private String ggxh;
@TableField(value = "`remark`")
private String remark;
@TableField(value = "`createTime`")
private String createTime;
@TableField(value = "`createUser`")
private String createUser;
@TableField(value = "`updateTime`")
private String updateTime;
@TableField(value = "`updateUser`")
private String updateUser;
}

@ -0,0 +1,75 @@
package com.glxp.mipsdl.entity.basic;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import java.util.Date;
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
@TableName(value = "basic_sk_project")
public class BasicSkProjectEntity {
@TableId(value = "id", type = IdType.INPUT)
private Long id;
/**
*
*/
@TableField(value = "idCode")
private String idCode;
/**
*
*/
@TableField(value = "code")
private String code;
/**
*
*/
@TableField(value = "`name`")
private String name;
/**
*
*/
@TableField(value = "category")
private String category;
/**
*
*/
@TableField(value = "ggxh")
private String ggxh;
/**
*
*/
@TableField(value = "remark")
private String remark;
@TableField(value = "createTime")
private Date createTime;
@TableField(value = "`createUser`")
private String createUser;
@TableField(value = "updateTime")
private Date updateTime;
@TableField(value = "updateUser")
private String updateUser;
/**
* 1使2
*/
@TableField(value = "type")
private Integer type;
}

@ -156,5 +156,14 @@ public class ThrInvResultResponse {
*/
private String udiCode;
/**
*
*/
private String sickerCode;
/**
*
*/
private String sickerName;
}

@ -0,0 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.dao.basic.BasicDestinyRelMapper">
<resultMap id="BaseResultMap" type="com.glxp.mipsdl.entity.basic.BasicSkProjectDetailEntity">
</resultMap>
</mapper>

@ -0,0 +1,4 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper namespace="com.glxp.mipsdl.dao.basic.BasicSkProjectMapper">
</mapper>
Loading…
Cancel
Save