fix():修改路径冲突导致的报错
parent
82a7117e22
commit
b6a61dcef1
|
@ -8,10 +8,7 @@ import io.swagger.v3.oas.annotations.Operation;
|
||||||
import io.swagger.v3.oas.annotations.tags.Tag;
|
import io.swagger.v3.oas.annotations.tags.Tag;
|
||||||
import org.springframework.beans.factory.annotation.Autowired;
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.validation.annotation.Validated;
|
import org.springframework.validation.annotation.Validated;
|
||||||
import org.springframework.web.bind.annotation.PostMapping;
|
import org.springframework.web.bind.annotation.*;
|
||||||
import org.springframework.web.bind.annotation.RequestBody;
|
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
|
||||||
import org.springframework.web.bind.annotation.RestController;
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 企业信息控制层
|
* 企业信息控制层
|
||||||
|
@ -31,7 +28,7 @@ public class FirmManageController {
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 公司列表信息展示
|
* 企业列表信息展示
|
||||||
* @param firmListReq
|
* @param firmListReq
|
||||||
* @return
|
* @return
|
||||||
*/
|
*/
|
||||||
|
@ -43,5 +40,17 @@ public class FirmManageController {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// /**
|
||||||
|
// * 删除企业信息
|
||||||
|
// * @param firmId
|
||||||
|
// * @return
|
||||||
|
// */
|
||||||
|
// @PostMapping("/firmmessagedel/{firmId}")
|
||||||
|
// @Operation(summary = "删除企业信息",description = "删除企业信息")
|
||||||
|
// public Result firmmessagedel(@PathVariable Integer firmId){
|
||||||
|
//
|
||||||
|
// }
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -76,4 +76,6 @@ public class FirmPermissionController {
|
||||||
firmPermissionService.updateById(FirmPermission.updfirmpermission(firmPermissionUpdReq));
|
firmPermissionService.updateById(FirmPermission.updfirmpermission(firmPermissionUpdReq));
|
||||||
return Result.success();
|
return Result.success();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -0,0 +1,12 @@
|
||||||
|
package com.muyu.server.service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除企业数据库业务层
|
||||||
|
* @Author:weiran
|
||||||
|
* @Package:com.muyu.server.service
|
||||||
|
* @Project:cloud-server-8
|
||||||
|
* @name:DataSourceDel
|
||||||
|
* @Date:2024/10/10 9:30
|
||||||
|
*/
|
||||||
|
public interface DataSourceDel {
|
||||||
|
}
|
|
@ -0,0 +1,18 @@
|
||||||
|
package com.muyu.server.service.impl;
|
||||||
|
|
||||||
|
import com.muyu.server.service.DataSourceDel;
|
||||||
|
import org.springframework.stereotype.Service;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 删除企业数据库
|
||||||
|
* @Author:weiran
|
||||||
|
* @Package:com.muyu.server.service.impl
|
||||||
|
* @Project:cloud-server-8
|
||||||
|
* @name:DataSourceDelImpl
|
||||||
|
* @Date:2024/10/10 9:30
|
||||||
|
*/
|
||||||
|
@Service
|
||||||
|
public class DataSourceDelImpl implements DataSourceDel {
|
||||||
|
String url="jdbc:mysql://159.75.188.178:3306/";
|
||||||
|
|
||||||
|
}
|
|
@ -14,6 +14,7 @@
|
||||||
<module>cloud-modules-gen</module>
|
<module>cloud-modules-gen</module>
|
||||||
<module>cloud-modules-file</module>
|
<module>cloud-modules-file</module>
|
||||||
<module>cloud-modules-carData</module>
|
<module>cloud-modules-carData</module>
|
||||||
|
|
||||||
</modules>
|
</modules>
|
||||||
|
|
||||||
<artifactId>cloud-modules</artifactId>
|
<artifactId>cloud-modules</artifactId>
|
||||||
|
|
Loading…
Reference in New Issue