删除依赖
parent
88434fcbbe
commit
5308c1a566
|
@ -44,10 +44,11 @@
|
|||
<artifactId>february-common-datasource</artifactId>
|
||||
<version>3.6.3</version>
|
||||
</dependency>
|
||||
<dependency>
|
||||
<groupId>com.february</groupId>
|
||||
<artifactId>february-common-log</artifactId>
|
||||
</dependency>
|
||||
<!-- <dependency>-->
|
||||
<!-- <groupId>com.february</groupId>-->
|
||||
<!-- <artifactId>february-common-log</artifactId>-->
|
||||
<!-- <version>3.6.3</version>-->
|
||||
<!-- </dependency>-->
|
||||
|
||||
<dependency>
|
||||
<groupId>com.february</groupId>
|
||||
|
|
|
@ -12,10 +12,9 @@ import com.february.common.core.domain.Result;
|
|||
import com.february.fault.aspect.WebLog;
|
||||
import com.february.fault.domain.FaultCode;
|
||||
import com.february.fault.service.FaultCodeService;
|
||||
import lombok.extern.log4j.Log4j2;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.web.bind.annotation.*;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
import java.util.List;
|
||||
|
||||
|
@ -49,7 +48,7 @@ public class FaultCodeController {
|
|||
* @return
|
||||
*/
|
||||
@PostMapping("/add")
|
||||
|
||||
@WebLog(description = "添加车辆故障信息")
|
||||
public Result<String> addFaultCode(@RequestBody FaultCode faultCode){
|
||||
Result<String> result=faultCodeService.addFaultCode(faultCode);
|
||||
return result;
|
||||
|
|
|
@ -46,7 +46,7 @@ public class FaultCodeServiceImpl extends ServiceImpl<FaultCodeMapper, FaultCode
|
|||
Page<FaultCode> faultCodePage = new Page<>(1,2);
|
||||
List<FaultCode> records = faultCodeMapper.selectPage(faultCodePage, faultCodeQueryWrapper).getRecords();
|
||||
// List<FaultCode> faultCodes = faultCodeMapper.selectList(faultCodeQueryWrapper);
|
||||
return Result.success(records);
|
||||
return Result.success(records,"列表展示成功");
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
Loading…
Reference in New Issue