代码修改
This commit is contained in:
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.chargemanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -21,9 +20,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class EncounterPatientPageDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class EncounterPatientPageDto {
|
||||
|
||||
/**
|
||||
* 就诊ID
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.chargemanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import lombok.Data;
|
||||
@@ -17,9 +16,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class EncounterPatientPageParam implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class EncounterPatientPageParam {
|
||||
|
||||
/**
|
||||
* 患者姓名
|
||||
@@ -60,4 +57,9 @@ public class EncounterPatientPageParam implements Serializable {
|
||||
* 收费状态
|
||||
*/
|
||||
private Integer statusEnum;
|
||||
|
||||
/**
|
||||
* 退款标识
|
||||
*/
|
||||
private Integer refundFlag;
|
||||
}
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.chargemanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -24,9 +23,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class EncounterPatientPaymentDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class EncounterPatientPaymentDto {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.chargemanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -18,9 +17,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class EncounterPatientPrescriptionDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class EncounterPatientPrescriptionDto {
|
||||
|
||||
/** 收费项目类型 */
|
||||
private Integer contextEnum;
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.chargemanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@@ -16,7 +14,4 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class RefundItemDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
}
|
||||
public class RefundItemDto {}
|
||||
|
||||
@@ -26,7 +26,10 @@ import com.openhis.administration.service.IPractitionerService;
|
||||
import com.openhis.administration.service.ISupplierService;
|
||||
import com.openhis.common.constant.CommonConstants;
|
||||
import com.openhis.common.constant.PromptMsgConstant;
|
||||
import com.openhis.common.enums.*;
|
||||
import com.openhis.common.enums.AssignSeqEnum;
|
||||
import com.openhis.common.enums.SupplyCategory;
|
||||
import com.openhis.common.enums.SupplyStatus;
|
||||
import com.openhis.common.enums.SupplyType;
|
||||
import com.openhis.common.utils.EnumUtils;
|
||||
import com.openhis.common.utils.HisQueryUtils;
|
||||
import com.openhis.web.inventorymanage.appservice.IPurchaseInventoryAppService;
|
||||
@@ -83,18 +86,14 @@ public class PurchaseInventoryAppServiceImpl implements IPurchaseInventoryAppSer
|
||||
List<PurchaseInventoryInitDto.supplierListOption> supplierListOptions = supplierList.stream()
|
||||
.map(supplier -> new PurchaseInventoryInitDto.supplierListOption(supplier.getId(), supplier.getName()))
|
||||
.collect(Collectors.toList());
|
||||
// 入库项目类型
|
||||
List<PurchaseInventoryInitDto.itemTypeOption> itemTypeOptions = Stream.of(ItemType.values())
|
||||
.map(itemType -> new PurchaseInventoryInitDto.itemTypeOption(itemType.getValue(), itemType.getInfo()))
|
||||
.collect(Collectors.toList());
|
||||
// 审批状态
|
||||
List<PurchaseInventoryInitDto.supplyStatusOption> supplyStatusOptions = Stream.of(SupplyStatus.values())
|
||||
.map(supplyStatus -> new PurchaseInventoryInitDto.supplyStatusOption(supplyStatus.getValue(),
|
||||
supplyStatus.getInfo()))
|
||||
.collect(Collectors.toList());
|
||||
|
||||
initDto.setSupplierListOptions(supplierListOptions).setItemTypeOptions(itemTypeOptions)
|
||||
.setPractitionerListOptions(practitionerListOptions).setSupplyStatusOptions(supplyStatusOptions);
|
||||
initDto.setSupplierListOptions(supplierListOptions).setPractitionerListOptions(practitionerListOptions)
|
||||
.setSupplyStatusOptions(supplyStatusOptions);
|
||||
|
||||
return R.ok(initDto);
|
||||
}
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.inventorymanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@@ -16,9 +14,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class InventorySearchParam implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class InventorySearchParam {
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.inventorymanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
|
||||
import lombok.Data;
|
||||
@@ -17,9 +16,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ItemChargeDetailDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class ItemChargeDetailDto {
|
||||
|
||||
/** 费用定价主键ID */
|
||||
private Long definitionId;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.inventorymanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import javax.validation.constraints.Min;
|
||||
@@ -25,9 +24,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ProductStocktakingDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class ProductStocktakingDto {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.inventorymanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -26,15 +25,16 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class PurchaseInventoryDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class PurchaseInventoryDto {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
private Long id;
|
||||
|
||||
/** 单据号 */
|
||||
private String busNo;
|
||||
|
||||
/** 项目 */
|
||||
private String itemTable;
|
||||
|
||||
|
||||
@@ -33,11 +33,6 @@ public class PurchaseInventoryInitDto {
|
||||
*/
|
||||
private List<PurchaseInventoryInitDto.practitionerListOption> practitionerListOptions;
|
||||
|
||||
/**
|
||||
* 入库项目类型
|
||||
*/
|
||||
private List<PurchaseInventoryInitDto.itemTypeOption> itemTypeOptions;
|
||||
|
||||
/**
|
||||
* 审批状态
|
||||
*/
|
||||
@@ -71,20 +66,6 @@ public class PurchaseInventoryInitDto {
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 入库项目类型
|
||||
*/
|
||||
@Data
|
||||
public static class itemTypeOption {
|
||||
private Integer value;
|
||||
private String label;
|
||||
|
||||
public itemTypeOption(Integer value, String label) {
|
||||
this.value = value;
|
||||
this.label = label;
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 入库项目类型
|
||||
*/
|
||||
|
||||
@@ -3,8 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.inventorymanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
|
||||
import lombok.Data;
|
||||
import lombok.experimental.Accessors;
|
||||
|
||||
@@ -16,9 +14,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ReceiptApprovalSearchParam implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class ReceiptApprovalSearchParam {
|
||||
|
||||
/** 状态 */
|
||||
private Integer statusEnum;
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.inventorymanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.math.BigDecimal;
|
||||
import java.util.Date;
|
||||
|
||||
@@ -24,9 +23,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ReceiptDetailDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class ReceiptDetailDto {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
|
||||
@@ -3,7 +3,6 @@
|
||||
*/
|
||||
package com.openhis.web.inventorymanage.dto;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.util.Date;
|
||||
|
||||
import com.baomidou.mybatisplus.annotation.IdType;
|
||||
@@ -23,9 +22,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class ReceiptPageDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class ReceiptPageDto {
|
||||
|
||||
/** ID */
|
||||
@TableId(type = IdType.ASSIGN_ID)
|
||||
@@ -70,6 +67,6 @@ public class ReceiptPageDto implements Serializable {
|
||||
private Date applyTime;
|
||||
|
||||
/** 制单日期 */
|
||||
private Date createTime;
|
||||
private Date occurrenceTime;
|
||||
|
||||
}
|
||||
|
||||
@@ -21,9 +21,7 @@ import lombok.experimental.Accessors;
|
||||
*/
|
||||
@Data
|
||||
@Accessors(chain = true)
|
||||
public class SupplyItemDetailDto implements Serializable {
|
||||
|
||||
private static final long serialVersionUID = 1L;
|
||||
public class SupplyItemDetailDto {
|
||||
|
||||
/** ID */
|
||||
@JsonSerialize(using = ToStringSerializer.class)
|
||||
|
||||
@@ -5,23 +5,23 @@
|
||||
<select id="selectInventoryReceiptPage"
|
||||
resultType="com.openhis.web.inventorymanage.dto.ReceiptPageDto">
|
||||
SELECT T2.id,
|
||||
T2.bus_no AS supply_bus_no,
|
||||
T2.supply_bus_no,
|
||||
T2.status_enum,
|
||||
T2.supplier_id,
|
||||
T2.approver_id,
|
||||
T2.approval_time,
|
||||
T2.applicant_id,
|
||||
T2.create_time,
|
||||
T2.occurrence_time,
|
||||
T2.practitioner_id,
|
||||
T2.tenant_id
|
||||
FROM (SELECT T1.id,
|
||||
T1.bus_no,
|
||||
T1.bus_no AS supply_bus_no,
|
||||
T1.status_enum,
|
||||
T1.supplier_id,
|
||||
T1.approver_id,
|
||||
T1.approval_time,
|
||||
T1.applicant_id,
|
||||
T1.create_time,
|
||||
T1.occurrence_time,
|
||||
T1.practitioner_id,
|
||||
T1.tenant_id
|
||||
FROM wor_supply_request AS T1
|
||||
@@ -33,7 +33,7 @@
|
||||
T1.approver_id,
|
||||
T1.approval_time,
|
||||
T1.applicant_id,
|
||||
T1.create_time,
|
||||
T1.occurrence_time,
|
||||
T1.practitioner_id,
|
||||
T1.tenant_id
|
||||
ORDER BY T1.bus_no desc
|
||||
|
||||
@@ -18,9 +18,9 @@ import lombok.Getter;
|
||||
public enum ItemType implements HisEnumInterface {
|
||||
|
||||
/**
|
||||
* 中药
|
||||
* 药品
|
||||
*/
|
||||
MEDICINE(1, "1", "中药"),
|
||||
MEDICINE(1, "1", "药品"),
|
||||
|
||||
/**
|
||||
* 耗材
|
||||
|
||||
Reference in New Issue
Block a user