Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in
Toggle navigation
Y
yifu-mvp
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
fangxinjiang
yifu-mvp
Commits
cdae664f
You need to sign in or sign up before continuing.
Commit
cdae664f
authored
Aug 08, 2022
by
zhaji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"feature-zhaJi:新增保单保费登记时的权限认证"
parent
97d94711
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
92 additions
and
42 deletions
+92
-42
InsurancesConstants.java
...lus/v1/yifu/insurances/constants/InsurancesConstants.java
+11
-1
InsuranceListParam.java
.../cloud/plus/v1/yifu/insurances/vo/InsuranceListParam.java
+6
-0
TInsuranceDetailServiceImpl.java
.../insurances/service/impl/TInsuranceDetailServiceImpl.java
+72
-41
TInsuranceDetailMapper.xml
...-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
+3
-0
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/constants/InsurancesConstants.java
View file @
cdae664f
...
@@ -564,7 +564,12 @@ public class InsurancesConstants {
...
@@ -564,7 +564,12 @@ public class InsurancesConstants {
/**
/**
* 替换项目不存在
* 替换项目不存在
*/
*/
public
static
final
String
DEPT_NO_CHANGE_IS_NOT_EXIST
=
"替换项目不存在"
;
public
static
final
String
DEPT_NO_CHANGE_NEW_IS_NOT_EXIST
=
"替换项目不存在"
;
/**
* 被替换的项目不存在
*/
public
static
final
String
DEPT_NO_CHANGE_OLD_IS_NOT_EXIST
=
"被替换的项目不存在"
;
/**
/**
...
@@ -775,5 +780,10 @@ public class InsurancesConstants {
...
@@ -775,5 +780,10 @@ public class InsurancesConstants {
*/
*/
public
static
final
String
NOT_CREATE_USER_DELETE_ERROR
=
"非创建人无法删除保单信息"
;
public
static
final
String
NOT_CREATE_USER_DELETE_ERROR
=
"非创建人无法删除保单信息"
;
/**
* 无更新当前保单信息的权限
*/
public
static
final
String
NO_UPDATE_DETAIL_JURISDICTION
=
"无更新当前保单信息的权限"
;
}
}
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/vo/InsuranceListParam.java
View file @
cdae664f
...
@@ -69,4 +69,10 @@ public class InsuranceListParam implements Serializable {
...
@@ -69,4 +69,10 @@ public class InsuranceListParam implements Serializable {
*/
*/
@Schema
(
description
=
"办理地分流sql"
)
@Schema
(
description
=
"办理地分流sql"
)
private
String
regionSql
;
private
String
regionSql
;
/**
* 保单办理人
*/
@Schema
(
description
=
"保单办理人"
)
private
String
updateBy
;
}
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceDetailServiceImpl.java
View file @
cdae664f
This diff is collapsed.
Click to expand it.
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceDetailMapper.xml
View file @
cdae664f
...
@@ -171,6 +171,9 @@
...
@@ -171,6 +171,9 @@
<if
test=
"param.regionSql != null and param.regionSql.trim() != ''"
>
<if
test=
"param.regionSql != null and param.regionSql.trim() != ''"
>
and ${param.regionSql}
and ${param.regionSql}
</if>
</if>
<if
test=
"param.updateBy != null and param.updateBy.trim() != ''"
>
and detail.UPDATE_BY = #{param.updateBy}
</if>
ORDER BY detail.BUY_HANDLE_STATUS,detail.CREATE_TIME DESC
ORDER BY detail.BUY_HANDLE_STATUS,detail.CREATE_TIME DESC
</select>
</select>
...
...
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