bug修复

This commit is contained in:
黎润豪 2024-10-24 09:53:29 +08:00
parent e8d7b1314b
commit 702600e3c6
3 changed files with 4 additions and 2 deletions

View File

@ -140,7 +140,7 @@
</dependency>
</dependencies>
<build>
<finalName>devops-api</finalName>
<finalName>devops-api-gd</finalName>
<plugins>
<plugin>
<groupId>org.springframework.boot</groupId>

View File

@ -26,7 +26,7 @@ import java.util.List;
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
@TableName(schema = "DEVOPS", value = "REPAIR_TODO")
@TableName(value = "REPAIR_TODO")
@ApiModel(value = "RepairTodo对象", description = "运维报障待办")
@JsonIgnoreProperties(value = {"handler"})
public class RepairTodo extends SuperEntity {

View File

@ -25,6 +25,7 @@ import lombok.extern.slf4j.Slf4j;
import org.apache.commons.lang3.StringUtils;
import org.apache.logging.log4j.util.Strings;
import org.springframework.stereotype.Service;
import org.springframework.transaction.annotation.Transactional;
import javax.annotation.Resource;
import javax.servlet.http.HttpServletResponse;
@ -70,6 +71,7 @@ public class RepairServiceImpl extends ServiceImpl<RepairMapper, Repair> impleme
private BusinessUserService businessUserService;
@Override
@Transactional
public RestResult<String> saveRepair(Repair repair) {
//判断来源