Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
K
klck
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
位宇华
klck
Commits
e6c56db9
Commit
e6c56db9
authored
Sep 09, 2024
by
位宇华
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
规则添加--代码提交
parent
d270a747
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
79 additions
and
4 deletions
+79
-4
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
.../main/java/com/ruoyi/framework/config/SecurityConfig.java
+2
-1
ruoyi-wages/src/main/java/com/ruoyi/system/constant/CoalConstant.java
...src/main/java/com/ruoyi/system/constant/CoalConstant.java
+22
-3
ruoyi-wages/src/main/java/com/ruoyi/system/support/CurrentRuleSalarySupport.java
...va/com/ruoyi/system/support/CurrentRuleSalarySupport.java
+55
-0
No files found.
ruoyi-framework/src/main/java/com/ruoyi/framework/config/SecurityConfig.java
View file @
e6c56db9
...
@@ -114,7 +114,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
...
@@ -114,7 +114,8 @@ public class SecurityConfig extends WebSecurityConfigurerAdapter
.
antMatchers
(
"/*/api-docs"
).
anonymous
()
.
antMatchers
(
"/*/api-docs"
).
anonymous
()
.
antMatchers
(
"/druid/**"
).
anonymous
()
.
antMatchers
(
"/druid/**"
).
anonymous
()
.
antMatchers
(
"/dht/salary"
).
anonymous
()
.
antMatchers
(
"/current/rule/salary"
).
anonymous
()
.
antMatchers
(
"/expense/source"
).
anonymous
()
// activiti modeler 放行
// activiti modeler 放行
.
antMatchers
(
"/modeler/**"
).
anonymous
()
.
antMatchers
(
"/modeler/**"
).
anonymous
()
.
antMatchers
(
"/activiti/definition/upload"
).
anonymous
()
.
antMatchers
(
"/activiti/definition/upload"
).
anonymous
()
...
...
ruoyi-wages/src/main/java/com/ruoyi/system/constant/CoalConstant.java
View file @
e6c56db9
...
@@ -19,9 +19,28 @@ public class CoalConstant {
...
@@ -19,9 +19,28 @@ public class CoalConstant {
* 吕家坨矿
* 吕家坨矿
*/
*/
public
final
static
String
LJT_MINE
=
"011702"
;
public
final
static
String
LJT_MINE
=
"011702"
;
/**
* 单侯
*/
public
final
static
String
SH_MINE
=
"011204"
;
/**
* 范各庄矿
*/
public
final
static
String
FK_MINE
=
"011701"
;
/**
* 宏丰
*/
public
final
static
String
HF_MINE
=
"011502"
;
/**
* 钱家营矿
*/
public
final
static
String
QJY_MINE
=
"010105"
;
/**
* 云飞
*/
public
final
static
String
YF_MINE
=
"011504"
;
public
final
static
String
ONE
=
"1"
;
public
final
static
String
ONE
=
"1"
;
public
final
static
String
ZERO
=
"0"
;
public
final
static
String
ZERO
=
"0"
;
}
}
ruoyi-wages/src/main/java/com/ruoyi/system/support/CurrentRuleSalarySupport.java
View file @
e6c56db9
...
@@ -22,6 +22,61 @@ public class CurrentRuleSalarySupport {
...
@@ -22,6 +22,61 @@ public class CurrentRuleSalarySupport {
MINE_MAP
.
put
(
CoalConstant
.
LJT_MINE
,
CurrentRuleSalarySupport:
:
getLjtMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
LJT_MINE
,
CurrentRuleSalarySupport:
:
getLjtMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
LX_MINE
,
CurrentRuleSalarySupport:
:
getLxMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
LX_MINE
,
CurrentRuleSalarySupport:
:
getLxMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
DHT_MINE
,
CurrentRuleSalarySupport:
:
getDhtMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
DHT_MINE
,
CurrentRuleSalarySupport:
:
getDhtMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
SH_MINE
,
CurrentRuleSalarySupport:
:
getShMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
FK_MINE
,
CurrentRuleSalarySupport:
:
getFKMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
HF_MINE
,
CurrentRuleSalarySupport:
:
getHfMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
QJY_MINE
,
CurrentRuleSalarySupport:
:
getQjyMineSalaryData
);
MINE_MAP
.
put
(
CoalConstant
.
YF_MINE
,
CurrentRuleSalarySupport:
:
getYfMineSalaryData
);
}
/**
* 云飞
*
* @param newRuleSalaryRequestModelList
* @return
*/
private
static
List
<
SalaryExcelModel
>
getYfMineSalaryData
(
List
<
NewRuleRequestModel
>
newRuleSalaryRequestModelList
)
{
return
getSalaryMapping
(
newRuleSalaryRequestModelList
);
}
/**
* 钱家营矿
*
* @param newRuleSalaryRequestModelList
* @return
*/
private
static
List
<
SalaryExcelModel
>
getQjyMineSalaryData
(
List
<
NewRuleRequestModel
>
newRuleSalaryRequestModelList
)
{
return
getSalaryMapping
(
newRuleSalaryRequestModelList
);
}
/**
* 宏丰
*
* @param newRuleSalaryRequestModelList
* @return
*/
private
static
List
<
SalaryExcelModel
>
getHfMineSalaryData
(
List
<
NewRuleRequestModel
>
newRuleSalaryRequestModelList
)
{
return
getSalaryMapping
(
newRuleSalaryRequestModelList
);
}
/**
* 范各庄矿
*
* @param newRuleSalaryRequestModelList
* @return
*/
private
static
List
<
SalaryExcelModel
>
getFKMineSalaryData
(
List
<
NewRuleRequestModel
>
newRuleSalaryRequestModelList
)
{
return
getSalaryMapping
(
newRuleSalaryRequestModelList
);
}
/**
* 单侯
*
* @param newRuleSalaryRequestModelList
* @return
*/
private
static
List
<
SalaryExcelModel
>
getShMineSalaryData
(
List
<
NewRuleRequestModel
>
newRuleSalaryRequestModelList
)
{
return
getSalaryMapping
(
newRuleSalaryRequestModelList
);
}
}
...
...
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