|
|
@ -60,6 +60,7 @@ import java.util.Map; |
|
|
|
import java.util.concurrent.atomic.AtomicInteger; |
|
|
|
import java.util.concurrent.atomic.AtomicInteger; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
import java.util.stream.Collectors; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
import static com.hnac.hzims.middle.process.constant.TicketProcessConstant.OFFLINE_OPERATION_TICKET; |
|
|
|
import static com.hnac.hzims.middle.process.constant.TicketProcessConstant.OPERATION_TICKET_KEY; |
|
|
|
import static com.hnac.hzims.middle.process.constant.TicketProcessConstant.OPERATION_TICKET_KEY; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
@ -100,12 +101,15 @@ public class OperationTicketServiceImpl implements OperationTicketService , Star |
|
|
|
* @param standardTicketInfoVo |
|
|
|
* @param standardTicketInfoVo |
|
|
|
*/ |
|
|
|
*/ |
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public R startUp(StandardTicketInfoVo standardTicketInfoVo) { |
|
|
|
public R startUp(StandardTicketInfoVo standardTicketInfoVo,Boolean isOffice) { |
|
|
|
log.info("执行 com.hnac.hzims.ticket.standardTicket.service.impl【startUp】 。。。方法"); |
|
|
|
log.info("执行 com.hnac.hzims.ticket.standardTicket.service.impl【startUp】 。。。方法"); |
|
|
|
//保存操作票
|
|
|
|
//保存操作票
|
|
|
|
String standardTicketInfoVoBySave = this.saveEntity(JSONObject.toJSONString(standardTicketInfoVo)); |
|
|
|
String standardTicketInfoVoBySave = this.saveEntity(JSONObject.toJSONString(standardTicketInfoVo)); |
|
|
|
//查询流程对应value
|
|
|
|
//查询流程对应value
|
|
|
|
String dictValue = processDictFeignService.selectDictValueByKey(OPERATION_TICKET_KEY); |
|
|
|
String dictValue = processDictFeignService.selectDictValueByKey(OPERATION_TICKET_KEY); |
|
|
|
|
|
|
|
if (true){ |
|
|
|
|
|
|
|
dictValue = processDictFeignService.selectDictValueByKey(OFFLINE_OPERATION_TICKET); |
|
|
|
|
|
|
|
} |
|
|
|
log.info("查询第操作票值: {}", dictValue); |
|
|
|
log.info("查询第操作票值: {}", dictValue); |
|
|
|
if (StringUtils.isBlank(dictValue)) { |
|
|
|
if (StringUtils.isBlank(dictValue)) { |
|
|
|
throw new ServiceException("服务器异常,请联系管理员"); |
|
|
|
throw new ServiceException("服务器异常,请联系管理员"); |
|
|
|