Merge remote-tracking branch 'origin/main'

This commit is contained in:
houwei 2024-07-12 09:47:42 +08:00
commit f86df95fa9
2 changed files with 1 additions and 5 deletions

View File

@ -56,10 +56,6 @@ public class EquipmentController {
if(!hasPermission){
return R.fail("没有设备管理权限");
}
if (sysEquipmentDto.getOrgId() == null) {
throw new ServiceException("参数缺失");
}
return R.success(sysEquipmentService.creatSysEquipment(sysEquipmentDto));
}

View File

@ -80,7 +80,7 @@
<select id="queryEquipmentTree" resultMap="SysEquipmentListMap">
select t.* from sys_equipment t order by t.code
select t.* from sys_equipment t where t.parent_equipment_id is null or t.parent_equipment_id = 0 order by t.code
</select>
<select id="queryChildrenEquipById" resultMap="SysEquipmentListMap">