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
f53c002c
Commit
f53c002c
authored
Feb 24, 2023
by
hongguangwu
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MVP1.5.1-收入证明等
parent
5ea4e3af
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
9 additions
and
129 deletions
+9
-129
MSalaryProvaAtta.java
.../cloud/plus/v1/yifu/archives/entity/MSalaryProvaAtta.java
+0
-45
MSalaryProvaAttaMapper.java
.../plus/v1/yifu/archives/mapper/MSalaryProvaAttaMapper.java
+0
-16
MSalaryProvaAttaService.java
...lus/v1/yifu/archives/service/MSalaryProvaAttaService.java
+0
-14
MSalaryProvaAttaServiceImpl.java
...fu/archives/service/impl/MSalaryProvaAttaServiceImpl.java
+0
-18
TProveApplyServiceImpl.java
...v1/yifu/archives/service/impl/TProveApplyServiceImpl.java
+9
-9
MSalaryProvaAttaMapper.xml
...-biz/src/main/resources/mapper/MSalaryProvaAttaMapper.xml
+0
-27
No files found.
yifu-archives/yifu-archives-api/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/entity/MSalaryProvaAtta.java
deleted
100644 → 0
View file @
5ea4e3af
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
entity
;
import
com.baomidou.mybatisplus.annotation.IdType
;
import
com.baomidou.mybatisplus.annotation.TableId
;
import
com.baomidou.mybatisplus.annotation.TableName
;
import
com.baomidou.mybatisplus.extension.activerecord.Model
;
import
io.swagger.v3.oas.annotations.media.Schema
;
import
lombok.Data
;
import
lombok.EqualsAndHashCode
;
import
org.hibernate.validator.constraints.Length
;
import
javax.validation.constraints.NotBlank
;
/**
* 收入证明附件关系表
*
* @author pwang
* @date 2019-11-08 11:23:53
*/
@Data
@EqualsAndHashCode
(
callSuper
=
true
)
@TableName
(
"m_salary_prova_atta"
)
@Schema
(
description
=
"收入证明附件关系表"
)
public
class
MSalaryProvaAtta
extends
Model
<
MSalaryProvaAtta
>
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 主键
*/
@TableId
(
type
=
IdType
.
ASSIGN_ID
)
@Schema
(
description
=
"主键"
,
name
=
"id"
)
private
String
id
;
/**
* 收入证明申请id
*/
@NotBlank
(
message
=
"收入证明申请id不能为空"
)
@Length
(
max
=
32
,
message
=
"收入证明申请id不能超过32个字符"
)
private
String
salaryProvaId
;
/**
* 附件id
*/
@NotBlank
(
message
=
"附件id不能为空"
)
@Length
(
max
=
32
,
message
=
"附件id不能超过32个字符"
)
private
String
attaId
;
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/mapper/MSalaryProvaAttaMapper.java
deleted
100644 → 0
View file @
5ea4e3af
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
mapper
;
import
com.baomidou.mybatisplus.core.mapper.BaseMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.MSalaryProvaAtta
;
import
org.apache.ibatis.annotations.Mapper
;
/**
* 收入证明附件关系表
*
* @author pwang
* @date 2019-11-08 11:23:53
*/
@Mapper
public
interface
MSalaryProvaAttaMapper
extends
BaseMapper
<
MSalaryProvaAtta
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/MSalaryProvaAttaService.java
deleted
100644 → 0
View file @
5ea4e3af
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
;
import
com.baomidou.mybatisplus.extension.service.IService
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.MSalaryProvaAtta
;
/**
* 收入证明附件关系表
*
* @author pwang
* @date 2019-11-08 11:23:53
*/
public
interface
MSalaryProvaAttaService
extends
IService
<
MSalaryProvaAtta
>
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/MSalaryProvaAttaServiceImpl.java
deleted
100644 → 0
View file @
5ea4e3af
package
com
.
yifu
.
cloud
.
plus
.
v1
.
yifu
.
archives
.
service
.
impl
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.MSalaryProvaAtta
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.MSalaryProvaAttaMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.MSalaryProvaAttaService
;
import
org.springframework.stereotype.Service
;
/**
* 收入证明附件关系表
*
* @author pwang
* @date 2019-11-08 11:23:53
*/
@Service
public
class
MSalaryProvaAttaServiceImpl
extends
ServiceImpl
<
MSalaryProvaAttaMapper
,
MSalaryProvaAtta
>
implements
MSalaryProvaAttaService
{
}
yifu-archives/yifu-archives-biz/src/main/java/com/yifu/cloud/plus/v1/yifu/archives/service/impl/TProveApplyServiceImpl.java
View file @
f53c002c
...
...
@@ -4,10 +4,10 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
com.baomidou.mybatisplus.core.toolkit.Wrappers
;
import
com.baomidou.mybatisplus.extension.plugins.pagination.Page
;
import
com.baomidou.mybatisplus.extension.service.impl.ServiceImpl
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.
MSalaryProvaAtta
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.
TAttaInfo
;
import
com.yifu.cloud.plus.v1.yifu.archives.entity.TProveApply
;
import
com.yifu.cloud.plus.v1.yifu.archives.mapper.TProveApplyMapper
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.
MSalaryProvaAtta
Service
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.
TAttaInfo
Service
;
import
com.yifu.cloud.plus.v1.yifu.archives.service.TProveApplyService
;
import
com.yifu.cloud.plus.v1.yifu.common.core.constant.CommonConstants
;
import
com.yifu.cloud.plus.v1.yifu.common.core.util.Common
;
...
...
@@ -29,7 +29,7 @@ import java.util.List;
public
class
TProveApplyServiceImpl
extends
ServiceImpl
<
TProveApplyMapper
,
TProveApply
>
implements
TProveApplyService
{
@Autowired
private
MSalaryProvaAttaService
salaryProvaAtta
Service
;
private
TAttaInfoService
tAttaInfo
Service
;
/**
* 简单分页查询
...
...
@@ -66,15 +66,15 @@ public class TProveApplyServiceImpl extends ServiceImpl<TProveApplyMapper, TProv
if
(
Common
.
isNotNull
(
attaIdArray
))
{
//保存关系
List
<
MSalaryProvaAtta
>
mList
=
new
ArrayList
<>();
MSalaryProvaAtta
m
;
List
<
TAttaInfo
>
mList
=
new
ArrayList
<>();
TAttaInfo
m
;
for
(
String
id
:
attaIdArray
)
{
m
=
new
MSalaryProvaAtta
();
m
.
set
Atta
Id
(
id
);
m
.
set
SalaryProva
Id
(
proveApply
.
getId
());
m
=
new
TAttaInfo
();
m
.
setId
(
id
);
m
.
set
Domain
Id
(
proveApply
.
getId
());
mList
.
add
(
m
);
}
salaryProvaAttaService
.
saveBatch
(
mList
);
tAttaInfoService
.
updateBatchById
(
mList
);
}
return
R
.
ok
(
"操作成功!"
);
}
...
...
yifu-archives/yifu-archives-biz/src/main/resources/mapper/MSalaryProvaAttaMapper.xml
deleted
100644 → 0
View file @
5ea4e3af
<?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.archives.mapper.MSalaryProvaAttaMapper"
>
<resultMap
id=
"mSalaryProvaAttaMap"
type=
"com.yifu.cloud.plus.v1.yifu.archives.entity.MSalaryProvaAtta"
>
<id
property=
"id"
column=
"id"
/>
<result
property=
"salaryProvaId"
column=
"SALARY_PROVA_ID"
/>
<result
property=
"attaId"
column=
"ATTA_ID"
/>
</resultMap>
<sql
id=
"Base_Column_List"
>
a.id,
a.SALARY_PROVA_ID,
a.ATTA_ID
</sql>
<sql
id=
"mSalaryProvaAtta_where"
>
<if
test=
"mSalaryProvaAtta != null"
>
<if
test=
"mSalaryProvaAtta.id != null and mSalaryProvaAtta.id.trim() != ''"
>
AND a.id = #{mSalaryProvaAtta.id}
</if>
<if
test=
"mSalaryProvaAtta.salaryProvaId != null and mSalaryProvaAtta.salaryProvaId.trim() != ''"
>
AND a.SALARY_PROVA_ID = #{mSalaryProvaAtta.salaryProvaId}
</if>
<if
test=
"mSalaryProvaAtta.attaId != null and mSalaryProvaAtta.attaId.trim() != ''"
>
AND a.ATTA_ID = #{mSalaryProvaAtta.attaId}
</if>
</if>
</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