Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
K
kwell-mes
Project
Project
Details
Activity
Releases
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
gavelinfo
kwell-mes
Commits
aa3103a7
Commit
aa3103a7
authored
Mar 10, 2022
by
zhoumaotao
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
文件路径接口
parent
ae8fb44c
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
44 additions
and
0 deletions
+44
-0
KmesBoardController.java
.../java/com/gavel/kwell/controller/KmesBoardController.java
+25
-0
KmesBoardService.java
...c/main/java/com/gavel/kwell/service/KmesBoardService.java
+4
-0
KmesBoardServiceImpl.java
...va/com/gavel/kwell/service/impl/KmesBoardServiceImpl.java
+15
-0
No files found.
gavel/src/main/java/com/gavel/kwell/controller/KmesBoardController.java
View file @
aa3103a7
...
@@ -2,6 +2,7 @@ package com.gavel.kwell.controller;
...
@@ -2,6 +2,7 @@ package com.gavel.kwell.controller;
import
com.alibaba.fastjson.JSONObject
;
import
com.alibaba.fastjson.JSONObject
;
import
com.gavel.common.base.controller.BaseController
;
import
com.gavel.common.base.controller.BaseController
;
import
com.gavel.common.utils.ThreadContext
;
import
com.gavel.kwell.service.KmesBoardService
;
import
com.gavel.kwell.service.KmesBoardService
;
import
com.gavel.kwell.vo.GpfkHgVO
;
import
com.gavel.kwell.vo.GpfkHgVO
;
import
com.gavel.kwell.vo.PcslVO
;
import
com.gavel.kwell.vo.PcslVO
;
...
@@ -123,4 +124,28 @@ public class KmesBoardController extends BaseController {
...
@@ -123,4 +124,28 @@ public class KmesBoardController extends BaseController {
UWoVO
uWoVO
=
kmesBoardService
.
queryWorkingWO
();
UWoVO
uWoVO
=
kmesBoardService
.
queryWorkingWO
();
return
buildReturnData
(
uWoVO
);
return
buildReturnData
(
uWoVO
);
}
}
/**
* 视频路径api
*/
@RequestMapping
(
value
=
"getPdf"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
Object
getPdf
(
@RequestBody
JSONObject
param
)
{
returnData
().
add
(
"pdf"
,
kmesBoardService
.
getPdf
());
return
ThreadContext
.
getReturnData
();
}
/**
* 视频路径api
*/
@RequestMapping
(
value
=
"getVideo"
,
method
=
RequestMethod
.
POST
)
@ResponseBody
public
Object
getVideo
(
@RequestBody
JSONObject
param
)
{
returnData
().
add
(
"video"
,
kmesBoardService
.
getVideo
());
return
ThreadContext
.
getReturnData
();
}
}
}
gavel/src/main/java/com/gavel/kwell/service/KmesBoardService.java
View file @
aa3103a7
...
@@ -25,4 +25,8 @@ public interface KmesBoardService extends BaseEditService {
...
@@ -25,4 +25,8 @@ public interface KmesBoardService extends BaseEditService {
public
UWoVO
queryWorkingWO
();
public
UWoVO
queryWorkingWO
();
public
List
<
GpfkHgVO
>
queryGpfkHgl
();
public
List
<
GpfkHgVO
>
queryGpfkHgl
();
public
String
getPdf
();
public
String
getVideo
();
}
}
gavel/src/main/java/com/gavel/kwell/service/impl/KmesBoardServiceImpl.java
View file @
aa3103a7
package
com
.
gavel
.
kwell
.
service
.
impl
;
package
com
.
gavel
.
kwell
.
service
.
impl
;
import
com.gavel.common.base.service.impl.BaseEditServiceImpl
;
import
com.gavel.common.base.service.impl.BaseEditServiceImpl
;
import
com.gavel.common.business.service.CommonService
;
import
com.gavel.common.utils.DateUtils
;
import
com.gavel.common.utils.DateUtils
;
import
com.gavel.common.utils.NumberUtils
;
import
com.gavel.common.utils.NumberUtils
;
import
com.gavel.kwell.dao.GpfkcxDao
;
import
com.gavel.kwell.dao.GpfkcxDao
;
...
@@ -8,6 +9,7 @@ import com.gavel.kwell.dao.KmesBoardDao;
...
@@ -8,6 +9,7 @@ import com.gavel.kwell.dao.KmesBoardDao;
import
com.gavel.kwell.persistent.Gpfk
;
import
com.gavel.kwell.persistent.Gpfk
;
import
com.gavel.kwell.service.KmesBoardService
;
import
com.gavel.kwell.service.KmesBoardService
;
import
com.gavel.kwell.utils.DateCalculateUtil
;
import
com.gavel.kwell.utils.DateCalculateUtil
;
import
com.gavel.kwell.utils.KwellParamEnum
;
import
com.gavel.kwell.vo.GpfkHgVO
;
import
com.gavel.kwell.vo.GpfkHgVO
;
import
com.gavel.kwell.vo.PcslVO
;
import
com.gavel.kwell.vo.PcslVO
;
import
com.gavel.kwell.vo.SdclVO
;
import
com.gavel.kwell.vo.SdclVO
;
...
@@ -33,6 +35,9 @@ public class KmesBoardServiceImpl extends BaseEditServiceImpl implements KmesBoa
...
@@ -33,6 +35,9 @@ public class KmesBoardServiceImpl extends BaseEditServiceImpl implements KmesBoa
@Autowired
@Autowired
private
GpfkcxDao
gpfkcxDao
;
private
GpfkcxDao
gpfkcxDao
;
@Autowired
private
CommonService
commonService
;
@Override
@Override
public
void
initService
(){
public
void
initService
(){
}
}
...
@@ -131,4 +136,14 @@ public class KmesBoardServiceImpl extends BaseEditServiceImpl implements KmesBoa
...
@@ -131,4 +136,14 @@ public class KmesBoardServiceImpl extends BaseEditServiceImpl implements KmesBoa
}
}
return
gpfkHgVOList
;
return
gpfkHgVOList
;
}
}
@Override
public
String
getPdf
()
{
return
commonService
.
getStringOptionValue
(
KwellParamEnum
.
DASHBORAD_PDF
.
getId
());
}
@Override
public
String
getVideo
()
{
return
commonService
.
getStringOptionValue
(
KwellParamEnum
.
DASHBORAD_VIDEO
.
getId
());
}
}
}
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