mirror of
				https://gitee.com/hhyykk/ipms-sjy.git
				synced 2025-11-04 20:28:44 +08:00 
			
		
		
		
	重构操作日志记录实现
This commit is contained in:
		@@ -67,7 +67,7 @@ public class CrmCustomerController {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @PutMapping("/update")
 | 
			
		||||
    //@Operation(summary = "更新客户")
 | 
			
		||||
    @Operation(summary = "更新客户")
 | 
			
		||||
    @PreAuthorize("@ss.hasPermission('crm:customer:update')")
 | 
			
		||||
    public CommonResult<Boolean> updateCustomer(@Valid @RequestBody CrmCustomerUpdateReqVO updateReqVO) {
 | 
			
		||||
        customerService.updateCustomer(updateReqVO);
 | 
			
		||||
@@ -131,7 +131,7 @@ public class CrmCustomerController {
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
    @PutMapping("/transfer")
 | 
			
		||||
    //@Operation(summary = "客户转移")
 | 
			
		||||
    @Operation(summary = "客户转移")
 | 
			
		||||
    @PreAuthorize("@ss.hasPermission('crm:customer:update')")
 | 
			
		||||
    public CommonResult<Boolean> transfer(@Valid @RequestBody CrmCustomerTransferReqVO reqVO) {
 | 
			
		||||
        customerService.transferCustomer(reqVO, getLoginUserId());
 | 
			
		||||
 
 | 
			
		||||
@@ -1 +0,0 @@
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.bizlog;
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.bizlog.function;
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.operatelog.function;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.util.StrUtil;
 | 
			
		||||
import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils;
 | 
			
		||||
@@ -8,7 +8,6 @@ import org.springframework.stereotype.Component;
 | 
			
		||||
 | 
			
		||||
import static cn.iocoder.yudao.module.crm.enums.DictTypeConstants.CRM_CUSTOMER_INDUSTRY;
 | 
			
		||||
 | 
			
		||||
// TODO @puhui999:包名使用 operatelog 更合适哈;
 | 
			
		||||
/**
 | 
			
		||||
 * 自定义函数-通过行业编号获取行业信息
 | 
			
		||||
 *
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.bizlog.function;
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.operatelog.function;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.util.StrUtil;
 | 
			
		||||
import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils;
 | 
			
		||||
@@ -1,4 +1,4 @@
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.bizlog.function;
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.operatelog.function;
 | 
			
		||||
 | 
			
		||||
import cn.hutool.core.util.StrUtil;
 | 
			
		||||
import cn.iocoder.yudao.framework.dict.core.util.DictFrameworkUtils;
 | 
			
		||||
@@ -0,0 +1 @@
 | 
			
		||||
package cn.iocoder.yudao.module.crm.framework.operatelog;
 | 
			
		||||
		Reference in New Issue
	
	Block a user