From c49d7b428d0f247324e1220b425ede3d97942243 Mon Sep 17 00:00:00 2001 From: sunyuchao Date: Fri, 17 Sep 2021 16:08:50 +0800 Subject: [PATCH] =?UTF-8?q?=E6=96=B0=E5=A2=9Epr=5Fuser=5Fproject=5Fresult?= =?UTF-8?q?=5Fext=E8=A1=A8=E4=BB=A3=E7=A0=81=E7=94=9F=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../PrUserProjectResultExtController.java | 40 ++++++++++ .../entity/PrUserProjectResultExtEntity.java | 77 +++++++++++++++++++ .../mapper/PrUserProjectResultExtDao.java | 33 ++++++++ .../PrUserProjectResultExtService.java | 31 ++++++++ .../PrUserProjectResultExtServiceImpl.java | 37 +++++++++ .../project/vo/PrUserProjectResultExtDTO.java | 77 +++++++++++++++++++ 6 files changed, 295 insertions(+) create mode 100644 tduck-api/src/main/java/com/tduck/cloud/api/web/controller/PrUserProjectResultExtController.java create mode 100644 tduck-project/src/main/java/com/tduck/cloud/project/entity/PrUserProjectResultExtEntity.java create mode 100644 tduck-project/src/main/java/com/tduck/cloud/project/mapper/PrUserProjectResultExtDao.java create mode 100644 tduck-project/src/main/java/com/tduck/cloud/project/service/PrUserProjectResultExtService.java create mode 100644 tduck-project/src/main/java/com/tduck/cloud/project/service/impl/PrUserProjectResultExtServiceImpl.java create mode 100644 tduck-project/src/main/java/com/tduck/cloud/project/vo/PrUserProjectResultExtDTO.java diff --git a/tduck-api/src/main/java/com/tduck/cloud/api/web/controller/PrUserProjectResultExtController.java b/tduck-api/src/main/java/com/tduck/cloud/api/web/controller/PrUserProjectResultExtController.java new file mode 100644 index 0000000..5bcfc04 --- /dev/null +++ b/tduck-api/src/main/java/com/tduck/cloud/api/web/controller/PrUserProjectResultExtController.java @@ -0,0 +1,40 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.tduck.cloud.api.web.controller; + +import com.tduck.cloud.project.service.PrUserProjectResultExtService; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RestController; + + +/** + * 填写问卷人员信息 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2021-09-17 + */ +@RestController +@RequestMapping("pruserprojectresultext") +public class PrUserProjectResultExtController { + + @Autowired + private PrUserProjectResultExtService prUserProjectResultExtService; + + +} \ No newline at end of file diff --git a/tduck-project/src/main/java/com/tduck/cloud/project/entity/PrUserProjectResultExtEntity.java b/tduck-project/src/main/java/com/tduck/cloud/project/entity/PrUserProjectResultExtEntity.java new file mode 100644 index 0000000..18abae1 --- /dev/null +++ b/tduck-project/src/main/java/com/tduck/cloud/project/entity/PrUserProjectResultExtEntity.java @@ -0,0 +1,77 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.tduck.cloud.project.entity; + +import com.baomidou.mybatisplus.annotation.TableName; +import com.tduck.cloud.common.entity.BaseEntity; +import lombok.Data; +import lombok.EqualsAndHashCode; +import lombok.experimental.Accessors; + +import java.util.Date; + +/** + * 填写问卷人员信息 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2021-09-17 + */ +@Data +@Accessors(chain = true) +@EqualsAndHashCode(callSuper=false) +@TableName("pr_user_project_result_ext") +public class PrUserProjectResultExtEntity extends BaseEntity { + + private static final long serialVersionUID = 1L; + + /** + * pr_user_project_result表主键 + */ + private String userProjectResult; + + /** + * 问卷填写人所属端【工作端:gov、居民端:resi、运营端:oper】 + */ + private String clientType; + + /** + * 填写人userId + */ + private String userId; + + /** + * 填写人姓名 + */ + private String realName; + + /** + * 人员所属类型对应Id(agencyId;deptId;gridId) + */ + private String orgId; + + /** + * 人员所属组织名【组织-组织,组织-部门,组织-网格】 + */ + private String orgName; + + /** + * 人员所属类型(组织:agency;部门:dept;网格:gridId) + */ + private String orgType; + +} diff --git a/tduck-project/src/main/java/com/tduck/cloud/project/mapper/PrUserProjectResultExtDao.java b/tduck-project/src/main/java/com/tduck/cloud/project/mapper/PrUserProjectResultExtDao.java new file mode 100644 index 0000000..d82f6f4 --- /dev/null +++ b/tduck-project/src/main/java/com/tduck/cloud/project/mapper/PrUserProjectResultExtDao.java @@ -0,0 +1,33 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.tduck.cloud.project.mapper; + +import com.baomidou.mybatisplus.core.mapper.BaseMapper; +import com.tduck.cloud.project.entity.PrUserProjectResultExtEntity; +import org.apache.ibatis.annotations.Mapper; + +/** + * 填写问卷人员信息 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2021-09-17 + */ +@Mapper +public interface PrUserProjectResultExtDao extends BaseMapper { + +} \ No newline at end of file diff --git a/tduck-project/src/main/java/com/tduck/cloud/project/service/PrUserProjectResultExtService.java b/tduck-project/src/main/java/com/tduck/cloud/project/service/PrUserProjectResultExtService.java new file mode 100644 index 0000000..1f75a74 --- /dev/null +++ b/tduck-project/src/main/java/com/tduck/cloud/project/service/PrUserProjectResultExtService.java @@ -0,0 +1,31 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.tduck.cloud.project.service; + +import com.baomidou.mybatisplus.extension.service.IService; +import com.tduck.cloud.project.entity.PrUserProjectResultExtEntity; + +/** + * 填写问卷人员信息 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2021-09-17 + */ +public interface PrUserProjectResultExtService extends IService { + +} \ No newline at end of file diff --git a/tduck-project/src/main/java/com/tduck/cloud/project/service/impl/PrUserProjectResultExtServiceImpl.java b/tduck-project/src/main/java/com/tduck/cloud/project/service/impl/PrUserProjectResultExtServiceImpl.java new file mode 100644 index 0000000..5d78753 --- /dev/null +++ b/tduck-project/src/main/java/com/tduck/cloud/project/service/impl/PrUserProjectResultExtServiceImpl.java @@ -0,0 +1,37 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.tduck.cloud.project.service.impl; + +import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl; +import com.tduck.cloud.project.entity.PrUserProjectResultExtEntity; +import com.tduck.cloud.project.mapper.PrUserProjectResultExtDao; +import com.tduck.cloud.project.service.PrUserProjectResultExtService; +import org.springframework.stereotype.Service; + +/** + * 填写问卷人员信息 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2021-09-17 + */ +@Service +public class PrUserProjectResultExtServiceImpl extends ServiceImpl implements PrUserProjectResultExtService { + + + +} \ No newline at end of file diff --git a/tduck-project/src/main/java/com/tduck/cloud/project/vo/PrUserProjectResultExtDTO.java b/tduck-project/src/main/java/com/tduck/cloud/project/vo/PrUserProjectResultExtDTO.java new file mode 100644 index 0000000..9df91c6 --- /dev/null +++ b/tduck-project/src/main/java/com/tduck/cloud/project/vo/PrUserProjectResultExtDTO.java @@ -0,0 +1,77 @@ +/** + * Copyright 2018 人人开源 https://www.renren.io + *

+ * This program is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + *

+ * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + *

+ * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package com.tduck.cloud.project.vo; + +import lombok.Data; + +import java.util.Date; + + +/** + * 填写问卷人员信息 + * + * @author generator generator@elink-cn.com + * @since v1.0.0 2021-09-17 + */ +@Data +public class PrUserProjectResultExtDTO { + + private static final long serialVersionUID = 1L; + + /** + * pr_user_project_result表主键 + */ + private String userProjectResult; + + /** + * 问卷填写人所属端【工作端:gov、居民端:resi、运营端:oper】 + */ + private String clientType; + + /** + * 填写人userId + */ + private String userId; + + /** + * 填写人姓名 + */ + private String realName; + + /** + * 人员所属类型对应Id(agencyId;deptId;gridId) + */ + private String orgId; + + /** + * 人员所属组织名【组织-组织,组织-部门,组织-网格】 + */ + private String orgName; + + /** + * 人员所属类型(组织:agency;部门:dept;网格:gridId) + */ + private String orgType; + + /** + * 版本号 + */ + private Integer revision; + + +} \ No newline at end of file