Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
8
8timerapiv200
Overview
Overview
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
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
8timerv2
8timerapiv200
Commits
0c91ae54
Commit
0c91ae54
authored
May 11, 2022
by
翁国栋
Committed by
284718418@qq.com
Mar 30, 2023
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
8小时后台--
合同页面-已签订 面试登记表详情页面 运营后台-- 企业名称重复
parent
47d19dc3
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
55 additions
and
1 deletions
+55
-1
src/main/java/cn/timer/api/bean/insure/InsureUser.java
+4
-0
src/main/java/cn/timer/api/controller/qyzx/QyzxController.java
+4
-0
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
+6
-0
src/main/java/cn/timer/api/dao/yggl/YgglAttaHtxxbMapper.java
+3
-0
src/main/java/cn/timer/api/dto/yggl/HtgkDto.java
+13
-0
src/main/resources/mapping/insure/InsureUserMapper.xml
+2
-1
src/main/resources/mapping/yggl/YgglAttaHtxxbMapper.xml
+23
-0
No files found.
src/main/java/cn/timer/api/bean/insure/InsureUser.java
View file @
0c91ae54
...
@@ -158,4 +158,8 @@ public class InsureUser extends Model<InsureUser> {
...
@@ -158,4 +158,8 @@ public class InsureUser extends Model<InsureUser> {
@ApiModelProperty
(
value
=
"批改原因"
)
@ApiModelProperty
(
value
=
"批改原因"
)
private
String
reason
;
private
String
reason
;
@ApiModelProperty
(
value
=
"批改原因"
)
private
Date
createTime
;
}
}
src/main/java/cn/timer/api/controller/qyzx/QyzxController.java
View file @
0c91ae54
...
@@ -676,6 +676,10 @@ public class QyzxController {
...
@@ -676,6 +676,10 @@ public class QyzxController {
boolean
b1
;
boolean
b1
;
if
(
q
==
null
)
{
if
(
q
==
null
)
{
try
{
try
{
QyzxEntInfoM
gsif
=
QyzxEntInfoM
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
QyzxEntInfoM
>().
lambda
().
eq
(
QyzxEntInfoM:
:
getName
,
qyzxEntInfoM
.
getName
()));
if
(
gsif
!=
null
){
return
ResultUtil
.
error
(
"企业名称已存在"
);
}
qyzxEntInfoM
.
setRegisterTime
(
new
Date
());
qyzxEntInfoM
.
setRegisterTime
(
new
Date
());
QyzxEmpLogin
login
=
new
LambdaQueryChainWrapper
<
QyzxEmpLogin
>(
qyzxEmpLoginMapper
)
QyzxEmpLogin
login
=
new
LambdaQueryChainWrapper
<
QyzxEmpLogin
>(
qyzxEmpLoginMapper
)
.
eq
(!
StrUtil
.
hasBlank
(
qyzxEntInfoM
.
getPhone
()),
QyzxEmpLogin:
:
getPhone
,
qyzxEntInfoM
.
getPhone
()).
one
();
.
eq
(!
StrUtil
.
hasBlank
(
qyzxEntInfoM
.
getPhone
()),
QyzxEmpLogin:
:
getPhone
,
qyzxEntInfoM
.
getPhone
()).
one
();
...
...
src/main/java/cn/timer/api/controller/zpgl/ZpglController.java
View file @
0c91ae54
...
@@ -518,6 +518,11 @@ public class ZpglController {
...
@@ -518,6 +518,11 @@ public class ZpglController {
new
QueryWrapper
<
ZpglRcxxTrain
>().
lambda
().
eq
(
ZpglRcxxTrain:
:
getZpglRcxxId
,
zpglRcxxId
)
new
QueryWrapper
<
ZpglRcxxTrain
>().
lambda
().
eq
(
ZpglRcxxTrain:
:
getZpglRcxxId
,
zpglRcxxId
)
.
eq
(
ZpglRcxxTrain:
:
getIsDelete
,
0
).
orderByDesc
(
ZpglRcxxTrain:
:
getEndTime
)
.
eq
(
ZpglRcxxTrain:
:
getIsDelete
,
0
).
orderByDesc
(
ZpglRcxxTrain:
:
getEndTime
)
);
);
// 家庭资料
List
<
ZpglRcxxJtzl
>
zpglRcxxJtzls
=
ZpglRcxxJtzl
.
builder
().
build
().
selectList
(
new
QueryWrapper
<
ZpglRcxxJtzl
>().
lambda
().
eq
(
ZpglRcxxJtzl:
:
getZpglRcxxId
,
zpglRcxxId
)
.
eq
(
ZpglRcxxJtzl:
:
getIsDelete
,
0
).
orderByDesc
(
ZpglRcxxJtzl:
:
getCreateTime
)
);
// FPA性格测评数据
// FPA性格测评数据
ZpglDtk
zpglDtk
=
ZpglDtk
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
ZpglDtk
>().
lambda
().
eq
(
ZpglDtk:
:
getZpglRcxxId
,
zpglRcxxId
));
ZpglDtk
zpglDtk
=
ZpglDtk
.
builder
().
build
().
selectOne
(
new
QueryWrapper
<
ZpglDtk
>().
lambda
().
eq
(
ZpglDtk:
:
getZpglRcxxId
,
zpglRcxxId
));
...
@@ -533,6 +538,7 @@ public class ZpglController {
...
@@ -533,6 +538,7 @@ public class ZpglController {
map
.
put
(
"zpglRcxxTrains"
,
zpglRcxxTrains
);
map
.
put
(
"zpglRcxxTrains"
,
zpglRcxxTrains
);
map
.
put
(
"zpglDtk"
,
zpglDtk
);
map
.
put
(
"zpglDtk"
,
zpglDtk
);
map
.
put
(
"zpglRcxxOffer"
,
zpglRcxxOffer
);
map
.
put
(
"zpglRcxxOffer"
,
zpglRcxxOffer
);
map
.
put
(
"zpglRcxxJtzls"
,
zpglRcxxJtzls
);
return
ResultUtil
.
data
(
map
,
"搜索成功"
);
return
ResultUtil
.
data
(
map
,
"搜索成功"
);
}
catch
(
Exception
e
)
{
}
catch
(
Exception
e
)
{
...
...
src/main/java/cn/timer/api/dao/yggl/YgglAttaHtxxbMapper.java
View file @
0c91ae54
package
cn
.
timer
.
api
.
dao
.
yggl
;
package
cn
.
timer
.
api
.
dao
.
yggl
;
import
cn.timer.api.dto.yggl.HtgkDto
;
import
cn.timer.api.dto.yggl.HtgkDto
;
import
io.swagger.models.auth.In
;
import
org.apache.ibatis.annotations.Param
;
import
org.apache.ibatis.annotations.Param
;
import
org.springframework.stereotype.Repository
;
import
org.springframework.stereotype.Repository
;
...
@@ -18,6 +19,8 @@ public interface YgglAttaHtxxbMapper extends BaseMapper<YgglAttaHtxxb> {
...
@@ -18,6 +19,8 @@ public interface YgglAttaHtxxbMapper extends BaseMapper<YgglAttaHtxxb> {
List
<
HtgkDto
>
queryContract
(
@Param
(
"orgCode"
)
Integer
orgCode
);
List
<
HtgkDto
>
queryContract
(
@Param
(
"orgCode"
)
Integer
orgCode
);
List
<
HtgkDto
>
selectListByType
(
@Param
(
"type"
)
Integer
type
);
}
}
src/main/java/cn/timer/api/dto/yggl/HtgkDto.java
View file @
0c91ae54
...
@@ -29,4 +29,17 @@ public class HtgkDto implements Serializable{
...
@@ -29,4 +29,17 @@ public class HtgkDto implements Serializable{
@ApiModelProperty
(
value
=
"合同签约公司"
,
example
=
"合同签约公司"
)
@ApiModelProperty
(
value
=
"合同签约公司"
,
example
=
"合同签约公司"
)
private
String
companyName
;
private
String
companyName
;
@ApiModelProperty
(
value
=
"id"
,
example
=
"合同签约公司"
)
private
Integer
id
;
private
String
userName
;
private
String
headUrl
;
private
String
deptName
;
private
Integer
jobType
;
private
String
htId
;
private
Integer
type
;
private
Integer
status
;
private
Integer
htqx
;
private
Date
statTime
;
private
Date
endTime
;
private
Integer
empNum
;
}
}
src/main/resources/mapping/insure/InsureUserMapper.xml
View file @
0c91ae54
...
@@ -312,10 +312,11 @@
...
@@ -312,10 +312,11 @@
and iu.insure_status = #{policyDto.status}
and iu.insure_status = #{policyDto.status}
</if>
</if>
</where>
</where>
order by iu.policy_date_start desc
<if
test=
"policyDto.page.offset != null and policyDto.page.totalPage !=null"
>
<if
test=
"policyDto.page.offset != null and policyDto.page.totalPage !=null"
>
LIMIT #{policyDto.page.offset},#{policyDto.page.totalPage}
LIMIT #{policyDto.page.offset},#{policyDto.page.totalPage}
</if>
</if>
order by iu.policy_date_start desc
</select>
</select>
<select
id=
"totalUser"
resultType=
"java.lang.Integer"
>
<select
id=
"totalUser"
resultType=
"java.lang.Integer"
>
...
...
src/main/resources/mapping/yggl/YgglAttaHtxxbMapper.xml
View file @
0c91ae54
...
@@ -167,4 +167,27 @@
...
@@ -167,4 +167,27 @@
FROM `zpgl_company` zc
FROM `zpgl_company` zc
</select>
</select>
<select
id=
"selectListByType"
resultType=
"cn.timer.api.dto.yggl.HtgkDto"
>
SELECT
yh.id as id,
yh.emp_num as empNum,
ye.name as userName,
ye.head_url as headUrl,
zm.name as deptName,
ye.job_type as jobType,
yh.ht_id as htId,
yh.type as type,
zc.company_name as companyName,
yh.status as status,
yh.htqx as htqx,
yh.start_time as statTime,
yh.end_time as endTime
FROM
yggl_atta_htxxb yh
LEFT JOIN yggl_main_emp ye ON ( ye.emp_num = yh.emp_num AND ye.org_code = yh.org_code )
LEFT JOIN zzgl_bmgw_m zm ON zm.id = ye.bmgw_id
LEFT JOIN zpgl_company zc ON zc.id = yh.htqygs
where yh.jc_status = #{type}
</select>
</mapper>
</mapper>
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