@@ -22,7 +22,7 @@ public interface BusDeviceRepository extends BaseMapper<BusDevice> {
...
@@ -22,7 +22,7 @@ public interface BusDeviceRepository extends BaseMapper<BusDevice> {
* 分页查询 busDevice
* 分页查询 busDevice
*
*
*/
*/
@Select("<script>select a.*,b.FAC_NM from bus_device a left join bus_factory b on a.fac_id = b.fac_id where 1=1 and a.pro_id = #{proId} "+
@Select("<script>select a.*,b.FAC_NM,DATE_FORMAT(a.install_date,'%Y-%m-%d') INSTALL_DAY from bus_device a left join bus_factory b on a.fac_id = b.fac_id where 1=1 and a.pro_id = #{proId} "+
"<if test='devTpId != null'> and a.dev_tp_id = #{devTpId}</if>"
"<if test='devTpId != null'> and a.dev_tp_id = #{devTpId}</if>"
@Select("<script>select a.*,b.MENU_ID from sys_role a left join rel_role_menu b on a.role_id = b.role_id</script>")
List<Map<String,Object>>listRoleAll();
@Select("<script>select * from sys_menu where MENU_ID in <foreach collection=\"menuList\" index=\"index\" item=\"menu\" open=\"(\" separator=\",\" close=\")\">\n"+