| @@ -18,7 +18,7 @@ import java.util.List; | |||||
| @Slf4j | @Slf4j | ||||
| @RestController | @RestController | ||||
| @RequestMapping("invest") | @RequestMapping("invest") | ||||
| @Api(tags = "招商管理接口") | |||||
| @Api(tags = "招商模块-其它接口") | |||||
| public class InvestController extends InvestBaseController { | public class InvestController extends InvestBaseController { | ||||
| @Autowired | @Autowired | ||||
| @@ -15,7 +15,7 @@ import org.springframework.beans.factory.annotation.Autowired; | |||||
| /** | /** | ||||
| * 客户管理 | |||||
| * 招商模块-客户管理 | |||||
| * | * | ||||
| * @author | * @author | ||||
| @@ -24,7 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired; | |||||
| @Slf4j | @Slf4j | ||||
| @RestController | @RestController | ||||
| @RequestMapping("invest/customer") | @RequestMapping("invest/customer") | ||||
| @Api(tags = "客户管理") | |||||
| @Api(tags = "招商模块-客户管理") | |||||
| public class InvestCustomerController extends InvestBaseController{ | public class InvestCustomerController extends InvestBaseController{ | ||||
| @Autowired | @Autowired | ||||
| private InvestCustomerService investCustomerService; | private InvestCustomerService investCustomerService; | ||||
| @@ -19,7 +19,7 @@ import java.util.Arrays; | |||||
| /** | /** | ||||
| * 需求管理 | |||||
| * 招商模块-客户需求 | |||||
| * | * | ||||
| * @author | * @author | ||||
| @@ -28,7 +28,7 @@ import java.util.Arrays; | |||||
| @Slf4j | @Slf4j | ||||
| @RestController | @RestController | ||||
| @RequestMapping("invest/demand") | @RequestMapping("invest/demand") | ||||
| @Api(tags = "需求管理") | |||||
| @Api(tags = "招商模块-客户需求") | |||||
| public class InvestDemandController extends InvestBaseController { | public class InvestDemandController extends InvestBaseController { | ||||
| @Autowired | @Autowired | ||||
| @@ -17,7 +17,7 @@ import java.util.Arrays; | |||||
| /** | /** | ||||
| * 跟踪管理 | |||||
| * 招商模块-跟踪记录 | |||||
| * | * | ||||
| * @author | * @author | ||||
| @@ -26,7 +26,7 @@ import java.util.Arrays; | |||||
| @Slf4j | @Slf4j | ||||
| @RestController | @RestController | ||||
| @RequestMapping("invest/followrecord") | @RequestMapping("invest/followrecord") | ||||
| @Api(tags = "跟踪管理") | |||||
| @Api(tags = "招商模块-跟踪记录") | |||||
| public class InvestFollowRecordController extends InvestBaseController { | public class InvestFollowRecordController extends InvestBaseController { | ||||
| @Autowired | @Autowired | ||||
| private InvestFollowRecordService investFollowRecordService; | private InvestFollowRecordService investFollowRecordService; | ||||
| @@ -16,7 +16,7 @@ import java.util.Arrays; | |||||
| /** | /** | ||||
| * 操作记录 | |||||
| * 招商模块-操作记录 | |||||
| * | * | ||||
| * @author | * @author | ||||
| @@ -25,7 +25,7 @@ import java.util.Arrays; | |||||
| @Slf4j | @Slf4j | ||||
| @RestController | @RestController | ||||
| @RequestMapping("invest/operaterecord") | @RequestMapping("invest/operaterecord") | ||||
| @Api(tags = "操作记录") | |||||
| @Api(tags = "招商模块-操作记录") | |||||
| public class InvestOperateRecordController extends InvestBaseController { | public class InvestOperateRecordController extends InvestBaseController { | ||||
| @Autowired | @Autowired | ||||
| private InvestOperateRecordService investOperateRecordService; | private InvestOperateRecordService investOperateRecordService; | ||||
| @@ -18,7 +18,7 @@ import java.util.Arrays; | |||||
| /** | /** | ||||
| * 招商提醒 | |||||
| * 招商模块-预约提醒 | |||||
| * | * | ||||
| * @author | * @author | ||||
| @@ -27,7 +27,7 @@ import java.util.Arrays; | |||||
| @Slf4j | @Slf4j | ||||
| @RestController | @RestController | ||||
| @RequestMapping("invest/remind") | @RequestMapping("invest/remind") | ||||
| @Api(tags = "招商提醒") | |||||
| @Api(tags = "招商模块-预约提醒") | |||||
| public class InvestRemindController extends InvestBaseController { | public class InvestRemindController extends InvestBaseController { | ||||
| @Autowired | @Autowired | ||||
| private InvestRemindService investRemindService; | private InvestRemindService investRemindService; | ||||
| @@ -55,7 +55,7 @@ public class InvestRemindController extends InvestBaseController { | |||||
| */ | */ | ||||
| @RequiresPermissions("investFollowRecordEdit") | @RequiresPermissions("investFollowRecordEdit") | ||||
| @PostMapping("/save") | @PostMapping("/save") | ||||
| public InvestResultData save(@RequestBody InvestRemindEntity investRemind) { | |||||
| public InvestResultData save(@RequestBody InvestRemindEntity investRemind) { | |||||
| return execute(investRemind, p -> investRemindService.save(p)); | return execute(investRemind, p -> investRemindService.save(p)); | ||||
| } | } | ||||
| @@ -19,7 +19,7 @@ import java.util.Arrays; | |||||
| /** | /** | ||||
| * 招商任务 | |||||
| * 招商模块-招商任务 | |||||
| * | * | ||||
| * @author | * @author | ||||
| @@ -28,7 +28,7 @@ import java.util.Arrays; | |||||
| @Slf4j | @Slf4j | ||||
| @RestController | @RestController | ||||
| @RequestMapping("invest/task") | @RequestMapping("invest/task") | ||||
| @Api(tags = "招商任务") | |||||
| @Api(tags = "招商模块-招商任务") | |||||
| public class InvestTaskController extends InvestBaseController { | public class InvestTaskController extends InvestBaseController { | ||||
| @Autowired | @Autowired | ||||
| private InvestTaskService investTaskService; | private InvestTaskService investTaskService; | ||||
| @@ -144,7 +144,8 @@ public class SystemLogAspect { | |||||
| } | } | ||||
| } | } | ||||
| //TODO 调试使用 | //TODO 调试使用 | ||||
| return String.format("%s%s",description, Arrays.asList(arguments)); | |||||
| //return String.format("%s%s",description, Arrays.asList(arguments)); | |||||
| return description; | |||||
| } | } | ||||
| /** | /** | ||||
| @@ -21,7 +21,7 @@ import lombok.EqualsAndHashCode; | |||||
| public class InvestRemindEntity extends InvestBaseEntity { | public class InvestRemindEntity extends InvestBaseEntity { | ||||
| /** | /** | ||||
| * 提醒用户 | |||||
| * 提醒用户InvestRemindEntity | |||||
| */ | */ | ||||
| @io.swagger.annotations.ApiModelProperty(value = "提醒用户", name = "owner") | @io.swagger.annotations.ApiModelProperty(value = "提醒用户", name = "owner") | ||||
| private Long owner; | private Long owner; | ||||
| @@ -31,8 +31,8 @@ public class InvestRemindEntity extends InvestBaseEntity { | |||||
| @io.swagger.annotations.ApiModelProperty(value = "提醒内容", name = "content",example = "\"" + | @io.swagger.annotations.ApiModelProperty(value = "提醒内容", name = "content",example = "\"" + | ||||
| "{" + | "{" + | ||||
| "\"text\": \"今天约了王老板,要求签订框架协议\"," + | "\"text\": \"今天约了王老板,要求签订框架协议\"," + | ||||
| " \"customer_id\": 222222," + | |||||
| " \"negotiation_type\": 2" + | |||||
| " \"customerId\": 222222," + | |||||
| " \"negotiationType\": 2" + | |||||
| "}\"") | "}\"") | ||||
| private String content; | private String content; | ||||
| /** | /** | ||||