客户管理
This commit is contained in:
@ -112,12 +112,7 @@ public class CustomerController {
|
||||
@ApiOperation(value = "新增LngCustomer")
|
||||
@SaCheckPermission("customer:add")
|
||||
public R add(@Valid @RequestBody UpdateLngCustomerDto dto){
|
||||
// String code = codeRuleClient.genEncode(CUSTOMER_CODE);
|
||||
// dto.setCuCode("C"+code);
|
||||
// Long id = customerService.add(dto);
|
||||
// dto.setId(id);
|
||||
// codeRuleClient.useEncode(CUSTOMER_CODE);
|
||||
// return R.ok(dto);
|
||||
|
||||
String code = codeRuleClient.genEncode(CUSTOMER_CODE);
|
||||
dto.setCuCode("C"+code);
|
||||
return R.ok(dataService.insert(dto,new DataOperationListener<UpdateLngCustomerDto>() {
|
||||
@ -131,9 +126,9 @@ public class CustomerController {
|
||||
@Override
|
||||
public UpdateLngCustomerDto after(DataOperationContent<UpdateLngCustomerDto> content) {
|
||||
String msg = CommonCallUtils.saveAfter(content.getTableName(),content.getIdValue());
|
||||
if (StringUtils.isNotEmpty(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
if (StringUtils.isNotEmpty(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
codeRuleClient.useEncode(CUSTOMER_CODE);
|
||||
return content.getObj();
|
||||
}
|
||||
@ -146,24 +141,23 @@ public class CustomerController {
|
||||
@ApiOperation(value = "修改LngCustomer")
|
||||
@SaCheckPermission("customer:edit")
|
||||
public R update(@Valid @RequestBody UpdateLngCustomerDto dto){
|
||||
// customerService.update(dto);
|
||||
// return R.ok();
|
||||
return R.ok(dataService.updateById(dto,new DataOperationListener<UpdateLngCustomerDto>() {
|
||||
|
||||
@Override
|
||||
public UpdateLngCustomerDto before(DataOperationContent<UpdateLngCustomerDto> content) {
|
||||
return content.getObj();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UpdateLngCustomerDto after(DataOperationContent<UpdateLngCustomerDto> content) {
|
||||
String msg = CommonCallUtils.saveAfter(content.getTableName(),content.getIdValue());
|
||||
if (StringUtils.isNotEmpty(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
return content.getObj();
|
||||
}
|
||||
}));
|
||||
return R.ok(dataService.updateById(dto,new DataOperationListener<UpdateLngCustomerDto>() {
|
||||
|
||||
@Override
|
||||
public UpdateLngCustomerDto before(DataOperationContent<UpdateLngCustomerDto> content) {
|
||||
return content.getObj();
|
||||
}
|
||||
|
||||
@Override
|
||||
public UpdateLngCustomerDto after(DataOperationContent<UpdateLngCustomerDto> content) {
|
||||
String msg = CommonCallUtils.saveAfter(content.getTableName(),content.getIdValue());
|
||||
if (StringUtils.isNotEmpty(msg)) {
|
||||
throw new BusinessException(BusinessCode.ofArgs(ExceptionCommonCode.DB_FUNCTION_EXEC_ERROR, msg));
|
||||
}
|
||||
return content.getObj();
|
||||
}
|
||||
}));
|
||||
}
|
||||
|
||||
@DeleteMapping
|
||||
|
||||
@ -1,13 +1,11 @@
|
||||
package com.xjrsoft.module.sales.service;
|
||||
|
||||
import com.baomidou.mybatisplus.extension.service.IService;
|
||||
import java.util.List;
|
||||
|
||||
import com.github.yulichang.base.MPJBaseService;
|
||||
import com.github.yulichang.extension.mapping.base.MPJDeepService;
|
||||
import com.github.yulichang.extension.mapping.base.MPJRelationService;
|
||||
import com.xjrsoft.module.sales.dto.UpdateLngCustomerDto;
|
||||
import com.xjrsoft.module.sales.entity.LngCustomer;
|
||||
import lombok.Data;
|
||||
import java.util.List;
|
||||
|
||||
/**
|
||||
* @title: service
|
||||
@ -17,23 +15,7 @@ import java.util.List;
|
||||
*/
|
||||
|
||||
public interface ICustomerService extends MPJBaseService<LngCustomer>, MPJDeepService<LngCustomer>, MPJRelationService<LngCustomer> {
|
||||
/**
|
||||
* 新增
|
||||
*
|
||||
* @param lngCustomer
|
||||
* @return
|
||||
*/
|
||||
|
||||
Long add(UpdateLngCustomerDto updateLngCustomerDto);
|
||||
|
||||
/**
|
||||
* 更新
|
||||
*
|
||||
* @param lngCustomer
|
||||
* @return
|
||||
*/
|
||||
Boolean update(UpdateLngCustomerDto updateLngCustomerDto);
|
||||
|
||||
|
||||
/**
|
||||
* 删除
|
||||
*
|
||||
|
||||
@ -9,11 +9,6 @@ import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import com.baomidou.mybatisplus.core.toolkit.Wrappers;
|
||||
import com.github.yulichang.base.MPJBaseServiceImpl;
|
||||
import com.xjrsoft.module.sales.dto.UpdateLngCustomerAttrPowerDto;
|
||||
import com.xjrsoft.module.sales.dto.UpdateLngCustomerBankDto;
|
||||
import com.xjrsoft.module.sales.dto.UpdateLngCustomerContactDto;
|
||||
import com.xjrsoft.module.sales.dto.UpdateLngCustomerDocDto;
|
||||
import com.xjrsoft.module.sales.dto.UpdateLngCustomerDto;
|
||||
import com.xjrsoft.module.sales.entity.LngCustomer;
|
||||
import com.xjrsoft.module.sales.entity.LngCustomerAttrPower;
|
||||
import com.xjrsoft.module.sales.entity.LngCustomerBank;
|
||||
@ -26,9 +21,7 @@ import com.xjrsoft.module.sales.mapper.LngCustomerDocMapper;
|
||||
import com.xjrsoft.module.sales.mapper.LngCustomerMapper;
|
||||
import com.xjrsoft.module.sales.service.ICustomerService;
|
||||
import com.xjrsoft.module.system.client.IFileClient;
|
||||
import com.xjrsoft.module.system.dto.LngFileUploadBindDto;
|
||||
|
||||
import cn.hutool.core.bean.BeanUtil;
|
||||
import cn.hutool.core.collection.CollectionUtil;
|
||||
import lombok.AllArgsConstructor;
|
||||
|
||||
@ -51,238 +44,7 @@ public class CustomerServiceImpl extends MPJBaseServiceImpl<LngCustomerMapper, L
|
||||
private final IFileClient fileClient;
|
||||
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Long add(UpdateLngCustomerDto updateLngCustomerDto) {
|
||||
|
||||
LngCustomer lngCustomer = new LngCustomer();
|
||||
BeanUtil.copyProperties(updateLngCustomerDto, lngCustomer);
|
||||
lngCustomerMapper.insert(lngCustomer);
|
||||
for (UpdateLngCustomerAttrPowerDto updateLngCustomerAttrPowerDto : updateLngCustomerDto.getLngCustomerAttrPowerList()) {
|
||||
LngCustomerAttrPower lngCustomerAttrPower = new LngCustomerAttrPower();
|
||||
BeanUtil.copyProperties(updateLngCustomerAttrPowerDto, lngCustomerAttrPower);
|
||||
lngCustomerAttrPower.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerAttrPowerMapper.insert(lngCustomerAttrPower);
|
||||
}
|
||||
for (UpdateLngCustomerBankDto updateLngCustomerBankDto : updateLngCustomerDto.getLngCustomerBankList()) {
|
||||
LngCustomerBank lngCustomerBank = new LngCustomerBank();
|
||||
BeanUtil.copyProperties(updateLngCustomerBankDto, lngCustomerBank);
|
||||
lngCustomerBank.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerBankMapper.insert(lngCustomerBank);
|
||||
}
|
||||
for (UpdateLngCustomerDocDto updateLngCustomerDocDto : updateLngCustomerDto.getLngCustomerDocList()) {
|
||||
LngCustomerDoc lngCustomerDoc = new LngCustomerDoc();
|
||||
BeanUtil.copyProperties(updateLngCustomerDocDto, lngCustomerDoc);
|
||||
lngCustomerDoc.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerDocMapper.insert(lngCustomerDoc);
|
||||
|
||||
if(CollectionUtil.isNotEmpty(updateLngCustomerDocDto.getFileList())) {
|
||||
LngFileUploadBindDto bindDto = new LngFileUploadBindDto();
|
||||
bindDto.setTableId(updateLngCustomerDocDto.getId());
|
||||
bindDto.setTableName("lng_customer_doc");
|
||||
bindDto.setColumnName("fileList");
|
||||
bindDto.setFiles(updateLngCustomerDocDto.getFileList());
|
||||
fileClient.bindTableData(bindDto);
|
||||
}
|
||||
|
||||
}
|
||||
for (UpdateLngCustomerContactDto updateLngCustomerContactDto : updateLngCustomerDto.getLngCustomerContactList()) {
|
||||
LngCustomerContact lngCustomerContact = new LngCustomerContact();
|
||||
BeanUtil.copyProperties(updateLngCustomerContactDto, lngCustomerContact);
|
||||
lngCustomerContact.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerContactMapper.insert(lngCustomerContact);
|
||||
}
|
||||
if(updateLngCustomerDto.getLngFileUploadList() != null) {
|
||||
LngFileUploadBindDto bindDto = new LngFileUploadBindDto();
|
||||
bindDto.setTableId(updateLngCustomerDto.getId());
|
||||
bindDto.setTableName("lng_customer");
|
||||
bindDto.setColumnName("lngFileUploadList");
|
||||
bindDto.setFiles(updateLngCustomerDto.getLngFileUploadList());
|
||||
fileClient.bindTableData(bindDto);
|
||||
|
||||
}
|
||||
|
||||
return lngCustomer.getId();
|
||||
}
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Boolean update(UpdateLngCustomerDto updateLngCustomerDto) {
|
||||
LngCustomer lngCustomer = new LngCustomer();
|
||||
BeanUtil.copyProperties(updateLngCustomerDto, lngCustomer);
|
||||
lngCustomerMapper.updateById(lngCustomer);
|
||||
//********************************* LngCustomerAttrPower 增删改 开始 *******************************************/
|
||||
{
|
||||
// 查出所有子级的id
|
||||
List<LngCustomerAttrPower> lngCustomerAttrPowerList = lngCustomerAttrPowerMapper.selectList(Wrappers.lambdaQuery(LngCustomerAttrPower.class).eq(LngCustomerAttrPower::getCuCode, lngCustomer.getCuCode()).select(LngCustomerAttrPower::getId));
|
||||
List<Long> lngCustomerAttrPowerIds = lngCustomerAttrPowerList.stream().map(LngCustomerAttrPower::getId).collect(Collectors.toList());
|
||||
//原有子表单 没有被删除的主键
|
||||
List<Long> lngCustomerAttrPowerOldIds = updateLngCustomerDto.getLngCustomerAttrPowerList().stream().map(UpdateLngCustomerAttrPowerDto::getId).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
//找到需要删除的id
|
||||
List<Long> lngCustomerAttrPowerRemoveIds = lngCustomerAttrPowerIds.stream().filter(item -> !lngCustomerAttrPowerOldIds.contains(item)).collect(Collectors.toList());
|
||||
|
||||
for (UpdateLngCustomerAttrPowerDto lngCustomerAttrPowerDto : updateLngCustomerDto.getLngCustomerAttrPowerList()) {
|
||||
LngCustomerAttrPower lngCustomerAttrPower = new LngCustomerAttrPower();
|
||||
BeanUtil.copyProperties(lngCustomerAttrPowerDto, lngCustomerAttrPower);
|
||||
//如果不等于空则修改
|
||||
if (lngCustomerAttrPower.getId() != null) {
|
||||
|
||||
lngCustomerAttrPowerMapper.updateById(lngCustomerAttrPower);
|
||||
}
|
||||
//如果等于空 则新增
|
||||
else {
|
||||
//已经不存在的id 删除
|
||||
lngCustomerAttrPower.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerAttrPowerMapper.insert(lngCustomerAttrPower);
|
||||
}
|
||||
}
|
||||
//已经不存在的id 删除
|
||||
if(lngCustomerAttrPowerRemoveIds.size() > 0){
|
||||
lngCustomerAttrPowerMapper.deleteBatchIds(lngCustomerAttrPowerRemoveIds);
|
||||
}
|
||||
}
|
||||
//********************************* LngCustomerAttrPower 增删改 结束 *******************************************/
|
||||
|
||||
//********************************* LngCustomerBank 增删改 开始 *******************************************/
|
||||
{
|
||||
// 查出所有子级的id
|
||||
List<LngCustomerBank> lngCustomerBankList = lngCustomerBankMapper.selectList(Wrappers.lambdaQuery(LngCustomerBank.class).eq(LngCustomerBank::getCuCode, lngCustomer.getCuCode()).select(LngCustomerBank::getId));
|
||||
List<Long> lngCustomerBankIds = lngCustomerBankList.stream().map(LngCustomerBank::getId).collect(Collectors.toList());
|
||||
//原有子表单 没有被删除的主键
|
||||
List<Long> lngCustomerBankOldIds = updateLngCustomerDto.getLngCustomerBankList().stream().map(UpdateLngCustomerBankDto::getId).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
//找到需要删除的id
|
||||
List<Long> lngCustomerBankRemoveIds = lngCustomerBankIds.stream().filter(item -> !lngCustomerBankOldIds.contains(item)).collect(Collectors.toList());
|
||||
|
||||
for (UpdateLngCustomerBankDto lngCustomerBankDto : updateLngCustomerDto.getLngCustomerBankList()) {
|
||||
LngCustomerBank lngCustomerBank = new LngCustomerBank();
|
||||
BeanUtil.copyProperties(lngCustomerBankDto, lngCustomerBank);
|
||||
//如果不等于空则修改
|
||||
if (lngCustomerBank.getId() != null) {
|
||||
lngCustomerBankMapper.updateById(lngCustomerBank);
|
||||
}
|
||||
//如果等于空 则新增
|
||||
else {
|
||||
//已经不存在的id 删除
|
||||
lngCustomerBank.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerBankMapper.insert(lngCustomerBank);
|
||||
}
|
||||
}
|
||||
//已经不存在的id 删除
|
||||
if(lngCustomerBankRemoveIds.size() > 0){
|
||||
lngCustomerBankMapper.deleteBatchIds(lngCustomerBankRemoveIds);
|
||||
}
|
||||
}
|
||||
//********************************* LngCustomerBank 增删改 结束 *******************************************/
|
||||
|
||||
//********************************* LngCustomerDoc 增删改 开始 *******************************************/
|
||||
{
|
||||
// 查出所有子级的id
|
||||
List<LngCustomerDoc> lngCustomerDocList = lngCustomerDocMapper.selectList(Wrappers.lambdaQuery(LngCustomerDoc.class).eq(LngCustomerDoc::getCuCode, lngCustomer.getCuCode()).select(LngCustomerDoc::getId));
|
||||
List<Long> lngCustomerDocIds = lngCustomerDocList.stream().map(LngCustomerDoc::getId).collect(Collectors.toList());
|
||||
//原有子表单 没有被删除的主键
|
||||
List<Long> lngCustomerDocOldIds = updateLngCustomerDto.getLngCustomerDocList().stream().map(UpdateLngCustomerDocDto::getId).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
//找到需要删除的id
|
||||
List<Long> lngCustomerDocRemoveIds = lngCustomerDocIds.stream().filter(item -> !lngCustomerDocOldIds.contains(item)).collect(Collectors.toList());
|
||||
|
||||
for (UpdateLngCustomerDocDto lngCustomerDocDto : updateLngCustomerDto.getLngCustomerDocList()) {
|
||||
LngCustomerDoc lngCustomerDoc = new LngCustomerDoc();
|
||||
BeanUtil.copyProperties(lngCustomerDocDto, lngCustomerDoc);
|
||||
//如果不等于空则修改
|
||||
if (lngCustomerDoc.getId() != null) {
|
||||
|
||||
lngCustomerDocMapper.updateById(lngCustomerDoc);
|
||||
//lngFileUploadMapper.delete(Wrappers.lambdaQuery(LngFileUpload.class).eq(LngFileUpload::getTableName, "lng_customer_doc").eq(LngFileUpload::getTableId, lngCustomerDoc.getId()));
|
||||
}
|
||||
//如果等于空 则新增
|
||||
else {
|
||||
//已经不存在的id 删除
|
||||
lngCustomerDoc.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerDocMapper.insert(lngCustomerDoc);
|
||||
}
|
||||
if(CollectionUtil.isNotEmpty(lngCustomerDocDto.getFileList())) {
|
||||
// for(UpdateLngFileUploadDto lngFileUploadDto:lngCustomerDocDto.getFileList()) {
|
||||
// LngFileUpload lngFileUpload = new LngFileUpload();
|
||||
// BeanUtil.copyProperties(lngFileUploadDto, lngFileUpload);
|
||||
// lngFileUpload.setTableName("lng_customer_doc");
|
||||
// lngFileUpload.setTableId(lngCustomerDoc.getId());
|
||||
// lngFileUploadMapper.insert(lngFileUpload);
|
||||
// }
|
||||
|
||||
}
|
||||
}
|
||||
//已经不存在的id 删除
|
||||
if(lngCustomerDocRemoveIds.size() > 0){
|
||||
lngCustomerDocMapper.deleteBatchIds(lngCustomerDocRemoveIds);
|
||||
//lngFileUploadMapper.delete(Wrappers.lambdaQuery(LngFileUpload.class).eq(LngFileUpload::getTableName, "lng_customer_doc").in(LngFileUpload::getTableId, lngCustomerDocRemoveIds));
|
||||
|
||||
}
|
||||
}
|
||||
//********************************* LngCustomerDoc 增删改 结束 *******************************************/
|
||||
|
||||
//********************************* LngCustomerContact 增删改 开始 *******************************************/
|
||||
{
|
||||
// 查出所有子级的id
|
||||
List<LngCustomerContact> lngCustomerContactList = lngCustomerContactMapper.selectList(Wrappers.lambdaQuery(LngCustomerContact.class).eq(LngCustomerContact::getCuCode, lngCustomer.getCuCode()).select(LngCustomerContact::getId));
|
||||
List<Long> lngCustomerContactIds = lngCustomerContactList.stream().map(LngCustomerContact::getId).collect(Collectors.toList());
|
||||
//原有子表单 没有被删除的主键
|
||||
List<Long> lngCustomerContactOldIds = updateLngCustomerDto.getLngCustomerContactList().stream().map(UpdateLngCustomerContactDto::getId).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
//找到需要删除的id
|
||||
List<Long> lngCustomerContactRemoveIds = lngCustomerContactIds.stream().filter(item -> !lngCustomerContactOldIds.contains(item)).collect(Collectors.toList());
|
||||
|
||||
for (UpdateLngCustomerContactDto lngCustomerContactDto : updateLngCustomerDto.getLngCustomerContactList()) {
|
||||
LngCustomerContact lngCustomerContact = new LngCustomerContact();
|
||||
BeanUtil.copyProperties(lngCustomerContactDto, lngCustomerContact);
|
||||
//如果不等于空则修改
|
||||
if (lngCustomerContact.getId() != null) {
|
||||
lngCustomerContactMapper.updateById(lngCustomerContact);
|
||||
}
|
||||
//如果等于空 则新增
|
||||
else {
|
||||
//已经不存在的id 删除
|
||||
lngCustomerContact.setCuCode(lngCustomer.getCuCode());
|
||||
lngCustomerContactMapper.insert(lngCustomerContact);
|
||||
}
|
||||
}
|
||||
//已经不存在的id 删除
|
||||
if(lngCustomerContactRemoveIds.size() > 0){
|
||||
lngCustomerContactMapper.deleteBatchIds(lngCustomerContactRemoveIds);
|
||||
}
|
||||
}
|
||||
//********************************* LngCustomerContact 增删改 结束 *******************************************/
|
||||
|
||||
//********************************* LngFileUpload 增删改 开始 *******************************************/
|
||||
{
|
||||
// 查出所有子级的id
|
||||
// List<LngFileUpload> lngFileUploadList = lngFileUploadMapper.selectList(Wrappers.lambdaQuery(LngFileUpload.class).eq(LngFileUpload::getTableName, "lng_customer").eq(LngFileUpload::getTableId, lngCustomer.getId()).select(LngFileUpload::getId));
|
||||
// List<Long> lngFileUploadIds = lngFileUploadList.stream().map(LngFileUpload::getId).collect(Collectors.toList());
|
||||
// //原有子表单 没有被删除的主键
|
||||
// List<Long> lngFileUploadOldIds = updateLngCustomerDto.getLngFileUploadList().stream().map(UpdateLngFileUploadDto::getId).filter(Objects::nonNull).collect(Collectors.toList());
|
||||
// //找到需要删除的id
|
||||
// List<Long> lngFileUploadRemoveIds = lngFileUploadIds.stream().filter(item -> !lngFileUploadOldIds.contains(item)).collect(Collectors.toList());
|
||||
//
|
||||
// for (UpdateLngFileUploadDto lngFileUploadDto : updateLngCustomerDto.getLngFileUploadList()) {
|
||||
// LngFileUpload lngFileUpload = new LngFileUpload();
|
||||
// BeanUtil.copyProperties(lngFileUploadDto, lngFileUpload);
|
||||
// lngFileUpload.setTableName("lng_customer");
|
||||
// //如果不等于空则修改
|
||||
// if (lngFileUpload.getId() != null) {
|
||||
// lngFileUploadMapper.updateById(lngFileUpload);
|
||||
// }
|
||||
// //如果等于空 则新增
|
||||
// else {
|
||||
// lngFileUpload.setTableId(lngCustomer.getId());
|
||||
// lngFileUploadMapper.insert(lngFileUpload);
|
||||
// }
|
||||
// }
|
||||
// //已经不存在的id 删除
|
||||
// if(lngFileUploadRemoveIds.size() > 0){
|
||||
// lngFileUploadMapper.deleteBatchIds(lngFileUploadRemoveIds);
|
||||
// }
|
||||
}
|
||||
//********************************* LngFileUpload 增删改 结束 *******************************************/
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
@Transactional(rollbackFor = Exception.class)
|
||||
public Boolean delete(List<Long> ids) {
|
||||
@ -294,7 +56,6 @@ public class CustomerServiceImpl extends MPJBaseServiceImpl<LngCustomerMapper, L
|
||||
lngCustomerBankMapper.delete(Wrappers.lambdaQuery(LngCustomerBank.class).in(LngCustomerBank::getCuCode, cuCodeList));
|
||||
lngCustomerDocMapper.delete(Wrappers.lambdaQuery(LngCustomerDoc.class).in(LngCustomerDoc::getCuCode, cuCodeList));
|
||||
lngCustomerContactMapper.delete(Wrappers.lambdaQuery(LngCustomerContact.class).in(LngCustomerContact::getCuCode, cuCodeList));
|
||||
// lngFileUploadMapper.delete(Wrappers.lambdaQuery(LngFileUpload.class).in(LngFileUpload::getTableId, ids).eq(LngFileUpload::getTableName, "lng_customer"));
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user