forked from integrated_whb/integrated_whb
后端修改
parent
d96a569e66
commit
3d1a78869c
|
@ -202,4 +202,24 @@ public class FreighttTrailerController extends BaseController {
|
||||||
return map;
|
return map;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 列表
|
||||||
|
*
|
||||||
|
* @param
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
@RequestMapping(value = "/vehicleList")
|
||||||
|
// @RequiresPermissions( value = {"question:list" , "courseware:list"}, logical = Logical.OR)
|
||||||
|
@ResponseBody
|
||||||
|
@LogAnno(menuType = "基础信息管理", menuServer = "营运车辆", instructionsOperate = "营运车辆", instructionsType = "列表")
|
||||||
|
public Object vehicleList() throws Exception {
|
||||||
|
Map<String, Object> map = new HashMap<String, Object>();
|
||||||
|
String errInfo = "success";
|
||||||
|
String corpId = Jurisdiction.getCORPINFO_ID();
|
||||||
|
List<PageData> list = freightTrailerService.trailerList(corpId); //列出Question列表
|
||||||
|
map.put("list", list);
|
||||||
|
map.put("result", errInfo);
|
||||||
|
return map;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -66,5 +66,13 @@ public interface FreightTrailerMapper {
|
||||||
* @throws Exception
|
* @throws Exception
|
||||||
*/
|
*/
|
||||||
List<PageData> trailerList(String corpId);
|
List<PageData> trailerList(String corpId);
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 列表
|
||||||
|
*
|
||||||
|
* @param
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
List<PageData> vehicleList(String corpId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -67,5 +67,13 @@ public interface FreightTrailerService {
|
||||||
*/
|
*/
|
||||||
public List<PageData> trailerList(String corpId) throws Exception;
|
public List<PageData> trailerList(String corpId) throws Exception;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 列表
|
||||||
|
*
|
||||||
|
* @param
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public List<PageData> vehicleList(String corpId) throws Exception;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -93,5 +93,15 @@ public class FreightTrailerServiceImpl implements FreightTrailerService {
|
||||||
return freightTrailerMapper.trailerList(corpId);
|
return freightTrailerMapper.trailerList(corpId);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* 列表
|
||||||
|
*
|
||||||
|
* @param
|
||||||
|
* @throws Exception
|
||||||
|
*/
|
||||||
|
public List<PageData> vehicleList(String corpId) throws Exception {
|
||||||
|
return freightTrailerMapper.vehicleList(corpId);
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
@ -235,4 +235,13 @@
|
||||||
where f.ISDELETE = '0' and f.CORPINFO_ID = #{corpId}
|
where f.ISDELETE = '0' and f.CORPINFO_ID = #{corpId}
|
||||||
</select>
|
</select>
|
||||||
|
|
||||||
|
<!-- 货运挂车列表ALL -->
|
||||||
|
<select id="vehicleList" parameterType="page" resultType="pd">
|
||||||
|
select
|
||||||
|
*
|
||||||
|
from
|
||||||
|
v_traffic f
|
||||||
|
where f.CORPINFO_ID = #{corpId}
|
||||||
|
</select>
|
||||||
|
|
||||||
</mapper>
|
</mapper>
|
||||||
|
|
Loading…
Reference in New Issue