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
5239f447
Commit
5239f447
authored
Dec 03, 2025
by
wangjian
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
2025-12-03 wj 修改
parent
428313fd
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
95 additions
and
39 deletions
+95
-39
qianhe-ydsj/src/main/java/com/qianhe/controller/SjBzxxController.java
+10
-0
qianhe-ydsj/src/main/java/com/qianhe/controller/SjFybpController.java
+3
-1
qianhe-ydsj/src/main/java/com/qianhe/controller/SjGfjsXjbzController.java
+28
-4
qianhe-ydsj/src/main/java/com/qianhe/controller/SjGfjsZsdwkhpjController.java
+1
-0
qianhe-ydsj/src/main/java/com/qianhe/domain/SjGfjsXjbz.java
+26
-16
qianhe-ydsj/src/main/java/com/qianhe/domain/SjGfjsZsdwkhpjZb.java
+1
-0
qianhe-ydsj/src/main/resources/mapper/SjBzxxMapper.xml
+1
-1
qianhe-ydsj/src/main/resources/mapper/SjGfjsZsdwkhpjZbMapper.xml
+6
-3
qianhe-ydsj/src/main/resources/mapper/system/SjGfjsXjbzMapper.xml
+19
-14
qianhe-ydsj/src/main/resources/static/gfjs_zsdwkhpj_fdjg.xlsx
+0
-0
qianhe-ydsj/src/main/resources/static/txgt_fy_zsdwfytj.xlsx
+0
-0
No files found.
qianhe-ydsj/src/main/java/com/qianhe/controller/SjBzxxController.java
View file @
5239f447
...
@@ -215,8 +215,18 @@ public class SjBzxxController extends BaseController
...
@@ -215,8 +215,18 @@ public class SjBzxxController extends BaseController
dptmp
.
setYgrs
(
bz
.
getRs
());
//一般是班组
dptmp
.
setYgrs
(
bz
.
getRs
());
//一般是班组
dptmp
.
setBzid
(
bz
.
getId
());
dptmp
.
setBzid
(
bz
.
getId
());
dptmp
.
setIsbz
(
"班组"
);
//是否班组
dptmp
.
setIsbz
(
"班组"
);
//是否班组
Long
deptId
=
bz
.
getDeptId
();
if
(
deptId
!=
null
)
{
long
depts_if
=
depts
.
stream
().
filter
(
e
->
deptId
.
equals
(
e
.
getDeptId
())).
count
();
if
(
depts_if
==
1
)
{
System
.
out
.
println
(
"存在上级单位id:"
+
deptId
);
depts
.
add
(
dptmp
);
depts
.
add
(
dptmp
);
}
}
}
//depts.add(dptmp);
}
return
success
(
depts
);
return
success
(
depts
);
}
}
...
...
qianhe-ydsj/src/main/java/com/qianhe/controller/SjFybpController.java
View file @
5239f447
...
@@ -311,7 +311,8 @@ public class SjFybpController extends BaseController
...
@@ -311,7 +311,8 @@ public class SjFybpController extends BaseController
Cell
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
xh
);
Cell
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
xh
);
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getDeptName
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getDeptName
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getAbztqzded
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getAbztqzded
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getYsyje
().
toString
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getXmje
()
==
null
?
""
:
String
.
valueOf
(
tmp
.
getXmje
()));
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getYsyje
()
==
null
?
""
:
tmp
.
getYsyje
().
toString
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getJd
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getJd
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getXmzc1
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getXmzc1
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getXmzcmx1
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
tmp
.
getXmzcmx1
());
...
@@ -332,6 +333,7 @@ public class SjFybpController extends BaseController
...
@@ -332,6 +333,7 @@ public class SjFybpController extends BaseController
mergeCellsByColumn
(
sheet
,
1
,
5
);
mergeCellsByColumn
(
sheet
,
1
,
5
);
mergeCellsByColumn
(
sheet
,
2
,
5
);
mergeCellsByColumn
(
sheet
,
2
,
5
);
mergeCellsByColumn
(
sheet
,
3
,
5
);
mergeCellsByColumn
(
sheet
,
3
,
5
);
mergeCellsByColumn
(
sheet
,
4
,
5
);
if
(
cbList
.
size
()>
0
){
if
(
cbList
.
size
()>
0
){
sheet
.
getRow
(
1
).
getCell
(
2
).
setCellValue
(
cbList
.
get
(
0
).
getFyrq
()
+
"年"
);
sheet
.
getRow
(
1
).
getCell
(
2
).
setCellValue
(
cbList
.
get
(
0
).
getFyrq
()
+
"年"
);
...
...
qianhe-ydsj/src/main/java/com/qianhe/controller/SjGfjsXjbzController.java
View file @
5239f447
...
@@ -4,12 +4,12 @@ import java.util.ArrayList;
...
@@ -4,12 +4,12 @@ import java.util.ArrayList;
import
java.util.HashMap
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.List
;
import
java.util.Map
;
import
java.util.Map
;
import
java.util.stream.Collectors
;
import
javax.servlet.http.HttpServletResponse
;
import
javax.servlet.http.HttpServletResponse
;
import
com.qianhe.common.constant.HttpStatus
;
import
com.qianhe.common.constant.HttpStatus
;
import
com.qianhe.domain.SjBzxx
;
import
com.qianhe.domain.*
;
import
com.qianhe.domain.SjGfjsZsdwkhpj
;
import
com.qianhe.service.IGgFjbService
;
import
com.qianhe.domain.SjGfjsZsdwwtcj
;
import
com.qianhe.service.ISjBzxxService
;
import
com.qianhe.service.ISjBzxxService
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
...
@@ -25,7 +25,6 @@ import com.qianhe.common.annotation.Log;
...
@@ -25,7 +25,6 @@ import com.qianhe.common.annotation.Log;
import
com.qianhe.common.core.controller.BaseController
;
import
com.qianhe.common.core.controller.BaseController
;
import
com.qianhe.common.core.domain.AjaxResult
;
import
com.qianhe.common.core.domain.AjaxResult
;
import
com.qianhe.common.enums.BusinessType
;
import
com.qianhe.common.enums.BusinessType
;
import
com.qianhe.domain.SjGfjsXjbz
;
import
com.qianhe.service.ISjGfjsXjbzService
;
import
com.qianhe.service.ISjGfjsXjbzService
;
import
com.qianhe.common.utils.poi.ExcelUtil
;
import
com.qianhe.common.utils.poi.ExcelUtil
;
import
com.qianhe.common.core.page.TableDataInfo
;
import
com.qianhe.common.core.page.TableDataInfo
;
...
@@ -44,6 +43,8 @@ public class SjGfjsXjbzController extends BaseController
...
@@ -44,6 +43,8 @@ public class SjGfjsXjbzController extends BaseController
private
ISjGfjsXjbzService
sjGfjsXjbzService
;
private
ISjGfjsXjbzService
sjGfjsXjbzService
;
@Autowired
@Autowired
private
ISjBzxxService
sjBzxxService
;
private
ISjBzxxService
sjBzxxService
;
@Autowired
private
IGgFjbService
fjbService
;
/**
/**
* 查询三基 规范建设 星级班组列表
* 查询三基 规范建设 星级班组列表
...
@@ -65,6 +66,17 @@ public class SjGfjsXjbzController extends BaseController
...
@@ -65,6 +66,17 @@ public class SjGfjsXjbzController extends BaseController
Long
deptId
=
sjGfjsXjbz
.
getDeptId
();
Long
deptId
=
sjGfjsXjbz
.
getDeptId
();
String
nd
=
sjGfjsXjbz
.
getNd
();
String
nd
=
sjGfjsXjbz
.
getNd
();
//查询附件
List
<
GgFjb
>
fjlist
=
fjbService
.
selectFj
(
deptId
,
"规范建设-星级班组"
);
Map
<
String
,
List
<
GgFjb
>>
map2
=
fjlist
.
stream
().
collect
(
Collectors
.
groupingBy
(
GgFjb:
:
getFJLX
));
if
(
map2
.
get
(
nd
)!=
null
){
List
<
GgFjb
>
fileData
=
map2
.
get
(
nd
).
stream
().
collect
(
Collectors
.
toList
());
//rt.setFileList1(fileData);
map
.
put
(
"khpjFjs"
,
fileData
);
}
//查询 指定单位下 指定年 已保存的 班组星级 数据
//查询 指定单位下 指定年 已保存的 班组星级 数据
List
<
SjGfjsXjbz
>
list
=
sjGfjsXjbzService
.
selectSjGfjsXjbzList
(
sjGfjsXjbz
);
List
<
SjGfjsXjbz
>
list
=
sjGfjsXjbzService
.
selectSjGfjsXjbzList
(
sjGfjsXjbz
);
if
(
list
.
size
()<=
0
){
//没有需要插入一个初始的
if
(
list
.
size
()<=
0
){
//没有需要插入一个初始的
...
@@ -79,6 +91,7 @@ public class SjGfjsXjbzController extends BaseController
...
@@ -79,6 +91,7 @@ public class SjGfjsXjbzController extends BaseController
xj
.
setNd
(
nd
);
xj
.
setNd
(
nd
);
xj
.
setBzlx
(
bz
.
getBzlx
());
xj
.
setBzlx
(
bz
.
getBzlx
());
xj
.
setBzmc
(
bz
.
getBzmc
());
xj
.
setBzmc
(
bz
.
getBzmc
());
xj
.
setFdjb
(
bz
.
getRs
());
//班组人数
xj
.
setZt
(
"0"
);
xj
.
setZt
(
"0"
);
xjbzsList
.
add
(
xj
);
xjbzsList
.
add
(
xj
);
}
}
...
@@ -159,4 +172,15 @@ public class SjGfjsXjbzController extends BaseController
...
@@ -159,4 +172,15 @@ public class SjGfjsXjbzController extends BaseController
return
toAjax
(
sjGfjsXjbzService
.
plxg
(
fjx
));
return
toAjax
(
sjGfjsXjbzService
.
plxg
(
fjx
));
}
}
//上传附件
@PostMapping
(
"/scfj"
)
public
AjaxResult
scfj
(
@RequestBody
SjGfjsXjbz
sjZdsc
)
{
String
fileListStr1
=
sjZdsc
.
getFileListStr1
();
int
i1
=
fjbService
.
batchSaveFj
(
sjZdsc
.
getDeptId
()+
""
,
sjZdsc
.
getNd
(),
"规范建设-星级班组"
,
fileListStr1
);
return
toAjax
(
i1
);
}
}
}
qianhe-ydsj/src/main/java/com/qianhe/controller/SjGfjsZsdwkhpjController.java
View file @
5239f447
...
@@ -570,6 +570,7 @@ public class SjGfjsZsdwkhpjController extends BaseController
...
@@ -570,6 +570,7 @@ public class SjGfjsZsdwkhpjController extends BaseController
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
zsdwkhpj
.
getFdjb
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
zsdwkhpj
.
getFdjb
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
zsdwkhpj
.
getPm
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
zsdwkhpj
.
getPm
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
zsdwkhpj
.
getDeptLx
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
zsdwkhpj
.
getDeptLx
());
cell
=
row
.
createCell
(
m
++);
cell
.
setCellStyle
(
cellStyle
);
cell
.
setCellValue
(
zsdwkhpj
.
getQnpjqk
());
lastRow
++;
lastRow
++;
}
}
//合并行
//合并行
...
...
qianhe-ydsj/src/main/java/com/qianhe/domain/SjGfjsXjbz.java
View file @
5239f447
...
@@ -6,6 +6,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
...
@@ -6,6 +6,8 @@ import org.apache.commons.lang3.builder.ToStringStyle;
import
com.qianhe.common.annotation.Excel
;
import
com.qianhe.common.annotation.Excel
;
import
com.qianhe.common.core.domain.BaseEntity
;
import
com.qianhe.common.core.domain.BaseEntity
;
import
java.util.List
;
/**
/**
* 三基 规范建设 星级班组对象 sj_gfjs_xjbz
* 三基 规范建设 星级班组对象 sj_gfjs_xjbz
*
*
...
@@ -21,50 +23,58 @@ public class SjGfjsXjbz extends BaseEntity
...
@@ -21,50 +23,58 @@ public class SjGfjsXjbz extends BaseEntity
private
Long
id
;
private
Long
id
;
/** 班组id */
/** 班组id */
@Excel
(
name
=
"班组id"
)
private
Long
bzId
;
private
Long
bzId
;
/** 年度 */
@Excel
(
name
=
"年度"
)
private
String
nd
;
@Excel
(
name
=
"直属单位"
)
private
String
zsdwmc
;
@Excel
(
name
=
"基层单位"
)
private
String
jcdwmc
;
/** 单位id */
/** 单位id */
@Excel
(
name
=
"单位id"
)
private
Long
deptId
;
private
Long
deptId
;
/** 上级单位id */
/** 上级单位id */
@Excel
(
name
=
"上级单位id"
)
private
Long
parentDeptId
;
private
Long
parentDeptId
;
/** 年度 */
@Excel
(
name
=
"年度"
)
private
String
nd
;
/** 班组类型 */
@Excel
(
name
=
"班组类型"
)
private
String
bzlx
;
/** 班组名称 */
/** 班组名称 */
@Excel
(
name
=
"班组名称"
)
@Excel
(
name
=
"班组名称"
)
private
String
bzmc
;
private
String
bzmc
;
/** 班组类型 */
@Excel
(
name
=
"班组类型"
)
private
String
bzlx
;
/** 分档级别 改为 班组人数 */
@Excel
(
name
=
"班组人数"
)
private
String
fdjb
;
/** 星级 */
/** 星级 */
@Excel
(
name
=
"星级"
)
@Excel
(
name
=
"星级
班组/其他
"
)
private
String
xj
;
private
String
xj
;
/** 星级描述 */
/** 星级描述 */
@Excel
(
name
=
"
星级描述
"
)
@Excel
(
name
=
"
备注
"
)
private
String
xjms
;
private
String
xjms
;
/** 排名 可自调整 */
/** 排名 可自调整 */
@Excel
(
name
=
"排名 可自调整"
)
private
Long
pm
;
private
Long
pm
;
/** 状态 0 未提交 1 已提交 */
/** 状态 0 未提交 1 已提交 */
@Excel
(
name
=
"状态 0 未提交 1 已提交"
)
private
String
zt
;
private
String
zt
;
/** 分档级别 */
@Excel
(
name
=
"分档级别"
)
private
String
fdjb
;
private
String
ids
;
private
String
ids
;
private
String
fileListStr1
;
//附件传递参数(名称路径)JSON格式
private
List
<
GgFjb
>
fileList1
;
//附件列表
}
}
qianhe-ydsj/src/main/java/com/qianhe/domain/SjGfjsZsdwkhpjZb.java
View file @
5239f447
...
@@ -193,5 +193,6 @@ public class SjGfjsZsdwkhpjZb extends BaseEntity
...
@@ -193,5 +193,6 @@ public class SjGfjsZsdwkhpjZb extends BaseEntity
* ABCD
* ABCD
*/
*/
private
String
fdjb
;
private
String
fdjb
;
private
String
qnpjqk
;
//去年 评价情况
}
}
qianhe-ydsj/src/main/resources/mapper/SjBzxxMapper.xml
View file @
5239f447
...
@@ -122,7 +122,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -122,7 +122,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
FROM (
FROM (
-- 原查询结果作为基础表t
-- 原查询结果作为基础表t
select
select
a.dept_id zsdwid,a.dept_name zsdwmc,a.ancestors zsdw_ancestors,a.order_num zsdwpx,b
.dwlx zsdwlx,
a.dept_id zsdwid,a.dept_name zsdwmc,a.ancestors zsdw_ancestors,a.order_num zsdwpx,a
.dwlx zsdwlx,
b.dept_id jcdwid,b.parent_id,b.dept_name jcdwmc,b.ancestors jcdw_ancestors,b.order_num jcdwpx,b.dwlx jcdwlx,
b.dept_id jcdwid,b.parent_id,b.dept_name jcdwmc,b.ancestors jcdw_ancestors,b.order_num jcdwpx,b.dwlx jcdwlx,
b.bzid,b.bzmc,b.bzlx,case when b.bzrs is null then a.jcrysl else bzrs end bzrs,a.jcrysl zsdwrysl,b.jcrysl
b.bzid,b.bzmc,b.bzlx,case when b.bzrs is null then a.jcrysl else bzrs end bzrs,a.jcrysl zsdwrysl,b.jcrysl
jcdwyrsl
jcdwyrsl
...
...
qianhe-ydsj/src/main/resources/mapper/SjGfjsZsdwkhpjZbMapper.xml
View file @
5239f447
...
@@ -52,10 +52,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -52,10 +52,10 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"pm"
column=
"pm"
/>
<result
property=
"pm"
column=
"pm"
/>
<result
property=
"zt"
column=
"zt"
/>
<result
property=
"zt"
column=
"zt"
/>
<result
property=
"fdjb"
column=
"fdjb"
/>
<result
property=
"fdjb"
column=
"fdjb"
/>
<result
property=
"qnpjqk"
column=
"qnpjqk"
/>
</resultMap>
</resultMap>
<sql
id=
"selectSjGfjsZsdwkhpjZbVo"
>
<sql
id=
"selectSjGfjsZsdwkhpjZbVo"
>
select id,
select id,
a.dept_id,
a.dept_id,
parent_dept_id,
parent_dept_id,
...
@@ -96,10 +96,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -96,10 +96,13 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
yl2,
yl2,
yl3,
yl3,
yl4,
yl4,
yl5,d.dept_name,p.dept_name parent_name, a.pm, a.zt,a.fdjb
yl5,d.dept_name,p.dept_name parent_name, a.pm, a.zt,a.fdjb,
( select distinct pjqk from sj_nd_dwpjqk q
WHERE q.dept_id = a.dept_id and q.nd = a.nd-1 order by nd desc limit 1 ) qnpjqk
from sj_gfjs_zsdwkhpj_zb a
from sj_gfjs_zsdwkhpj_zb a
left join sys_dept d on a.dept_id=d.dept_id
left join sys_dept d on a.dept_id=d.dept_id
left join sys_dept p on a.parent_dept_id=p.dept_id
</sql>
left join sys_dept p on a.parent_dept_id=p.dept_id
</sql>
<select
id=
"selectSjGfjsZsdwkhpjZbList"
parameterType=
"SjGfjsZsdwkhpjZb"
resultMap=
"SjGfjsZsdwkhpjZbResult"
>
<select
id=
"selectSjGfjsZsdwkhpjZbList"
parameterType=
"SjGfjsZsdwkhpjZb"
resultMap=
"SjGfjsZsdwkhpjZbResult"
>
<include
refid=
"selectSjGfjsZsdwkhpjZbVo"
/>
<include
refid=
"selectSjGfjsZsdwkhpjZbVo"
/>
...
...
qianhe-ydsj/src/main/resources/mapper/system/SjGfjsXjbzMapper.xml
View file @
5239f447
...
@@ -22,37 +22,42 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -22,37 +22,42 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateBy"
column=
"update_by"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"updateTime"
column=
"update_time"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"remark"
column=
"remark"
/>
<result
property=
"jcdwmc"
column=
"jcdwmc"
/>
<result
property=
"zsdwmc"
column=
"zsdwmc"
/>
</resultMap>
</resultMap>
<sql
id=
"selectSjGfjsXjbzVo"
>
<sql
id=
"selectSjGfjsXjbzVo"
>
select
id, bz_id, dept_id, parent_dept_id, nd, bzlx, bzmc, xj, xjms, pm, zt,
fdjb ,
select
a.id, a.bz_id, a.dept_id, a.parent_dept_id, a.nd, a.bzlx, a.bzmc, a.xj, a.xjms, a.pm, a.zt, a.
fdjb ,
a.create_by,
a.create_by,
a.create_time,
a.create_time,
a.update_by,
a.update_by,
a.update_time,
a.update_time,
a.remark
a.remark,
d.dept_name jcdwmc, d2.dept_name zsdwmc
from sj_gfjs_xjbz a
from sj_gfjs_xjbz a
left join sys_dept d on a.dept_id = d.dept_id
left join sys_dept d2 on d.parent_id = d2.dept_id
</sql>
</sql>
<select
id=
"selectSjGfjsXjbzList"
parameterType=
"SjGfjsXjbz"
resultMap=
"SjGfjsXjbzResult"
>
<select
id=
"selectSjGfjsXjbzList"
parameterType=
"SjGfjsXjbz"
resultMap=
"SjGfjsXjbzResult"
>
<include
refid=
"selectSjGfjsXjbzVo"
/>
<include
refid=
"selectSjGfjsXjbzVo"
/>
<where>
<where>
<if
test=
"bzId != null "
>
and bz_id = #{bzId}
</if>
<if
test=
"bzId != null "
>
and
a.
bz_id = #{bzId}
</if>
<if
test=
"deptId != null "
>
and dept_id = #{deptId}
</if>
<if
test=
"deptId != null "
>
and
a.
dept_id = #{deptId}
</if>
<if
test=
"parentDeptId != null "
>
and parent_dept_id = #{parentDeptId}
</if>
<if
test=
"parentDeptId != null "
>
and
a.
parent_dept_id = #{parentDeptId}
</if>
<if
test=
"nd != null and nd != ''"
>
and nd = #{nd}
</if>
<if
test=
"nd != null and nd != ''"
>
and
a.
nd = #{nd}
</if>
<if
test=
"bzlx != null and bzlx != ''"
>
and bzlx = #{bzlx}
</if>
<if
test=
"bzlx != null and bzlx != ''"
>
and
a.
bzlx = #{bzlx}
</if>
<if
test=
"bzmc != null and bzmc != ''"
>
and bzmc = #{bzmc}
</if>
<if
test=
"bzmc != null and bzmc != ''"
>
and
a.
bzmc = #{bzmc}
</if>
<if
test=
"xj != null and xj != ''"
>
and xj = #{xj}
</if>
<if
test=
"xj != null and xj != ''"
>
and
a.
xj = #{xj}
</if>
<if
test=
"xjms != null and xjms != ''"
>
and xjms = #{xjms}
</if>
<if
test=
"xjms != null and xjms != ''"
>
and
a.
xjms = #{xjms}
</if>
<if
test=
"pm != null "
>
and pm = #{pm}
</if>
<if
test=
"pm != null "
>
and
a.
pm = #{pm}
</if>
<if
test=
"zt != null and zt != ''"
>
and zt = #{zt}
</if>
<if
test=
"zt != null and zt != ''"
>
and
a.
zt = #{zt}
</if>
<if
test=
"fdjb != null and fdjb != ''"
>
and fdjb = #{fdjb}
</if>
<if
test=
"fdjb != null and fdjb != ''"
>
and
a.
fdjb = #{fdjb}
</if>
</where>
</where>
</select>
</select>
<select
id=
"selectSjGfjsXjbzById"
parameterType=
"Long"
resultMap=
"SjGfjsXjbzResult"
>
<select
id=
"selectSjGfjsXjbzById"
parameterType=
"Long"
resultMap=
"SjGfjsXjbzResult"
>
<include
refid=
"selectSjGfjsXjbzVo"
/>
<include
refid=
"selectSjGfjsXjbzVo"
/>
where id = #{id}
where
a.
id = #{id}
</select>
</select>
<insert
id=
"insertSjGfjsXjbz"
parameterType=
"SjGfjsXjbz"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
<insert
id=
"insertSjGfjsXjbz"
parameterType=
"SjGfjsXjbz"
useGeneratedKeys=
"true"
keyProperty=
"id"
>
...
...
qianhe-ydsj/src/main/resources/static/gfjs_zsdwkhpj_fdjg.xlsx
View file @
5239f447
No preview for this file type
qianhe-ydsj/src/main/resources/static/txgt_fy_zsdwfytj.xlsx
View file @
5239f447
No preview for this file type
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