修饰代码优化
This commit is contained in:
parent
1b31a24772
commit
2d0813824f
|
|
@ -41,7 +41,7 @@ public class BmConfigController extends BaseController
|
|||
* 查询功能参数配置列表
|
||||
*/
|
||||
@ApiOperation(value = "查询功能参数配置列表")
|
||||
@RequiresPermissions("screen:config:list")
|
||||
//@RequiresPermissions("screen:config:list")
|
||||
@GetMapping("/list")
|
||||
public TableDataInfo list(BmConfig bmConfig)
|
||||
{
|
||||
|
|
|
|||
|
|
@ -204,7 +204,7 @@ public class TypeController extends BaseController {
|
|||
* 物资类型下拉树
|
||||
*/
|
||||
@ApiOperation(value = "物资类型下拉树")
|
||||
@RequiresPermissions("ma:type:list")
|
||||
//@RequiresPermissions("ma:type:list")
|
||||
@GetMapping("/getMaTypeTreeSelect")
|
||||
public AjaxResult getMaTypeTreeSelect(@RequestParam(required = false, defaultValue = "", value = "typeName") String typeName,
|
||||
@RequestParam(required = false, defaultValue = "", value = "parentId") String parentId) {
|
||||
|
|
|
|||
|
|
@ -62,7 +62,7 @@ PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN"
|
|||
left join ma_type mt3 ON mt2.parent_id = mt3.type_id and mt3.del_flag = '0'
|
||||
left join ma_type mt4 ON mt3.parent_id = mt4.type_id and mt4.del_flag = '0'
|
||||
<if test="userId != null">
|
||||
JOIN ma_type_repair mtr ON mtr.type_id = rd.type_id AND mtr.user_id = #{userId}
|
||||
JOIN ma_type_keeper mtr ON mtr.type_id = rd.type_id AND mtr.user_id = #{userId}
|
||||
</if>
|
||||
<where>
|
||||
rd.create_time < '2025-08-20 00:00:00'
|
||||
|
|
|
|||
Loading…
Reference in New Issue