Explorar o código

取消入区核放核注权限验证

wenjinbiao hai 2 meses
pai
achega
ebf4a350f6

+ 1 - 2
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qysecondlinehzdrqtz/service/impl/QySecondlineHzdRqTzServiceImpl.java

@@ -261,8 +261,7 @@ public class QySecondlineHzdRqTzServiceImpl extends ServiceImpl<QySecondlineHzdR
         QueryWrapper<QySecondlineHzdRqList> hzdListQuery = new QueryWrapper<QySecondlineHzdRqList>().checkSqlInjection();
         hzdListQuery.lambda().eq(QySecondlineHzdRqList::getHzdId,hzdId);
         hzdListQuery.lambda().orderByDesc(QySecondlineHzdRqList::getId);
-        List<QySecondlineHzdRqList> list = qySecondlineHzdRqListService.list(hzdListQuery);
-        return list;
+        return qySecondlineHzdRqListService.list(hzdListQuery);
     }
 
     @Override

+ 9 - 0
snowy-plugin/snowy-plugin-biz/src/main/java/vip/xiaonuo/biz/modular/qysecondlinerqhfdlist/controller/QySecondlineRqHfdListController.java

@@ -22,6 +22,8 @@ import org.springframework.web.bind.annotation.GetMapping;
 import org.springframework.web.bind.annotation.PostMapping;
 import org.springframework.web.bind.annotation.RequestBody;
 import org.springframework.web.bind.annotation.RestController;
+import vip.xiaonuo.biz.modular.qysecondlinehfdlist.entity.QySecondlineHfdList;
+import vip.xiaonuo.biz.modular.qysecondlinehfdlist.param.QySecondlineHfdListIdParam;
 import vip.xiaonuo.common.annotation.CommonLog;
 import vip.xiaonuo.common.pojo.CommonResult;
 import vip.xiaonuo.biz.modular.qysecondlinerqhfdlist.entity.QySecondlineRqHfdList;
@@ -171,4 +173,11 @@ public class QySecondlineRqHfdListController {
     public CommonResult<QySecondlineRqHfdList> detail(@Valid QySecondlineRqHfdListIdParam qySecondlineRqHfdListIdParam) {
         return CommonResult.data(qySecondlineRqHfdListService.detail(qySecondlineRqHfdListIdParam));
     }
+
+    @Operation(summary = "根据核放id获取二线核放回执单列表")
+//    @SaCheckPermission("/biz/qysecondlinehfdlist/detail")
+    @GetMapping("/biz/qysecondlinerqhfdlist/getListByHfdId")
+    public CommonResult<List<QySecondlineRqHfdList>> getListByHfdId(@Valid QySecondlineRqHfdListIdParam qySecondlineHfdListIdParam) {
+        return CommonResult.data(qySecondlineRqHfdListService.getListByHfdId(qySecondlineHfdListIdParam.getId()));
+    }
 }