Commit 5053cc9e authored by chenzhao's avatar chenzhao

修改代码

parent 2a3c2cd7
...@@ -991,7 +991,7 @@ public class OrgUsrController extends BaseController { ...@@ -991,7 +991,7 @@ public class OrgUsrController extends BaseController {
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "POST", value = "查询单位基本信息", notes = "查询单位基本信息") @ApiOperation(httpMethod = "POST", value = "查询单位基本信息", notes = "查询单位基本信息")
@GetMapping(value = "/selectByIdDeptList") @PostMapping(value = "/selectByIdDeptList")
public ResponseModel<Object> selectByIdDeptList(@RequestBody String ids) throws Exception { public ResponseModel<Object> selectByIdDeptList(@RequestBody String ids) throws Exception {
String[] slid = ids.split(","); String[] slid = ids.split(",");
...@@ -1003,7 +1003,7 @@ public class OrgUsrController extends BaseController { ...@@ -1003,7 +1003,7 @@ public class OrgUsrController extends BaseController {
} }
@TycloudOperation(ApiLevel = UserType.AGENCY) @TycloudOperation(ApiLevel = UserType.AGENCY)
@ApiOperation(httpMethod = "POST", value = "查询单位基本信息", notes = "查询单位基本信息") @ApiOperation(httpMethod = "POST", value = "查询单位基本信息", notes = "查询单位基本信息")
@GetMapping(value = "/selectByAmosOrgIdDeptList") @PostMapping(value = "/selectByAmosOrgIdDeptList")
public ResponseModel<Object> selectByAmosOrgIdDeptList(@RequestBody String ids) throws Exception { public ResponseModel<Object> selectByAmosOrgIdDeptList(@RequestBody String ids) throws Exception {
String[] slid = ids.split(","); String[] slid = ids.split(",");
......
...@@ -18,7 +18,7 @@ public interface IPointClassifyDao extends BaseDao<PointClassify, Long> { ...@@ -18,7 +18,7 @@ public interface IPointClassifyDao extends BaseDao<PointClassify, Long> {
@Query(value = "select * from p_point_classify where point_id = ?1 and is_delete = 0", nativeQuery = true) @Query(value = "select * from p_point_classify where point_id = ?1 and is_delete = 0", nativeQuery = true)
List<PointClassify> getPointClassifyByPointId(long id); List<PointClassify> getPointClassifyByPointId(long id);
@Query(value = "SELECT * FROM `p_route_point` where point_id = ?1 and equipment_id = ?2", nativeQuery = true) @Query(value = "SELECT * FROM `p_point_classify` where point_id = ?1 and equipment_id = ?2", nativeQuery = true)
List<PointClassify> queryByPointIdAndEquipmentId(Long pointId, String equipmentId); List<PointClassify> queryByPointIdAndEquipmentId(Long pointId, String equipmentId);
@Modifying @Modifying
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment