微服务版本相关bug修改
This commit is contained in:
@@ -79,7 +79,7 @@ public class PqFrontLogsController extends BaseController {
|
||||
}
|
||||
@OperateInfo(info = LogEnum.SYSTEM_COMMON, operateType = OperateType.QUERY)
|
||||
@PostMapping("/queryLogCHild")
|
||||
@ApiOperation("查询前置日志")
|
||||
@ApiOperation("查询前置日志子日志")
|
||||
@ApiImplicitParam(name = "baseParam", value = "查询日志参数", required = true)
|
||||
public HttpResult<Page<PqFrontLogsChild>> queryLogCHild(@RequestBody PqFrontLogsChildParam baseParam) {
|
||||
String methodDescribe = getMethodDescribe("queryFrontLogs");
|
||||
|
||||
@@ -50,9 +50,10 @@ public class PqFrontLogsServiceImpl extends ServiceImpl<PqFrontLogsMapper, PqFro
|
||||
|
||||
PqFrontLogs one = this.lambdaQuery()
|
||||
.eq(PqFrontLogs::getLevel, pqFrontLogsDTO.getLevel())
|
||||
.eq(PqFrontLogs::getNodeId, pqFrontLogsDTO.getNodeId())
|
||||
.eq(PqFrontLogs::getFrontType, pqFrontLogsDTO.getFrontType())
|
||||
.eq(PqFrontLogs::getCode, pqFrontLogsDTO.getCode())
|
||||
.eq(PqFrontLogs::getBusinessId, pqFrontLogsDTO.getBusinessId())
|
||||
.eq(StringUtils.isNotBlank(pqFrontLogsDTO.getBusinessId()),PqFrontLogs::getBusinessId, pqFrontLogsDTO.getBusinessId())
|
||||
.eq(PqFrontLogs::getState,1).one();
|
||||
if(Objects.nonNull(one)){
|
||||
one.setUpdateTime(LocalDateTime.now());
|
||||
@@ -61,6 +62,7 @@ public class PqFrontLogsServiceImpl extends ServiceImpl<PqFrontLogsMapper, PqFro
|
||||
PqFrontLogsChild pqFrontLogsChild = new PqFrontLogsChild();
|
||||
pqFrontLogsChild.setMainId(one.getId());
|
||||
pqFrontLogsChild.setLog(pqFrontLogsDTO.getLog());
|
||||
pqFrontLogsChild.setGrade(pqFrontLogsDTO.getGrade());
|
||||
pqFrontLogsChild.setState(1);
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user