Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
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
d32dedac
Commit
d32dedac
authored
Aug 01, 2022
by
zhaji
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
"feature-zhaJi:新增结算信息作废类及操作层代码"
parent
65cc1230
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
260 additions
and
3 deletions
+260
-3
TInsuranceSettleCancel.java
...lus/v1/yifu/insurances/entity/TInsuranceSettleCancel.java
+183
-0
TInsuranceSettleCancelMapper.java
.../yifu/insurances/mapper/TInsuranceSettleCancelMapper.java
+17
-0
TInsuranceSettleCancelService.java
...ifu/insurances/service/TInsuranceSettleCancelService.java
+13
-0
TInsuranceCompanyServiceImpl.java
...insurances/service/impl/TInsuranceCompanyServiceImpl.java
+5
-3
TInsuranceSettleCancelServiceImpl.java
...ances/service/impl/TInsuranceSettleCancelServiceImpl.java
+18
-0
TInsuranceSettleCancelMapper.xml
...rc/main/resources/mapper/TInsuranceSettleCancelMapper.xml
+24
-0
No files found.
yifu-insurances/yifu-insurances-api/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/entity/TInsuranceSettleCancel.java
0 → 100644
View file @
d32dedac
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
entity
;
import
java.io.Serializable
;
import
java.util.Date
;
/**
* 结算信息作废记录表(用于记录项目变更导致推信息送至EKP)
* @TableName t_insurance_settle_cancel
*/
public
class
TInsuranceSettleCancel
implements
Serializable
{
/**
*
*/
private
String
id
;
/**
* 结算明细id
*/
private
String
insDetailId
;
/**
* 结算信息表id
*/
private
String
settleId
;
/**
* 项目编码
*/
private
String
deptNo
;
/**
* 项目名称
*/
private
String
deptName
;
/**
* 订单编号
*/
private
String
orderNo
;
/**
* 推送标识 1成功 0失败
*/
private
Integer
isCancelPush
;
/**
* 创建时间
*/
private
Date
createTime
;
/**
* 操作人
*/
private
String
createUesr
;
private
static
final
long
serialVersionUID
=
1L
;
/**
*
*/
public
String
getId
()
{
return
id
;
}
/**
*
*/
public
void
setId
(
String
id
)
{
this
.
id
=
id
;
}
/**
* 结算明细id
*/
public
String
getInsDetailId
()
{
return
insDetailId
;
}
/**
* 结算明细id
*/
public
void
setInsDetailId
(
String
insDetailId
)
{
this
.
insDetailId
=
insDetailId
;
}
/**
* 结算信息表id
*/
public
String
getSettleId
()
{
return
settleId
;
}
/**
* 结算信息表id
*/
public
void
setSettleId
(
String
settleId
)
{
this
.
settleId
=
settleId
;
}
/**
* 项目编码
*/
public
String
getDeptNo
()
{
return
deptNo
;
}
/**
* 项目编码
*/
public
void
setDeptNo
(
String
deptNo
)
{
this
.
deptNo
=
deptNo
;
}
/**
* 项目名称
*/
public
String
getDeptName
()
{
return
deptName
;
}
/**
* 项目名称
*/
public
void
setDeptName
(
String
deptName
)
{
this
.
deptName
=
deptName
;
}
/**
* 订单编号
*/
public
String
getOrderNo
()
{
return
orderNo
;
}
/**
* 订单编号
*/
public
void
setOrderNo
(
String
orderNo
)
{
this
.
orderNo
=
orderNo
;
}
/**
* 推送标识 1成功 0失败
*/
public
Integer
getIsCancelPush
()
{
return
isCancelPush
;
}
/**
* 推送标识 1成功 0失败
*/
public
void
setIsCancelPush
(
Integer
isCancelPush
)
{
this
.
isCancelPush
=
isCancelPush
;
}
/**
* 创建时间
*/
public
Date
getCreateTime
()
{
return
createTime
;
}
/**
* 创建时间
*/
public
void
setCreateTime
(
Date
createTime
)
{
this
.
createTime
=
createTime
;
}
/**
* 操作人
*/
public
String
getCreateUesr
()
{
return
createUesr
;
}
/**
* 操作人
*/
public
void
setCreateUesr
(
String
createUesr
)
{
this
.
createUesr
=
createUesr
;
}
}
\ No newline at end of file
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/mapper/TInsuranceSettleCancelMapper.java
0 → 100644
View file @
d32dedac
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettleCancel
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* @author Administrator
* @description 针对表【t_insurance_settle_cancel(结算信息作废记录表(用于记录项目变更导致推信息送至EKP))】的数据库操作Mapper
* @createDate 2022-08-01 11:37:54
* @Entity generator.domain.TInsuranceSettleCancel
*/
@Mapper
public
interface
TInsuranceSettleCancelMapper
extends
BaseMapper
<
TInsuranceSettleCancel
>
{
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/TInsuranceSettleCancelService.java
0 → 100644
View file @
d32dedac
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettleCancel
;
/**
* @author Administrator
* @description 针对表【t_insurance_settle_cancel(结算信息作废记录表(用于记录项目变更导致推信息送至EKP))】的数据库操作Service
* @createDate 2022-08-01 11:37:54
*/
public
interface
TInsuranceSettleCancelService
extends
IService
<
TInsuranceSettleCancel
>
{
}
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceCompanyServiceImpl.java
View file @
d32dedac
...
@@ -124,7 +124,7 @@ public class TInsuranceCompanyServiceImpl extends ServiceImpl<TInsuranceCompanyM
...
@@ -124,7 +124,7 @@ public class TInsuranceCompanyServiceImpl extends ServiceImpl<TInsuranceCompanyM
String
companyName
=
one
.
getCompanyName
();
String
companyName
=
one
.
getCompanyName
();
String
newCompanyName
=
insuranceCompany
.
getCompanyName
();
String
newCompanyName
=
insuranceCompany
.
getCompanyName
();
if
(!
ValidityUtil
.
validate60
(
newCompanyName
)){
if
(!
ValidityUtil
.
validate60
(
newCompanyName
)){
return
R
.
failed
(
"要修改的保险公司名称
过长
"
);
return
R
.
failed
(
"要修改的保险公司名称
格式不正确
"
);
}
}
//如果当前保险公司名称和修改后的名称不同
//如果当前保险公司名称和修改后的名称不同
if
(!
companyName
.
equals
(
insuranceCompany
.
getCompanyName
())){
if
(!
companyName
.
equals
(
insuranceCompany
.
getCompanyName
())){
...
@@ -139,9 +139,11 @@ public class TInsuranceCompanyServiceImpl extends ServiceImpl<TInsuranceCompanyM
...
@@ -139,9 +139,11 @@ public class TInsuranceCompanyServiceImpl extends ServiceImpl<TInsuranceCompanyM
//校验新的保险公司名称在数据库中是否存在
//校验新的保险公司名称在数据库中是否存在
boolean
b
=
companyIsExists
(
insuranceCompany
.
getCompanyName
());
boolean
b
=
companyIsExists
(
insuranceCompany
.
getCompanyName
());
if
(
b
){
if
(
b
){
return
R
.
failed
(
"
当前保险公司名称已存在
"
);
return
R
.
failed
(
"
保险公司名称不能重复
"
);
}
else
{
}
else
{
return
R
.
ok
(
updateById
(
insuranceCompany
));
updateById
(
insuranceCompany
);
addOperate
(
insuranceCompany
,
user
,
InsurancesConstants
.
NEW_INSURANCE_COMPANY
);
return
R
.
ok
(
"修改保险信息公司成功"
);
}
}
}
}
}
else
{
}
else
{
...
...
yifu-insurances/yifu-insurances-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/insurances/service/impl/TInsuranceSettleCancelServiceImpl.java
0 → 100644
View file @
d32dedac
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
insurances
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettleCancel
;
import
com.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceSettleCancelMapper
;
import
com.yifu.cloud.plus.v1.yifu.insurances.service.TInsuranceSettleCancelService
;
import
org.springframework.stereotype.Service
;
/**
* @author Administrator
* @description 针对表【t_insurance_settle_cancel(结算信息作废记录表(用于记录项目变更导致推信息送至EKP))】的数据库操作Service实现
* @createDate 2022-08-01 11:37:54
*/
@Service
public
class
TInsuranceSettleCancelServiceImpl
extends
ServiceImpl
<
TInsuranceSettleCancelMapper
,
TInsuranceSettleCancel
>
implements
TInsuranceSettleCancelService
{
}
yifu-insurances/yifu-insurances-biz/src/main/resources/mapper/TInsuranceSettleCancelMapper.xml
0 → 100644
View file @
d32dedac
<?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.yifu.cloud.plus.v1.yifu.insurances.mapper.TInsuranceSettleCancelMapper"
>
<resultMap
id=
"BaseResultMap"
type=
"com.yifu.cloud.plus.v1.yifu.insurances.entity.TInsuranceSettleCancel"
>
<id
property=
"id"
column=
"ID"
jdbcType=
"VARCHAR"
/>
<result
property=
"insDetailId"
column=
"INS_DETAIL_ID"
jdbcType=
"VARCHAR"
/>
<result
property=
"settleId"
column=
"SETTLE_ID"
jdbcType=
"VARCHAR"
/>
<result
property=
"deptNo"
column=
"DEPT_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"deptName"
column=
"DEPT_NAME"
jdbcType=
"VARCHAR"
/>
<result
property=
"orderNo"
column=
"ORDER_NO"
jdbcType=
"VARCHAR"
/>
<result
property=
"isCancelPush"
column=
"IS_CANCEL_PUSH"
jdbcType=
"TINYINT"
/>
<result
property=
"createTime"
column=
"CREATE_TIME"
jdbcType=
"TIMESTAMP"
/>
<result
property=
"createUesr"
column=
"CREATE_UESR"
jdbcType=
"VARCHAR"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
ID,INS_DETAIL_ID,SETTLE_ID,
DEPT_NO,DEPT_NAME,ORDER_NO,
IS_CANCEL_PUSH,CREATE_TIME,CREATE_UESR
</sql>
</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