Browse Source

新增pr_user_project_result_ext表代码生成

dev
sunyuchao 4 years ago
parent
commit
c49d7b428d
  1. 40
      tduck-api/src/main/java/com/tduck/cloud/api/web/controller/PrUserProjectResultExtController.java
  2. 77
      tduck-project/src/main/java/com/tduck/cloud/project/entity/PrUserProjectResultExtEntity.java
  3. 33
      tduck-project/src/main/java/com/tduck/cloud/project/mapper/PrUserProjectResultExtDao.java
  4. 31
      tduck-project/src/main/java/com/tduck/cloud/project/service/PrUserProjectResultExtService.java
  5. 37
      tduck-project/src/main/java/com/tduck/cloud/project/service/impl/PrUserProjectResultExtServiceImpl.java
  6. 77
      tduck-project/src/main/java/com/tduck/cloud/project/vo/PrUserProjectResultExtDTO.java

40
tduck-api/src/main/java/com/tduck/cloud/api/web/controller/PrUserProjectResultExtController.java

@ -0,0 +1,40 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* 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.
* <p>
* 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.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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;
}

77
tduck-project/src/main/java/com/tduck/cloud/project/entity/PrUserProjectResultExtEntity.java

@ -0,0 +1,77 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* 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.
* <p>
* 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.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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<PrUserProjectResultExtEntity> {
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;
}

33
tduck-project/src/main/java/com/tduck/cloud/project/mapper/PrUserProjectResultExtDao.java

@ -0,0 +1,33 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* 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.
* <p>
* 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.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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<PrUserProjectResultExtEntity> {
}

31
tduck-project/src/main/java/com/tduck/cloud/project/service/PrUserProjectResultExtService.java

@ -0,0 +1,31 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* 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.
* <p>
* 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.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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<PrUserProjectResultExtEntity> {
}

37
tduck-project/src/main/java/com/tduck/cloud/project/service/impl/PrUserProjectResultExtServiceImpl.java

@ -0,0 +1,37 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* 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.
* <p>
* 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.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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<PrUserProjectResultExtDao, PrUserProjectResultExtEntity> implements PrUserProjectResultExtService {
}

77
tduck-project/src/main/java/com/tduck/cloud/project/vo/PrUserProjectResultExtDTO.java

@ -0,0 +1,77 @@
/**
* Copyright 2018 人人开源 https://www.renren.io
* <p>
* 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.
* <p>
* 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.
* <p>
* You should have received a copy of the GNU General Public License
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
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;
}
Loading…
Cancel
Save