Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Contribute to GitLab
Sign in / Register
Toggle navigation
Z
zh-baseversion-project
Project
Project
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
王浩
zh-baseversion-project
Commits
1855f366
Commit
1855f366
authored
May 09, 2024
by
耿迪迪
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
专家行为申报-浏览
parent
237fda7e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
22 changed files
with
2269 additions
and
2 deletions
+2269
-2
TokenController.java
...n/java/com/zehong/web/controller/api/TokenController.java
+42
-1
FProBehInforBrowseController.java
...b/controller/specialist/FProBehInforBrowseController.java
+103
-0
FProBehInforController.java
...ong/web/controller/specialist/FProBehInforController.java
+118
-0
GovernmentDataUtil.java
...main/java/com/zehong/common/utils/GovernmentDataUtil.java
+1
-1
FProBehInfor.java
.../src/main/java/com/zehong/system/domain/FProBehInfor.java
+151
-0
FProBehInforBrowse.java
...ain/java/com/zehong/system/domain/FProBehInforBrowse.java
+121
-0
ProBehInfoBrowseVo.java
.../java/com/zehong/system/domain/vo/ProBehInfoBrowseVo.java
+94
-0
ProBehInfoVo.java
...c/main/java/com/zehong/system/domain/vo/ProBehInfoVo.java
+70
-0
FProBehInforBrowseMapper.java
...va/com/zehong/system/mapper/FProBehInforBrowseMapper.java
+61
-0
FProBehInforMapper.java
...ain/java/com/zehong/system/mapper/FProBehInforMapper.java
+61
-0
IFProBehInforBrowseService.java
...com/zehong/system/service/IFProBehInforBrowseService.java
+61
-0
IFProBehInforService.java
.../java/com/zehong/system/service/IFProBehInforService.java
+68
-0
FProBehInforBrowseServiceImpl.java
...ng/system/service/impl/FProBehInforBrowseServiceImpl.java
+93
-0
FProBehInforServiceImpl.java
...m/zehong/system/service/impl/FProBehInforServiceImpl.java
+137
-0
FProBehInforBrowseMapper.xml
...main/resources/mapper/system/FProBehInforBrowseMapper.xml
+76
-0
FProBehInforMapper.xml
...m/src/main/resources/mapper/system/FProBehInforMapper.xml
+85
-0
behBrowse.js
zh-baseversion-web/src/api/specialist/behBrowse.js
+53
-0
behInfo.js
zh-baseversion-web/src/api/specialist/behInfo.js
+62
-0
DetailInfo.vue
.../src/views/specialist/behBrowse/components/DetailInfo.vue
+58
-0
index.vue
zh-baseversion-web/src/views/specialist/behBrowse/index.vue
+307
-0
DetailInfo.vue
...eb/src/views/specialist/behInfo/components/DetailInfo.vue
+66
-0
index.vue
zh-baseversion-web/src/views/specialist/behInfo/index.vue
+381
-0
No files found.
zh-baseversion-admin/src/main/java/com/zehong/web/controller/api/TokenController.java
View file @
1855f366
...
...
@@ -4,8 +4,11 @@ import com.alibaba.fastjson.JSONArray;
import
com.alibaba.fastjson.JSONObject
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.utils.GovernmentDataCopyUtil
;
import
com.zehong.system.domain.FProBehInforBrowse
;
import
com.zehong.system.domain.TProAppInforBrowse
;
import
com.zehong.system.domain.vo.ProAppInforBrowseVo
;
import
com.zehong.system.domain.vo.ProBehInfoBrowseVo
;
import
com.zehong.system.service.IFProBehInforBrowseService
;
import
com.zehong.system.service.ITProAppInforBrowseService
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
...
...
@@ -33,6 +36,9 @@ public class TokenController {
@Autowired
private
ITProAppInforBrowseService
tProAppInforBrowseService
;
@Autowired
private
IFProBehInforBrowseService
fProBehInforBrowseService
;
/**
* 获取营业执照
* @return
...
...
@@ -123,10 +129,11 @@ public class TokenController {
map
.
put
(
"pageIndex"
,
pageIndex
);
map
.
put
(
"pageSize"
,
pageSize
);
JSONObject
json
=
outUtil
.
getInfo
(
"professor/application/information"
,
"READ"
,
map
);
log
.
info
(
"获取行业专家档案结果========="
+
json
.
toString
());
if
(
null
!=
json
&&
"0"
.
equals
(
json
.
getString
(
"resultCode"
))
&&
null
!=
json
.
getJSONArray
(
"data"
)){
addProfessorInfo
(
json
.
getJSONArray
(
"data"
));
}
return
AjaxResult
.
success
(
"获取行业专家档案成功"
);
return
AjaxResult
.
success
(
json
);
}
catch
(
Exception
e
)
{
log
.
error
(
"获取行业专家档案失败"
,
e
);
return
AjaxResult
.
error
(
"获取行业专家档案失败"
);
...
...
@@ -146,4 +153,38 @@ public class TokenController {
tProAppInforBrowseService
.
insertTProAppInforBrowse
(
tProAppInforBrowse
);
}
}
@GetMapping
(
value
=
"/getBehaviour"
)
public
AjaxResult
getBehaviour
(
@RequestParam
(
value
=
"updateTime"
)
String
updateTime
,
@RequestParam
(
value
=
"pageIndex"
)
Integer
pageIndex
,
@RequestParam
(
value
=
"pageSize"
)
Integer
pageSize
){
try
{
Map
<
String
,
Object
>
map
=
new
HashMap
<>();
map
.
put
(
"updateTime"
,
updateTime
);
map
.
put
(
"pageIndex"
,
pageIndex
);
map
.
put
(
"pageSize"
,
pageSize
);
JSONObject
json
=
outUtil
.
getInfo
(
"professor/behaviour/information"
,
"READ"
,
map
);
log
.
info
(
"获取专家行为档案结果========="
+
json
.
toString
());
if
(
null
!=
json
&&
"0"
.
equals
(
json
.
getString
(
"resultCode"
))
&&
null
!=
json
.
getJSONArray
(
"data"
)){
addBehaviourInfo
(
json
.
getJSONArray
(
"data"
));
}
return
AjaxResult
.
success
(
json
);
}
catch
(
Exception
e
)
{
log
.
error
(
"获取行业专家档案失败"
,
e
);
return
AjaxResult
.
error
(
"获取专家行为档案失败"
);
}
}
/**
* 持久化行业专家档案
* @param data
*/
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
void
addBehaviourInfo
(
JSONArray
data
)
throws
IllegalAccessException
{
for
(
int
i
=
0
;
i
<
data
.
size
();
i
++){
ProBehInfoBrowseVo
proBehInfoBrowseVo
=
JSONObject
.
toJavaObject
(
data
.
getJSONObject
(
i
),
ProBehInfoBrowseVo
.
class
);
FProBehInforBrowse
proBehInforBrowse
=
new
FProBehInforBrowse
();
GovernmentDataCopyUtil
.
copyToLocalData
(
proBehInfoBrowseVo
,
proBehInforBrowse
);
fProBehInforBrowseService
.
insertFProBehInforBrowse
(
proBehInforBrowse
);
}
}
}
zh-baseversion-admin/src/main/java/com/zehong/web/controller/specialist/FProBehInforBrowseController.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
web
.
controller
.
specialist
;
import
java.util.List
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zehong.common.annotation.Log
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.FProBehInforBrowse
;
import
com.zehong.system.service.IFProBehInforBrowseService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 行业专家库-专家行为浏览Controller
*
* @author zehong
* @date 2024-05-09
*/
@RestController
@RequestMapping
(
"/specialist/behBrowse"
)
public
class
FProBehInforBrowseController
extends
BaseController
{
@Autowired
private
IFProBehInforBrowseService
fProBehInforBrowseService
;
/**
* 查询行业专家库-专家行为浏览列表
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behBrowse:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
FProBehInforBrowse
fProBehInforBrowse
)
{
startPage
();
List
<
FProBehInforBrowse
>
list
=
fProBehInforBrowseService
.
selectFProBehInforBrowseList
(
fProBehInforBrowse
);
return
getDataTable
(
list
);
}
/**
* 导出行业专家库-专家行为浏览列表
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behBrowse:export')"
)
@Log
(
title
=
"行业专家库-专家行为浏览"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
FProBehInforBrowse
fProBehInforBrowse
)
{
List
<
FProBehInforBrowse
>
list
=
fProBehInforBrowseService
.
selectFProBehInforBrowseList
(
fProBehInforBrowse
);
ExcelUtil
<
FProBehInforBrowse
>
util
=
new
ExcelUtil
<
FProBehInforBrowse
>(
FProBehInforBrowse
.
class
);
return
util
.
exportExcel
(
list
,
"行业专家库-专家行为浏览数据"
);
}
/**
* 获取行业专家库-专家行为浏览详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behBrowse:query')"
)
@GetMapping
(
value
=
"/{fProBehInforId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"fProBehInforId"
)
Long
fProBehInforId
)
{
return
AjaxResult
.
success
(
fProBehInforBrowseService
.
selectFProBehInforBrowseById
(
fProBehInforId
));
}
/**
* 新增行业专家库-专家行为浏览
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behBrowse:add')"
)
@Log
(
title
=
"行业专家库-专家行为浏览"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
FProBehInforBrowse
fProBehInforBrowse
)
{
return
toAjax
(
fProBehInforBrowseService
.
insertFProBehInforBrowse
(
fProBehInforBrowse
));
}
/**
* 修改行业专家库-专家行为浏览
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behBrowse:edit')"
)
@Log
(
title
=
"行业专家库-专家行为浏览"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
FProBehInforBrowse
fProBehInforBrowse
)
{
return
toAjax
(
fProBehInforBrowseService
.
updateFProBehInforBrowse
(
fProBehInforBrowse
));
}
/**
* 删除行业专家库-专家行为浏览
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behBrowse:remove')"
)
@Log
(
title
=
"行业专家库-专家行为浏览"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{fProBehInforIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
fProBehInforIds
)
{
return
toAjax
(
fProBehInforBrowseService
.
deleteFProBehInforBrowseByIds
(
fProBehInforIds
));
}
}
zh-baseversion-admin/src/main/java/com/zehong/web/controller/specialist/FProBehInforController.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
web
.
controller
.
specialist
;
import
java.util.List
;
import
org.springframework.security.access.prepost.PreAuthorize
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.web.bind.annotation.GetMapping
;
import
org.springframework.web.bind.annotation.PostMapping
;
import
org.springframework.web.bind.annotation.PutMapping
;
import
org.springframework.web.bind.annotation.DeleteMapping
;
import
org.springframework.web.bind.annotation.PathVariable
;
import
org.springframework.web.bind.annotation.RequestBody
;
import
org.springframework.web.bind.annotation.RequestMapping
;
import
org.springframework.web.bind.annotation.RestController
;
import
com.zehong.common.annotation.Log
;
import
com.zehong.common.core.controller.BaseController
;
import
com.zehong.common.core.domain.AjaxResult
;
import
com.zehong.common.enums.BusinessType
;
import
com.zehong.system.domain.FProBehInfor
;
import
com.zehong.system.service.IFProBehInforService
;
import
com.zehong.common.utils.poi.ExcelUtil
;
import
com.zehong.common.core.page.TableDataInfo
;
/**
* 行业专家库-专家行为申报Controller
*
* @author zehong
* @date 2024-05-09
*/
@RestController
@RequestMapping
(
"/specialist/behInfo"
)
public
class
FProBehInforController
extends
BaseController
{
@Autowired
private
IFProBehInforService
fProBehInforService
;
/**
* 查询行业专家库-专家行为申报列表
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behInfo:list')"
)
@GetMapping
(
"/list"
)
public
TableDataInfo
list
(
FProBehInfor
fProBehInfor
)
{
startPage
();
List
<
FProBehInfor
>
list
=
fProBehInforService
.
selectFProBehInforList
(
fProBehInfor
);
return
getDataTable
(
list
);
}
/**
* 导出行业专家库-专家行为申报列表
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behInfo:export')"
)
@Log
(
title
=
"行业专家库-专家行为申报"
,
businessType
=
BusinessType
.
EXPORT
)
@GetMapping
(
"/export"
)
public
AjaxResult
export
(
FProBehInfor
fProBehInfor
)
{
List
<
FProBehInfor
>
list
=
fProBehInforService
.
selectFProBehInforList
(
fProBehInfor
);
ExcelUtil
<
FProBehInfor
>
util
=
new
ExcelUtil
<
FProBehInfor
>(
FProBehInfor
.
class
);
return
util
.
exportExcel
(
list
,
"行业专家库-专家行为申报数据"
);
}
/**
* 获取行业专家库-专家行为申报详细信息
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behInfo:query')"
)
@GetMapping
(
value
=
"/{fProBehInforId}"
)
public
AjaxResult
getInfo
(
@PathVariable
(
"fProBehInforId"
)
Long
fProBehInforId
)
{
return
AjaxResult
.
success
(
fProBehInforService
.
selectFProBehInforById
(
fProBehInforId
));
}
/**
* 新增行业专家库-专家行为申报
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behInfo:add')"
)
@Log
(
title
=
"行业专家库-专家行为申报"
,
businessType
=
BusinessType
.
INSERT
)
@PostMapping
public
AjaxResult
add
(
@RequestBody
FProBehInfor
fProBehInfor
)
{
return
toAjax
(
fProBehInforService
.
insertFProBehInfor
(
fProBehInfor
));
}
/**
* 修改行业专家库-专家行为申报
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behInfo:edit')"
)
@Log
(
title
=
"行业专家库-专家行为申报"
,
businessType
=
BusinessType
.
UPDATE
)
@PutMapping
public
AjaxResult
edit
(
@RequestBody
FProBehInfor
fProBehInfor
)
{
return
toAjax
(
fProBehInforService
.
updateFProBehInfor
(
fProBehInfor
));
}
/**
* 删除行业专家库-专家行为申报
*/
@PreAuthorize
(
"@ss.hasPermi('specialist:behInfo:remove')"
)
@Log
(
title
=
"行业专家库-专家行为申报"
,
businessType
=
BusinessType
.
DELETE
)
@DeleteMapping
(
"/{fProBehInforIds}"
)
public
AjaxResult
remove
(
@PathVariable
Long
[]
fProBehInforIds
)
{
return
toAjax
(
fProBehInforService
.
deleteFProBehInforByIds
(
fProBehInforIds
));
}
/**
* 行业专家申报
* @param fProBehInforId 行业专家行为主键
* @return
*/
@GetMapping
(
"/reportProBehInfo"
)
public
AjaxResult
reportProBehInfo
(
Long
fProBehInforId
){
try
{
return
toAjax
(
fProBehInforService
.
reportProBehInfo
(
fProBehInforId
));
}
catch
(
Exception
e
){
logger
.
error
(
"行业专家申报接口异常====="
,
e
);
return
AjaxResult
.
error
(
"行业专家申报接口异常"
);
}
}
}
zh-baseversion-common/src/main/java/com/zehong/common/utils/GovernmentDataUtil.java
View file @
1855f366
...
...
@@ -37,7 +37,7 @@ public class GovernmentDataUtil {
*/
public
String
getToken
()
throws
Exception
{
String
token
=
redisCache
.
getCacheObject
(
"apiToken"
);
if
(
token
!=
null
){
if
(
StringUtils
.
isEmpty
(
token
)
){
token
=
getNewToken
();
}
return
token
;
...
...
zh-baseversion-system/src/main/java/com/zehong/system/domain/FProBehInfor.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
domain
;
import
com.fasterxml.jackson.annotation.JsonFormat
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* 行业专家库-专家行为申报对象 f_pro_beh_infor
*
* @author zehong
* @date 2024-05-09
*/
public
class
FProBehInfor
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** id */
private
Long
fProBehInforId
;
/** 身份证号 */
@Excel
(
name
=
"身份证号"
)
private
String
fIdNo
;
/** 专家表现评价 */
@Excel
(
name
=
"专家表现评价"
)
private
String
fExpertEval
;
/** 选用事件 */
@Excel
(
name
=
"选用事件"
)
private
String
fSelectionEvent
;
/** 选用开始时间 */
@Excel
(
name
=
"选用开始时间"
)
@JsonFormat
(
pattern
=
"yyyy-MM-dd"
)
private
String
fSelectionStartTime
;
/** 评分说明 */
@Excel
(
name
=
"评分说明"
)
private
String
fScorDesc
;
/** 最后修改时间 */
@Excel
(
name
=
"最后修改时间"
)
private
String
fUpdateTime
;
/** 申报状态:1 已上报,2 未上报,3 已通过,4未通过 */
@Excel
(
name
=
"申报状态"
,
dictType
=
"t_rep_status"
)
private
Long
fRepStatus
;
/** 申报时间 */
@Excel
(
name
=
"申报时间"
)
private
String
fRepDate
;
public
void
setfProBehInforId
(
Long
fProBehInforId
)
{
this
.
fProBehInforId
=
fProBehInforId
;
}
public
Long
getfProBehInforId
()
{
return
fProBehInforId
;
}
public
void
setfIdNo
(
String
fIdNo
)
{
this
.
fIdNo
=
fIdNo
;
}
public
String
getfIdNo
()
{
return
fIdNo
;
}
public
void
setfExpertEval
(
String
fExpertEval
)
{
this
.
fExpertEval
=
fExpertEval
;
}
public
String
getfExpertEval
()
{
return
fExpertEval
;
}
public
void
setfSelectionEvent
(
String
fSelectionEvent
)
{
this
.
fSelectionEvent
=
fSelectionEvent
;
}
public
String
getfSelectionEvent
()
{
return
fSelectionEvent
;
}
public
void
setfSelectionStartTime
(
String
fSelectionStartTime
)
{
this
.
fSelectionStartTime
=
fSelectionStartTime
;
}
public
String
getfSelectionStartTime
()
{
return
fSelectionStartTime
;
}
public
void
setfScorDesc
(
String
fScorDesc
)
{
this
.
fScorDesc
=
fScorDesc
;
}
public
String
getfScorDesc
()
{
return
fScorDesc
;
}
public
void
setfUpdateTime
(
String
fUpdateTime
)
{
this
.
fUpdateTime
=
fUpdateTime
;
}
public
String
getfUpdateTime
()
{
return
fUpdateTime
;
}
public
void
setfRepStatus
(
Long
fRepStatus
)
{
this
.
fRepStatus
=
fRepStatus
;
}
public
Long
getfRepStatus
()
{
return
fRepStatus
;
}
public
void
setfRepDate
(
String
fRepDate
)
{
this
.
fRepDate
=
fRepDate
;
}
public
String
getfRepDate
()
{
return
fRepDate
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"fProBehInforId"
,
getfProBehInforId
())
.
append
(
"fIdNo"
,
getfIdNo
())
.
append
(
"fExperEval"
,
getfExpertEval
())
.
append
(
"fSelectionEvent"
,
getfSelectionEvent
())
.
append
(
"fSelectionStartTime"
,
getfSelectionStartTime
())
.
append
(
"fScorDesc"
,
getfScorDesc
())
.
append
(
"fUpdateTime"
,
getfUpdateTime
())
.
append
(
"fRepStatus"
,
getfRepStatus
())
.
append
(
"fRepDate"
,
getfRepDate
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/FProBehInforBrowse.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
domain
;
import
org.apache.commons.lang3.builder.ToStringBuilder
;
import
org.apache.commons.lang3.builder.ToStringStyle
;
import
com.zehong.common.annotation.Excel
;
import
com.zehong.common.core.domain.BaseEntity
;
/**
* 行业专家库-专家行为浏览对象 f_pro_beh_infor_browse
*
* @author zehong
* @date 2024-05-09
*/
public
class
FProBehInforBrowse
extends
BaseEntity
{
private
static
final
long
serialVersionUID
=
1L
;
/** id */
private
Long
fProBehInforId
;
/** 身份证号 */
@Excel
(
name
=
"身份证号"
)
private
String
fIdNo
;
/** 专家表现评价 */
@Excel
(
name
=
"专家表现评价"
)
private
String
fExperEval
;
/** 选用事件 */
@Excel
(
name
=
"选用事件"
)
private
String
fSelectionEvent
;
/** 选用开始时间 */
@Excel
(
name
=
"选用开始时间"
)
private
String
fSelectionStartTime
;
/** 评分说明 */
@Excel
(
name
=
"评分说明"
)
private
String
fScorDesc
;
/** 最后修改时间 */
@Excel
(
name
=
"最后修改时间"
)
private
String
fUpdateTime
;
public
void
setfProBehInforId
(
Long
fProBehInforId
)
{
this
.
fProBehInforId
=
fProBehInforId
;
}
public
Long
getfProBehInforId
()
{
return
fProBehInforId
;
}
public
void
setfIdNo
(
String
fIdNo
)
{
this
.
fIdNo
=
fIdNo
;
}
public
String
getfIdNo
()
{
return
fIdNo
;
}
public
void
setfExperEval
(
String
fExperEval
)
{
this
.
fExperEval
=
fExperEval
;
}
public
String
getfExperEval
()
{
return
fExperEval
;
}
public
void
setfSelectionEvent
(
String
fSelectionEvent
)
{
this
.
fSelectionEvent
=
fSelectionEvent
;
}
public
String
getfSelectionEvent
()
{
return
fSelectionEvent
;
}
public
void
setfSelectionStartTime
(
String
fSelectionStartTime
)
{
this
.
fSelectionStartTime
=
fSelectionStartTime
;
}
public
String
getfSelectionStartTime
()
{
return
fSelectionStartTime
;
}
public
void
setfScorDesc
(
String
fScorDesc
)
{
this
.
fScorDesc
=
fScorDesc
;
}
public
String
getfScorDesc
()
{
return
fScorDesc
;
}
public
void
setfUpdateTime
(
String
fUpdateTime
)
{
this
.
fUpdateTime
=
fUpdateTime
;
}
public
String
getfUpdateTime
()
{
return
fUpdateTime
;
}
@Override
public
String
toString
()
{
return
new
ToStringBuilder
(
this
,
ToStringStyle
.
MULTI_LINE_STYLE
)
.
append
(
"fProBehInforId"
,
getfProBehInforId
())
.
append
(
"fIdNo"
,
getfIdNo
())
.
append
(
"fExperEval"
,
getfExperEval
())
.
append
(
"fSelectionEvent"
,
getfSelectionEvent
())
.
append
(
"fSelectionStartTime"
,
getfSelectionStartTime
())
.
append
(
"fScorDesc"
,
getfScorDesc
())
.
append
(
"fUpdateTime"
,
getfUpdateTime
())
.
toString
();
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/vo/ProBehInfoBrowseVo.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
domain
.
vo
;
public
class
ProBehInfoBrowseVo
{
/**人员编码*/
private
String
code
;
/**专家表现评价*/
private
String
expertval
;
/**身份证号*/
private
String
idNo
;
/**选用时间*/
private
String
selectionStartTime
;
/**选用事件*/
private
String
selectionEvent
;
/**评价说明*/
private
String
scorDesc
;
/**最后修改时间*/
private
String
updateTime
;
public
String
getCode
()
{
return
code
;
}
public
void
setCode
(
String
code
)
{
this
.
code
=
code
;
}
public
String
getExpertval
()
{
return
expertval
;
}
public
void
setExpertval
(
String
expertval
)
{
this
.
expertval
=
expertval
;
}
public
String
getIdNo
()
{
return
idNo
;
}
public
void
setIdNo
(
String
idNo
)
{
this
.
idNo
=
idNo
;
}
public
String
getSelectionStartTime
()
{
return
selectionStartTime
;
}
public
void
setSelectionStartTime
(
String
selectionStartTime
)
{
this
.
selectionStartTime
=
selectionStartTime
;
}
public
String
getSelectionEvent
()
{
return
selectionEvent
;
}
public
void
setSelectionEvent
(
String
selectionEvent
)
{
this
.
selectionEvent
=
selectionEvent
;
}
public
String
getScorDesc
()
{
return
scorDesc
;
}
public
void
setScorDesc
(
String
scorDesc
)
{
this
.
scorDesc
=
scorDesc
;
}
public
String
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
String
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
@Override
public
String
toString
()
{
return
"ProBehInfoBrowseVo{"
+
"code='"
+
code
+
'\''
+
", expertval='"
+
expertval
+
'\''
+
", idNo='"
+
idNo
+
'\''
+
", selectionStartTime='"
+
selectionStartTime
+
'\''
+
", selectionEvent='"
+
selectionEvent
+
'\''
+
", scorDesc='"
+
scorDesc
+
'\''
+
", updateTime='"
+
updateTime
+
'\''
+
'}'
;
}
}
zh-baseversion-system/src/main/java/com/zehong/system/domain/vo/ProBehInfoVo.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
domain
.
vo
;
public
class
ProBehInfoVo
{
/**身份证号*/
private
String
idNo
;
/**专家表现评价*/
private
String
expertEval
;
/**选用事件*/
private
String
selectionEvent
;
/**选用开始时间*/
private
String
selectionStartTime
;
/**评分说明*/
private
String
scorDesc
;
/**最后修改时间*/
private
String
updateTime
;
public
String
getIdNo
()
{
return
idNo
;
}
public
void
setIdNo
(
String
idNo
)
{
this
.
idNo
=
idNo
;
}
public
String
getExpertEval
()
{
return
expertEval
;
}
public
void
setExpertEval
(
String
expertEval
)
{
this
.
expertEval
=
expertEval
;
}
public
String
getSelectionEvent
()
{
return
selectionEvent
;
}
public
void
setSelectionEvent
(
String
selectionEvent
)
{
this
.
selectionEvent
=
selectionEvent
;
}
public
String
getSelectionStartTime
()
{
return
selectionStartTime
;
}
public
void
setSelectionStartTime
(
String
selectionStartTime
)
{
this
.
selectionStartTime
=
selectionStartTime
;
}
public
String
getScorDesc
()
{
return
scorDesc
;
}
public
void
setScorDesc
(
String
scorDesc
)
{
this
.
scorDesc
=
scorDesc
;
}
public
String
getUpdateTime
()
{
return
updateTime
;
}
public
void
setUpdateTime
(
String
updateTime
)
{
this
.
updateTime
=
updateTime
;
}
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/FProBehInforBrowseMapper.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.FProBehInforBrowse
;
/**
* 行业专家库-专家行为浏览Mapper接口
*
* @author zehong
* @date 2024-05-09
*/
public
interface
FProBehInforBrowseMapper
{
/**
* 查询行业专家库-专家行为浏览
*
* @param fProBehInforId 行业专家库-专家行为浏览ID
* @return 行业专家库-专家行为浏览
*/
public
FProBehInforBrowse
selectFProBehInforBrowseById
(
Long
fProBehInforId
);
/**
* 查询行业专家库-专家行为浏览列表
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 行业专家库-专家行为浏览集合
*/
public
List
<
FProBehInforBrowse
>
selectFProBehInforBrowseList
(
FProBehInforBrowse
fProBehInforBrowse
);
/**
* 新增行业专家库-专家行为浏览
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 结果
*/
public
int
insertFProBehInforBrowse
(
FProBehInforBrowse
fProBehInforBrowse
);
/**
* 修改行业专家库-专家行为浏览
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 结果
*/
public
int
updateFProBehInforBrowse
(
FProBehInforBrowse
fProBehInforBrowse
);
/**
* 删除行业专家库-专家行为浏览
*
* @param fProBehInforId 行业专家库-专家行为浏览ID
* @return 结果
*/
public
int
deleteFProBehInforBrowseById
(
Long
fProBehInforId
);
/**
* 批量删除行业专家库-专家行为浏览
*
* @param fProBehInforIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteFProBehInforBrowseByIds
(
Long
[]
fProBehInforIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/mapper/FProBehInforMapper.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
mapper
;
import
java.util.List
;
import
com.zehong.system.domain.FProBehInfor
;
/**
* 行业专家库-专家行为申报Mapper接口
*
* @author zehong
* @date 2024-05-09
*/
public
interface
FProBehInforMapper
{
/**
* 查询行业专家库-专家行为申报
*
* @param fProBehInforId 行业专家库-专家行为申报ID
* @return 行业专家库-专家行为申报
*/
public
FProBehInfor
selectFProBehInforById
(
Long
fProBehInforId
);
/**
* 查询行业专家库-专家行为申报列表
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 行业专家库-专家行为申报集合
*/
public
List
<
FProBehInfor
>
selectFProBehInforList
(
FProBehInfor
fProBehInfor
);
/**
* 新增行业专家库-专家行为申报
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 结果
*/
public
int
insertFProBehInfor
(
FProBehInfor
fProBehInfor
);
/**
* 修改行业专家库-专家行为申报
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 结果
*/
public
int
updateFProBehInfor
(
FProBehInfor
fProBehInfor
);
/**
* 删除行业专家库-专家行为申报
*
* @param fProBehInforId 行业专家库-专家行为申报ID
* @return 结果
*/
public
int
deleteFProBehInforById
(
Long
fProBehInforId
);
/**
* 批量删除行业专家库-专家行为申报
*
* @param fProBehInforIds 需要删除的数据ID
* @return 结果
*/
public
int
deleteFProBehInforByIds
(
Long
[]
fProBehInforIds
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/IFProBehInforBrowseService.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.FProBehInforBrowse
;
/**
* 行业专家库-专家行为浏览Service接口
*
* @author zehong
* @date 2024-05-09
*/
public
interface
IFProBehInforBrowseService
{
/**
* 查询行业专家库-专家行为浏览
*
* @param fProBehInforId 行业专家库-专家行为浏览ID
* @return 行业专家库-专家行为浏览
*/
public
FProBehInforBrowse
selectFProBehInforBrowseById
(
Long
fProBehInforId
);
/**
* 查询行业专家库-专家行为浏览列表
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 行业专家库-专家行为浏览集合
*/
public
List
<
FProBehInforBrowse
>
selectFProBehInforBrowseList
(
FProBehInforBrowse
fProBehInforBrowse
);
/**
* 新增行业专家库-专家行为浏览
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 结果
*/
public
int
insertFProBehInforBrowse
(
FProBehInforBrowse
fProBehInforBrowse
);
/**
* 修改行业专家库-专家行为浏览
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 结果
*/
public
int
updateFProBehInforBrowse
(
FProBehInforBrowse
fProBehInforBrowse
);
/**
* 批量删除行业专家库-专家行为浏览
*
* @param fProBehInforIds 需要删除的行业专家库-专家行为浏览ID
* @return 结果
*/
public
int
deleteFProBehInforBrowseByIds
(
Long
[]
fProBehInforIds
);
/**
* 删除行业专家库-专家行为浏览信息
*
* @param fProBehInforId 行业专家库-专家行为浏览ID
* @return 结果
*/
public
int
deleteFProBehInforBrowseById
(
Long
fProBehInforId
);
}
zh-baseversion-system/src/main/java/com/zehong/system/service/IFProBehInforService.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
service
;
import
java.util.List
;
import
com.zehong.system.domain.FProBehInfor
;
/**
* 行业专家库-专家行为申报Service接口
*
* @author zehong
* @date 2024-05-09
*/
public
interface
IFProBehInforService
{
/**
* 查询行业专家库-专家行为申报
*
* @param fProBehInforId 行业专家库-专家行为申报ID
* @return 行业专家库-专家行为申报
*/
public
FProBehInfor
selectFProBehInforById
(
Long
fProBehInforId
);
/**
* 查询行业专家库-专家行为申报列表
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 行业专家库-专家行为申报集合
*/
public
List
<
FProBehInfor
>
selectFProBehInforList
(
FProBehInfor
fProBehInfor
);
/**
* 新增行业专家库-专家行为申报
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 结果
*/
public
int
insertFProBehInfor
(
FProBehInfor
fProBehInfor
);
/**
* 修改行业专家库-专家行为申报
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 结果
*/
public
int
updateFProBehInfor
(
FProBehInfor
fProBehInfor
);
/**
* 批量删除行业专家库-专家行为申报
*
* @param fProBehInforIds 需要删除的行业专家库-专家行为申报ID
* @return 结果
*/
public
int
deleteFProBehInforByIds
(
Long
[]
fProBehInforIds
);
/**
* 删除行业专家库-专家行为申报信息
*
* @param fProBehInforId 行业专家库-专家行为申报ID
* @return 结果
*/
public
int
deleteFProBehInforById
(
Long
fProBehInforId
);
/**
* 专家申报
* @param fProBehInforId 专家行为主键
* @return
*/
int
reportProBehInfo
(
Long
fProBehInforId
)
throws
Exception
;
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/FProBehInforBrowseServiceImpl.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
service
.
impl
;
import
java.util.List
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
com.zehong.system.mapper.FProBehInforBrowseMapper
;
import
com.zehong.system.domain.FProBehInforBrowse
;
import
com.zehong.system.service.IFProBehInforBrowseService
;
/**
* 行业专家库-专家行为浏览Service业务层处理
*
* @author zehong
* @date 2024-05-09
*/
@Service
public
class
FProBehInforBrowseServiceImpl
implements
IFProBehInforBrowseService
{
@Autowired
private
FProBehInforBrowseMapper
fProBehInforBrowseMapper
;
/**
* 查询行业专家库-专家行为浏览
*
* @param fProBehInforId 行业专家库-专家行为浏览ID
* @return 行业专家库-专家行为浏览
*/
@Override
public
FProBehInforBrowse
selectFProBehInforBrowseById
(
Long
fProBehInforId
)
{
return
fProBehInforBrowseMapper
.
selectFProBehInforBrowseById
(
fProBehInforId
);
}
/**
* 查询行业专家库-专家行为浏览列表
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 行业专家库-专家行为浏览
*/
@Override
public
List
<
FProBehInforBrowse
>
selectFProBehInforBrowseList
(
FProBehInforBrowse
fProBehInforBrowse
)
{
return
fProBehInforBrowseMapper
.
selectFProBehInforBrowseList
(
fProBehInforBrowse
);
}
/**
* 新增行业专家库-专家行为浏览
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 结果
*/
@Override
public
int
insertFProBehInforBrowse
(
FProBehInforBrowse
fProBehInforBrowse
)
{
return
fProBehInforBrowseMapper
.
insertFProBehInforBrowse
(
fProBehInforBrowse
);
}
/**
* 修改行业专家库-专家行为浏览
*
* @param fProBehInforBrowse 行业专家库-专家行为浏览
* @return 结果
*/
@Override
public
int
updateFProBehInforBrowse
(
FProBehInforBrowse
fProBehInforBrowse
)
{
return
fProBehInforBrowseMapper
.
updateFProBehInforBrowse
(
fProBehInforBrowse
);
}
/**
* 批量删除行业专家库-专家行为浏览
*
* @param fProBehInforIds 需要删除的行业专家库-专家行为浏览ID
* @return 结果
*/
@Override
public
int
deleteFProBehInforBrowseByIds
(
Long
[]
fProBehInforIds
)
{
return
fProBehInforBrowseMapper
.
deleteFProBehInforBrowseByIds
(
fProBehInforIds
);
}
/**
* 删除行业专家库-专家行为浏览信息
*
* @param fProBehInforId 行业专家库-专家行为浏览ID
* @return 结果
*/
@Override
public
int
deleteFProBehInforBrowseById
(
Long
fProBehInforId
)
{
return
fProBehInforBrowseMapper
.
deleteFProBehInforBrowseById
(
fProBehInforId
);
}
}
zh-baseversion-system/src/main/java/com/zehong/system/service/impl/FProBehInforServiceImpl.java
0 → 100644
View file @
1855f366
package
com
.
zehong
.
system
.
service
.
impl
;
import
com.alibaba.fastjson.JSONObject
;
import
com.zehong.common.exception.CustomException
;
import
com.zehong.common.utils.GovernmentDataCopyUtil
;
import
com.zehong.common.utils.GovernmentDataUtil
;
import
com.zehong.system.domain.FProBehInfor
;
import
com.zehong.system.domain.vo.ProAppInfoVo
;
import
com.zehong.system.domain.vo.ProBehInfoVo
;
import
com.zehong.system.mapper.FProBehInforMapper
;
import
com.zehong.system.service.IFProBehInforService
;
import
org.slf4j.Logger
;
import
org.slf4j.LoggerFactory
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.springframework.transaction.annotation.Transactional
;
import
javax.annotation.Resource
;
import
java.text.SimpleDateFormat
;
import
java.util.ArrayList
;
import
java.util.Date
;
import
java.util.List
;
/**
* 行业专家库-专家行为申报Service业务层处理
*
* @author zehong
* @date 2024-05-09
*/
@Service
public
class
FProBehInforServiceImpl
implements
IFProBehInforService
{
private
static
final
Logger
log
=
LoggerFactory
.
getLogger
(
FProBehInforServiceImpl
.
class
);
@Autowired
private
FProBehInforMapper
fProBehInforMapper
;
@Resource
private
GovernmentDataUtil
governmentDataUtil
;
/**
* 查询行业专家库-专家行为申报
*
* @param fProBehInforId 行业专家库-专家行为申报ID
* @return 行业专家库-专家行为申报
*/
@Override
public
FProBehInfor
selectFProBehInforById
(
Long
fProBehInforId
)
{
return
fProBehInforMapper
.
selectFProBehInforById
(
fProBehInforId
);
}
/**
* 查询行业专家库-专家行为申报列表
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 行业专家库-专家行为申报
*/
@Override
public
List
<
FProBehInfor
>
selectFProBehInforList
(
FProBehInfor
fProBehInfor
)
{
return
fProBehInforMapper
.
selectFProBehInforList
(
fProBehInfor
);
}
/**
* 新增行业专家库-专家行为申报
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 结果
*/
@Override
public
int
insertFProBehInfor
(
FProBehInfor
fProBehInfor
){
fProBehInfor
.
setfUpdateTime
(
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
(
new
Date
()));
return
fProBehInforMapper
.
insertFProBehInfor
(
fProBehInfor
);
}
/**
* 修改行业专家库-专家行为申报
*
* @param fProBehInfor 行业专家库-专家行为申报
* @return 结果
*/
@Override
public
int
updateFProBehInfor
(
FProBehInfor
fProBehInfor
){
fProBehInfor
.
setfUpdateTime
(
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
(
new
Date
()));
return
fProBehInforMapper
.
updateFProBehInfor
(
fProBehInfor
);
}
/**
* 批量删除行业专家库-专家行为申报
*
* @param fProBehInforIds 需要删除的行业专家库-专家行为申报ID
* @return 结果
*/
@Override
public
int
deleteFProBehInforByIds
(
Long
[]
fProBehInforIds
)
{
return
fProBehInforMapper
.
deleteFProBehInforByIds
(
fProBehInforIds
);
}
/**
* 删除行业专家库-专家行为申报信息
*
* @param fProBehInforId 行业专家库-专家行为申报ID
* @return 结果
*/
@Override
public
int
deleteFProBehInforById
(
Long
fProBehInforId
)
{
return
fProBehInforMapper
.
deleteFProBehInforById
(
fProBehInforId
);
}
/**
* 专家申报
* @param fProBehInforId 专家行为主键
* @return
*/
@Override
@Transactional
(
rollbackFor
=
Exception
.
class
)
public
int
reportProBehInfo
(
Long
fProBehInforId
)
throws
Exception
{
FProBehInfor
updateInfo
=
new
FProBehInfor
();
updateInfo
.
setfProBehInforId
(
fProBehInforId
);
updateInfo
.
setfRepStatus
(
Long
.
parseLong
(
"1"
));
updateInfo
.
setfRepDate
(
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
(
new
Date
()));
int
result
=
fProBehInforMapper
.
updateFProBehInfor
(
updateInfo
);
FProBehInfor
behInfor
=
fProBehInforMapper
.
selectFProBehInforById
(
fProBehInforId
);
ProBehInfoVo
proBehInfoVo
=
new
ProBehInfoVo
();
GovernmentDataCopyUtil
.
copyToGovernData
(
behInfor
,
proBehInfoVo
);
List
<
ProBehInfoVo
>
data
=
new
ArrayList
<>();
data
.
add
(
proBehInfoVo
);
JSONObject
reportResult
=
governmentDataUtil
.
setInfo
(
"professor/behaviour/information"
,
"WRITE"
,
data
);
log
.
info
(
"专家行为申报结果==================="
+
reportResult
.
toJSONString
());
if
(!
"0"
.
equals
(
reportResult
.
getString
(
"resultCode"
)))
throw
new
CustomException
(
"专家行为上报市局接口失败"
);
return
result
;
}
}
zh-baseversion-system/src/main/resources/mapper/system/FProBehInforBrowseMapper.xml
0 → 100644
View file @
1855f366
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.FProBehInforBrowseMapper"
>
<resultMap
type=
"FProBehInforBrowse"
id=
"FProBehInforBrowseResult"
>
<result
property=
"fProBehInforId"
column=
"f_pro_beh_infor_id"
/>
<result
property=
"fIdNo"
column=
"f_id_no"
/>
<result
property=
"fExperEval"
column=
"f_exper_eval"
/>
<result
property=
"fSelectionEvent"
column=
"f_selection_event"
/>
<result
property=
"fSelectionStartTime"
column=
"f_selection_start_time"
/>
<result
property=
"fScorDesc"
column=
"f_scor_desc"
/>
<result
property=
"fUpdateTime"
column=
"f_update_time"
/>
</resultMap>
<sql
id=
"selectFProBehInforBrowseVo"
>
select f_pro_beh_infor_id, f_id_no, f_exper_eval, f_selection_event, f_selection_start_time, f_scor_desc, f_update_time from f_pro_beh_infor_browse
</sql>
<select
id=
"selectFProBehInforBrowseList"
parameterType=
"FProBehInforBrowse"
resultMap=
"FProBehInforBrowseResult"
>
<include
refid=
"selectFProBehInforBrowseVo"
/>
<where>
<if
test=
"fIdNo != null and fIdNo != ''"
>
and f_id_no like concat('%', #{fIdNo}, '%')
</if>
</where>
</select>
<select
id=
"selectFProBehInforBrowseById"
parameterType=
"Long"
resultMap=
"FProBehInforBrowseResult"
>
<include
refid=
"selectFProBehInforBrowseVo"
/>
where f_pro_beh_infor_id = #{fProBehInforId}
</select>
<insert
id=
"insertFProBehInforBrowse"
parameterType=
"FProBehInforBrowse"
useGeneratedKeys=
"true"
keyProperty=
"fProBehInforId"
>
insert into f_pro_beh_infor_browse
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fIdNo != null and fIdNo != ''"
>
f_id_no,
</if>
<if
test=
"fExperEval != null and fExperEval != ''"
>
f_exper_eval,
</if>
<if
test=
"fSelectionEvent != null"
>
f_selection_event,
</if>
<if
test=
"fSelectionStartTime != null"
>
f_selection_start_time,
</if>
<if
test=
"fScorDesc != null"
>
f_scor_desc,
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fIdNo != null and fIdNo != ''"
>
#{fIdNo},
</if>
<if
test=
"fExperEval != null and fExperEval != ''"
>
#{fExperEval},
</if>
<if
test=
"fSelectionEvent != null"
>
#{fSelectionEvent},
</if>
<if
test=
"fSelectionStartTime != null"
>
#{fSelectionStartTime},
</if>
<if
test=
"fScorDesc != null"
>
#{fScorDesc},
</if>
<if
test=
"fUpdateTime != null"
>
#{fUpdateTime},
</if>
</trim>
</insert>
<update
id=
"updateFProBehInforBrowse"
parameterType=
"FProBehInforBrowse"
>
update f_pro_beh_infor_browse
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fIdNo != null and fIdNo != ''"
>
f_id_no = #{fIdNo},
</if>
<if
test=
"fExperEval != null and fExperEval != ''"
>
f_exper_eval = #{fExperEval},
</if>
<if
test=
"fSelectionEvent != null"
>
f_selection_event = #{fSelectionEvent},
</if>
<if
test=
"fSelectionStartTime != null"
>
f_selection_start_time = #{fSelectionStartTime},
</if>
<if
test=
"fScorDesc != null"
>
f_scor_desc = #{fScorDesc},
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time = #{fUpdateTime},
</if>
</trim>
where f_pro_beh_infor_id = #{fProBehInforId}
</update>
<delete
id=
"deleteFProBehInforBrowseById"
parameterType=
"Long"
>
delete from f_pro_beh_infor_browse where f_pro_beh_infor_id = #{fProBehInforId}
</delete>
<delete
id=
"deleteFProBehInforBrowseByIds"
parameterType=
"String"
>
delete from f_pro_beh_infor_browse where f_pro_beh_infor_id in
<foreach
item=
"fProBehInforId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{fProBehInforId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-system/src/main/resources/mapper/system/FProBehInforMapper.xml
0 → 100644
View file @
1855f366
<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper
PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
"http://mybatis.org/dtd/mybatis-3-mapper.dtd">
<mapper
namespace=
"com.zehong.system.mapper.FProBehInforMapper"
>
<resultMap
type=
"FProBehInfor"
id=
"FProBehInforResult"
>
<result
property=
"fProBehInforId"
column=
"f_pro_beh_infor_id"
/>
<result
property=
"fIdNo"
column=
"f_id_no"
/>
<result
property=
"fExpertEval"
column=
"f_expert_eval"
/>
<result
property=
"fSelectionEvent"
column=
"f_selection_event"
/>
<result
property=
"fSelectionStartTime"
column=
"f_selection_start_time"
/>
<result
property=
"fScorDesc"
column=
"f_scor_desc"
/>
<result
property=
"fUpdateTime"
column=
"f_update_time"
/>
<result
property=
"fRepStatus"
column=
"f_rep_status"
/>
<result
property=
"fRepDate"
column=
"f_rep_date"
/>
</resultMap>
<sql
id=
"selectFProBehInforVo"
>
select f_pro_beh_infor_id, f_id_no, f_expert_eval, f_selection_event, f_selection_start_time, f_scor_desc, f_update_time, f_rep_status, f_rep_date from f_pro_beh_infor
</sql>
<select
id=
"selectFProBehInforList"
parameterType=
"FProBehInfor"
resultMap=
"FProBehInforResult"
>
<include
refid=
"selectFProBehInforVo"
/>
<where>
<if
test=
"fIdNo != null and fIdNo != ''"
>
and f_id_no like concat('%', #{fIdNo}, '%')
</if>
<if
test=
"fRepStatus != null "
>
and f_rep_status = #{fRepStatus}
</if>
</where>
</select>
<select
id=
"selectFProBehInforById"
parameterType=
"Long"
resultMap=
"FProBehInforResult"
>
<include
refid=
"selectFProBehInforVo"
/>
where f_pro_beh_infor_id = #{fProBehInforId}
</select>
<insert
id=
"insertFProBehInfor"
parameterType=
"FProBehInfor"
useGeneratedKeys=
"true"
keyProperty=
"fProBehInforId"
>
insert into f_pro_beh_infor
<trim
prefix=
"("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fIdNo != null and fIdNo != ''"
>
f_id_no,
</if>
<if
test=
"fExpertEval != null and fExpertEval != ''"
>
f_expert_eval,
</if>
<if
test=
"fSelectionEvent != null"
>
f_selection_event,
</if>
<if
test=
"fSelectionStartTime != null"
>
f_selection_start_time,
</if>
<if
test=
"fScorDesc != null"
>
f_scor_desc,
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time,
</if>
<if
test=
"fRepStatus != null"
>
f_rep_status,
</if>
<if
test=
"fRepDate != null"
>
f_rep_date,
</if>
</trim>
<trim
prefix=
"values ("
suffix=
")"
suffixOverrides=
","
>
<if
test=
"fIdNo != null and fIdNo != ''"
>
#{fIdNo},
</if>
<if
test=
"fExpertEval != null and fExpertEval != ''"
>
#{fExpertEval},
</if>
<if
test=
"fSelectionEvent != null"
>
#{fSelectionEvent},
</if>
<if
test=
"fSelectionStartTime != null"
>
#{fSelectionStartTime},
</if>
<if
test=
"fScorDesc != null"
>
#{fScorDesc},
</if>
<if
test=
"fUpdateTime != null"
>
#{fUpdateTime},
</if>
<if
test=
"fRepStatus != null"
>
#{fRepStatus},
</if>
<if
test=
"fRepDate != null"
>
#{fRepDate},
</if>
</trim>
</insert>
<update
id=
"updateFProBehInfor"
parameterType=
"FProBehInfor"
>
update f_pro_beh_infor
<trim
prefix=
"SET"
suffixOverrides=
","
>
<if
test=
"fIdNo != null and fIdNo != ''"
>
f_id_no = #{fIdNo},
</if>
<if
test=
"fExpertEval != null and fExpertEval != ''"
>
f_expert_eval = #{fExpertEval},
</if>
<if
test=
"fSelectionEvent != null"
>
f_selection_event = #{fSelectionEvent},
</if>
<if
test=
"fSelectionStartTime != null"
>
f_selection_start_time = #{fSelectionStartTime},
</if>
<if
test=
"fScorDesc != null"
>
f_scor_desc = #{fScorDesc},
</if>
<if
test=
"fUpdateTime != null"
>
f_update_time = #{fUpdateTime},
</if>
<if
test=
"fRepStatus != null"
>
f_rep_status = #{fRepStatus},
</if>
<if
test=
"fRepDate != null"
>
f_rep_date = #{fRepDate},
</if>
</trim>
where f_pro_beh_infor_id = #{fProBehInforId}
</update>
<delete
id=
"deleteFProBehInforById"
parameterType=
"Long"
>
delete from f_pro_beh_infor where f_pro_beh_infor_id = #{fProBehInforId}
</delete>
<delete
id=
"deleteFProBehInforByIds"
parameterType=
"String"
>
delete from f_pro_beh_infor where f_pro_beh_infor_id in
<foreach
item=
"fProBehInforId"
collection=
"array"
open=
"("
separator=
","
close=
")"
>
#{fProBehInforId}
</foreach>
</delete>
</mapper>
\ No newline at end of file
zh-baseversion-web/src/api/specialist/behBrowse.js
0 → 100644
View file @
1855f366
import
request
from
'@/utils/request'
// 查询行业专家库-专家行为浏览列表
export
function
listBrowse
(
query
)
{
return
request
({
url
:
'/specialist/behBrowse/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询行业专家库-专家行为浏览详细
export
function
getBrowse
(
fProBehInforId
)
{
return
request
({
url
:
'/specialist/behBrowse/'
+
fProBehInforId
,
method
:
'get'
})
}
// 新增行业专家库-专家行为浏览
export
function
addBrowse
(
data
)
{
return
request
({
url
:
'/specialist/behBrowse'
,
method
:
'post'
,
data
:
data
})
}
// 修改行业专家库-专家行为浏览
export
function
updateBrowse
(
data
)
{
return
request
({
url
:
'/specialist/behBrowse'
,
method
:
'put'
,
data
:
data
})
}
// 删除行业专家库-专家行为浏览
export
function
delBrowse
(
fProBehInforId
)
{
return
request
({
url
:
'/specialist/behBrowse/'
+
fProBehInforId
,
method
:
'delete'
})
}
// 导出行业专家库-专家行为浏览
export
function
exportBrowse
(
query
)
{
return
request
({
url
:
'/specialist/behBrowse/export'
,
method
:
'get'
,
params
:
query
})
}
zh-baseversion-web/src/api/specialist/behInfo.js
0 → 100644
View file @
1855f366
import
request
from
'@/utils/request'
// 查询行业专家库-专家行为申报列表
export
function
listInfor
(
query
)
{
return
request
({
url
:
'/specialist/behInfo/list'
,
method
:
'get'
,
params
:
query
})
}
// 查询行业专家库-专家行为申报详细
export
function
getInfor
(
fProBehInforId
)
{
return
request
({
url
:
'/specialist/behInfo/'
+
fProBehInforId
,
method
:
'get'
})
}
// 新增行业专家库-专家行为申报
export
function
addInfor
(
data
)
{
return
request
({
url
:
'/specialist/behInfo'
,
method
:
'post'
,
data
:
data
})
}
// 修改行业专家库-专家行为申报
export
function
updateInfor
(
data
)
{
return
request
({
url
:
'/specialist/behInfo'
,
method
:
'put'
,
data
:
data
})
}
// 删除行业专家库-专家行为申报
export
function
delInfor
(
fProBehInforId
)
{
return
request
({
url
:
'/specialist/behInfo/'
+
fProBehInforId
,
method
:
'delete'
})
}
// 导出行业专家库-专家行为申报
export
function
exportInfor
(
query
)
{
return
request
({
url
:
'/specialist/behInfo/export'
,
method
:
'get'
,
params
:
query
})
}
//申报
export
function
reportProBehInfo
(
query
)
{
return
request
({
url
:
'/specialist/behInfo/reportProBehInfo'
,
method
:
'get'
,
params
:
query
})
}
zh-baseversion-web/src/views/specialist/behBrowse/components/DetailInfo.vue
0 → 100644
View file @
1855f366
<
template
>
<el-dialog
title=
"详情"
:visible
.
sync=
"detailOpen"
width=
"500px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
label-width=
"120px"
>
<el-form-item
label=
"身份证号"
>
<span
v-if=
"detailInfo.fIdNo"
>
{{
detailInfo
.
fIdNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"专家表现评价"
>
<span
v-if=
"detailInfo.fExperEval"
>
{{
detailInfo
.
fExperEval
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"选用事件"
>
<span
v-if=
"detailInfo.fSelectionEvent"
>
{{
detailInfo
.
fSelectionEvent
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"选用开始时间"
prop=
"fSelectionStartTime"
>
<span
v-if=
"detailInfo.fSelectionStartTime"
>
{{
detailInfo
.
fSelectionStartTime
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"评分说明"
prop=
"fScorDesc"
>
<span
v-if=
"detailInfo.fScorDesc"
>
{{
detailInfo
.
fScorDesc
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"最后修改时间"
prop=
"fUpdateTime"
>
<span
v-if=
"detailInfo.fUpdateTime"
>
{{
detailInfo
.
fUpdateTime
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form>
</el-dialog>
</
template
>
<
script
>
import
{
getBrowse
}
from
"@/api/specialist/behBrowse"
;
export
default
{
name
:
"detail-info"
,
data
(){
return
{
detailInfo
:
{},
detailOpen
:
false
}
},
methods
:{
getDetailInfo
(
id
){
getBrowse
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
detailInfo
=
res
.
data
;
this
.
detailOpen
=
true
;
}
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
zh-baseversion-web/src/views/specialist/behBrowse/index.vue
0 → 100644
View file @
1855f366
This diff is collapsed.
Click to expand it.
zh-baseversion-web/src/views/specialist/behInfo/components/DetailInfo.vue
0 → 100644
View file @
1855f366
<
template
>
<el-dialog
title=
"详情"
:visible
.
sync=
"detailOpen"
width=
"500px"
append-to-body
destroy-on-close
:close-on-click-modal=
"false"
>
<el-form
label-width=
"120px"
>
<el-form-item
label=
"身份证号"
>
<span
v-if=
"detailInfo.fIdNo"
>
{{
detailInfo
.
fIdNo
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"专家表现评价"
>
<span
v-if=
"detailInfo.fExperEval"
>
{{
detailInfo
.
fExperEval
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"选用事件"
>
<span
v-if=
"detailInfo.fSelectionEvent"
>
{{
detailInfo
.
fSelectionEvent
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"选用开始时间"
>
<span
v-if=
"detailInfo.fSelectionStartTime"
>
{{
detailInfo
.
fSelectionStartTime
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"评分说明"
>
<span
v-if=
"detailInfo.fScorDesc"
>
{{
detailInfo
.
fScorDesc
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"最后修改时间"
>
<span
v-if=
"detailInfo.fUpdateTime"
>
{{
detailInfo
.
fUpdateTime
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"申报状态"
>
<span
v-if=
"detailInfo.fRepStatus"
>
{{
$parent
.
fRepStatusFormat
(
detailInfo
)
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
<el-form-item
label=
"申报时间"
>
<span
v-if=
"detailInfo.fRepDate"
>
{{
detailInfo
.
fRepDate
}}
</span>
<span
v-else
>
-
</span>
</el-form-item>
</el-form>
</el-dialog>
</
template
>
<
script
>
import
{
getInfor
}
from
"@/api/specialist/behInfo"
;
export
default
{
name
:
"detail-info"
,
data
(){
return
{
detailInfo
:
{},
detailOpen
:
false
}
},
methods
:{
getDetailInfo
(
id
){
getInfor
(
id
).
then
(
res
=>
{
if
(
res
.
code
==
200
&&
res
.
data
){
this
.
detailInfo
=
res
.
data
;
this
.
detailOpen
=
true
;
}
})
}
}
}
</
script
>
<
style
scoped
>
</
style
>
zh-baseversion-web/src/views/specialist/behInfo/index.vue
0 → 100644
View file @
1855f366
This diff is collapsed.
Click to expand it.
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