From 6f361c2dca501b0feab855ac1f3983bbee582c9d Mon Sep 17 00:00:00 2001 From: weizhiqiang <598748873@qq.com> Date: Mon, 6 Mar 2023 20:23:31 +0800 Subject: [PATCH] =?UTF-8?q?CRM=E5=90=88=E5=90=8C=E7=AE=A1=E7=90=86?= =?UTF-8?q?=E6=89=98=E7=AE=A1=E5=88=B0=E8=A1=A8=E5=8D=95=E5=B8=83=E5=B1=80?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../contacts/controller/ContactsController.java | 14 ++++++++++++++ .../com/skyeye/attr/classenum/DsFormShowType.java | 3 ++- 2 files changed, 16 insertions(+), 1 deletion(-) diff --git a/skyeye-promote/skyeye-base-server/src/main/java/com/skyeye/contacts/controller/ContactsController.java b/skyeye-promote/skyeye-base-server/src/main/java/com/skyeye/contacts/controller/ContactsController.java index bcdb5750..aa8d47d8 100644 --- a/skyeye-promote/skyeye-base-server/src/main/java/com/skyeye/contacts/controller/ContactsController.java +++ b/skyeye-promote/skyeye-base-server/src/main/java/com/skyeye/contacts/controller/ContactsController.java @@ -72,6 +72,20 @@ public class ContactsController { contactsService.deleteById(inputObject, outputObject); } + /** + * 根据id获取联系人信息 + * + * @param inputObject 入参以及用户信息等获取对象 + * @param outputObject 出参以及提示信息的返回值对象 + */ + @ApiOperation(id = "queryContactsById", value = "根据id获取联系人信息", method = "GET", allUse = "2") + @ApiImplicitParams(value = { + @ApiImplicitParam(id = "id", name = "id", value = "主键id", required = "required")}) + @RequestMapping("/post/ContactsController/queryContactsById") + public void queryContactsById(InputObject inputObject, OutputObject outputObject) { + contactsService.selectById(inputObject, outputObject); + } + /** * 根据业务数据id获取联系人列表 * diff --git a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/attr/classenum/DsFormShowType.java b/skyeye-promote/skyeye-common/src/main/java/com/skyeye/attr/classenum/DsFormShowType.java index baa1dc76..21f33eb1 100644 --- a/skyeye-promote/skyeye-common/src/main/java/com/skyeye/attr/classenum/DsFormShowType.java +++ b/skyeye-promote/skyeye-common/src/main/java/com/skyeye/attr/classenum/DsFormShowType.java @@ -27,7 +27,8 @@ public enum DsFormShowType implements SkyeyeEnumClass { PICTURE(4, "图片展示", true, false), TABLE(5, "表格展示", true, false), VOUCHER(6, "凭证展示", true, false), - SCRIPT(7, "脚本展示", true, false); + SCRIPT(7, "脚本展示", true, false), + ID_TURN_MATION(8, "Id转Mation取值转换", true, false); private Integer key;