Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
H
hroToOA
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
private-group
hroToOA
Commits
01c79af6
Commit
01c79af6
authored
Mar 23, 2021
by
李志平
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.2haohro.com/private-group/hrotooa
parents
b93952d0
79537a3e
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
244 additions
and
164 deletions
+244
-164
Application.java
src/main/java/com/dianmi/Application.java
+2
-0
CustProjectController.java
...ain/java/com/dianmi/controller/CustProjectController.java
+8
-0
CustProject.java
src/main/java/com/dianmi/entity/CustProject.java
+163
-163
CustProjectMapper.xml
src/main/java/com/dianmi/mapper/CustProjectMapper.xml
+70
-0
bootstrap.yml
src/main/resources/bootstrap.yml
+1
-1
No files found.
src/main/java/com/dianmi/Application.java
View file @
01c79af6
package
com
.
dianmi
;
import
org.mybatis.spring.annotation.MapperScan
;
import
org.springframework.boot.SpringApplication
;
import
org.springframework.boot.autoconfigure.SpringBootApplication
;
import
org.springframework.cloud.client.discovery.EnableDiscoveryClient
;
@EnableDiscoveryClient
@SpringBootApplication
@MapperScan
(
"com.dianmi.mapper"
)
public
class
Application
{
public
static
void
main
(
String
[]
args
)
{
...
...
src/main/java/com/dianmi/controller/CustProjectController.java
View file @
01c79af6
package
com
.
dianmi
.
controller
;
import
com.dianmi.entity.CustProject
;
import
com.dianmi.interfaces.CustProjectService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.stereotype.Controller
;
import
java.util.List
;
/**
* <p>
* 项目表 前端控制器
...
...
@@ -18,9 +23,12 @@ import org.springframework.stereotype.Controller;
@RequestMapping
(
"/cust-project"
)
public
class
CustProjectController
{
@Autowired
private
CustProjectService
custProjectService
;
@GetMapping
(
"/getProjectList"
)
public
String
getActionTest
()
{
List
<
CustProject
>
list
=
custProjectService
.
list
();
System
.
out
.
println
(
"getActionTest---"
);
return
"getActionTest"
;
}
...
...
src/main/java/com/dianmi/entity/CustProject.java
View file @
01c79af6
...
...
@@ -25,169 +25,169 @@ public class CustProject extends Model<CustProject> {
*/
private
String
id
;
/**
* 客户ID
*/
private
Lo
ng
customerId
;
/**
* 父项目ID
*/
private
Long
parentId
;
/**
* 签约工单ID
*/
private
Long
woId
;
/**
* 项目负责人账号(父项目才有)
*/
private
String
managerAccount
;
/**
* 项目负责人名称(父项目才有)
*/
private
String
managerName
;
/**
* 项目名称
*/
private
String
projectName
;
/**
* 项目编码
*/
private
String
projectCode
;
/**
* 产品类型编码
*/
private
String
businessTypeCode
;
/**
* 产品类型名称
*/
private
String
businessTypeName
;
/**
* 签约公司ID
*/
private
Integer
signCompanyId
;
/**
* 签约公司
*/
private
String
signCompanyName
;
/**
* 是否排他
*/
private
String
isExclusive
;
/**
* 是否排他说明
*/
private
String
exclusiveDescription
;
/**
* NC编码
*/
private
String
ncCode
;
/**
* 子项目接口人
*/
private
String
interfaceMan
;
/**
* 子项目接口人属地
*/
private
String
interfaceManTerritory
;
private
String
interfaceManCity
;
private
String
interfaceManProvince
;
/**
* 子项目接口人联系电话
*/
private
String
interfaceManPhone
;
/**
* 子项目接口人邮箱
*/
private
String
interfaceManEmail
;
/**
* 其他备注
*/
private
String
remark
;
/**
* 是否需要招聘
*/
private
String
ifNeedRecruitment
;
/**
* 招聘方
*/
private
String
recruiter
;
/**
* 服务状态
*/
private
Boolean
serviceStatus
;
/**
* e家银工资自动到卡
*/
private
Boolean
ejyWageAutoCard
;
/**
* 数据来源
*/
private
String
dataSource
;
/**
* 服务方式
*/
private
String
serviceMode
;
/**
* 服务地点-省份
*/
private
String
serviceProvince
;
/**
* 服务地点-城市
*/
private
String
serviceCity
;
/**
* 大区code
*/
private
String
areaCode
;
/**
* 税率
*/
private
String
taxRate
;
/**
* 创建时间
*/
private
LocalDateTime
createTime
;
/**
* 更新时间
*/
private
LocalDateTime
updateTime
;
/**
* 销售过程ID
*/
private
String
custSaleProcessId
;
//
/**
//
* 客户ID
//
*/
// private Stri
ng customerId;
//
//
/**
//
* 父项目ID
//
*/
//
private Long parentId;
//
//
/**
//
* 签约工单ID
//
*/
//
private Long woId;
//
//
/**
//
* 项目负责人账号(父项目才有)
//
*/
//
private String managerAccount;
//
//
/**
//
* 项目负责人名称(父项目才有)
//
*/
//
private String managerName;
//
//
/**
//
* 项目名称
//
*/
//
private String projectName;
//
//
/**
//
* 项目编码
//
*/
//
private String projectCode;
//
//
/**
//
* 产品类型编码
//
*/
//
private String businessTypeCode;
//
//
/**
//
* 产品类型名称
//
*/
//
private String businessTypeName;
//
//
/**
//
* 签约公司ID
//
*/
//
private Integer signCompanyId;
//
//
/**
//
* 签约公司
//
*/
//
private String signCompanyName;
//
//
/**
//
* 是否排他
//
*/
//
private String isExclusive;
//
//
/**
//
* 是否排他说明
//
*/
//
private String exclusiveDescription;
//
//
/**
//
* NC编码
//
*/
//
private String ncCode;
//
//
/**
//
* 子项目接口人
//
*/
//
private String interfaceMan;
//
//
/**
//
* 子项目接口人属地
//
*/
//
private String interfaceManTerritory;
//
//
private String interfaceManCity;
//
//
private String interfaceManProvince;
//
//
/**
//
* 子项目接口人联系电话
//
*/
//
private String interfaceManPhone;
//
//
/**
//
* 子项目接口人邮箱
//
*/
//
private String interfaceManEmail;
//
//
/**
//
* 其他备注
//
*/
//
private String remark;
//
//
/**
//
* 是否需要招聘
//
*/
//
private String ifNeedRecruitment;
//
//
/**
//
* 招聘方
//
*/
//
private String recruiter;
//
//
/**
//
* 服务状态
//
*/
//
private Boolean serviceStatus;
//
//
/**
//
* e家银工资自动到卡
//
*/
//
private Boolean ejyWageAutoCard;
//
//
/**
//
* 数据来源
//
*/
//
private String dataSource;
//
//
/**
//
* 服务方式
//
*/
//
private String serviceMode;
//
//
/**
//
* 服务地点-省份
//
*/
//
private String serviceProvince;
//
//
/**
//
* 服务地点-城市
//
*/
//
private String serviceCity;
//
//
/**
//
* 大区code
//
*/
//
private String areaCode;
//
//
/**
//
* 税率
//
*/
//
private String taxRate;
//
//
/**
//
* 创建时间
//
*/
//
private LocalDateTime createTime;
//
//
/**
//
* 更新时间
//
*/
//
private LocalDateTime updateTime;
//
//
/**
//
* 销售过程ID
//
*/
//
private String custSaleProcessId;
@Override
...
...
src/main/java/com/dianmi/mapper/CustProjectMapper.xml
0 → 100644
View file @
01c79af6
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.dianmi.mapper.CustProjectMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.dianmi.entity.CustProject"
>
<id
column=
"id"
property=
"id"
/>
<!-- <result column="customer_id" property="customerId"/>-->
<!-- <result column="parent_id" property="parentId"/>-->
<!-- <result column="wo_id" property="woId"/>-->
<!-- <result column="project_name" property="projectName"/>-->
<!-- <result column="project_code" property="projectCode"/>-->
<!-- <result column="business_type_name" property="businessTypeName"/>-->
<!-- <result column="business_type_code" property="businessTypeCode"/>-->
<!-- <result column="sign_company_id" property="signCompanyId"/>-->
<!-- <result column="sign_company_name" property="signCompanyName"/>-->
<!-- <result column="is_exclusive" property="isExclusive"/>-->
<!-- <result column="exclusive_description" property="exclusiveDescription"/>-->
<!-- <result column="nc_code" property="ncCode"/>-->
<!-- <result column="interface_man" property="interfaceMan"/>-->
<!-- <result column="interface_man_territory" property="interfaceManTerritory"/>-->
<!-- <result column="interface_man_phone" property="interfaceManPhone"/>-->
<!-- <result column="interface_man_email" property="interfaceManEmail"/>-->
<!-- <result column="remark" property="remark"/>-->
<!-- <result column="if_need_recruitment" property="ifNeedRecruitment"/>-->
<!-- <result column="recruiter" property="recruiter"/>-->
<!-- <result column="service_status" property="serviceStatus"/>-->
<!-- <result column="ejy_wage_auto_card" property="ejyWageAutoCard"/>-->
<!-- <result column="data_source" property="dataSource"/>-->
<!-- <result column="service_mode" property="serviceMode"/>-->
<!-- <result column="service_province" property="serviceProvince"/>-->
<!-- <result column="service_city" property="serviceCity"/>-->
<!-- <result column="tax_rate" property="taxRate"/>-->
<!-- <result column="create_time" property="createTime"/>-->
<!-- <result column="update_time" property="updateTime"/>-->
</resultMap>
<sql
id=
"Base_Column_List"
>
id,
customer_id,
parent_id,
wo_id,
project_name,
project_code,
business_type_name,
business_type_code,
sign_company_id,
sign_company_name,
is_exclusive,
exclusive_description,
nc_code,
interface_man,
interface_man_territory,
interface_man_phone,
interface_man_email,
remark,
if_need_recruitment,
recruiter,
service_status,
ejy_wage_auto_card,
data_source,
service_mode,
service_province,
service_city,
tax_rate,
create_time,
update_time
</sql>
</mapper>
src/main/resources/bootstrap.yml
View file @
01c79af6
...
...
@@ -5,7 +5,7 @@ server:
#spring配置
spring
:
application
:
name
:
hro-to-oa
name
:
crm-service
cloud
:
nacos
:
discovery
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment