耗材报损
This commit is contained in:
@@ -3,6 +3,7 @@ package com.czg.controller.admin;
|
||||
import com.czg.log.annotation.OperationLog;
|
||||
import com.czg.product.param.ConsCheckStockParam;
|
||||
import com.czg.product.param.ConsInOutStockHeadParam;
|
||||
import com.czg.product.param.ConsReportDamageParam;
|
||||
import com.czg.product.service.ConsStockFlowService;
|
||||
import com.czg.product.vo.ConsCheckStockRecordVo;
|
||||
import com.czg.resp.CzgResult;
|
||||
@@ -77,4 +78,16 @@ public class ConsStockFlowController {
|
||||
consStockFlowService.checkStock(param);
|
||||
return CzgResult.success();
|
||||
}
|
||||
|
||||
/**
|
||||
* 耗材报损
|
||||
*/
|
||||
@PostMapping("reportDamage")
|
||||
@OperationLog("库存盘点")
|
||||
//@SaAdminCheckPermission("consStockFlow:reportDamage")
|
||||
public CzgResult<Void> reportDamage(@RequestBody ConsReportDamageParam param) {
|
||||
ValidatorUtil.validateEntity(param, DefaultGroup.class);
|
||||
consStockFlowService.reportDamage(param);
|
||||
return CzgResult.success();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user