Compare commits
No commits in common. "b68eba4949a58d6ab191e0e6596364b39591292d" and "d51ca296ba79d3b1114a9711689618b7aafeb8b4" have entirely different histories.
b68eba4949
...
d51ca296ba
@ -48,9 +48,6 @@ public class BpmOASupplierProcurementPlanPageReqVO extends PageParam {
|
|||||||
@Schema(description = "是否上传凭证 0否 1是")
|
@Schema(description = "是否上传凭证 0否 1是")
|
||||||
private Integer certificateFlag;
|
private Integer certificateFlag;
|
||||||
|
|
||||||
@Schema(description = "是否已分配到资产中 0否 1是", example = "5984")
|
|
||||||
private Integer assignedFlag;
|
|
||||||
|
|
||||||
@Schema(description = "创建时间")
|
@Schema(description = "创建时间")
|
||||||
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
@DateTimeFormat(pattern = FORMAT_YEAR_MONTH_DAY_HOUR_MINUTE_SECOND)
|
||||||
private LocalDateTime[] createTime;
|
private LocalDateTime[] createTime;
|
||||||
|
@ -17,9 +17,6 @@ public class BpmOASupplierProcurementPlanReqVO {
|
|||||||
@Schema(description = "供应商id", example = "123")
|
@Schema(description = "供应商id", example = "123")
|
||||||
private Long supplierId;
|
private Long supplierId;
|
||||||
|
|
||||||
@Schema(description = "是否已分配到资产中 0否 1是", example = "5984")
|
|
||||||
private Integer assignedFlag;
|
|
||||||
|
|
||||||
@Schema(description = "流程实例的编号", example = "5984")
|
@Schema(description = "流程实例的编号", example = "5984")
|
||||||
private String processInstanceId;
|
private String processInstanceId;
|
||||||
|
|
||||||
|
@ -41,9 +41,6 @@ public class BpmOASupplierProcurementPlanRespVO {
|
|||||||
@Schema(description = "备注")
|
@Schema(description = "备注")
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@Schema(description = "是否已分配到资产中 0否 1是", example = "5984")
|
|
||||||
private Integer assignedFlag;
|
|
||||||
|
|
||||||
@Schema(description = "流程实例的编号", example = "5984")
|
@Schema(description = "流程实例的编号", example = "5984")
|
||||||
private String processInstanceId;
|
private String processInstanceId;
|
||||||
|
|
||||||
|
@ -42,9 +42,6 @@ public class BpmOASupplierProcurementPlanSaveReqVO {
|
|||||||
@Schema(description = "备注")
|
@Schema(description = "备注")
|
||||||
private String remark;
|
private String remark;
|
||||||
|
|
||||||
@Schema(description = "是否已分配到资产中 0否 1是", example = "5984")
|
|
||||||
private Integer assignedFlag;
|
|
||||||
|
|
||||||
@Schema(description = "流程实例的编号", example = "5984")
|
@Schema(description = "流程实例的编号", example = "5984")
|
||||||
private String processInstanceId;
|
private String processInstanceId;
|
||||||
|
|
||||||
|
@ -70,10 +70,6 @@ public class BpmOASupplierProcurementPlanDO extends BaseDO {
|
|||||||
* 备注
|
* 备注
|
||||||
*/
|
*/
|
||||||
private String remark;
|
private String remark;
|
||||||
/**
|
|
||||||
* 是否已分配到资产中 0否 1是
|
|
||||||
*/
|
|
||||||
private Integer assignedFlag;
|
|
||||||
/**
|
/**
|
||||||
* 流程实例的编号
|
* 流程实例的编号
|
||||||
*/
|
*/
|
||||||
|
@ -165,11 +165,10 @@ public class BpmOASupplierProcurementPlanServiceImpl extends BpmOABaseService im
|
|||||||
public void uploadDeliveryReceipt(TheArrivalFileItemsVO vo) {
|
public void uploadDeliveryReceipt(TheArrivalFileItemsVO vo) {
|
||||||
BpmOASupplierProcurementPlanDO supplierProcurementPlanDO = oaSupplierProcurementPlanMapper.selectById(vo.getId());
|
BpmOASupplierProcurementPlanDO supplierProcurementPlanDO = oaSupplierProcurementPlanMapper.selectById(vo.getId());
|
||||||
//判断是否需要更新到资产
|
//判断是否需要更新到资产
|
||||||
boolean updateAssetFlag = false;
|
Boolean updateAssetFlag = false;
|
||||||
if (supplierProcurementPlanDO.getAssignedFlag() == 0) {
|
if (CollectionUtil.isEmpty(supplierProcurementPlanDO.getTheArrivalFileItems())) {
|
||||||
updateAssetFlag = true;
|
updateAssetFlag = true;
|
||||||
}
|
}
|
||||||
supplierProcurementPlanDO.setAssignedFlag(1);
|
|
||||||
supplierProcurementPlanDO.setTheArrivalFileItems(vo.getTheArrivalFileItems());
|
supplierProcurementPlanDO.setTheArrivalFileItems(vo.getTheArrivalFileItems());
|
||||||
oaSupplierProcurementPlanMapper.updateById(supplierProcurementPlanDO);
|
oaSupplierProcurementPlanMapper.updateById(supplierProcurementPlanDO);
|
||||||
// ----- 如果需要更新到资产 -
|
// ----- 如果需要更新到资产 -
|
||||||
|
Loading…
Reference in New Issue
Block a user