fix:模块单元中后端接口查询时先查询卡车类的数据
This commit is contained in:
+4
-1
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user