更新
This commit is contained in:
parent
d0209a7944
commit
a56689848b
@ -603,6 +603,12 @@ public class PartnerOwnController extends BaseController {
|
||||
dictDataService.deleteDictData(dictId);
|
||||
return success();
|
||||
}
|
||||
//批量删除客户来源
|
||||
@PostMapping("/delCustomerSourceBatch")
|
||||
public CommonResult delCustomerSourceBatch(@RequestBody List<Long> dictIds){
|
||||
dictDataService.deleteDictDataBatch(dictIds);
|
||||
return success();
|
||||
}
|
||||
|
||||
@PostMapping("/vehicleLicenseOCR")
|
||||
public CommonResult vehicleLicenseOCR(String imagePath) throws Exception
|
||||
|
@ -123,4 +123,5 @@ public interface DictDataService {
|
||||
**/
|
||||
List<DictDataDO> getDictDataListById(List<Long> dataIds);
|
||||
|
||||
void deleteDictDataBatch(List<Long> dictIds);
|
||||
}
|
||||
|
@ -202,4 +202,10 @@ public class DictDataServiceImpl implements DictDataService {
|
||||
return dictDataMapper.selectList(new LambdaQueryWrapperX<DictDataDO>().in(DictDataDO::getId, dataIds));
|
||||
}
|
||||
|
||||
@Override
|
||||
public void deleteDictDataBatch(List<Long> dictIds) {
|
||||
// 删除字典数据
|
||||
dictDataMapper.deleteByIds(dictIds);
|
||||
}
|
||||
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user