添加了订单是否处理完成接口
This commit is contained in:
parent
ea7d66c50d
commit
d46ac01987
|
@ -139,7 +139,7 @@ public class PurchaseOrderConfirmationController extends JeecgController<Purchas
|
|||
}
|
||||
|
||||
/**
|
||||
* 被接收 备用代码
|
||||
* 被接收
|
||||
*
|
||||
* @param purchaseOrderConfirmation
|
||||
* @return
|
||||
|
@ -173,6 +173,15 @@ public class PurchaseOrderConfirmationController extends JeecgController<Purchas
|
|||
return Result.OK("已取消接收!");
|
||||
}
|
||||
|
||||
@AutoLog(value = "订单确认-处理完成")
|
||||
@ApiOperation(value = "订单确认-处理完成", notes = "订单确认-处理完成")
|
||||
@RequestMapping(value = "/finish", method = {RequestMethod.PUT, RequestMethod.POST})
|
||||
public Result<String> finish(@RequestBody PurchaseOrderConfirmation purchaseOrderConfirmation) {
|
||||
LambdaUpdateWrapper<PurchaseOrderConfirmation> updateWrapper = new LambdaUpdateWrapper<>();
|
||||
updateWrapper.eq(PurchaseOrderConfirmation::getAssociationNumber, purchaseOrderConfirmation.getAssociationNumber())
|
||||
.set(PurchaseOrderConfirmation::getIsDone, purchaseOrderConfirmation.getIsDone());
|
||||
return Result.OK("已更改处理状态!");
|
||||
}
|
||||
// public Result<String> delete(@RequestParam(name = "id", required = true) String id) {
|
||||
// purchaseOrderConfirmationService.removeById(id);
|
||||
// return Result.OK("删除成功!");
|
||||
|
|
|
@ -101,4 +101,11 @@ public class PurchaseOrderConfirmation implements Serializable {
|
|||
@Excel(name = "备注", width = 15)
|
||||
@ApiModelProperty(value = "备注")
|
||||
private java.lang.String notes;
|
||||
/**
|
||||
* 是否处理完成
|
||||
*/
|
||||
@Excel(name = "是否处理完成", width = 15)
|
||||
@ApiModelProperty(value = "是否处理完成")
|
||||
@Dict(dicCode = "deal_done")
|
||||
private java.lang.Integer isDone;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue