Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
Q
qianhe-ydsj
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
jiangyun
qianhe-ydsj
Commits
c18a616f
Commit
c18a616f
authored
Mar 24, 2026
by
MMF
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
MMF 2026-03-24 项目抽检模块新增zsrwid
parent
c242dac1
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
48 additions
and
1 deletions
+48
-1
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/domain/ZqczXmRyLsjl.java
+21
-1
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/domain/ZqczXmRyLsjlQuery.java
+4
-0
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/domain/ZqczXmRyLsjlVo.java
+5
-0
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/mapper/ZqczXmRyLsjlMapper.java
+5
-0
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/service/impl/ZqczXmRyLsjlServiceImpl.java
+0
-0
qianhe-ydsj/src/main/resources/mapper/zqcz/xmrylsjl/ZqczXmRyLsjlMapper.xml
+13
-0
No files found.
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/domain/ZqczXmRyLsjl.java
View file @
c18a616f
...
...
@@ -27,6 +27,10 @@ public class ZqczXmRyLsjl extends BaseEntity {
*/
private
Long
xmryid
;
/**
* 基层任务ID:关联zqcz_zsrw.zsrwid
*/
private
Long
zsrwid
;
/**
* 基层任务ID:关联zqcz_jcrw.jcrwid
*/
private
Long
jcrwid
;
...
...
@@ -101,7 +105,8 @@ public class ZqczXmRyLsjl extends BaseEntity {
*/
private
String
yl5
;
public
ZqczXmRyLsjl
(
Long
jcrwid
,
Long
jcdwid
,
ZqczRyxxVo
ryxxVo
,
ZqczXmglVo
xmglVo
)
{
public
ZqczXmRyLsjl
(
Long
zsrwid
,
Long
jcrwid
,
Long
jcdwid
,
ZqczRyxxVo
ryxxVo
,
ZqczXmglVo
xmglVo
)
{
this
.
zsrwid
=
zsrwid
;
this
.
jcrwid
=
jcrwid
;
this
.
jcdwid
=
jcdwid
;
this
.
xmmc
=
xmglVo
.
getXmmc
();
...
...
@@ -114,4 +119,19 @@ public class ZqczXmRyLsjl extends BaseEntity {
this
.
update_by
=
SecurityUtils
.
getLoginUser
().
getUsername
();
this
.
create_time
=
new
Date
();
}
public
ZqczXmRyLsjl
(
Long
zsrwid
,
Long
jcrwid
,
Long
jcdwid
,
ZqczXmglVo
bzhczXmglVo
,
String
dwmc
,
String
rymc
){
this
.
zsrwid
=
zsrwid
;
this
.
jcrwid
=
jcrwid
;
this
.
jcdwid
=
jcdwid
;
this
.
xmmc
=
bzhczXmglVo
.
getXmmc
();
this
.
xmzy
=
bzhczXmglVo
.
getXmzy
();
this
.
xmlb
=
bzhczXmglVo
.
getXmlb
();
this
.
gzcj
=
bzhczXmglVo
.
getGzcj
();
this
.
rymc
=
rymc
;
this
.
dwmc
=
dwmc
;
this
.
create_by
=
SecurityUtils
.
getLoginUser
().
getUsername
();
this
.
update_by
=
SecurityUtils
.
getLoginUser
().
getUsername
();
this
.
create_time
=
new
Date
();
}
}
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/domain/ZqczXmRyLsjlQuery.java
View file @
c18a616f
...
...
@@ -19,6 +19,10 @@ import java.util.Date;
public
class
ZqczXmRyLsjlQuery
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/**
* 基层任务ID:关联zqcz_zsrw.zsrwid
*/
private
Long
zsrwid
;
/**
* 基层任务ID:关联 zqcz_jcrw.jcrwid
*/
private
Long
jcrwid
;
...
...
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/domain/ZqczXmRyLsjlVo.java
View file @
c18a616f
...
...
@@ -26,6 +26,11 @@ public class ZqczXmRyLsjlVo implements Serializable {
private
Long
xmryid
;
/**
* 基层任务ID:关联zqcz_zsrw.zsrwid
*/
private
Long
zsrwid
;
/**
* 基层任务ID:关联zqcz_jcrw.jcrwid
*/
private
Long
jcrwid
;
...
...
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/mapper/ZqczXmRyLsjlMapper.java
View file @
c18a616f
...
...
@@ -46,4 +46,9 @@ public interface ZqczXmRyLsjlMapper {
*/
int
deleteByJcrwid
(
@Param
(
"jcrwid"
)
Long
jcrwid
);
/**
* 根据直属任务ID 删除
*/
int
deleteByZsrwid
(
@Param
(
"zsrwid"
)
Long
zsrwid
);
}
qianhe-ydsj/src/main/java/com/qianhe/zqcz/xmrylsjl/service/impl/ZqczXmRyLsjlServiceImpl.java
View file @
c18a616f
This diff is collapsed.
Click to expand it.
qianhe-ydsj/src/main/resources/mapper/zqcz/xmrylsjl/ZqczXmRyLsjlMapper.xml
View file @
c18a616f
...
...
@@ -6,6 +6,7 @@
<!-- 返回实体 -->
<resultMap
id=
"ZqczXmRyLsjlResult"
type=
"com.qianhe.zqcz.xmrylsjl.domain.ZqczXmRyLsjlVo"
>
<result
property=
"xmryid"
column=
"XMRYID"
/>
<result
property=
"zsrwid"
column=
"ZSRWID"
/>
<result
property=
"jcrwid"
column=
"JCRWID"
/>
<result
property=
"xmmc"
column=
"XMMC"
/>
<result
property=
"xmlb"
column=
"XMLB"
/>
...
...
@@ -18,6 +19,7 @@
<sql
id=
"selectCommon"
>
SELECT
lsjl.XMRYID,
lsjl.ZSRWID,
lsjl.JCRWID,
lsjl.XMMC,
lsjl.XMLB,
...
...
@@ -34,6 +36,7 @@
<select
id=
"list"
parameterType=
"com.qianhe.zqcz.xmrylsjl.domain.ZqczXmRyLsjlQuery"
resultMap=
"ZqczXmRyLsjlResult"
>
<include
refid=
"selectCommon"
></include>
<where>
<if
test=
"zsrwid != null "
>
AND lsjl.ZSRWID = #{zsrwid}
</if>
<if
test=
"jcrwid != null "
>
AND lsjl.JCRWID = #{jcrwid}
</if>
</where>
ORDER BY lsjl.xmlb
...
...
@@ -47,6 +50,7 @@
INSERT INTO zqcz_xm_ry_lsjl
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"xmryid != null "
>
XMRYID,
</if>
<if
test=
"zsrwid != null "
>
ZSRWID,
</if>
<if
test=
"jcrwid != null "
>
JCRWID,
</if>
<if
test=
"jcdwid != null"
>
JCDWID,
</if>
<if
test=
"xmmc != null and xmmc != ''"
>
XMMC,
</if>
...
...
@@ -68,6 +72,7 @@
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"xmryid != null"
>
#{xmryid},
</if>
<if
test=
"zsrwid != null "
>
#{zsrwid},
</if>
<if
test=
"jcrwid != null"
>
#{jcrwid},
</if>
<if
test=
"jcdwid != null"
>
#{jcdwid},
</if>
<if
test=
"xmmc != null and xmmc != ''"
>
#{xmmc},
</if>
...
...
@@ -92,6 +97,7 @@
<update
id=
"edit"
parameterType=
"ZqczXmRyLsjl"
>
UPDATE zqcz_xm_ry_lsjl
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"zsrwid != null"
>
ZSRWID = #{zsrwid},
</if>
<if
test=
"jcrwid != null"
>
JCRWID = #{jcrwid},
</if>
<if
test=
"jcdwid != null"
>
JCDWID = #{jcdwid},
</if>
<if
test=
"xmmc != null and xmmc != ''"
>
XMMC = #{xmmc},
</if>
...
...
@@ -126,6 +132,7 @@
<when
test=
"dataList != null and dataList.size() > 0 and !dataList.isEmpty()"
>
INSERT INTO zqcz_xm_ry_lsjl
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"dataList[0].zsrwid != null"
>
ZSRWID,
</if>
<if
test=
"dataList[0].jcrwid != null"
>
JCRWID,
</if>
<if
test=
"dataList[0].jcdwid != null"
>
JCDWID,
</if>
<if
test=
"dataList[0].xmmc != null and dataList[0].xmmc != ''"
>
XMMC,
</if>
...
...
@@ -148,6 +155,7 @@
VALUES
<foreach
collection=
"dataList"
item=
"item"
index=
"index"
separator=
","
>
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"item.zsrwid != null"
>
#{item.zsrwid},
</if>
<if
test=
"item.jcrwid != null"
>
#{item.jcrwid},
</if>
<if
test=
"item.jcdwid != null"
>
#{item.jcdwid},
</if>
<if
test=
"item.xmmc != null and item.xmmc != ''"
>
#{item.xmmc},
</if>
...
...
@@ -178,4 +186,8 @@
<delete
id=
"deleteByJcrwid"
parameterType=
"long"
>
DELETE FROM zqcz_xm_ry_lsjl WHERE JCRWID = #{jcrwid}
</delete>
<!-- 根据直属任务任务ID删除 -->
<delete
id=
"deleteByZsrwid"
parameterType=
"long"
>
DELETE FROM zqcz_xm_ry_lsjl WHERE ZSRWID = #{zsrwid}
</delete>
</mapper>
\ No newline at end of file
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