fix:模块单元中后端接口查询时先查询卡车类的数据

This commit is contained in:
zyd
2022-01-24 21:01:57 +08:00
parent 986092d8ea
commit 4cff14d6cb
@@ -40,7 +40,10 @@ public class SarModelTreeController extends BaseController<SarModelTree> {
@GetMapping("/list")
public ResponseMessage<List<SarModelTree>> getAll(){
// List<SarModuleTree> tsResources = iSarModuleTreeService.getAll(null);
List<SarModelTree> tsResources = iSarModelTreeService.getAll(null);
SarModelTree rootData = new SarModelTree();
rootData.setModelType("TRUCK");
rootData.setDelFlag("1");
List<SarModelTree> tsResources = iSarModelTreeService.getAll(rootData);
return Result.success(tsResources);
}