| | |
| | | } |
| | | |
| | | /** |
| | | * 新增物料采集 |
| | | */ |
| | | @PostMapping |
| | | public void plusAdd(@RequestBody DaMaterialCollection daMaterialCollection) |
| | | { |
| | | daMaterialCollectionService.save(daMaterialCollection); |
| | | } |
| | | |
| | | /** |
| | | * 修改物料采集 |
| | | */ |
| | | @PreAuthorize("@ss.hasPermi('da:materialCollection:edit')") |
| | |
| | | * @return 结果 |
| | | */ |
| | | public int deleteDaMaterialCollectionById(Long id); |
| | | |
| | | void plusSave(DaMaterialCollection daMaterialCollection); |
| | | } |
| | |
| | | { |
| | | return daMaterialCollectionMapper.deleteDaMaterialCollectionById(id); |
| | | } |
| | | |
| | | @Override |
| | | public void plusSave(DaMaterialCollection daMaterialCollection) { |
| | | this.save(daMaterialCollection); |
| | | } |
| | | } |