bug修复
This commit is contained in:
parent
e8d7b1314b
commit
702600e3c6
2
pom.xml
2
pom.xml
|
|
@ -140,7 +140,7 @@
|
||||||
</dependency>
|
</dependency>
|
||||||
</dependencies>
|
</dependencies>
|
||||||
<build>
|
<build>
|
||||||
<finalName>devops-api</finalName>
|
<finalName>devops-api-gd</finalName>
|
||||||
<plugins>
|
<plugins>
|
||||||
<plugin>
|
<plugin>
|
||||||
<groupId>org.springframework.boot</groupId>
|
<groupId>org.springframework.boot</groupId>
|
||||||
|
|
|
||||||
|
|
@ -26,7 +26,7 @@ import java.util.List;
|
||||||
@Data
|
@Data
|
||||||
@EqualsAndHashCode(callSuper = true)
|
@EqualsAndHashCode(callSuper = true)
|
||||||
@Accessors(chain = true)
|
@Accessors(chain = true)
|
||||||
@TableName(schema = "DEVOPS", value = "REPAIR_TODO")
|
@TableName(value = "REPAIR_TODO")
|
||||||
@ApiModel(value = "RepairTodo对象", description = "运维报障待办")
|
@ApiModel(value = "RepairTodo对象", description = "运维报障待办")
|
||||||
@JsonIgnoreProperties(value = {"handler"})
|
@JsonIgnoreProperties(value = {"handler"})
|
||||||
public class RepairTodo extends SuperEntity {
|
public class RepairTodo extends SuperEntity {
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ import lombok.extern.slf4j.Slf4j;
|
||||||
import org.apache.commons.lang3.StringUtils;
|
import org.apache.commons.lang3.StringUtils;
|
||||||
import org.apache.logging.log4j.util.Strings;
|
import org.apache.logging.log4j.util.Strings;
|
||||||
import org.springframework.stereotype.Service;
|
import org.springframework.stereotype.Service;
|
||||||
|
import org.springframework.transaction.annotation.Transactional;
|
||||||
|
|
||||||
import javax.annotation.Resource;
|
import javax.annotation.Resource;
|
||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
|
|
@ -70,6 +71,7 @@ public class RepairServiceImpl extends ServiceImpl<RepairMapper, Repair> impleme
|
||||||
private BusinessUserService businessUserService;
|
private BusinessUserService businessUserService;
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
@Transactional
|
||||||
public RestResult<String> saveRepair(Repair repair) {
|
public RestResult<String> saveRepair(Repair repair) {
|
||||||
|
|
||||||
//判断来源
|
//判断来源
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue