CRM-合同: transfer

This commit is contained in:
puhui999 2024-02-03 22:13:02 +08:00
parent 59dfa10461
commit ba6218b835
5 changed files with 5 additions and 5 deletions

View File

@ -166,7 +166,7 @@ public class CrmBusinessController {
return CrmBusinessConvert.INSTANCE.convertPage(pageResult, customerList, statusTypeList, statusList); return CrmBusinessConvert.INSTANCE.convertPage(pageResult, customerList, statusTypeList, statusList);
} }
@PutMapping("/transfer-business") @PutMapping("/transfer")
@Operation(summary = "商机转移") @Operation(summary = "商机转移")
@PreAuthorize("@ss.hasPermission('crm:business:update')") @PreAuthorize("@ss.hasPermission('crm:business:update')")
public CommonResult<Boolean> transferBusiness(@Valid @RequestBody CrmBusinessTransferReqVO reqVO) { public CommonResult<Boolean> transferBusiness(@Valid @RequestBody CrmBusinessTransferReqVO reqVO) {

View File

@ -88,7 +88,7 @@ public class CrmClueController {
ExcelUtils.write(response, "线索.xls", "数据", CrmClueRespVO.class, datas); ExcelUtils.write(response, "线索.xls", "数据", CrmClueRespVO.class, datas);
} }
@PutMapping("/transfer-clue") @PutMapping("/transfer")
@Operation(summary = "线索转移") @Operation(summary = "线索转移")
@PreAuthorize("@ss.hasPermission('crm:clue:update')") @PreAuthorize("@ss.hasPermission('crm:clue:update')")
public CommonResult<Boolean> transferClue(@Valid @RequestBody CrmClueTransferReqVO reqVO) { public CommonResult<Boolean> transferClue(@Valid @RequestBody CrmClueTransferReqVO reqVO) {

View File

@ -175,7 +175,7 @@ public class CrmContactController {
return CrmContactConvert.INSTANCE.convertPage(pageResult, userMap, crmCustomerDOList, parentContactList); return CrmContactConvert.INSTANCE.convertPage(pageResult, userMap, crmCustomerDOList, parentContactList);
} }
@PutMapping("/transfer-contact") @PutMapping("/transfer")
@Operation(summary = "联系人转移") @Operation(summary = "联系人转移")
@PreAuthorize("@ss.hasPermission('crm:contact:update')") @PreAuthorize("@ss.hasPermission('crm:contact:update')")
public CommonResult<Boolean> transferContact(@Valid @RequestBody CrmContactTransferReqVO reqVO) { public CommonResult<Boolean> transferContact(@Valid @RequestBody CrmContactTransferReqVO reqVO) {

View File

@ -168,7 +168,7 @@ public class CrmContractController {
return CrmContractConvert.INSTANCE.convertList(contractList, userMap, customerList, contactMap, businessMap); return CrmContractConvert.INSTANCE.convertList(contractList, userMap, customerList, contactMap, businessMap);
} }
@PutMapping("/transfer-contract") @PutMapping("/transfer")
@Operation(summary = "合同转移") @Operation(summary = "合同转移")
@PreAuthorize("@ss.hasPermission('crm:contract:update')") @PreAuthorize("@ss.hasPermission('crm:contract:update')")
public CommonResult<Boolean> transferContract(@Valid @RequestBody CrmContractTransferReqVO reqVO) { public CommonResult<Boolean> transferContract(@Valid @RequestBody CrmContractTransferReqVO reqVO) {

View File

@ -232,7 +232,7 @@ public class CrmCustomerController {
return success(customerService.importCustomerList(list, updateSupport, getLoginUserId())); return success(customerService.importCustomerList(list, updateSupport, getLoginUserId()));
} }
@PutMapping("/transfer-customer") @PutMapping("/transfer")
@Operation(summary = "转移客户") @Operation(summary = "转移客户")
@PreAuthorize("@ss.hasPermission('crm:customer:update')") @PreAuthorize("@ss.hasPermission('crm:customer:update')")
public CommonResult<Boolean> transferCustomer(@Valid @RequestBody CrmCustomerTransferReqVO reqVO) { public CommonResult<Boolean> transferCustomer(@Valid @RequestBody CrmCustomerTransferReqVO reqVO) {