Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
A
amos-boot-biz
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
项目统一框架
amos-boot-biz
Commits
610dcaa1
Commit
610dcaa1
authored
Aug 18, 2021
by
chenhao
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'developer' of
http://172.16.10.76/moa/amos-boot-biz
into developer
parents
14387160
991186e2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
57 additions
and
50 deletions
+57
-50
CheckController.java
...amos/maintenance/business/controller/CheckController.java
+0
-0
EquipFeignClient.java
...oin/amos/maintenance/business/feign/EquipFeignClient.java
+18
-12
CheckServiceImpl.java
...s/maintenance/business/service/impl/CheckServiceImpl.java
+4
-4
MessageServiceImpl.java
...maintenance/business/service/impl/MessageServiceImpl.java
+2
-2
PlanTaskServiceImpl.java
...aintenance/business/service/impl/PlanTaskServiceImpl.java
+2
-2
PointServiceImpl.java
...s/maintenance/business/service/impl/PointServiceImpl.java
+2
-3
StatisticsServiceImpl.java
...ntenance/business/service/impl/StatisticsServiceImpl.java
+5
-5
PersonIdentify.java
...ejoin/amos/maintenance/core/framework/PersonIdentify.java
+1
-1
PersonIdentifyAspect.java
...amos/maintenance/core/framework/PersonIdentifyAspect.java
+1
-1
AlertCalledController.java
...boot/module/tzs/biz/controller/AlertCalledController.java
+10
-14
DispatchPaperServiceImpl.java
...module/tzs/biz/service/impl/DispatchPaperServiceImpl.java
+12
-6
No files found.
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/controller/CheckController.java
View file @
610dcaa1
This diff is collapsed.
Click to expand it.
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/feign/EquipFeign.java
→
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/feign/EquipFeign
Client
.java
View file @
610dcaa1
package
com
.
yeejoin
.
amos
.
maintenance
.
business
.
feign
;
import
com.yeejoin.amos.maintenance.business.util.CommonResponse
;
import
org.springframework.cloud.openfeign.FeignClient
;
import
org.springframework.web.bind.annotation.*
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.LinkedHashMap
;
import
java.util.List
;
import
java.util.Map
;
//装备
@FeignClient
(
name
=
"${equip.fegin.name}"
)
public
interface
EquipFeign
{
@RequestMapping
(
value
=
"${equip.fegin.prefix}"
+
"/equipSpecific/getSourceNameByEquipSpeId"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
LinkedHashMap
<
String
,
Object
>
getEquipDetail
(
@RequestParam
(
value
=
"id"
,
required
=
true
)
Long
id
);
/**
* @author DELL
*/
//装备
@FeignClient
(
name
=
"${equip.feign.name}"
)
public
interface
EquipFeignClient
{
String
PREFIX
=
"${equip.feign.prefix}"
;
@RequestMapping
(
value
=
"${equip.fegin.prefix}"
+
"/equipSpecific/getSourceNameList"
,
method
=
RequestMethod
.
POST
,
consumes
=
"application/json"
)
@RequestMapping
(
value
=
PREFIX
+
"/equipSpecific/getSourceNameByEquipSpeId"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
LinkedHashMap
<
String
,
Object
>
getEquipDetail
(
@RequestParam
(
value
=
"id"
)
Long
id
);
@RequestMapping
(
value
=
PREFIX
+
"/equipSpecific/getSourceNameList"
,
method
=
RequestMethod
.
POST
,
consumes
=
"application/json"
)
LinkedHashMap
<
String
,
Object
>
getEquipList
(
@RequestBody
Long
id
);
@RequestMapping
(
value
=
"${equip.fegin.prefix}"
+
"/warehouse-structure/listAll"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
@RequestMapping
(
value
=
PREFIX
+
"/warehouse-structure/listAll"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
String
getStructureNameAll
();
/**
...
...
@@ -24,10 +30,10 @@ public interface EquipFeign {
*
* @return
*/
@RequestMapping
(
value
=
"${equip.fegin.prefix}"
+
"/building/tree"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
@RequestMapping
(
value
=
PREFIX
+
"/building/tree"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
LinkedHashMap
<
String
,
Object
>
getBuildingTree
();
@RequestMapping
(
value
=
"${equip.fegin.prefix}"
+
"/building/getBuildingAbsolutePosition"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
@RequestMapping
(
value
=
PREFIX
+
"/building/getBuildingAbsolutePosition"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
LinkedHashMap
<
String
,
Object
>
getBuildingAbsolutePosition
();
/**
...
...
@@ -35,7 +41,7 @@ public interface EquipFeign {
*
* @return
*/
@RequestMapping
(
value
=
"${equip.fegin.prefix}"
+
"/area/tree"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
@RequestMapping
(
value
=
PREFIX
+
"/area/tree"
,
method
=
RequestMethod
.
GET
,
consumes
=
"application/json"
)
LinkedHashMap
<
String
,
Object
>
getRegionTress
();
/**
...
...
@@ -45,7 +51,7 @@ public interface EquipFeign {
* @param id
* @return
*/
@GetMapping
(
value
=
"${equip.fegin.prefix}+
/maintenanceResourceData/getFireFacilityList"
)
List
<
Map
<
String
,
Object
>>
overTimeMaintenanceFacility
(
@RequestParam
String
type
,
@RequestParam
String
id
);
@GetMapping
(
value
=
PREFIX
+
"
/maintenanceResourceData/getFireFacilityList"
)
ResponseModel
<
List
<
Map
<
String
,
Object
>
>>
overTimeMaintenanceFacility
(
@RequestParam
String
type
,
@RequestParam
String
id
);
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/service/impl/CheckServiceImpl.java
View file @
610dcaa1
...
...
@@ -21,7 +21,7 @@ import com.yeejoin.amos.maintenance.business.dto.CheckDto;
import
com.yeejoin.amos.maintenance.business.dto.CheckRecordDto
;
import
com.yeejoin.amos.maintenance.business.dto.CheckShotDto
;
import
com.yeejoin.amos.maintenance.business.entity.mybatis.*
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
Client
;
import
com.yeejoin.amos.maintenance.business.param.*
;
import
com.yeejoin.amos.maintenance.business.service.intfc.ICheckService
;
import
com.yeejoin.amos.maintenance.business.service.intfc.IEquipmentHandlerService
;
...
...
@@ -246,8 +246,8 @@ public class CheckServiceImpl implements ICheckService {
//6.消息广播最近维保日期
if
(
StringUtil
.
isNotEmpty
(
point
.
getOriginalId
())){
JSONObject
jsonObject
=
new
JSONObject
();
jsonObject
.
put
(
"facilityId"
,
point
.
getOriginalId
());
jsonObject
.
put
(
"
check
Time"
,
check
.
getCheckTime
());
jsonObject
.
put
(
"f
ireF
acilityId"
,
point
.
getOriginalId
());
jsonObject
.
put
(
"
maintenance
Time"
,
check
.
getCheckTime
());
mqttGateway
.
publish
(
CHECK_UPDATE_TOPIC
,
jsonObject
.
toJSONString
());
}
//7.返回不合格记录
...
...
@@ -950,7 +950,7 @@ public class CheckServiceImpl implements ICheckService {
}
@Autowired
private
EquipFeign
equipment
;
private
EquipFeign
Client
equipment
;
@Override
public
List
<
HashMap
<
String
,
Object
>>
getEquipByCheckId
(
CheckDetailInputPageParam
param
)
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/service/impl/MessageServiceImpl.java
View file @
610dcaa1
...
...
@@ -23,7 +23,7 @@ import com.yeejoin.amos.maintenance.business.dao.repository.IMsgDao;
import
com.yeejoin.amos.maintenance.business.dao.repository.IPlanTaskDetailDao
;
import
com.yeejoin.amos.maintenance.business.dao.repository.IPointDao
;
import
com.yeejoin.amos.maintenance.business.dao.repository.IRouteDao
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
Client
;
import
com.yeejoin.amos.maintenance.business.service.intfc.IMessageService
;
import
com.yeejoin.amos.maintenance.business.util.StringUtil
;
import
com.yeejoin.amos.maintenance.business.vo.MsgVo
;
...
...
@@ -106,7 +106,7 @@ public class MessageServiceImpl implements IMessageService {
private
RemoteSecurityService
remoteSecurityService
;
@Autowired
private
EquipFeign
equipFeign
;
private
EquipFeign
Client
equipFeign
;
@Override
public
void
pushCheckMessage
(
String
toke
,
String
product
,
String
appKey
,
Long
checkId
)
{
try
{
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/service/impl/PlanTaskServiceImpl.java
View file @
610dcaa1
...
...
@@ -14,7 +14,7 @@ import com.yeejoin.amos.maintenance.business.dao.mapper.PlanTaskMapper;
import
com.yeejoin.amos.maintenance.business.dao.repository.*
;
import
com.yeejoin.amos.maintenance.business.entity.mybatis.CheckChkExListBo
;
import
com.yeejoin.amos.maintenance.business.entity.mybatis.PointCheckDetailBo
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
Client
;
import
com.yeejoin.amos.maintenance.business.param.CheckPtListPageParam
;
import
com.yeejoin.amos.maintenance.business.param.PlanTaskPageParam
;
import
com.yeejoin.amos.maintenance.business.service.intfc.ICheckService
;
...
...
@@ -81,7 +81,7 @@ public class PlanTaskServiceImpl implements IPlanTaskService {
private
ICheckService
checkService
;
@Autowired
private
EquipFeign
equipFeign
;
private
EquipFeign
Client
equipFeign
;
@Autowired
IPointDao
iPointDao
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/service/impl/PointServiceImpl.java
View file @
610dcaa1
...
...
@@ -3,7 +3,6 @@ package com.yeejoin.amos.maintenance.business.service.impl;
import
com.alibaba.fastjson.JSONArray
;
import
com.alibaba.fastjson.JSONObject
;
import
com.baomidou.mybatisplus.core.toolkit.Sequence
;
import
com.baomidou.mybatisplus.extension.api.R
;
import
com.google.common.base.Joiner
;
import
com.google.common.collect.Lists
;
import
com.yeejoin.amos.feign.privilege.model.AgencyUserModel
;
...
...
@@ -14,7 +13,7 @@ import com.yeejoin.amos.maintenance.business.dao.mapper.RouteMapper;
import
com.yeejoin.amos.maintenance.business.dao.repository.*
;
import
com.yeejoin.amos.maintenance.business.dto.PointDto
;
import
com.yeejoin.amos.maintenance.business.entity.mybatis.CheckPtListBo
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
Client
;
import
com.yeejoin.amos.maintenance.business.param.*
;
import
com.yeejoin.amos.maintenance.business.service.intfc.IPointService
;
import
com.yeejoin.amos.maintenance.business.util.DaoCriteria
;
...
...
@@ -92,7 +91,7 @@ public class PointServiceImpl implements IPointService {
@Autowired
private
RemoteSecurityService
remoteSecurityService
;
@Autowired
private
EquipFeign
equipFeign
;
private
EquipFeign
Client
equipFeign
;
@Autowired
Sequence
sequence
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/business/service/impl/StatisticsServiceImpl.java
View file @
610dcaa1
...
...
@@ -2,14 +2,14 @@ package com.yeejoin.amos.maintenance.business.service.impl;
import
com.yeejoin.amos.boot.biz.common.bo.ReginParams
;
import
com.yeejoin.amos.maintenance.business.dao.mapper.PlanTaskMapper
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
;
import
com.yeejoin.amos.maintenance.business.feign.EquipFeign
Client
;
import
com.yeejoin.amos.maintenance.business.service.intfc.IStatisticsService
;
import
com.yeejoin.amos.maintenance.common.enums.PlanTaskDetailIsFinishEnum
;
import
org.springframework.beans.factory.annotation.Autowired
;
import
org.springframework.stereotype.Service
;
import
org.typroject.tyboot.core.foundation.utils.Bean
;
import
org.typroject.tyboot.core.restful.utils.ResponseModel
;
import
java.util.ArrayList
;
import
java.util.HashMap
;
import
java.util.List
;
import
java.util.Map
;
...
...
@@ -24,7 +24,7 @@ public class StatisticsServiceImpl implements IStatisticsService {
@Autowired
PlanTaskMapper
planTaskMapper
;
@Autowired
EquipFeign
equipFeign
;
EquipFeign
Client
equipFeign
;
@Override
public
Map
<
String
,
Object
>
taskStatusStatistics
(
ReginParams
.
PersonIdentity
opIdentifyInfo
,
String
orgCode
)
{
...
...
@@ -37,8 +37,8 @@ public class StatisticsServiceImpl implements IStatisticsService {
resultMap
.
put
(
"waitExecuteTask"
,
statusNumberMap
.
get
(
PlanTaskDetailIsFinishEnum
.
UNFINISHED
.
getValue
())
==
null
?
0L
:
statusNumberMap
.
get
(
PlanTaskDetailIsFinishEnum
.
UNFINISHED
.
getValue
()));
// 超时任务数量
resultMap
.
put
(
"overTimeTask"
,
statusNumberMap
.
get
(
PlanTaskDetailIsFinishEnum
.
OVERTIME
.
getValue
())
==
null
?
0L
:
statusNumberMap
.
get
(
PlanTaskDetailIsFinishEnum
.
OVERTIME
.
getValue
()));
List
<
Map
<
String
,
Object
>>
overTimeFacility
=
new
ArrayList
<>(
);
//overTimeFacility = equipFeign.overTimeMaintenanceFacility(opIdentifyInfo.getIdentityType(),opIdentifyInfo.getCompanyId()
);
ResponseModel
<
List
<
Map
<
String
,
Object
>>>
response
=
equipFeign
.
overTimeMaintenanceFacility
(
opIdentifyInfo
.
getIdentityType
(),
opIdentifyInfo
.
getCompanyId
()
);
List
<
Map
<
String
,
Object
>>
overTimeFacility
=
response
.
getResult
(
);
// 到期维保设备
resultMap
.
put
(
"overTimeFacility"
,
overTimeFacility
.
size
());
return
resultMap
;
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/core/framework/PersonIdentify.java
View file @
610dcaa1
...
...
@@ -19,6 +19,6 @@ public @interface PersonIdentify {
* 是否进行人员校验
* @return
*/
boolean
isNeedIdentity
()
default
fals
e
;
boolean
isNeedIdentity
()
default
tru
e
;
}
amos-boot-module/amos-boot-module-biz/amos-boot-module-maintenance-biz/src/main/java/com/yeejoin/amos/maintenance/core/framework/PersonIdentifyAspect.java
View file @
610dcaa1
...
...
@@ -40,7 +40,7 @@ public class PersonIdentifyAspect {
String
identityType
=
"1"
;
String
personSeq
=
"1421016571081420802"
;
String
personName
=
"SHG"
;
String
companyId
=
"1
0
"
;
String
companyId
=
"1
420727427956502529
"
;
reginParam
.
setPersonIdentity
(
new
ReginParams
.
PersonIdentity
(
identityType
,
personSeq
,
personName
,
companyId
));
redisUtils
.
set
(
buildKey
(
RequestContext
.
getToken
()),
JSONObject
.
toJSONString
(
reginParam
));
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/controller/AlertCalledController.java
View file @
610dcaa1
...
...
@@ -373,43 +373,39 @@ public class AlertCalledController extends BaseController {
/**
* 冻结工单-维修
* @param forzenResult
* @param alertId
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveForzen"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"冻结工单-维修"
,
notes
=
"冻结工单-维修"
)
public
ResponseModel
<
Boolean
>
forzenAlertById
(
@
ApiParam
(
value
=
"冻结原因"
,
required
=
true
)
@RequestParam
String
forzenResult
,
@ApiParam
(
value
=
"警情id"
,
required
=
true
)
@RequestParam
Long
alertId
)
{
if
(
ValidationUtil
.
isEmpty
(
alert
Id
)
||
ValidationUtil
.
isEmpty
(
forzenResult
)){
public
ResponseModel
<
Boolean
>
forzenAlertById
(
@
RequestBody
AlertCalledDto
alertCalledDto
)
{
if
(
ValidationUtil
.
isEmpty
(
alert
CalledDto
.
getSequenceNbr
()
)
||
ValidationUtil
.
isEmpty
(
alertCalledDto
.
getForzenResult
()
)){
throw
new
BadRequest
(
"参数校验失败."
);
}
LambdaUpdateWrapper
<
AlertCalled
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
set
(
AlertCalled:
:
getForzenResult
,
forzenResult
);
updateWrapper
.
set
(
AlertCalled:
:
getForzenResult
,
alertCalledDto
.
getForzenResult
()
);
updateWrapper
.
set
(
AlertCalled:
:
getAlertStage
,
1
);
updateWrapper
.
eq
(
AlertCalled:
:
getSequenceNbr
,
alert
Id
);
updateWrapper
.
eq
(
AlertCalled:
:
getSequenceNbr
,
alert
CalledDto
.
getSequenceNbr
()
);
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
update
(
updateWrapper
));
}
/**
* 工单结案-投诉
* @param finalReason
* @param alertId
* @return
*/
@TycloudOperation
(
ApiLevel
=
UserType
.
AGENCY
)
@PostMapping
(
value
=
"/saveFinalReason"
)
@ApiOperation
(
httpMethod
=
"POST"
,
value
=
"工单结案-投诉"
,
notes
=
"工单结案-投诉"
)
public
ResponseModel
<
Boolean
>
finishAlertById
(
@
ApiParam
(
value
=
"结案说明"
,
required
=
true
)
@RequestParam
String
finalReason
,
@ApiParam
(
value
=
"警情id"
,
required
=
true
)
@RequestParam
Long
alertId
)
{
if
(
ValidationUtil
.
isEmpty
(
finalReason
)
||
ValidationUtil
.
isEmpty
(
alert
Id
)){
public
ResponseModel
<
Boolean
>
finishAlertById
(
@
RequestBody
AlertCalledDto
alertCalledDto
)
{
if
(
ValidationUtil
.
isEmpty
(
alertCalledDto
.
getFinalReason
()
)
||
ValidationUtil
.
isEmpty
(
alert
CalledDto
.
getSequenceNbr
()
)){
throw
new
BadRequest
(
"参数校验失败."
);
}
LambdaUpdateWrapper
<
AlertCalled
>
updateWrapper
=
new
LambdaUpdateWrapper
<>();
updateWrapper
.
set
(
AlertCalled:
:
getFinalReason
,
finalReason
);
updateWrapper
.
set
(
AlertCalled:
:
getFinalReason
,
alertCalledDto
.
getFinalReason
()
);
updateWrapper
.
set
(
AlertCalled:
:
getAlertStage
,
1
);
updateWrapper
.
eq
(
AlertCalled:
:
getSequenceNbr
,
alert
Id
);
updateWrapper
.
eq
(
AlertCalled:
:
getSequenceNbr
,
alert
CalledDto
.
getSequenceNbr
()
);
return
ResponseHelper
.
buildResponse
(
iAlertCalledService
.
update
(
updateWrapper
));
}
...
...
amos-boot-module/amos-boot-module-biz/amos-boot-module-tzs-biz/src/main/java/com/yeejoin/amos/boot/module/tzs/biz/service/impl/DispatchPaperServiceImpl.java
View file @
610dcaa1
...
...
@@ -365,8 +365,10 @@ public class DispatchPaperServiceImpl extends BaseService<DispatchPaperDto,Dispa
break
;
}
});
dispatchPaper
.
setFeedbackCode
(
dispatchSaveFeedbackDto
.
getFeedbackCode
());
dispatchPaper
.
setFeedbackType
(
DispatchPaperEnums
.
getEnumById
(
dispatchSaveFeedbackDto
.
getFeedbackCode
()).
getValue
());
if
(
StringUtils
.
isNotBlank
(
dispatchSaveFeedbackDto
.
getFeedbackCode
()))
{
dispatchPaper
.
setFeedbackCode
(
dispatchSaveFeedbackDto
.
getFeedbackCode
());
dispatchPaper
.
setFeedbackType
(
DispatchPaperEnums
.
getEnumById
(
dispatchSaveFeedbackDto
.
getFeedbackCode
()).
getValue
());
}
dispatchPaper
.
setFeedbackFinishTime
(
dispatchSaveFeedbackDto
.
getFeedbackFinishTime
());
dispatchPaper
.
setFeedbackUid
(
dispatchSaveFeedbackDto
.
getFeedbackUid
());
dispatchPaper
.
setFeedbackUname
(
dispatchSaveFeedbackDto
.
getFeedbackUname
());
...
...
@@ -568,8 +570,10 @@ public class DispatchPaperServiceImpl extends BaseService<DispatchPaperDto,Dispa
break
;
}
});
dispatchPaper
.
setFeedbackCode
(
dispatchRepairFeedbackDto
.
getFeedbackCode
());
dispatchPaper
.
setFeedbackType
(
DispatchPaperEnums
.
getEnumById
(
dispatchRepairFeedbackDto
.
getFeedbackCode
()).
getValue
());
if
(
StringUtils
.
isNotBlank
(
dispatchRepairFeedbackDto
.
getFeedbackCode
()))
{
dispatchPaper
.
setFeedbackCode
(
dispatchRepairFeedbackDto
.
getFeedbackCode
());
dispatchPaper
.
setFeedbackType
(
DispatchPaperEnums
.
getEnumById
(
dispatchRepairFeedbackDto
.
getFeedbackCode
()).
getValue
());
}
dispatchPaper
.
setFeedbackFinishTime
(
dispatchRepairFeedbackDto
.
getFeedbackFinishTime
());
dispatchPaper
.
setFeedbackUid
(
dispatchRepairFeedbackDto
.
getFeedbackUid
());
dispatchPaper
.
setFeedbackUname
(
dispatchRepairFeedbackDto
.
getFeedbackUname
());
...
...
@@ -772,8 +776,10 @@ public class DispatchPaperServiceImpl extends BaseService<DispatchPaperDto,Dispa
break
;
}
});
dispatchPaper
.
setFeedbackCode
(
dispatchConsultFeedbackDto
.
getFeedbackCode
());
dispatchPaper
.
setFeedbackType
(
DispatchPaperEnums
.
getEnumById
(
dispatchConsultFeedbackDto
.
getFeedbackCode
()).
getValue
());
if
(
StringUtils
.
isNotBlank
(
dispatchConsultFeedbackDto
.
getFeedbackCode
()))
{
dispatchPaper
.
setFeedbackCode
(
dispatchConsultFeedbackDto
.
getFeedbackCode
());
dispatchPaper
.
setFeedbackType
(
DispatchPaperEnums
.
getEnumById
(
dispatchConsultFeedbackDto
.
getFeedbackCode
()).
getValue
());
}
if
(
dispatchPaper
.
getFeedbackTime
()
==
null
&&
dispatchConsultFeedbackDto
.
getFeedbackTime
()
!=
null
)
{
tempMap
.
put
(
"FEEDBACK"
,
true
);
}
...
...
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