|
@@ -14,6 +14,7 @@ import com.yvan.ModelOps;
|
|
|
import com.yvan.mvc.Pd;
|
|
|
import com.yvan.platform.JsonWapper;
|
|
|
import com.yvan.platform.YvanUtil;
|
|
|
+import org.apache.ibatis.annotations.Param;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.ui.ModelMap;
|
|
|
import org.springframework.web.bind.annotation.GetMapping;
|
|
@@ -44,9 +45,9 @@ public class YeWeiHuiController {
|
|
|
queryParam.put("statistics", "M");
|
|
|
|
|
|
List<QzTask> taskList = qzTaskService.selectAll();
|
|
|
-// List<sysUptownUnit> rbList = rbService.selectAll();
|
|
|
+ List<sysUptownUnit> rbList = rbService.selectAll(1224706869998772226L);
|
|
|
model.put("taskList", YvanUtil.toJsonPretty(taskList));
|
|
|
-// model.put("rbList", YvanUtil.toJsonPretty(rbList));
|
|
|
+ model.put("rbList", YvanUtil.toJsonPretty(rbList));
|
|
|
|
|
|
return new ModelAndView("/yeweihui/home.ftl", model);
|
|
|
}
|
|
@@ -134,7 +135,7 @@ public class YeWeiHuiController {
|
|
|
@GetMapping("/yeweihui/ribaoDy")
|
|
|
public Model<List<SysUptownHouse>> yeweihuiRibaoDy(String str) {
|
|
|
String[] split = str.split("&");
|
|
|
- List<SysUptownHouse> rbList = rbService.selectXq(split[0],split[1]);
|
|
|
+ List<SysUptownHouse> rbList = rbService.selectXq(split[0],split[1],Long.parseLong(split[2]));
|
|
|
|
|
|
return Model.newSuccess(rbList);
|
|
|
}
|