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
79d777c2
Commit
79d777c2
authored
Dec 27, 2023
by
hehongwei
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
六矿生成表清洗修改
parent
7e14b7d8
Changes
5
Hide whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
1594 additions
and
1909 deletions
+1594
-1909
ruoyi-supplies/src/main/java/com/ruoyi/system/controller/ActClassificationController.java
.../ruoyi/system/controller/ActClassificationController.java
+13
-13
ruoyi-supplies/src/main/java/com/ruoyi/system/domain/ActSuppliesSixMinesSummaryTable.java
.../ruoyi/system/domain/ActSuppliesSixMinesSummaryTable.java
+25
-0
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActSuppliesHistorydataServiceImpl.java
...ystem/service/impl/ActSuppliesHistorydataServiceImpl.java
+10
-6
ruoyi-supplies/src/main/resources/mapper/system/ActSuppliesCleaningRuleMapper.xml
...resources/mapper/system/ActSuppliesCleaningRuleMapper.xml
+4
-0
ruoyi-ui/src/views/system/supplies/index.vue
ruoyi-ui/src/views/system/supplies/index.vue
+1542
-1890
No files found.
ruoyi-supplies/src/main/java/com/ruoyi/system/controller/ActClassificationController.java
View file @
79d777c2
...
@@ -152,19 +152,19 @@ public class ActClassificationController extends BaseController
...
@@ -152,19 +152,19 @@ public class ActClassificationController extends BaseController
@PreAuthorize
(
"@ss.hasPermission('ActClassification:ActClassification:GetAll')"
)
//
@PreAuthorize("@ss.hasPermission('ActClassification:ActClassification:GetAll')")
@GetMapping
(
"/all"
)
//
@GetMapping("/all")
public
List
<
ActClassification
>
getAllActClassifications
()
{
//
public List<ActClassification> getAllActClassifications() {
return
actClassificationService
.
getAllActClassifications
();
//
return actClassificationService.getAllActClassifications();
}
//
}
//
@PreAuthorize
(
"@ss.hasPermission('ActClassification:ActClassification:GetSub')"
)
//
@PreAuthorize("@ss.hasPermission('ActClassification:ActClassification:GetSub')")
@GetMapping
(
"/sub/{parentId}"
)
//
@GetMapping("/sub/{parentId}")
public
List
<
ActClassification
>
getSubActClassifications
(
@PathVariable
(
"parentId"
)
int
parentId
)
{
//
public List<ActClassification> getSubActClassifications(@PathVariable("parentId") int parentId) {
return
actClassificationService
.
getSubActClassifications
(
parentId
);
//
return actClassificationService.getSubActClassifications(parentId);
}
//
}
@PreAuthorize
(
"@ss.hasPermi
ssion('ActClassification:ActClassification:Sun
Dy')"
)
@PreAuthorize
(
"@ss.hasPermi
('ActClassification:ActClassification:getSubActClass
Dy')"
)
@GetMapping
(
"/SunDy/{sskId}"
)
@GetMapping
(
"/SunDy/{sskId}"
)
public
List
<
ActClassification
>
getSubActClassDy
(
@PathVariable
(
"sskId"
)
int
sskId
)
{
public
List
<
ActClassification
>
getSubActClassDy
(
@PathVariable
(
"sskId"
)
int
sskId
)
{
return
actClassificationService
.
getSubActClassDy
(
sskId
);
return
actClassificationService
.
getSubActClassDy
(
sskId
);
...
...
ruoyi-supplies/src/main/java/com/ruoyi/system/domain/ActSuppliesSixMinesSummaryTable.java
View file @
79d777c2
...
@@ -33,6 +33,11 @@ public class ActSuppliesSixMinesSummaryTable extends BaseEntity
...
@@ -33,6 +33,11 @@ public class ActSuppliesSixMinesSummaryTable extends BaseEntity
/** 部门名称 */
/** 部门名称 */
@Excel
(
name
=
"部门名称"
)
@Excel
(
name
=
"部门名称"
)
private
String
departmentName
;
private
String
departmentName
;
/** 计量单位 */
@Excel
(
name
=
"计量单位"
)
private
String
unit
;
/** 数量 */
/** 数量 */
@Excel
(
name
=
"数量"
)
@Excel
(
name
=
"数量"
)
private
Double
number
;
private
Double
number
;
...
@@ -45,6 +50,10 @@ public class ActSuppliesSixMinesSummaryTable extends BaseEntity
...
@@ -45,6 +50,10 @@ public class ActSuppliesSixMinesSummaryTable extends BaseEntity
@Excel
(
name
=
"金额"
)
@Excel
(
name
=
"金额"
)
private
Double
money
;
private
Double
money
;
/** 费用来源 */
@Excel
(
name
=
"费用来源"
)
private
String
costChannels
;
/** 创建人 */
/** 创建人 */
@Excel
(
name
=
"创建人"
)
@Excel
(
name
=
"创建人"
)
private
String
createBy
;
private
String
createBy
;
...
@@ -151,6 +160,22 @@ public class ActSuppliesSixMinesSummaryTable extends BaseEntity
...
@@ -151,6 +160,22 @@ public class ActSuppliesSixMinesSummaryTable extends BaseEntity
this
.
mining
=
mining
;
this
.
mining
=
mining
;
}
}
public
String
getUnit
()
{
return
unit
;
}
public
void
setUnit
(
String
unit
)
{
this
.
unit
=
unit
;
}
public
String
getCostChannels
()
{
return
costChannels
;
}
public
void
setCostChannels
(
String
costChannels
)
{
this
.
costChannels
=
costChannels
;
}
@Override
@Override
public
String
toString
()
{
public
String
toString
()
{
return
"ActSuppliesSixMinesSummaryTable{"
+
return
"ActSuppliesSixMinesSummaryTable{"
+
...
...
ruoyi-supplies/src/main/java/com/ruoyi/system/service/impl/ActSuppliesHistorydataServiceImpl.java
View file @
79d777c2
...
@@ -256,15 +256,19 @@ public class ActSuppliesHistorydataServiceImpl implements IActSuppliesHistorydat
...
@@ -256,15 +256,19 @@ public class ActSuppliesHistorydataServiceImpl implements IActSuppliesHistorydat
actSuppliesSixMinesSummaryTable
.
setProjectName
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
1
].
getV
());
actSuppliesSixMinesSummaryTable
.
setProjectName
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
1
].
getV
());
actSuppliesSixMinesSummaryTable
.
setDepartmentName
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
3
].
getV
());
actSuppliesSixMinesSummaryTable
.
setDepartmentName
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
3
].
getV
());
actSuppliesSixMinesSummaryTable
.
setUnit
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
4
].
getV
());
if
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
3
].
getV
()
!=
null
)
{
if
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
5
].
getV
()
!=
null
)
{
actSuppliesSixMinesSummaryTable
.
setNumber
(
Double
.
valueOf
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
4
].
getV
()));
actSuppliesSixMinesSummaryTable
.
setNumber
(
Double
.
valueOf
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
5
].
getV
()));
}
}
if
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
4
].
getV
()
!=
null
)
{
if
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
6
].
getV
()
!=
null
)
{
actSuppliesSixMinesSummaryTable
.
setNuitPrice
(
Double
.
valueOf
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
5
].
getV
()));
actSuppliesSixMinesSummaryTable
.
setNuitPrice
(
Double
.
valueOf
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
6
].
getV
()));
}
}
if
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
5
].
getV
()
!=
null
)
{
if
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
7
].
getV
()
!=
null
)
{
actSuppliesSixMinesSummaryTable
.
setMoney
(
Double
.
valueOf
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
6
].
getV
()));
actSuppliesSixMinesSummaryTable
.
setMoney
(
Double
.
valueOf
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
7
].
getV
()));
}
if
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
8
].
getV
()
!=
null
)
{
actSuppliesSixMinesSummaryTable
.
setCostChannels
(
actOperation2s
.
get
(
i
).
getActOperation2
()[
x
][
8
].
getV
());
}
}
actSuppliesSixMinesSummaryTable
.
setCreateBy
(
actOperation2s
.
get
(
i
).
getCreateBy
());
actSuppliesSixMinesSummaryTable
.
setCreateBy
(
actOperation2s
.
get
(
i
).
getCreateBy
());
...
...
ruoyi-supplies/src/main/resources/mapper/system/ActSuppliesCleaningRuleMapper.xml
View file @
79d777c2
...
@@ -59,9 +59,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -59,9 +59,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"projectId != null"
>
project_id,
</if>
<if
test=
"projectId != null"
>
project_id,
</if>
<if
test=
"projectName != null"
>
project_name,
</if>
<if
test=
"projectName != null"
>
project_name,
</if>
<if
test=
"departmentName != null"
>
department_name,
</if>
<if
test=
"departmentName != null"
>
department_name,
</if>
<if
test=
"unit != null"
>
unit,
</if>
<if
test=
"number != null"
>
number,
</if>
<if
test=
"number != null"
>
number,
</if>
<if
test=
"nuitPrice != null"
>
nuit_price,
</if>
<if
test=
"nuitPrice != null"
>
nuit_price,
</if>
<if
test=
"money != null"
>
money,
</if>
<if
test=
"money != null"
>
money,
</if>
<if
test=
"costChannels != null"
>
cost_channels,
</if>
<if
test=
"createBy != null"
>
create_by,
</if>
<if
test=
"createBy != null"
>
create_by,
</if>
<if
test=
"hDate != null"
>
h_date,
</if>
<if
test=
"hDate != null"
>
h_date,
</if>
<if
test=
"mining != null"
>
ssk_id,
</if>
<if
test=
"mining != null"
>
ssk_id,
</if>
...
@@ -72,9 +74,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
...
@@ -72,9 +74,11 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
<if
test=
"projectId != null"
>
#{projectId},
</if>
<if
test=
"projectId != null"
>
#{projectId},
</if>
<if
test=
"projectName != null"
>
#{projectName},
</if>
<if
test=
"projectName != null"
>
#{projectName},
</if>
<if
test=
"departmentName != null"
>
#{departmentName},
</if>
<if
test=
"departmentName != null"
>
#{departmentName},
</if>
<if
test=
"unit != null"
>
#{unit},
</if>
<if
test=
"number != null"
>
#{number},
</if>
<if
test=
"number != null"
>
#{number},
</if>
<if
test=
"nuitPrice != null"
>
#{nuitPrice},
</if>
<if
test=
"nuitPrice != null"
>
#{nuitPrice},
</if>
<if
test=
"money != null"
>
#{money},
</if>
<if
test=
"money != null"
>
#{money},
</if>
<if
test=
"costChannels != null"
>
#{costChannels},
</if>
<if
test=
"createBy != null"
>
#{createBy},
</if>
<if
test=
"createBy != null"
>
#{createBy},
</if>
<if
test=
"hDate != null"
>
#{hDate},
</if>
<if
test=
"hDate != null"
>
#{hDate},
</if>
<if
test=
"mining != null"
>
#{mining},
</if>
<if
test=
"mining != null"
>
#{mining},
</if>
...
...
ruoyi-ui/src/views/system/supplies/index.vue
View file @
79d777c2
This source diff could not be displayed because it is too large. You can
view the blob
instead.
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