Skip to content
项目
群组
代码片段
帮助
当前项目
正在载入...
登录 / 注册
切换导航面板
J
jilinzhongdianrenqun
概览
Overview
Details
Activity
Cycle Analytics
版本库
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
问题
0
Issues
0
列表
Board
标记
里程碑
合并请求
0
Merge Requests
0
CI / CD
CI / CD
流水线
作业
日程表
图表
维基
Wiki
代码片段
Snippets
成员
Members
Collapse sidebar
Close sidebar
活动
图像
聊天
创建新问题
作业
提交
Issue Boards
Open sidebar
吴超
jilinzhongdianrenqun
Commits
76ffaf9f
Commit
76ffaf9f
authored
Dec 22, 2025
by
wangchunyang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
配置相关功能开发
parent
583caf73
隐藏空白字符变更
内嵌
并排
正在显示
8 个修改的文件
包含
22 行增加
和
11 行删除
+22
-11
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmLeaveTypeServiceImpl.java
+4
-2
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmMaterialCategoryServiceImpl.java
+4
-2
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmMaterialServiceImpl.java
+4
-2
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmUserCategoryServiceImpl.java
+5
-2
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmLeaveTypeDao.xml
+1
-1
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmMaterialCategoryDao.xml
+2
-0
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmMaterialDao.xml
+1
-1
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmUserCategoryDao.xml
+1
-1
没有找到文件。
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmLeaveTypeServiceImpl.java
View file @
76ffaf9f
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.utils.UUIDUtil
;
import
com.scpyun.base.db.service.CommonService
;
import
com.scpyun.base.db.service.CommonService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -21,9 +22,9 @@ public class KeyDmLeaveTypeServiceImpl {
...
@@ -21,9 +22,9 @@ public class KeyDmLeaveTypeServiceImpl {
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmLeaveType."
;
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmLeaveType."
;
@ApiOperation
(
value
=
"查询请假类型列表"
,
desc
=
"分页查询请假类型"
)
@ApiOperation
(
value
=
"查询请假类型列表"
,
desc
=
"分页查询请假类型"
)
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Map
<
String
,
Object
>
map
)
{
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Page
<
Map
<
String
,
Object
>
>
map
)
{
if
(
map
==
null
)
{
if
(
map
==
null
)
{
map
=
new
HashMap
<>();
map
=
new
Page
<>();
}
}
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
}
}
...
@@ -36,6 +37,7 @@ public class KeyDmLeaveTypeServiceImpl {
...
@@ -36,6 +37,7 @@ public class KeyDmLeaveTypeServiceImpl {
Object
id
=
map
.
get
(
"id"
);
Object
id
=
map
.
get
(
"id"
);
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
// 新增
// 新增
map
.
put
(
"id"
,
UUIDUtil
.
getUUID
());
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
throw
new
CustomException
(
"保存失败"
);
throw
new
CustomException
(
"保存失败"
);
}
}
...
...
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmMaterialCategoryServiceImpl.java
View file @
76ffaf9f
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.utils.UUIDUtil
;
import
com.scpyun.base.db.service.CommonService
;
import
com.scpyun.base.db.service.CommonService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -21,9 +22,9 @@ public class KeyDmMaterialCategoryServiceImpl {
...
@@ -21,9 +22,9 @@ public class KeyDmMaterialCategoryServiceImpl {
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmMaterialCategory."
;
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmMaterialCategory."
;
@ApiOperation
(
value
=
"查询办公用品分类列表"
,
desc
=
"分页查询办公用品分类"
)
@ApiOperation
(
value
=
"查询办公用品分类列表"
,
desc
=
"分页查询办公用品分类"
)
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Map
<
String
,
Object
>
map
)
{
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Page
<
Map
<
String
,
Object
>
>
map
)
{
if
(
map
==
null
)
{
if
(
map
==
null
)
{
map
=
new
HashMap
<>();
map
=
new
Page
<>();
}
}
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
}
}
...
@@ -36,6 +37,7 @@ public class KeyDmMaterialCategoryServiceImpl {
...
@@ -36,6 +37,7 @@ public class KeyDmMaterialCategoryServiceImpl {
Object
id
=
map
.
get
(
"id"
);
Object
id
=
map
.
get
(
"id"
);
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
// 新增
// 新增
map
.
put
(
"id"
,
UUIDUtil
.
getUUID
());
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
throw
new
CustomException
(
"保存失败"
);
throw
new
CustomException
(
"保存失败"
);
}
}
...
...
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmMaterialServiceImpl.java
View file @
76ffaf9f
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.utils.UUIDUtil
;
import
com.scpyun.base.db.service.CommonService
;
import
com.scpyun.base.db.service.CommonService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -21,9 +22,9 @@ public class KeyDmMaterialServiceImpl {
...
@@ -21,9 +22,9 @@ public class KeyDmMaterialServiceImpl {
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmMaterial."
;
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmMaterial."
;
@ApiOperation
(
value
=
"查询办公用品列表"
,
desc
=
"分页查询办公用品"
)
@ApiOperation
(
value
=
"查询办公用品列表"
,
desc
=
"分页查询办公用品"
)
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Map
<
String
,
Object
>
map
)
{
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Page
<
Map
<
String
,
Object
>
>
map
)
{
if
(
map
==
null
)
{
if
(
map
==
null
)
{
map
=
new
HashMap
<>();
map
=
new
Page
<>();
}
}
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
}
}
...
@@ -36,6 +37,7 @@ public class KeyDmMaterialServiceImpl {
...
@@ -36,6 +37,7 @@ public class KeyDmMaterialServiceImpl {
Object
id
=
map
.
get
(
"id"
);
Object
id
=
map
.
get
(
"id"
);
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
// 新增
// 新增
map
.
put
(
"id"
,
UUIDUtil
.
getUUID
());
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
throw
new
CustomException
(
"保存失败"
);
throw
new
CustomException
(
"保存失败"
);
}
}
...
...
src/main/java/com/scpyun/platform/jilinsscgsdp/service/impl/KeyDmUserCategoryServiceImpl.java
View file @
76ffaf9f
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
...
@@ -4,6 +4,7 @@ import com.scpyun.base.bean.Page;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.Api
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.annotation.ApiOperation
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.exception.CustomException
;
import
com.scpyun.base.core.utils.UUIDUtil
;
import
com.scpyun.base.db.service.CommonService
;
import
com.scpyun.base.db.service.CommonService
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.stereotype.Service
;
...
@@ -22,10 +23,11 @@ public class KeyDmUserCategoryServiceImpl {
...
@@ -22,10 +23,11 @@ public class KeyDmUserCategoryServiceImpl {
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmUserCategory."
;
private
final
String
namespace
=
"com.scpyun.platform.standard.jilinsscgsdp.keyDmUserCategory."
;
@ApiOperation
(
value
=
"查询人员分类列表"
,
desc
=
"分页查询人员分类"
)
@ApiOperation
(
value
=
"查询人员分类列表"
,
desc
=
"分页查询人员分类"
)
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Map
<
String
,
Object
>
map
)
{
public
Page
<
Map
<
String
,
Object
>>
selectList
(
Page
<
Map
<
String
,
Object
>
>
map
)
{
if
(
map
==
null
)
{
if
(
map
==
null
)
{
map
=
new
HashMap
<>();
map
=
new
Page
<>();
}
}
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
return
commonService
.
findPage
(
namespace
+
"selectList"
,
map
);
}
}
...
@@ -37,6 +39,7 @@ public class KeyDmUserCategoryServiceImpl {
...
@@ -37,6 +39,7 @@ public class KeyDmUserCategoryServiceImpl {
Object
id
=
map
.
get
(
"id"
);
Object
id
=
map
.
get
(
"id"
);
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
if
(
id
==
null
||
String
.
valueOf
(
id
).
trim
().
isEmpty
())
{
// 新增
// 新增
map
.
put
(
"id"
,
UUIDUtil
.
getUUID
());
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
if
(
commonService
.
insert
(
namespace
+
"insert"
,
map
)
!=
1
)
{
throw
new
CustomException
(
"保存失败"
);
throw
new
CustomException
(
"保存失败"
);
}
}
...
...
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmLeaveTypeDao.xml
View file @
76ffaf9f
...
@@ -60,7 +60,7 @@
...
@@ -60,7 +60,7 @@
create_time,
create_time,
order_no
order_no
) VALUES (
) VALUES (
UUID()
,
#{id}
,
#{type_code},
#{type_code},
#{type_name},
#{type_name},
#{remark},
#{remark},
...
...
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmMaterialCategoryDao.xml
View file @
76ffaf9f
...
@@ -35,6 +35,7 @@
...
@@ -35,6 +35,7 @@
<!-- 新增 -->
<!-- 新增 -->
<insert
id=
"insert"
parameterType=
"map"
>
<insert
id=
"insert"
parameterType=
"map"
>
INSERT INTO jl_key_dm_material_category(
INSERT INTO jl_key_dm_material_category(
id,
category_Code,
category_Code,
category_Name,
category_Name,
parent_Id,
parent_Id,
...
@@ -47,6 +48,7 @@
...
@@ -47,6 +48,7 @@
create_time,
create_time,
order_no
order_no
) VALUES (
) VALUES (
#{id},
#{category_Code},
#{category_Code},
#{category_Name},
#{category_Name},
COALESCE(#{parent_Id}, 0),
COALESCE(#{parent_Id}, 0),
...
...
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmMaterialDao.xml
View file @
76ffaf9f
...
@@ -63,7 +63,7 @@
...
@@ -63,7 +63,7 @@
create_time,
create_time,
order_no
order_no
) VALUES (
) VALUES (
UUID()
,
#{id}
,
#{category_id},
#{category_id},
#{material_code},
#{material_code},
#{material_name},
#{material_name},
...
...
src/main/resources/mybatis/mappers/standard/jilinsscgsdp/KeyDmUserCategoryDao.xml
View file @
76ffaf9f
...
@@ -35,7 +35,7 @@
...
@@ -35,7 +35,7 @@
create_time,
create_time,
order_no
order_no
) VALUES (
) VALUES (
UUID()
,
#{#id}
,
#{catgory_name},
#{catgory_name},
#{remark},
#{remark},
1,
1,
...
...
编写
预览
Markdown
格式
0%
重试
或
添加新文件
添加附件
取消
您添加了
0
人
到此讨论。请谨慎行事。
请先完成此评论的编辑!
取消
请
注册
或者
登录
后发表评论