添加出入库备注
This commit is contained in:
@@ -75,6 +75,7 @@ public class TbConsInfoController {
|
||||
@Log("耗材出入库")
|
||||
@ApiOperation("耗材出入库")
|
||||
public ResponseEntity<Object> stockInOut(@Validated @RequestBody SuppFlow resources) throws Exception {
|
||||
|
||||
tbConsInfoService.stockInOut(resources);
|
||||
return new ResponseEntity<>(HttpStatus.NO_CONTENT);
|
||||
}
|
||||
|
||||
@@ -175,6 +175,7 @@ public class TbConsInfoServiceImpl implements TbConsInfoService {
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public void stockInOut(SuppFlow resources) throws Exception {
|
||||
log.info("resources:{}",JSON.toJSONString(resources));
|
||||
if (Objects.isNull(resources)) {
|
||||
throw new Exception("参数错误");
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user