update
This commit is contained in:
+110
-927
File diff suppressed because it is too large
Load Diff
+27
-4
@@ -93,7 +93,8 @@ public class ReagentConsumableInventoryController {
|
|||||||
|
|
||||||
if (reagentConsumableName != null) {
|
if (reagentConsumableName != null) {
|
||||||
|
|
||||||
reagentConsumableInventoryQueryWrapper.like("reagent_consumable_name", reagentConsumableName);
|
reagentConsumableInventoryQueryWrapper.like("reagent_consumable_name", reagentConsumableName).or()
|
||||||
|
.like("species", reagentConsumableName);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@@ -125,7 +126,17 @@ public class ReagentConsumableInventoryController {
|
|||||||
|
|
||||||
.like(StrUtil.isNotBlank(reagentConsumableName), "remark", reagentConsumableName)
|
.like(StrUtil.isNotBlank(reagentConsumableName), "remark", reagentConsumableName)
|
||||||
.like(warning != null && warning == 1, "warning_information", "库存不足")
|
.like(warning != null && warning == 1, "warning_information", "库存不足")
|
||||||
.eq("category", "标准储备溶液"), warning);
|
.eq("category", "标准储备溶液").or()
|
||||||
|
|
||||||
|
.like(StrUtil.isNotBlank(reagentConsumableName), "species", reagentConsumableName)
|
||||||
|
.like(warning != null && warning == 1, "warning_information", "库存不足")
|
||||||
|
.eq("category", "标准物质").or().
|
||||||
|
|
||||||
|
like(StrUtil.isNotBlank(reagentConsumableName), "species", reagentConsumableName)
|
||||||
|
.like(warning != null && warning == 1, "warning_information", "库存不足")
|
||||||
|
.eq("category", "标准储备溶液").or(), warning);
|
||||||
|
|
||||||
|
|
||||||
return R.ok(reagentConsumableInventoryRMVOList);
|
return R.ok(reagentConsumableInventoryRMVOList);
|
||||||
// return R.ok(reagentConsumableInventoryService.page(page, Wrappers.query(reagentConsumableInventory)));
|
// return R.ok(reagentConsumableInventoryService.page(page, Wrappers.query(reagentConsumableInventory)));
|
||||||
}
|
}
|
||||||
@@ -152,7 +163,15 @@ public class ReagentConsumableInventoryController {
|
|||||||
|
|
||||||
.like(StrUtil.isNotBlank(reagentConsumableName), "remark", reagentConsumableName)
|
.like(StrUtil.isNotBlank(reagentConsumableName), "remark", reagentConsumableName)
|
||||||
.like(warning != null && warning == 1, "warning_information", "库存不足")
|
.like(warning != null && warning == 1, "warning_information", "库存不足")
|
||||||
.eq("category", "耗材"), warning);
|
.eq("category", "耗材")
|
||||||
|
|
||||||
|
.like(StrUtil.isNotBlank(reagentConsumableName), "reagent_consumable_name", reagentConsumableName)
|
||||||
|
.like(warning != null && warning == 1, "species", "库存不足")
|
||||||
|
.eq("category", "试剂").or()
|
||||||
|
|
||||||
|
.like(StrUtil.isNotBlank(reagentConsumableName), "remark", reagentConsumableName)
|
||||||
|
.like(warning != null && warning == 1, "species", "库存不足")
|
||||||
|
.eq("category", "耗材").or(), warning);
|
||||||
return R.ok(reagentConsumableInventoryRMVOList);
|
return R.ok(reagentConsumableInventoryRMVOList);
|
||||||
// return R.ok(reagentConsumableInventoryService.page(page, Wrappers.query(reagentConsumableInventory)));
|
// return R.ok(reagentConsumableInventoryService.page(page, Wrappers.query(reagentConsumableInventory)));
|
||||||
}
|
}
|
||||||
@@ -174,8 +193,12 @@ public class ReagentConsumableInventoryController {
|
|||||||
IPage<ReagentConsumableInventoryFullVO> allRM = reagentConsumableInventoryService.getAllRM(page, reagentConsumableInventoryQueryWrapper
|
IPage<ReagentConsumableInventoryFullVO> allRM = reagentConsumableInventoryService.getAllRM(page, reagentConsumableInventoryQueryWrapper
|
||||||
.eq("category", "试剂")
|
.eq("category", "试剂")
|
||||||
.like(!StrUtil.isEmpty(reagentConsumableName), "reagent_consumable_name", reagentConsumableName).or()
|
.like(!StrUtil.isEmpty(reagentConsumableName), "reagent_consumable_name", reagentConsumableName).or()
|
||||||
|
.eq("category", "试剂")
|
||||||
|
.like(!StrUtil.isEmpty(reagentConsumableName), "species", reagentConsumableName).or()
|
||||||
.eq("category", "耗材")
|
.eq("category", "耗材")
|
||||||
.like(!StrUtil.isEmpty(reagentConsumableName), "reagent_consumable_name", reagentConsumableName));
|
.like(!StrUtil.isEmpty(reagentConsumableName), "reagent_consumable_name", reagentConsumableName).or()
|
||||||
|
.eq("category", "耗材")
|
||||||
|
.like(!StrUtil.isEmpty(reagentConsumableName), "species", reagentConsumableName));
|
||||||
|
|
||||||
|
|
||||||
return R.ok(allRM);
|
return R.ok(allRM);
|
||||||
|
|||||||
@@ -22,204 +22,113 @@ import lombok.EqualsAndHashCode;
|
|||||||
*/
|
*/
|
||||||
@Data
|
@Data
|
||||||
@TableName(value = "acceptance_record_form", autoResultMap = true)
|
@TableName(value = "acceptance_record_form", autoResultMap = true)
|
||||||
@EqualsAndHashCode(callSuper = true)
|
|
||||||
@ApiModel(value = "(验收记录表)")
|
@ApiModel(value = "(验收记录表)")
|
||||||
public class AcceptanceRecordForm extends BaseEntity {
|
public class AcceptanceRecordForm extends BaseEntity {
|
||||||
|
|
||||||
@ApiModelProperty(value = "(试剂耗材名称)")
|
@ApiModelProperty(value = "(试剂耗材名称)")
|
||||||
private String reagentConsumableName;
|
private String reagentConsumableName;
|
||||||
/**
|
|
||||||
* (供应商ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(供应商ID)")
|
@ApiModelProperty(value = "(供应商ID)")
|
||||||
private String supplierId;
|
private String supplierId;
|
||||||
|
|
||||||
/**
|
|
||||||
* 部门负责人审核时间
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "三级审核时间")
|
@ApiModelProperty(value = "三级审核时间")
|
||||||
private LocalDateTime auditTimeOfThreeLevel;
|
private LocalDateTime auditTimeOfThreeLevel;
|
||||||
|
|
||||||
/**
|
|
||||||
* (验收日期)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(验收日期)")
|
@ApiModelProperty(value = "(验收日期)")
|
||||||
private LocalDateTime dateOfAcceptance;
|
private LocalDateTime dateOfAcceptance;
|
||||||
|
|
||||||
/**
|
|
||||||
* (部门负责人审核意见)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(三级审核意见)")
|
@ApiModelProperty(value = "(三级审核意见)")
|
||||||
private String auditOpinionOfThreeLevel;
|
private String auditOpinionOfThreeLevel;
|
||||||
|
|
||||||
@ApiModelProperty(value = "(提交时间)")
|
@ApiModelProperty(value = "(提交时间)")
|
||||||
private LocalDateTime commitTime;
|
private LocalDateTime commitTime;
|
||||||
|
|
||||||
/**
|
|
||||||
* (部门负责人ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(三级审核人ID)")
|
@ApiModelProperty(value = "(三级审核人ID)")
|
||||||
private String threeLevelAuditorId;
|
private String threeLevelAuditorId;
|
||||||
|
|
||||||
/**
|
|
||||||
* (后续处理情况)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(后续处理情况)")
|
@ApiModelProperty(value = "(后续处理情况)")
|
||||||
private String followUpTreatment;
|
private String followUpTreatment;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* (二级审核意见)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(二级审核意见)")
|
@ApiModelProperty(value = "(二级审核意见)")
|
||||||
private String auditOpinionOfSecondary;
|
private String auditOpinionOfSecondary;
|
||||||
|
|
||||||
/**
|
|
||||||
* (二级审核人ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(二级审核人ID)")
|
@ApiModelProperty(value = "(二级审核人ID)")
|
||||||
private String secondaryAuditorId;
|
private String secondaryAuditorId;
|
||||||
|
|
||||||
/**
|
|
||||||
* (二级审核时间)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(二级审核时间)")
|
@ApiModelProperty(value = "(二级审核时间)")
|
||||||
private LocalDateTime auditTimeOfSecondary;
|
private LocalDateTime auditTimeOfSecondary;
|
||||||
|
|
||||||
/**
|
|
||||||
* (试剂耗材ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(试剂耗材ID)")
|
@ApiModelProperty(value = "(试剂耗材ID)")
|
||||||
private String reagentConsumableId;
|
private String reagentConsumableId;
|
||||||
|
|
||||||
/**
|
|
||||||
* (一级审核意见)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(一级审核意见)")
|
@ApiModelProperty(value = "(一级审核意见)")
|
||||||
private String auditOpinionOfPrimary;
|
private String auditOpinionOfPrimary;
|
||||||
|
|
||||||
/**
|
|
||||||
* (一级审核时间)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(一级审核时间)")
|
@ApiModelProperty(value = "(一级审核时间)")
|
||||||
private LocalDateTime auditTimeOfPrimary;
|
private LocalDateTime auditTimeOfPrimary;
|
||||||
|
|
||||||
/**
|
|
||||||
* (一级审核人ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(一级审核人ID)")
|
@ApiModelProperty(value = "(一级审核人ID)")
|
||||||
private String primaryAuditorId;
|
private String primaryAuditorId;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* acceptanceRecordFormId
|
|
||||||
*/
|
|
||||||
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
||||||
@ApiModelProperty(value = "id")
|
@ApiModelProperty(value = "id")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
/**
|
|
||||||
* 一级审核结果
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "一级审核结果")
|
@ApiModelProperty(value = "一级审核结果")
|
||||||
private boolean auditResultOfPrimary;
|
private boolean auditResultOfPrimary;
|
||||||
|
|
||||||
/**
|
|
||||||
* 部门负责人审核结果
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "三级审核结果")
|
@ApiModelProperty(value = "三级审核结果")
|
||||||
private boolean auditResultOfThreeLevel;
|
private boolean auditResultOfThreeLevel;
|
||||||
|
|
||||||
/**
|
|
||||||
* (二级审核结果)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(二级审核结果)")
|
@ApiModelProperty(value = "(二级审核结果)")
|
||||||
private boolean auditResultOfSecondary;
|
private boolean auditResultOfSecondary;
|
||||||
/**
|
|
||||||
* (品牌型号一致)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(品牌型号一致)")
|
@ApiModelProperty(value = "(品牌型号一致)")
|
||||||
private String theSameBrandAndModel;
|
private String theSameBrandAndModel;
|
||||||
|
|
||||||
/**
|
|
||||||
* (品牌型号一致备注)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(品牌型号一致备注)")
|
@ApiModelProperty(value = "(品牌型号一致备注)")
|
||||||
private String bam_remarks;
|
private String bam_remarks;
|
||||||
|
|
||||||
/**
|
|
||||||
* (数量一致)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(数量一致)")
|
@ApiModelProperty(value = "(数量一致)")
|
||||||
private String consistentQuantity;
|
private String consistentQuantity;
|
||||||
|
|
||||||
/**
|
|
||||||
* (数量一致备注)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(数量一致备注)")
|
@ApiModelProperty(value = "(数量一致备注)")
|
||||||
private String cq_remarks;
|
private String cq_remarks;
|
||||||
/**
|
|
||||||
* (包装完好)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(包装完好)")
|
@ApiModelProperty(value = "(包装完好)")
|
||||||
private String packingInGoodCondition;
|
private String packingInGoodCondition;
|
||||||
/**
|
|
||||||
* (包装完好备注)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(包装完好备注)")
|
@ApiModelProperty(value = "(包装完好备注)")
|
||||||
private String pgc_remarks;
|
private String pgc_remarks;
|
||||||
/**
|
|
||||||
* (有效期)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(有效期)")
|
@ApiModelProperty(value = "(有效期)")
|
||||||
private String validityPeriod;
|
private String validityPeriod;
|
||||||
|
|
||||||
/**
|
|
||||||
* (有效期备注)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(有效期备注)")
|
@ApiModelProperty(value = "(有效期备注)")
|
||||||
private String vp_remarks;
|
private String vp_remarks;
|
||||||
|
|
||||||
/**
|
|
||||||
* (供货周期)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(供货周期)")
|
@ApiModelProperty(value = "(供货周期)")
|
||||||
private String deliveryCycle;
|
private String deliveryCycle;
|
||||||
|
|
||||||
/**
|
|
||||||
* (供货周期备注)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(供货周期备注)")
|
@ApiModelProperty(value = "(供货周期备注)")
|
||||||
private String dc_remarks;
|
private String dc_remarks;
|
||||||
|
|
||||||
/**
|
|
||||||
* (验收结论)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(验收结论)")
|
@ApiModelProperty(value = "(验收结论)")
|
||||||
private String acceptanceConclusion;
|
private String acceptanceConclusion;
|
||||||
|
|
||||||
/**
|
|
||||||
* (不合格项目)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(不合格项目)")
|
@ApiModelProperty(value = "(不合格项目)")
|
||||||
private String nonconformingItem;
|
private String nonconformingItem;
|
||||||
/**
|
|
||||||
* (状态)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "状态(0:未提交,1:一级待审核,2:二级待审核,3:三级待审核,6:审核通过,-2 一级审核不不通过,-3:二级审核不通过,-4 三级审核不通过)")
|
@ApiModelProperty(value = "状态(0:未提交,1:一级待审核,2:二级待审核,3:三级待审核,6:审核通过,-2 一级审核不不通过,-3:二级审核不通过,-4 三级审核不通过)")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
/**
|
|
||||||
* (签收物品明细Id)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value = "(签收物品明细Id)")
|
@ApiModelProperty(value = "(签收物品明细Id)")
|
||||||
private String warehousingContentId;
|
private String warehousingContentId;
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "(验收人名称)")
|
@ApiModelProperty(value = "(验收人名称)")
|
||||||
private String userName;
|
private String userName;
|
||||||
|
|
||||||
@ApiModelProperty(value = "(验收中间表ID)")
|
@ApiModelProperty(value = "(验收中间表ID)")
|
||||||
private String acceptanceSignForId;
|
private String acceptanceSignForId;
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -19,11 +19,9 @@ public class AcceptanceSignFor extends BaseEntity {
|
|||||||
@ApiModelProperty(value = "ID")
|
@ApiModelProperty(value = "ID")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "验收种数")
|
@ApiModelProperty(value = "验收种数")
|
||||||
private Integer quantity;
|
private Integer quantity;
|
||||||
|
|
||||||
|
|
||||||
@ApiModelProperty(value = "签收记录表ID")
|
@ApiModelProperty(value = "签收记录表ID")
|
||||||
private String warehousingRecordFormId;
|
private String warehousingRecordFormId;
|
||||||
|
|
||||||
|
|||||||
@@ -24,57 +24,29 @@ import lombok.EqualsAndHashCode;
|
|||||||
@ApiModel(value = "(试剂耗材领用申请表)")
|
@ApiModel(value = "(试剂耗材领用申请表)")
|
||||||
public class ApplicationForUse extends BaseEntity {
|
public class ApplicationForUse extends BaseEntity {
|
||||||
|
|
||||||
/**
|
|
||||||
* (领取日期)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(领取日期)")
|
@ApiModelProperty(value="(领取日期)")
|
||||||
private LocalDateTime dateOfCollection;
|
private LocalDateTime dateOfCollection;
|
||||||
|
|
||||||
/**
|
|
||||||
* (领用人ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(领用人ID)")
|
@ApiModelProperty(value="(领用人ID)")
|
||||||
private String recipientId;
|
private String recipientId;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* (状态)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(状态)")
|
@ApiModelProperty(value="(状态)")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* applicationForUseId
|
|
||||||
*/
|
|
||||||
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
||||||
@ApiModelProperty(value="id")
|
@ApiModelProperty(value="id")
|
||||||
private String id;
|
private String id;
|
||||||
|
|
||||||
/**
|
|
||||||
* 出库记录表
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="出库记录表")
|
@ApiModelProperty(value="出库记录表")
|
||||||
private String deliveryRegistrationFormId;
|
private String deliveryRegistrationFormId;
|
||||||
|
|
||||||
/**
|
|
||||||
* 领用记录表
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="领用记录表")
|
@ApiModelProperty(value="领用记录表")
|
||||||
private String requisitionRecordId;
|
private String requisitionRecordId;
|
||||||
|
|
||||||
/**
|
|
||||||
* 领取码
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="领取码")
|
@ApiModelProperty(value="领取码")
|
||||||
private String claimCode;
|
private String claimCode;
|
||||||
|
|
||||||
/**
|
@ApiModelProperty(value="检验鉴定实验ID")
|
||||||
* 实验模板ID
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="实验ID")
|
|
||||||
private String experimentId;
|
private String experimentId;
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
@@ -25,95 +25,54 @@ import lombok.EqualsAndHashCode;
|
|||||||
@ApiModel(value = "批次明细")
|
@ApiModel(value = "批次明细")
|
||||||
public class BatchDetails extends BaseEntity {
|
public class BatchDetails extends BaseEntity {
|
||||||
|
|
||||||
/**
|
|
||||||
* (批次)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(批次)")
|
@ApiModelProperty(value="(批次)")
|
||||||
private String batch;
|
private String batch;
|
||||||
|
|
||||||
/**
|
|
||||||
* (批号)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(批号)")
|
@ApiModelProperty(value="(批号)")
|
||||||
private String batchNumber;
|
private String batchNumber;
|
||||||
|
|
||||||
/**
|
|
||||||
* (符合性检验情况)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(符合性检验情况)")
|
@ApiModelProperty(value="(符合性检验情况)")
|
||||||
private Boolean complianceTestSituation;
|
private Boolean complianceTestSituation;
|
||||||
|
|
||||||
/**
|
|
||||||
* (上次期间核查日期)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(上次期间核查日期)")
|
@ApiModelProperty(value="(上次期间核查日期)")
|
||||||
private LocalDateTime dateOfLastCheck;
|
private LocalDateTime dateOfLastCheck;
|
||||||
|
|
||||||
/**
|
|
||||||
* (生产日期)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(生产日期)")
|
@ApiModelProperty(value="(生产日期)")
|
||||||
private LocalDate dateOfProduction;
|
private LocalDate dateOfProduction;
|
||||||
|
|
||||||
/**
|
|
||||||
* (偏差/不确定度)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(偏差/不确定度)")
|
@ApiModelProperty(value="(偏差/不确定度)")
|
||||||
private String deviationOrUncertainty;
|
private String deviationOrUncertainty;
|
||||||
|
|
||||||
/**
|
|
||||||
* (有效日期)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(有效日期)")
|
@ApiModelProperty(value="(有效日期)")
|
||||||
private LocalDate expirationDate;
|
private LocalDate expirationDate;
|
||||||
|
|
||||||
@ApiModelProperty(value = "(存储期限)")
|
@ApiModelProperty(value = "(存储期限)")
|
||||||
private String limitDate;
|
private String limitDate;
|
||||||
|
|
||||||
/**
|
|
||||||
* (定值结果)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(定值结果)")
|
@ApiModelProperty(value="(定值结果)")
|
||||||
private String fixedResult;
|
private String fixedResult;
|
||||||
|
|
||||||
/**
|
|
||||||
* (编号)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(编号)")
|
@ApiModelProperty(value="(编号)")
|
||||||
private String number;
|
private String number;
|
||||||
|
|
||||||
/**
|
|
||||||
* (购置时间)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(购置时间)")
|
@ApiModelProperty(value="(购置时间)")
|
||||||
private LocalDateTime purchaseTime;
|
private LocalDateTime purchaseTime;
|
||||||
|
|
||||||
/**
|
|
||||||
* (数量)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(数量)")
|
@ApiModelProperty(value="(数量)")
|
||||||
private Integer quantity;
|
private Integer quantity;
|
||||||
|
|
||||||
/**
|
|
||||||
* (试剂耗材库存ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(试剂耗材库存ID)")
|
@ApiModelProperty(value="(试剂耗材库存ID)")
|
||||||
private String reagentConsumableInventoryId;
|
private String reagentConsumableInventoryId;
|
||||||
|
|
||||||
/**
|
|
||||||
* (使用状态)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(使用状态 1 库存充足 -1 库存为0)")
|
@ApiModelProperty(value="(使用状态 1 库存充足 -1 库存为0)")
|
||||||
private Integer serviceStatus;
|
private Integer serviceStatus;
|
||||||
|
|
||||||
/**
|
|
||||||
* (供应商ID)
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="(供应商ID)")
|
@ApiModelProperty(value="(供应商ID)")
|
||||||
private String supplierId;
|
private String supplierId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "(格子Id)")
|
@ApiModelProperty(value = "(格子Id)")
|
||||||
private String latticeId;
|
private String latticeId;
|
||||||
|
|
||||||
@ApiModelProperty(value = "(位置信息)")
|
@ApiModelProperty(value = "(位置信息)")
|
||||||
private String location;
|
private String location;
|
||||||
|
|
||||||
@@ -126,13 +85,6 @@ public class BatchDetails extends BaseEntity {
|
|||||||
@ApiModelProperty(value="签收批次ID")
|
@ApiModelProperty(value="签收批次ID")
|
||||||
private String warehousingBatchListId;
|
private String warehousingBatchListId;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* batchDetailsId
|
|
||||||
*/
|
|
||||||
@TableId(value = "batch_details_id", type = IdType.ASSIGN_UUID)
|
@TableId(value = "batch_details_id", type = IdType.ASSIGN_UUID)
|
||||||
@ApiModelProperty(value="batchDetailsId")
|
@ApiModelProperty(value="batchDetailsId")
|
||||||
private String batchDetailsId;
|
private String batchDetailsId;
|
||||||
|
|||||||
@@ -127,7 +127,9 @@ public class CatalogueDetails extends BaseEntity {
|
|||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "CAS-号")
|
@ApiModelProperty(value = "CAS-号")
|
||||||
private String casNumber;
|
private String casNumber;
|
||||||
|
/**
|
||||||
|
* 物品编码
|
||||||
|
*/
|
||||||
@ApiModelProperty(value = "物品编码")
|
@ApiModelProperty(value = "物品编码")
|
||||||
private String code;
|
private String code;
|
||||||
|
|
||||||
|
|||||||
+1
-5
@@ -51,10 +51,6 @@ public class ReagentConsumableInventory extends BaseEntity {
|
|||||||
@ApiModelProperty(value = "(类别)")
|
@ApiModelProperty(value = "(类别)")
|
||||||
private String category;
|
private String category;
|
||||||
|
|
||||||
/**
|
|
||||||
* (类别)
|
|
||||||
*/
|
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 偏差/不确定度
|
* 偏差/不确定度
|
||||||
@@ -149,7 +145,7 @@ public class ReagentConsumableInventory extends BaseEntity {
|
|||||||
* (溶液浓度)
|
* (溶液浓度)
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value = "(溶液浓度)")
|
@ApiModelProperty(value = "(溶液浓度)")
|
||||||
private String configurationConcentration;
|
private double configurationConcentration;
|
||||||
/**
|
/**
|
||||||
* 英文名
|
* 英文名
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -122,7 +122,7 @@ public class ReagentConsumables extends BaseEntity {
|
|||||||
* 溶液浓度
|
* 溶液浓度
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value="溶液浓度")
|
@ApiModelProperty(value="溶液浓度")
|
||||||
private String configurationConcentration;
|
private double configurationConcentration;
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
@@ -22,9 +22,6 @@ import lombok.EqualsAndHashCode;
|
|||||||
@ApiModel(value = "")
|
@ApiModel(value = "")
|
||||||
public class ReferenceMaterial extends BaseEntity {
|
public class ReferenceMaterial extends BaseEntity {
|
||||||
|
|
||||||
/**
|
|
||||||
* number
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="标准物质编号")
|
@ApiModelProperty(value="标准物质编号")
|
||||||
private String number;
|
private String number;
|
||||||
|
|
||||||
@@ -33,30 +30,19 @@ public class ReferenceMaterial extends BaseEntity {
|
|||||||
|
|
||||||
@ApiModelProperty(value="打印序列号")
|
@ApiModelProperty(value="打印序列号")
|
||||||
private String code;
|
private String code;
|
||||||
/**
|
|
||||||
* number
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="状态(0为可以使用,-1为停用,-2为降级使用、-3 已被领用,-4 使用完毕,报废")
|
@ApiModelProperty(value="状态(0为可以使用,-1为停用,-2为降级使用、-3 已被领用,-4 使用完毕,报废")
|
||||||
private Integer status;
|
private Integer status;
|
||||||
|
|
||||||
/**
|
|
||||||
* reagentConsumableId
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="试剂耗材Id")
|
@ApiModelProperty(value="试剂耗材Id")
|
||||||
private String reagentConsumableId;
|
private String reagentConsumableId;
|
||||||
|
|
||||||
@ApiModelProperty(value="使用状态 0 正常使用、-2降级使用")
|
@ApiModelProperty(value="使用状态 0 正常使用、-2降级使用")
|
||||||
private Integer serviceStatus;
|
private Integer serviceStatus;
|
||||||
|
|
||||||
|
|
||||||
/**
|
|
||||||
* batchDetailsId
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="批次明细Id")
|
@ApiModelProperty(value="批次明细Id")
|
||||||
private String batchDetailsId;
|
private String batchDetailsId;
|
||||||
/**
|
|
||||||
* batchDetailsId
|
|
||||||
*/
|
|
||||||
@ApiModelProperty(value="格子ID")
|
@ApiModelProperty(value="格子ID")
|
||||||
private String latticeId;
|
private String latticeId;
|
||||||
|
|
||||||
@@ -66,9 +52,6 @@ public class ReferenceMaterial extends BaseEntity {
|
|||||||
@ApiModelProperty(value="柜子ID")
|
@ApiModelProperty(value="柜子ID")
|
||||||
private String boxId;
|
private String boxId;
|
||||||
|
|
||||||
/**
|
|
||||||
* id
|
|
||||||
*/
|
|
||||||
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
@TableId(value = "id", type = IdType.ASSIGN_UUID)
|
||||||
@ApiModelProperty(value="id")
|
@ApiModelProperty(value="id")
|
||||||
private String id;
|
private String id;
|
||||||
|
|||||||
+1
-1
@@ -31,7 +31,7 @@ public class StandardReserveSolution extends BaseEntity {
|
|||||||
* (配置浓度(mg/mL))
|
* (配置浓度(mg/mL))
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value="(配置浓度(mg/mL))")
|
@ApiModelProperty(value="(配置浓度(mg/mL))")
|
||||||
private String configurationConcentration;
|
private double configurationConcentration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* (预警信息)
|
* (预警信息)
|
||||||
|
|||||||
@@ -46,7 +46,7 @@ public class StandardSolutionCurve extends BaseEntity {
|
|||||||
* (标准储备溶液浓度)
|
* (标准储备溶液浓度)
|
||||||
*/
|
*/
|
||||||
@ApiModelProperty(value="(标准储备溶液浓度)")
|
@ApiModelProperty(value="(标准储备溶液浓度)")
|
||||||
private String solutionConcentration;
|
private double solutionConcentration;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* (标准储备溶液浓度编号)
|
* (标准储备溶液浓度编号)
|
||||||
|
|||||||
+1
-6
@@ -55,27 +55,22 @@ public class AcceptanceRecordFormServiceImpl extends ServiceImpl<AcceptanceRecor
|
|||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private BlacklistService blacklistService;
|
private BlacklistService blacklistService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private AcceptanceSignForService acceptanceSignForService;
|
private AcceptanceSignForService acceptanceSignForService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private ReagentConsumablesService reagentConsumablesService;
|
private ReagentConsumablesService reagentConsumablesService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private WarehousingContentService warehousingContentService;
|
private WarehousingContentService warehousingContentService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private OssFile ossFile;
|
private OssFile ossFile;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private RemoteWord2PDFService remoteWord2PDFService;
|
private RemoteWord2PDFService remoteWord2PDFService;
|
||||||
|
|
||||||
@Autowired
|
@Autowired
|
||||||
private WarehousingRecordFormService warehousingRecordFormService;
|
private WarehousingRecordFormService warehousingRecordFormService;
|
||||||
|
|
||||||
@Transactional
|
@Transactional
|
||||||
@Override
|
@Override//批量提交
|
||||||
public void culkCommit(List<AcceptanceRecordFormDTO> acceptanceRecordFormDTOList, DLPUser dlpUser) {
|
public void culkCommit(List<AcceptanceRecordFormDTO> acceptanceRecordFormDTOList, DLPUser dlpUser) {
|
||||||
|
|
||||||
for (AcceptanceRecordFormDTO acceptanceRecordFormDTO : acceptanceRecordFormDTOList) {
|
for (AcceptanceRecordFormDTO acceptanceRecordFormDTO : acceptanceRecordFormDTOList) {
|
||||||
|
|||||||
+1
-1
@@ -187,7 +187,7 @@ public class StandardMaterialApplicationServiceImpl extends ServiceImpl<Standard
|
|||||||
record.setReagentConsumables(byId);
|
record.setReagentConsumables(byId);
|
||||||
|
|
||||||
if (one != null) {
|
if (one != null) {
|
||||||
String configurationConcentration = one.getConfigurationConcentration();
|
double configurationConcentration = one.getConfigurationConcentration();
|
||||||
record.setConfigurationConcentration(configurationConcentration);
|
record.setConfigurationConcentration(configurationConcentration);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
+5
-2
@@ -86,7 +86,10 @@ public class StandardReserveSolutionServiceImpl extends ServiceImpl<StandardRese
|
|||||||
|
|
||||||
StandardReserveSolutionVO standardReserveSolutionVOById = baseMapper.getStandardReserveSolutionVOById(id);
|
StandardReserveSolutionVO standardReserveSolutionVOById = baseMapper.getStandardReserveSolutionVOById(id);
|
||||||
|
|
||||||
standardReserveSolutionVOById.setConfigurationDatePrint("配置日期:"+LocalDateTimeUtil.format(standardReserveSolutionVOById.getConfigurationDate(), "yyyy-MM-dd"));
|
standardReserveSolutionVOById.setPrintName(reagentConsumablesService.getById(referenceMaterialService.getById(standardReserveSolutionVOById.getReferenceMaterialId()).getReagentConsumableId()).getReagentConsumableName()+"[储]"
|
||||||
|
);
|
||||||
|
|
||||||
|
standardReserveSolutionVOById.setConfigurationDatePrint(standardReserveSolutionVOById.getDispenserName() + "-" + LocalDateTimeUtil.format(standardReserveSolutionVOById.getConfigurationDate(), "yyyy-MM-dd") +"-"+ standardReserveSolutionVOById.getConfigurationConcentration());
|
||||||
//查出该标准储备溶液对应的所有使用记录
|
//查出该标准储备溶液对应的所有使用记录
|
||||||
List<SolutionUseFormVO> solutionUseFormVOList = solutionUseFormService.getSolutionUseFormVOList(standardReserveSolutionVOById.getId());
|
List<SolutionUseFormVO> solutionUseFormVOList = solutionUseFormService.getSolutionUseFormVOList(standardReserveSolutionVOById.getId());
|
||||||
|
|
||||||
@@ -123,7 +126,7 @@ public class StandardReserveSolutionServiceImpl extends ServiceImpl<StandardRese
|
|||||||
//计算浓度
|
//计算浓度
|
||||||
Double v = standardReserveSolution.getReferenceMaterialScale() / standardReserveSolution.getConstantVolume();
|
Double v = standardReserveSolution.getReferenceMaterialScale() / standardReserveSolution.getConstantVolume();
|
||||||
|
|
||||||
standardReserveSolution.setConfigurationConcentration(String.format("%.05f", v));
|
standardReserveSolution.setConfigurationConcentration(v);
|
||||||
|
|
||||||
LambdaQueryWrapper<ReagentConsumableInventory> reagentConsumableInventoryLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
LambdaQueryWrapper<ReagentConsumableInventory> reagentConsumableInventoryLambdaQueryWrapper = new LambdaQueryWrapper<>();
|
||||||
|
|
||||||
|
|||||||
-2
@@ -32,8 +32,6 @@ public class SupplierInformationServiceImpl extends ServiceImpl<SupplierInformat
|
|||||||
@Autowired
|
@Autowired
|
||||||
private EvaluationFormService evaluationFormService;
|
private EvaluationFormService evaluationFormService;
|
||||||
|
|
||||||
@Autowired
|
|
||||||
private ProvideServicesOrSuppliesService provideServicesOrSuppliesService;
|
|
||||||
|
|
||||||
@Override//新增供应商信息
|
@Override//新增供应商信息
|
||||||
@Transactional
|
@Transactional
|
||||||
|
|||||||
+1
-58
@@ -120,13 +120,8 @@ public class WarehousingRecordFormServiceImpl extends ServiceImpl<WarehousingRec
|
|||||||
|
|
||||||
throw new RuntimeException(String.format("请选择存放位置后再进行提交"));
|
throw new RuntimeException(String.format("请选择存放位置后再进行提交"));
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
boolean flag = true;
|
boolean flag = true;
|
||||||
|
|
||||||
int i = 0;
|
int i = 0;
|
||||||
|
|
||||||
|
|
||||||
String latticeId = warehousingRecordFormDTO.getLatticeId();
|
String latticeId = warehousingRecordFormDTO.getLatticeId();
|
||||||
//录入签收批次信息
|
//录入签收批次信息
|
||||||
WarehousingBatchList warehousingBatchList = new WarehousingBatchList();
|
WarehousingBatchList warehousingBatchList = new WarehousingBatchList();
|
||||||
@@ -423,6 +418,7 @@ public class WarehousingRecordFormServiceImpl extends ServiceImpl<WarehousingRec
|
|||||||
warehousingContent.setStatus(1);
|
warehousingContent.setStatus(1);
|
||||||
|
|
||||||
warehousingContentService.updateById(warehousingContent);
|
warehousingContentService.updateById(warehousingContent);
|
||||||
|
|
||||||
if (warehousingContent.getAcceptanceRecordFormId() == null) {
|
if (warehousingContent.getAcceptanceRecordFormId() == null) {
|
||||||
|
|
||||||
AcceptanceSignFor acceptanceSignForServiceOne = acceptanceSignForService.getOne(Wrappers.<AcceptanceSignFor>query().eq("warehousing_record_form_id", warehousingRecordFormId));
|
AcceptanceSignFor acceptanceSignForServiceOne = acceptanceSignForService.getOne(Wrappers.<AcceptanceSignFor>query().eq("warehousing_record_form_id", warehousingRecordFormId));
|
||||||
@@ -523,60 +519,7 @@ public class WarehousingRecordFormServiceImpl extends ServiceImpl<WarehousingRec
|
|||||||
return warehousingRecordFormVOPage;
|
return warehousingRecordFormVOPage;
|
||||||
}
|
}
|
||||||
|
|
||||||
public List<PurchaseRequestPrintVO> getPurchaseRequestPrint(String id) {
|
|
||||||
|
|
||||||
WarehousingRecordForm byId = this.getById(id);
|
|
||||||
|
|
||||||
List<WarehousingContent> warehousingContentList = warehousingContentService.list(Wrappers.<WarehousingContent>query().eq("warehousing_record_form_id", id));
|
|
||||||
|
|
||||||
PurchaseListDetails purchaseListDetails1 = purchaseListDetailsService.getById(warehousingContentList.get(0).getPurchaseListDetailsId());
|
|
||||||
|
|
||||||
DecentralizedRequest request = decentralizedRequestService.getOne(Wrappers.<DecentralizedRequest>query().eq("purchase_list_id", purchaseListDetails1.getPurchaseListId()));
|
|
||||||
|
|
||||||
if (request != null) {
|
|
||||||
|
|
||||||
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(request.getId());
|
|
||||||
|
|
||||||
List<DecentralizeDetails> decentralizeDetailsVOList = requestById.getDecentralizeDetailsVOList();
|
|
||||||
}
|
|
||||||
for (WarehousingContent warehousingContent : warehousingContentList) {
|
|
||||||
|
|
||||||
PurchaseListDetails purchaseListDetails = purchaseListDetailsService.getById(warehousingContent.getPurchaseListDetailsId());
|
|
||||||
|
|
||||||
String purchaseListId = purchaseListDetails.getPurchaseListId();
|
|
||||||
|
|
||||||
List<WarehousingBatchList> batchListList = warehousingBatchListService.list(Wrappers.<WarehousingBatchList>query().eq("warehousing_content_id", warehousingContent.getId()));
|
|
||||||
|
|
||||||
// DecentralizedRequest request = decentralizedRequestService.getOne(Wrappers.<DecentralizedRequest>query().eq("purchase_list_id", purchaseListId));
|
|
||||||
|
|
||||||
if (request != null) {
|
|
||||||
|
|
||||||
DecentralizedRequestVO requestById = decentralizedRequestService.getRequestById(request.getId());
|
|
||||||
|
|
||||||
List<DecentralizeDetails> decentralizeDetailsVOList = requestById.getDecentralizeDetailsVOList();
|
|
||||||
|
|
||||||
for (DecentralizeDetails decentralizeDetail : decentralizeDetailsVOList) {
|
|
||||||
|
|
||||||
PurchaseRequestPrintVO purchaseRequestPrintVO = new PurchaseRequestPrintVO();
|
|
||||||
|
|
||||||
if (decentralizeDetail.getCategory().equals("标准物质")) {
|
|
||||||
purchaseRequestPrintVO.setRemarks(decentralizeDetail.getRemarks());
|
|
||||||
purchaseRequestPrintVO.setQuantity(decentralizeDetail.getQuantity());
|
|
||||||
purchaseRequestPrintVO.setPurpose(decentralizeDetail.getPurpose());
|
|
||||||
purchaseRequestPrintVO.setSubtotal(decentralizeDetail.getUnitPrice() * decentralizeDetail.getQuantity());
|
|
||||||
purchaseRequestPrintVO.setApplicantName(requestById.getApplicantName());
|
|
||||||
purchaseRequestPrintVO.setReagentConsumableName(decentralizeDetail.getReagentConsumableName());
|
|
||||||
// purchaseRequestPrintVO.setSupplierName();
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
ProcurementContent procurementContent = procurementContentService.getById(purchaseListDetails.getProcurementContentId());
|
|
||||||
}
|
|
||||||
|
|
||||||
return
|
|
||||||
null;
|
|
||||||
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -65,14 +65,12 @@ public class MaturityCalculation {
|
|||||||
|
|
||||||
periodVerificationPlanService.getPlan();
|
periodVerificationPlanService.getPlan();
|
||||||
System.out.println("期间核查计划自动更新");
|
System.out.println("期间核查计划自动更新");
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@Scheduled(cron = "0 0/1 * * * ? ")
|
@Scheduled(cron = "0 0/1 * * * ? ")
|
||||||
public void inventoryReminder() {
|
public void inventoryReminder() {
|
||||||
|
|
||||||
|
|
||||||
List<StandardReserveSolution> list2 = standardReserveSolutionService.list(Wrappers.<StandardReserveSolution>query()
|
List<StandardReserveSolution> list2 = standardReserveSolutionService.list(Wrappers.<StandardReserveSolution>query()
|
||||||
.eq("status", 1));
|
.eq("status", 1));
|
||||||
|
|
||||||
|
|||||||
+1
-1
@@ -48,7 +48,7 @@ public class ReagentConsumableInventoryFullVO extends ReagentConsumableInventory
|
|||||||
private String fixedResult;
|
private String fixedResult;
|
||||||
|
|
||||||
@ApiModelProperty(value="(配置浓度(mg/mL))")
|
@ApiModelProperty(value="(配置浓度(mg/mL))")
|
||||||
private String configurationConcentration;
|
private double configurationConcentration;
|
||||||
|
|
||||||
@ApiModelProperty(value="(配置日期)")
|
@ApiModelProperty(value="(配置日期)")
|
||||||
private LocalDateTime configurationDate;
|
private LocalDateTime configurationDate;
|
||||||
|
|||||||
+1
-1
@@ -25,7 +25,7 @@ public class StandardMaterialApplicationVO extends StandardMaterialApplication {
|
|||||||
private String category;
|
private String category;
|
||||||
|
|
||||||
@ApiModelProperty(value="(配置浓度(mg/mL))")
|
@ApiModelProperty(value="(配置浓度(mg/mL))")
|
||||||
private String configurationConcentration;
|
private double configurationConcentration;
|
||||||
|
|
||||||
private ReagentConsumables reagentConsumables;
|
private ReagentConsumables reagentConsumables;
|
||||||
|
|
||||||
|
|||||||
@@ -11,6 +11,7 @@ public class StandardReserveSolutionVO extends StandardReserveSolution {
|
|||||||
|
|
||||||
@ApiModelProperty(value="(配制人名称)")
|
@ApiModelProperty(value="(配制人名称)")
|
||||||
private String dispenserName;
|
private String dispenserName;
|
||||||
|
|
||||||
@ApiModelProperty(value="(标准储备溶液使用记录表集合)")
|
@ApiModelProperty(value="(标准储备溶液使用记录表集合)")
|
||||||
|
|
||||||
private List<SolutionUseFormVO> solutionUseFormVOList;
|
private List<SolutionUseFormVO> solutionUseFormVOList;
|
||||||
@@ -24,4 +25,7 @@ public class StandardReserveSolutionVO extends StandardReserveSolution {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "配置日期打印")
|
@ApiModelProperty(value = "配置日期打印")
|
||||||
private String configurationDatePrint;
|
private String configurationDatePrint;
|
||||||
|
|
||||||
|
@ApiModelProperty(value="(打印储备溶液名称)")
|
||||||
|
private String printName;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -62,6 +62,10 @@
|
|||||||
FROM dlp_base.sys_user user
|
FROM dlp_base.sys_user user
|
||||||
WHERE user.user_id=pc.create_by
|
WHERE user.user_id=pc.create_by
|
||||||
) AS create_name
|
) AS create_name
|
||||||
|
, (
|
||||||
|
select department
|
||||||
|
from dlp_base.sys_user
|
||||||
|
where user_id = pc.create_by) as department
|
||||||
FROM purchase_catalogue pc
|
FROM purchase_catalogue pc
|
||||||
WHERE pc.purchase_catalogue_id = #{purchaseCatalogueId}
|
WHERE pc.purchase_catalogue_id = #{purchaseCatalogueId}
|
||||||
</sql>
|
</sql>
|
||||||
|
|||||||
Reference in New Issue
Block a user