Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cyyy
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
zhangfeng
cyyy
Commits
00205b40
Commit
00205b40
authored
May 10, 2021
by
zhangfeng
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
简报
parent
06588980
Show whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
20 additions
and
16 deletions
+20
-16
简报202120210508101724.xls.202105081017-c670817c-262d-48e8-8a6e-b8c503200bd6
...724.xls.202105081017-c670817c-262d-48e8-8a6e-b8c503200bd6
+0
-0
简报202120210508101907.xls.202105081019-3845a9e2-72da-4695-837a-e483fd88aa32
...907.xls.202105081019-3845a9e2-72da-4695-837a-e483fd88aa32
+0
-0
简报202120210508102330.xls.202105081023-2c851fce-2938-4d8b-bbb1-6c226d908931
...330.xls.202105081023-2c851fce-2938-4d8b-bbb1-6c226d908931
+0
-0
简报202120210508104227.xls.202105081042-d7fa529e-13a9-481a-bc2e-6a12a2dce6b6
...227.xls.202105081042-d7fa529e-13a9-481a-bc2e-6a12a2dce6b6
+0
-0
简报202120210508104810.xls.202105081048-63af7b22-5502-44da-b4c4-fa399a0bb962
...810.xls.202105081048-63af7b22-5502-44da-b4c4-fa399a0bb962
+0
-0
简报202120210508104900.xls.202105081049-f4645584-ae7e-46d2-bf00-6205a9028075
...900.xls.202105081049-f4645584-ae7e-46d2-bf00-6205a9028075
+0
-0
简报202120210508104952.xls.202105081049-fe220431-7607-48de-aea0-596fd3142e59
...952.xls.202105081049-fe220431-7607-48de-aea0-596fd3142e59
+0
-0
简报202120210508105447.xls.202105081054-853e70a4-0aca-4386-ab07-0d4e45a93cd1
...447.xls.202105081054-853e70a4-0aca-4386-ab07-0d4e45a93cd1
+0
-0
DowService.java
src/main/java/com/corp/cyyy/re/service/DowService.java
+10
-10
dow.md
src/main/resources/sql/re/dow.md
+7
-5
cwcindex.js
...n/resources/static/js/dubget/budgetDeclaratio/cwcindex.js
+1
-0
edit.js
src/main/resources/static/js/dubget/budgtType/edit.js
+2
-1
No files found.
filesystem/temp/简报202120210508101724.xls.202105081017-c670817c-262d-48e8-8a6e-b8c503200bd6
0 → 100644
View file @
00205b40
File added
filesystem/temp/简报202120210508101907.xls.202105081019-3845a9e2-72da-4695-837a-e483fd88aa32
0 → 100644
View file @
00205b40
File added
filesystem/temp/简报202120210508102330.xls.202105081023-2c851fce-2938-4d8b-bbb1-6c226d908931
0 → 100644
View file @
00205b40
File added
filesystem/temp/简报202120210508104227.xls.202105081042-d7fa529e-13a9-481a-bc2e-6a12a2dce6b6
0 → 100644
View file @
00205b40
File added
filesystem/temp/简报202120210508104810.xls.202105081048-63af7b22-5502-44da-b4c4-fa399a0bb962
0 → 100644
View file @
00205b40
File added
filesystem/temp/简报202120210508104900.xls.202105081049-f4645584-ae7e-46d2-bf00-6205a9028075
0 → 100644
View file @
00205b40
File added
filesystem/temp/简报202120210508104952.xls.202105081049-fe220431-7607-48de-aea0-596fd3142e59
0 → 100644
View file @
00205b40
File added
filesystem/temp/简报202120210508105447.xls.202105081054-853e70a4-0aca-4386-ab07-0d4e45a93cd1
0 → 100644
View file @
00205b40
File added
src/main/java/com/corp/cyyy/re/service/DowService.java
View file @
00205b40
...
...
@@ -176,26 +176,26 @@ public class DowService extends BaseService<Dow>{
//
if
(
dow
.
get
(
"sun"
)!=
null
)
{
if
(
StringUtils
.
isNotEmpty
(
dow
.
get
(
"sun"
).
toString
()))
{
Double
bq
=
dgDow
(
Double
.
valueOf
(
dow
.
get
(
"sun"
).
toString
()),
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
Double
bq
=
dgDow
KS
(
Double
.
valueOf
(
dow
.
get
(
"sun"
).
toString
()),
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
dow
.
set
(
"sun"
,
bq
);
}
else
{
Double
bq
=
dgDow
(
0.00
,
dow
.
getBudgtType
(),
fp
.
getType
());
Double
bq
=
dgDow
KS
(
0.00
,
dow
.
getBudgtType
(),
fp
.
getType
());
dow
.
set
(
"sun"
,
bq
);
}
}
else
{
Double
bq
=
dgDow
(
0.00
,
dow
.
getBudgtType
(),
fp
.
getType
());
Double
bq
=
dgDow
KS
(
0.00
,
dow
.
getBudgtType
(),
fp
.
getType
());
dow
.
set
(
"sun"
,
bq
);
}
if
(
dow
.
get
(
"sunb"
)!=
null
)
{
if
(
StringUtils
.
isNotEmpty
(
dow
.
get
(
"sunb"
).
toString
()))
{
Double
bq
=
dgDowZJ
(
Double
.
valueOf
(
dow
.
get
(
"sunb"
).
toString
()),
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
Double
bq
=
dgDowZJ
ks
(
Double
.
valueOf
(
dow
.
get
(
"sunb"
).
toString
()),
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
dow
.
set
(
"sunb"
,
bq
);
}
else
{
Double
bq
=
dgDowZJ
(
0.00
,
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
Double
bq
=
dgDowZJ
ks
(
0.00
,
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
dow
.
set
(
"sunb"
,
bq
);
}
}
else
{
Double
bq
=
dgDowZJ
(
0.00
,
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
Double
bq
=
dgDowZJ
ks
(
0.00
,
dow
.
getBudgtType
().
toString
(),
fp
.
getType
());
dow
.
set
(
"sunb"
,
bq
);
}
}
...
...
@@ -208,7 +208,7 @@ public class DowService extends BaseService<Dow>{
* 全院预算递归查询下级预算类型金额
* @param dow
*/
private
Double
dgDow
(
Double
dq
,
String
Id
,
String
org
)
{
private
Double
dgDow
KS
(
Double
dq
,
String
Id
,
String
org
)
{
//先获取当前的金额
...
...
@@ -226,7 +226,7 @@ public class DowService extends BaseService<Dow>{
}
//查看是否还有下级如果有再次调任此方法
for
(
Dow
dow
:
list
)
{
dq
=
dgDow
(
dq
,
dow
.
getId
().
toString
()
);
dq
=
dgDow
KS
(
dq
,
dow
.
getId
().
toString
(),
org
);
}
return
dq
;
...
...
@@ -235,7 +235,7 @@ public class DowService extends BaseService<Dow>{
*全院追加 递归查询下级预算类型金额
* @param dow
*/
private
Double
dgDowZJ
(
Double
dq
,
String
Id
,
String
org
)
{
private
Double
dgDowZJ
ks
(
Double
dq
,
String
Id
,
String
org
)
{
//先获取当前的金额
List
<
Dow
>
list
=
dowDao
.
getParentId
(
Id
,
org
);
if
(
list
.
size
()<
1
)
{
...
...
@@ -251,7 +251,7 @@ public class DowService extends BaseService<Dow>{
}
//查看是否还有下级如果有再次调任此方法
for
(
Dow
dow
:
list
)
{
dq
=
dgDowZJ
(
dq
,
dow
.
getId
().
toString
(),
org
);
dq
=
dgDowZJ
ks
(
dq
,
dow
.
getId
().
toString
(),
org
);
}
return
dq
;
...
...
src/main/resources/sql/re/dow.md
View file @
00205b40
...
...
@@ -81,12 +81,13 @@ getKS
`dow`
d
LEFT JOIN (SELECT
*
FROM budget_declaratio WHERE
DTYPE = '1' ) b ON d.BUDGT_TYPE = b.TYPE
LEFT JOIN (SELECT
*
FROM core_org WHERE 1=1
LEFT JOIN core_org o on b.DEPT_ID=o.ID
WHERE 1 = 1
@if(!isEmpty(type)){
AND FULL_NAME=#type#
OR ISNULL(FULL_NAME)
@}
)
o on b.DEPT_ID=o.ID
GROUP BY
d.ID
...
...
@@ -101,11 +102,12 @@ getKS
`dow`
d
LEFT JOIN (SELECT
*
FROM budget_declaratio WHERE
DTYPE = '2' ) b ON d.BUDGT_TYPE = b.TYPE
LEFT JOIN (SELECT
*
FROM core_org WHERE 1=1
LEFT JOIN core_org o on b.DEPT_ID=o.ID
WHERE 1 = 1
@if(!isEmpty(type)){
AND FULL_NAME=#type#
OR ISNULL(FULL_NAME)
@}
) o on b.DEPT_ID=o.ID
GROUP BY
d.ID
...
...
src/main/resources/static/js/dubget/budgetDeclaratio/cwcindex.js
View file @
00205b40
...
...
@@ -132,6 +132,7 @@ layui.define([ 'form', 'laydate', 'table' ], function(exports) {
}
else
if
(
obj
.
event
===
'instList'
){
debugger
;
layer
.
open
({
type
:
2
,
shade
:
false
,
...
...
src/main/resources/static/js/dubget/budgtType/edit.js
View file @
00205b40
...
...
@@ -24,8 +24,9 @@ layui.define([ 'form', 'laydate', 'table','budgtTypeApi'], function(exports) {
},
initSubmit
:
function
(){
$
(
"#updateButton"
).
click
(
function
(){
$
(
this
).
addClass
(
'layui-btn-disabled'
).
attr
(
'disabled'
,
true
);
form
.
on
(
'submit(form)'
,
function
(){
$
(
this
).
addClass
(
'layui-btn-disabled'
).
attr
(
'disabled'
,
true
);
budgtTypeApi
.
updateBudgtType
(
$
(
'#updateForm'
),
function
(){
parent
.
window
.
dataReload
();
Common
.
info
(
"更新成功"
);
...
...
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