Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
Z
zrch-risk-39
项目
项目
详情
活动
周期分析
仓库
仓库
文件
提交
分支
标签
贡献者
图表
比较
统计图
议题
0
议题
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
CI / CD
CI / CD
流水线
作业
日程
统计图
Wiki
Wiki
代码片段
代码片段
成员
成员
折叠边栏
关闭边栏
活动
图像
聊天
创建新问题
作业
提交
问题看板
Open sidebar
Administrator
zrch-risk-39
Commits
8e1dca10
提交
8e1dca10
authored
2月 10, 2026
作者:
kxjia
浏览文件
操作
浏览文件
下载
差异文件
Merge branch 'master' of
http://47.97.51.208/root/zrch-risk-39
上级
1a901774
d0b78e0e
隐藏空白字符变更
内嵌
并排
正在显示
10 个修改的文件
包含
73 行增加
和
3 行删除
+73
-3
StProblemCheckList.vue
...-39/src/views/project/problemCheck/StProblemCheckList.vue
+1
-0
StPlanManController.java
...modules/stm/plan/main/controller/StPlanManController.java
+33
-0
StPlanMan.java
...ava/org/jeecg/modules/stm/plan/main/entity/StPlanMan.java
+6
-0
StPlanManVo.java
.../java/org/jeecg/modules/stm/plan/main/vo/StPlanManVo.java
+1
-1
StProblemCheckController.java
...ules/stm/problem/controller/StProblemCheckController.java
+3
-2
StProblemCheck.java
.../org/jeecg/modules/stm/problem/entity/StProblemCheck.java
+5
-0
SysDictMapper.java
...n/java/org/jeecg/modules/system/mapper/SysDictMapper.java
+7
-0
SysDictMapper.xml
...ava/org/jeecg/modules/system/mapper/xml/SysDictMapper.xml
+9
-0
ISysDictService.java
...ava/org/jeecg/modules/system/service/ISysDictService.java
+2
-0
SysDictServiceImpl.java
...jeecg/modules/system/service/impl/SysDictServiceImpl.java
+6
-0
没有找到文件。
zrch-risk-client-39/src/views/project/problemCheck/StProblemCheckList.vue
浏览文件 @
8e1dca10
...
@@ -226,6 +226,7 @@
...
@@ -226,6 +226,7 @@
formData
.
dataId
=
record
.
id
;
formData
.
dataId
=
record
.
id
;
formData
.
dataName
=
'id'
;
formData
.
dataName
=
'id'
;
definitionStartByDeployId
(
record
.
deployId
,
formData
).
then
(
res
=>
{
definitionStartByDeployId
(
record
.
deployId
,
formData
).
then
(
res
=>
{
console
.
log
(
"计划启动----------- res"
,
res
);
handleSuccess
();
handleSuccess
();
})
})
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/plan/main/controller/StPlanManController.java
浏览文件 @
8e1dca10
package
org
.
jeecg
.
modules
.
stm
.
plan
.
main
.
controller
;
package
org
.
jeecg
.
modules
.
stm
.
plan
.
main
.
controller
;
import
java.util.Arrays
;
import
java.util.Arrays
;
import
java.util.List
;
import
com.baomidou.mybatisplus.core.metadata.TableInfo
;
import
com.baomidou.mybatisplus.core.metadata.TableInfoHelper
;
import
jakarta.servlet.http.HttpServletRequest
;
import
jakarta.servlet.http.HttpServletRequest
;
import
jakarta.servlet.http.HttpServletResponse
;
import
jakarta.servlet.http.HttpServletResponse
;
import
org.jeecg.common.api.vo.Result
;
import
org.jeecg.common.api.vo.Result
;
...
@@ -11,7 +15,9 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
...
@@ -11,7 +15,9 @@ import com.baomidou.mybatisplus.core.metadata.IPage;
import
lombok.extern.slf4j.Slf4j
;
import
lombok.extern.slf4j.Slf4j
;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.common.system.base.controller.JeecgController
;
import
org.jeecg.modules.system.service.ISysDictService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.util.CollectionUtils
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.bind.annotation.*
;
import
org.springframework.web.servlet.ModelAndView
;
import
org.springframework.web.servlet.ModelAndView
;
...
@@ -32,6 +38,8 @@ import org.apache.shiro.authz.annotation.RequiresPermissions;
...
@@ -32,6 +38,8 @@ import org.apache.shiro.authz.annotation.RequiresPermissions;
public
class
StPlanManController
extends
JeecgController
<
StPlanMan
,
IStPlanManService
>
{
public
class
StPlanManController
extends
JeecgController
<
StPlanMan
,
IStPlanManService
>
{
@Autowired
@Autowired
private
IStPlanManService
stPlanManService
;
private
IStPlanManService
stPlanManService
;
@Autowired
private
ISysDictService
iSysDictService
;
/**
/**
* 分页列表查询
* 分页列表查询
...
@@ -50,6 +58,20 @@ public class StPlanManController extends JeecgController<StPlanMan, IStPlanManSe
...
@@ -50,6 +58,20 @@ public class StPlanManController extends JeecgController<StPlanMan, IStPlanManSe
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"10"
)
Integer
pageSize
,
@RequestParam
(
name
=
"pageSize"
,
defaultValue
=
"10"
)
Integer
pageSize
,
HttpServletRequest
req
)
{
HttpServletRequest
req
)
{
IPage
<
StPlanMan
>
pageList
=
stPlanManService
.
defPage
(
stPlanMan
,
req
.
getParameterMap
(),
pageNo
,
pageSize
);
IPage
<
StPlanMan
>
pageList
=
stPlanManService
.
defPage
(
stPlanMan
,
req
.
getParameterMap
(),
pageNo
,
pageSize
);
List
<
StPlanMan
>
list
=
pageList
.
getRecords
();
if
(
CollectionUtils
.
isEmpty
(
list
)){
}
else
{
for
(
StPlanMan
stPlanManben:
pageList
.
getRecords
()){
String
tableName
=
getTableNameByMyBatisPlus
();
if
(
tableName
!=
null
&&!
tableName
.
equals
(
""
)){
//需要根据 tableName 反查DeployId
String
deployId
=
iSysDictService
.
queryDictTextByKeyOfformTableName
(
tableName
);
stPlanManben
.
setDeployId
(
deployId
);
}
}
}
return
Result
.
OK
(
pageList
);
return
Result
.
OK
(
pageList
);
}
}
...
@@ -180,4 +202,15 @@ public class StPlanManController extends JeecgController<StPlanMan, IStPlanManSe
...
@@ -180,4 +202,15 @@ public class StPlanManController extends JeecgController<StPlanMan, IStPlanManSe
return
super
.
importExcel
(
request
,
response
,
StPlanMan
.
class
);
return
super
.
importExcel
(
request
,
response
,
StPlanMan
.
class
);
}
}
/**
* 使用 MyBatis-Plus 的 TableInfoHelper 获取表名
*/
public
String
getTableNameByMyBatisPlus
()
{
TableInfo
tableInfo
=
TableInfoHelper
.
getTableInfo
(
StPlanMan
.
class
);
if
(
tableInfo
!=
null
)
{
return
tableInfo
.
getTableName
();
}
return
null
;
}
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/plan/main/entity/StPlanMan.java
浏览文件 @
8e1dca10
...
@@ -142,5 +142,11 @@ public class StPlanMan implements Serializable {
...
@@ -142,5 +142,11 @@ public class StPlanMan implements Serializable {
private
java
.
lang
.
Integer
exeRuleCycle
;
private
java
.
lang
.
Integer
exeRuleCycle
;
/**流程状态*/
private
String
bpmStatus
;
/**部署ID*/
private
java
.
lang
.
String
deployId
;
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/plan/main/vo/StPlanManVo.java
浏览文件 @
8e1dca10
...
@@ -20,6 +20,6 @@ public class StPlanManVo extends StPlanMan {
...
@@ -20,6 +20,6 @@ public class StPlanManVo extends StPlanMan {
private
String
projectTypeName
;
private
String
projectTypeName
;
private
String
optDesbak
;
private
String
optDesbak
;
private
java
.
lang
.
String
deployId
;
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/problem/controller/StProblemCheckController.java
浏览文件 @
8e1dca10
...
@@ -71,8 +71,9 @@ public class StProblemCheckController extends JeecgController<StProblemCheck, IS
...
@@ -71,8 +71,9 @@ public class StProblemCheckController extends JeecgController<StProblemCheck, IS
if
(
tableName
!=
null
&&!
tableName
.
equals
(
""
)){
if
(
tableName
!=
null
&&!
tableName
.
equals
(
""
)){
//需要根据 tableName 反查DeployId
//需要根据 tableName 反查DeployId
// String deployId=iSysDictService.queryDictTextByKeyOfformTableName(tableName);
String
deployId
=
iSysDictService
.
queryDictTextByKeyOfformTableName
(
tableName
);
// stPlanMan.setDeployId(deployId);
stPlanMan
.
setDeployId
(
deployId
);
}
}
}
}
...
...
zrch-risk-server-39/jeecg-module-system/jeecg-module-stm/src/main/java/org/jeecg/modules/stm/problem/entity/StProblemCheck.java
浏览文件 @
8e1dca10
...
@@ -124,9 +124,14 @@ public class StProblemCheck implements Serializable {
...
@@ -124,9 +124,14 @@ public class StProblemCheck implements Serializable {
private
java
.
util
.
Date
planEndDate
;
private
java
.
util
.
Date
planEndDate
;
/**流程状态*/
private
String
bpmStatus
;
private
String
bpmStatus
;
/**部署ID*/
private
java
.
lang
.
String
deployId
;
private
java
.
lang
.
String
deployId
;
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/SysDictMapper.java
浏览文件 @
8e1dca10
...
@@ -214,4 +214,11 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
...
@@ -214,4 +214,11 @@ public interface SysDictMapper extends BaseMapper<SysDict> {
* @return
* @return
*/
*/
int
removeLogicDeleted
(
@Param
(
"ids"
)
List
<
String
>
ids
);
int
removeLogicDeleted
(
@Param
(
"ids"
)
List
<
String
>
ids
);
/**
* 通过字典code获取字典数据
* @param code
* @return
*/
public
String
queryDictTextByKeyOfformTableName
(
@Param
(
"code"
)
String
code
);
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/mapper/xml/SysDictMapper.xml
浏览文件 @
8e1dca10
...
@@ -245,4 +245,13 @@
...
@@ -245,4 +245,13 @@
</foreach>
</foreach>
</delete>
</delete>
<select
id=
"queryDictTextByKeyOfformTableName"
parameterType=
"String"
resultType=
"String"
>
SELECT s.deploy_id as dict_id
FROM sys_deploy_form s,act_re_deployment d
WHERE s.deploy_id=d.ID_ and s.form_table_name=#{code}
order by s.id desc
LIMIT 1
</select>
</mapper>
</mapper>
zrch-risk-server-39/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/ISysDictService.java
浏览文件 @
8e1dca10
...
@@ -298,4 +298,6 @@ public interface ISysDictService extends IService<SysDict> {
...
@@ -298,4 +298,6 @@ public interface ISysDictService extends IService<SysDict> {
* @param ids
* @param ids
*/
*/
boolean
removeLogicDeleted
(
List
<
String
>
ids
);
boolean
removeLogicDeleted
(
List
<
String
>
ids
);
public
String
queryDictTextByKeyOfformTableName
(
String
code
);
}
}
zrch-risk-server-39/jeecg-module-system/jeecg-system-biz/src/main/java/org/jeecg/modules/system/service/impl/SysDictServiceImpl.java
浏览文件 @
8e1dca10
...
@@ -918,4 +918,10 @@ public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> impl
...
@@ -918,4 +918,10 @@ public class SysDictServiceImpl extends ServiceImpl<SysDictMapper, SysDict> impl
//新增子项
//新增子项
this
.
addDictItem
(
id
,
dictItemList
);
this
.
addDictItem
(
id
,
dictItemList
);
}
}
@Override
public
String
queryDictTextByKeyOfformTableName
(
String
code
)
{
return
sysDictMapper
.
queryDictTextByKeyOfformTableName
(
code
);
}
}
}
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论