dev_no_inv
parent
5edf979164
commit
9782e2a47d
@ -1,41 +0,0 @@
|
|||||||
package com.glxp.api.controller.inv;
|
|
||||||
|
|
||||||
import com.glxp.api.controller.BaseController;
|
|
||||||
import com.glxp.api.service.inv.InvUserProductService;
|
|
||||||
import com.glxp.api.service.inv.impl.InvProductDetailService;
|
|
||||||
import groovy.util.logging.Slf4j;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 用户库存查询接口
|
|
||||||
*/
|
|
||||||
@Slf4j
|
|
||||||
@RestController
|
|
||||||
public class InvUserProductController extends BaseController {
|
|
||||||
|
|
||||||
@Resource
|
|
||||||
private InvUserProductService invUserProductService;
|
|
||||||
@Resource
|
|
||||||
private InvProductDetailService invProductDetailServicel;
|
|
||||||
|
|
||||||
|
|
||||||
// /**
|
|
||||||
// * 添加库存
|
|
||||||
// *
|
|
||||||
// * @param invUserProductEntity
|
|
||||||
// * @return
|
|
||||||
// */
|
|
||||||
// @PostMapping("/spms/inv/user/product/add")
|
|
||||||
// @Log(title = "用户库存查询", businessType = BusinessType.INSERT)
|
|
||||||
// public BaseResponse addInvUserProduct(@RequestBody InvUserProductEntity invUserProductEntity) {
|
|
||||||
//
|
|
||||||
// invUserProductService.
|
|
||||||
//
|
|
||||||
//
|
|
||||||
// }
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
|
@ -1,138 +0,0 @@
|
|||||||
package com.glxp.api.entity.inv;
|
|
||||||
|
|
||||||
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;
|
|
||||||
|
|
||||||
import java.math.BigDecimal;
|
|
||||||
import java.util.Date;
|
|
||||||
|
|
||||||
@Data
|
|
||||||
@TableName(value = "inv_product_detail")
|
|
||||||
public class InvProductDetailEntity {
|
|
||||||
@TableId(value = "id", type = IdType.AUTO)
|
|
||||||
private Integer id;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* UDI码
|
|
||||||
*/
|
|
||||||
@TableField(value = "code")
|
|
||||||
private String code;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 订单号外键
|
|
||||||
*/
|
|
||||||
@TableField(value = "orderId")
|
|
||||||
private String orderId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 耗材字典ID
|
|
||||||
*/
|
|
||||||
@TableField(value = "relId")
|
|
||||||
private Long relId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 最小销售标识
|
|
||||||
*/
|
|
||||||
@TableField(value = "nameCode")
|
|
||||||
private String nameCode;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 批次号
|
|
||||||
*/
|
|
||||||
@TableField(value = "batchNo")
|
|
||||||
private String batchNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 生产日期
|
|
||||||
*/
|
|
||||||
@TableField(value = "produceDate")
|
|
||||||
private String produceDate;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 失效日期
|
|
||||||
*/
|
|
||||||
@TableField(value = "expireDate")
|
|
||||||
private String expireDate;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 序列号
|
|
||||||
*/
|
|
||||||
@TableField(value = "serialNo")
|
|
||||||
private String serialNo;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 供应商
|
|
||||||
*/
|
|
||||||
@TableField(value = "supId")
|
|
||||||
private String supId;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 扫码数量
|
|
||||||
*/
|
|
||||||
@TableField(value = "`count`")
|
|
||||||
private Integer count;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 实际数量
|
|
||||||
*/
|
|
||||||
@TableField(value = "reCount")
|
|
||||||
private Integer reCount;
|
|
||||||
|
|
||||||
|
|
||||||
@TableField(value = "inCount")
|
|
||||||
private Integer inCount;
|
|
||||||
|
|
||||||
|
|
||||||
@TableField(value = "outCount")
|
|
||||||
private Integer outCount;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 部门编码
|
|
||||||
*/
|
|
||||||
@TableField(value = "deptCode")
|
|
||||||
private String deptCode;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 仓库编码
|
|
||||||
*/
|
|
||||||
@TableField(value = "invCode")
|
|
||||||
private String invCode;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 货位编码
|
|
||||||
*/
|
|
||||||
@TableField(value = "invSpaceCode")
|
|
||||||
private String invSpaceCode;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 采购类型
|
|
||||||
*/
|
|
||||||
@TableField(value = "purchaseType")
|
|
||||||
private Integer purchaseType;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 更新时间
|
|
||||||
*/
|
|
||||||
@TableField(value = "updateTime")
|
|
||||||
private Date updateTime;
|
|
||||||
|
|
||||||
@TableField(value = "mainAction")
|
|
||||||
private String mainAction;
|
|
||||||
|
|
||||||
@TableField(value = "action")
|
|
||||||
private String action;
|
|
||||||
|
|
||||||
/**
|
|
||||||
* 价格
|
|
||||||
*/
|
|
||||||
@TableField(value = "price")
|
|
||||||
private BigDecimal price;
|
|
||||||
/**
|
|
||||||
* 入院批号
|
|
||||||
*/
|
|
||||||
@TableField(value = "inBatchNo")
|
|
||||||
private String inBatchNo;
|
|
||||||
}
|
|
Loading…
Reference in New Issue