|
@@ -7,6 +7,7 @@ import java.util.List;
|
|
|
import java.util.Map;
|
|
|
import java.util.Objects;
|
|
|
|
|
|
+import com.rtrh.projects.modules.system.service.ISubInduService;
|
|
|
import org.apache.poi.xssf.usermodel.XSSFWorkbook;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.stereotype.Controller;
|
|
@@ -43,12 +44,14 @@ public class AnnualPlanController extends BaseController {
|
|
|
private TSysTableService tSysTableService;
|
|
|
@Autowired
|
|
|
private JUnitService jUnitService;
|
|
|
-
|
|
|
+ @Autowired
|
|
|
+ private ISubInduService subInduService;
|
|
|
|
|
|
|
|
|
@GetMapping(value = "/index")
|
|
|
public ModelAndView test(ModelMap model,String subName) {
|
|
|
- model.put("HYFL", tSysTableService.getByKind(SysTableKind.HYFL));
|
|
|
+// model.put("HYFL", tSysTableService.getByKind(SysTableKind.HYFL));
|
|
|
+ model.put("HYFL", subInduService.queryTreeALl());
|
|
|
model.put("XMLX", tSysTableService.getByKind(SysTableKind.XMLX));
|
|
|
model.put("JSXZ", tSysTableService.getByKind(SysTableKind.JSXZ));
|
|
|
model.put("JSDD", tSysTableService.getByKind(SysTableKind.JSDD));
|