提交merge1.3
This commit is contained in:
@@ -27,143 +27,204 @@ import lombok.experimental.Accessors;
|
||||
@EqualsAndHashCode(callSuper = false)
|
||||
public class DocInventoryItemStatic extends HisBaseEntity {
|
||||
|
||||
/** ID */
|
||||
/**
|
||||
* ID
|
||||
*/
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
private Long id;
|
||||
|
||||
<<<<<<< HEAD
|
||||
/** 物品类别 */
|
||||
private String categoryCode;
|
||||
=======
|
||||
/** 备份单据编号 */
|
||||
/**
|
||||
* 备份单据编号
|
||||
*/
|
||||
private String busNo;
|
||||
|
||||
/** 药品类别 */
|
||||
/**
|
||||
* 药品类别
|
||||
*/
|
||||
private String medCategoryCode;
|
||||
|
||||
/** 耗材类别 */
|
||||
/**
|
||||
* 耗材类别
|
||||
*/
|
||||
private String devCategoryCode;
|
||||
>>>>>>> v1.3
|
||||
|
||||
/** 名称 */
|
||||
/**
|
||||
* 名称
|
||||
*/
|
||||
private String name;
|
||||
|
||||
/** 库存状态 */
|
||||
/**
|
||||
* 库存状态
|
||||
*/
|
||||
private Integer inventoryStatusEnum;
|
||||
|
||||
/** 供应商id */
|
||||
/**
|
||||
* 供应商id
|
||||
*/
|
||||
private Long supplierId;
|
||||
|
||||
/** 说明书 */
|
||||
/**
|
||||
* 说明书
|
||||
*/
|
||||
private String descriptionText;
|
||||
|
||||
/** 最小单位 */
|
||||
/**
|
||||
* 最小单位
|
||||
*/
|
||||
private String unitCode;
|
||||
|
||||
<<<<<<< HEAD
|
||||
/** 当前库存数量(最小单位数量) */
|
||||
/**
|
||||
* 库存数量
|
||||
*/
|
||||
private BigDecimal quantity;
|
||||
|
||||
=======
|
||||
/** 库存数量 */
|
||||
private BigDecimal quantity;
|
||||
|
||||
/** 包装单位数量(整数部分) */
|
||||
/**
|
||||
* 包装单位数量(整数部分)
|
||||
*/
|
||||
private BigDecimal number;
|
||||
|
||||
/** 包装单位数量(余数部分) */
|
||||
/**
|
||||
* 包装单位数量(余数部分)
|
||||
*/
|
||||
private BigDecimal remainder;
|
||||
|
||||
>>>>>>> v1.3
|
||||
/** 产品批号 */
|
||||
/**
|
||||
* 产品批号
|
||||
*/
|
||||
private String lotNumber;
|
||||
|
||||
/** 生产日期 */
|
||||
/**
|
||||
* 生产日期
|
||||
*/
|
||||
private Date productionDate;
|
||||
|
||||
/** 失效日期 */
|
||||
/**
|
||||
* 失效日期
|
||||
*/
|
||||
private Date expirationDate;
|
||||
|
||||
/** 库位 */
|
||||
/**
|
||||
* 库位
|
||||
*/
|
||||
private Long locationStoreId;
|
||||
|
||||
/** 仓库 */
|
||||
/**
|
||||
* 仓库
|
||||
*/
|
||||
private Long locationId;
|
||||
|
||||
/** 追溯码 */
|
||||
/**
|
||||
* 追溯码
|
||||
*/
|
||||
private String traceNo;
|
||||
|
||||
/** 追溯码包装层级 */
|
||||
/**
|
||||
* 追溯码包装层级
|
||||
*/
|
||||
private Integer packagingLevels;
|
||||
|
||||
/** 项目 */
|
||||
/**
|
||||
* 项目
|
||||
*/
|
||||
private String itemTable;
|
||||
|
||||
/** 物品编码 */
|
||||
/**
|
||||
* 物品编码
|
||||
*/
|
||||
private Long itemId;
|
||||
|
||||
/** 采购单价(包装单位) */
|
||||
/**
|
||||
* 采购单价(包装单位)
|
||||
*/
|
||||
private BigDecimal price;
|
||||
|
||||
/** 销售单价(包装单位) */
|
||||
/**
|
||||
* 销售单价(包装单位)
|
||||
*/
|
||||
private BigDecimal salePrice;
|
||||
|
||||
<<<<<<< HEAD
|
||||
/** 项目编号 */
|
||||
private String busNo;
|
||||
=======
|
||||
/** 总零售价 */
|
||||
/**
|
||||
* 总零售价
|
||||
*/
|
||||
private BigDecimal totalSalePrice;
|
||||
|
||||
/** 总进价 */
|
||||
/**
|
||||
* 总进价
|
||||
*/
|
||||
private BigDecimal totalPrice;
|
||||
|
||||
/** 项目编号 */
|
||||
/**
|
||||
* 项目编号
|
||||
*/
|
||||
private String itemNo;
|
||||
>>>>>>> v1.3
|
||||
|
||||
/** 最小单位 */
|
||||
/**
|
||||
* 最小单位
|
||||
*/
|
||||
private String minUnitCode;
|
||||
|
||||
/** 拆零比 */
|
||||
/**
|
||||
* 拆零比
|
||||
*/
|
||||
private BigDecimal partPercent;
|
||||
|
||||
/** 供应商名称 */
|
||||
/**
|
||||
* 供应商名称
|
||||
*/
|
||||
private String supplierName;
|
||||
|
||||
/** 库房名称 */
|
||||
/**
|
||||
* 库房名称
|
||||
*/
|
||||
private String locationName;
|
||||
|
||||
/** 货位名称 */
|
||||
/**
|
||||
* 货位名称
|
||||
*/
|
||||
private String locationStoreName;
|
||||
|
||||
/** 生产厂商文本 */
|
||||
/**
|
||||
* 生产厂商文本
|
||||
*/
|
||||
private String manufacturerText;
|
||||
|
||||
/** 医保等级 */
|
||||
/**
|
||||
* 医保等级
|
||||
*/
|
||||
private Integer chrgitmLv;
|
||||
|
||||
/** 规格 */
|
||||
/**
|
||||
* 规格
|
||||
*/
|
||||
private String totalVolume;
|
||||
|
||||
/** 药品名称拼音码 */
|
||||
/**
|
||||
* 药品名称拼音码
|
||||
*/
|
||||
private String pyStr;
|
||||
|
||||
/** 药品五笔码 */
|
||||
/**
|
||||
* 药品五笔码
|
||||
*/
|
||||
private String wbStr;
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
|
||||
/** 剩余过期天数 */
|
||||
/**
|
||||
* 剩余过期天数
|
||||
*/
|
||||
private Integer remainingDays;
|
||||
|
||||
/** 库存id */
|
||||
/**
|
||||
* 库存id
|
||||
*/
|
||||
private Long inventoryId;
|
||||
|
||||
/** 医保码 */
|
||||
/**
|
||||
* 医保码
|
||||
*/
|
||||
private String ybNo;
|
||||
|
||||
/** 批准文号 */
|
||||
/**
|
||||
* 批准文号
|
||||
*/
|
||||
private String approvalNumber;
|
||||
>>>>>>> v1.3
|
||||
}
|
||||
|
||||
@@ -3,11 +3,8 @@
|
||||
*/
|
||||
package com.openhis.document.service;
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
import java.util.List;
|
||||
|
||||
>>>>>>> v1.3
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import com.openhis.document.domain.DocInventoryItemStatic;
|
||||
|
||||
@@ -17,9 +14,6 @@ import com.openhis.document.domain.DocInventoryItemStatic;
|
||||
* @author zwh
|
||||
* @date 2025-11-04
|
||||
*/
|
||||
<<<<<<< HEAD
|
||||
public interface IDocInventoryItemStaticService extends IService<DocInventoryItemStatic> {}
|
||||
=======
|
||||
public interface IDocInventoryItemStaticService extends IService<DocInventoryItemStatic> {
|
||||
|
||||
/**
|
||||
@@ -32,4 +26,3 @@ public interface IDocInventoryItemStaticService extends IService<DocInventoryIte
|
||||
*/
|
||||
List<DocInventoryItemStatic> getInventoryItemStaticByItemId(List<Long> itemIdList, String busNo, Long locationId);
|
||||
}
|
||||
>>>>>>> v1.3
|
||||
|
||||
@@ -3,11 +3,6 @@
|
||||
*/
|
||||
package com.openhis.document.service.impl;
|
||||
|
||||
<<<<<<< HEAD
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
=======
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.stereotype.Service;
|
||||
@@ -15,7 +10,6 @@ import org.springframework.stereotype.Service;
|
||||
import com.baomidou.mybatisplus.core.conditions.query.LambdaQueryWrapper;
|
||||
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
|
||||
import com.core.common.enums.DelFlag;
|
||||
>>>>>>> v1.3
|
||||
import com.openhis.document.domain.DocInventoryItemStatic;
|
||||
import com.openhis.document.mapper.DocInventoryItemStaticMapper;
|
||||
import com.openhis.document.service.IDocInventoryItemStaticService;
|
||||
@@ -28,10 +22,7 @@ import com.openhis.document.service.IDocInventoryItemStaticService;
|
||||
*/
|
||||
@Service
|
||||
public class DocInventoryItemStaticServiceImpl extends ServiceImpl<DocInventoryItemStaticMapper, DocInventoryItemStatic>
|
||||
<<<<<<< HEAD
|
||||
implements IDocInventoryItemStaticService {}
|
||||
=======
|
||||
implements IDocInventoryItemStaticService {
|
||||
implements IDocInventoryItemStaticService {
|
||||
|
||||
/**
|
||||
* 根据物品id获取物品的库存备份信息
|
||||
@@ -41,15 +32,14 @@ public class DocInventoryItemStaticServiceImpl extends ServiceImpl<DocInventoryI
|
||||
*/
|
||||
@Override
|
||||
public List<DocInventoryItemStatic> getInventoryItemStaticByItemId(List<Long> itemIdList, String busNo,
|
||||
Long locationId) {
|
||||
Long locationId) {
|
||||
LambdaQueryWrapper<DocInventoryItemStatic> queryWrapper = new LambdaQueryWrapper<>();
|
||||
if (itemIdList != null && !itemIdList.isEmpty()) {
|
||||
queryWrapper.in(DocInventoryItemStatic::getItemId, itemIdList);
|
||||
}
|
||||
queryWrapper.eq(DocInventoryItemStatic::getBusNo, busNo)
|
||||
.eq(DocInventoryItemStatic::getDeleteFlag, DelFlag.NO.getCode())
|
||||
.eq(DocInventoryItemStatic::getLocationId, locationId).orderByDesc(DocInventoryItemStatic::getCreateTime);
|
||||
.eq(DocInventoryItemStatic::getDeleteFlag, DelFlag.NO.getCode())
|
||||
.eq(DocInventoryItemStatic::getLocationId, locationId).orderByDesc(DocInventoryItemStatic::getCreateTime);
|
||||
return baseMapper.selectList(queryWrapper);
|
||||
}
|
||||
}
|
||||
>>>>>>> v1.3
|
||||
|
||||
Reference in New Issue
Block a user