Commit 08503c0e authored by 胡斌's avatar 胡斌

智能分析平台打包备份

parent 92210c7a
This diff is collapsed.
...@@ -1460,7 +1460,7 @@ ...@@ -1460,7 +1460,7 @@
<SOURCES /> <SOURCES />
</library> </library>
</orderEntry> </orderEntry>
<orderEntry type="jdk" jdkName="1.6" jdkType="JavaSDK" /> <orderEntry type="inheritedJdk" />
<orderEntry type="module-library"> <orderEntry type="module-library">
<library> <library>
<CLASSES> <CLASSES>
...@@ -1473,7 +1473,7 @@ ...@@ -1473,7 +1473,7 @@
<orderEntry type="module-library"> <orderEntry type="module-library">
<library> <library>
<CLASSES> <CLASSES>
<root url="jar://$MODULE_DIR$/../../apache-tomcat-7.0.47/lib/servlet-api.jar!/" /> <root url="jar://$MODULE_DIR$/lib/servlet-api.jar!/" />
</CLASSES> </CLASSES>
<JAVADOC /> <JAVADOC />
<SOURCES /> <SOURCES />
......
package com.hp.cmsz.web.analysissupport; package com.hp.cmsz.web.analysissupport;
import java.util.List;
import java.util.Map; import java.util.Map;
import com.hp.cmsz.entity.Province;
import com.hp.cmsz.repository.ChannelDao;
import com.hp.cmsz.repository.DataSourceDao;
import com.hp.cmsz.repository.ProvinceDao;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller; import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping; import org.springframework.web.bind.annotation.RequestMapping;
import com.hp.cmsz.web.PageURLController; import com.hp.cmsz.web.PageURLController;
import javax.annotation.Resource;
/** /**
* 质量规则维护的新增过滤规则控制类 * 质量规则维护的新增过滤规则控制类
* *
...@@ -18,9 +26,23 @@ import com.hp.cmsz.web.PageURLController; ...@@ -18,9 +26,23 @@ import com.hp.cmsz.web.PageURLController;
@RequestMapping(value="AnalysisSupport/FilterRuleMaintain") @RequestMapping(value="AnalysisSupport/FilterRuleMaintain")
public class FilterRuleMaintainController { public class FilterRuleMaintainController {
@Resource
private ProvinceDao provinceDao;
@Autowired
private ChannelDao channelDao;
@Autowired
private DataSourceDao dataSourceDao;
@RequestMapping(value = "") @RequestMapping(value = "")
public String filterMaintainHome(Map model){ public String filterMaintainHome(Map model){
List<Province> provinceList=(List<Province>)provinceDao.findProvince();
model.put("providerList", provinceList);
return PageURLController.FilterMaintain; return PageURLController.FilterMaintain;
} }
} }
...@@ -10,6 +10,7 @@ ...@@ -10,6 +10,7 @@
</c:forEach> </c:forEach>
</div> </div>
<script type="text/javascript"> <script type="text/javascript">
console.log("${provinceList}");
//全选和不全选所有的省 //全选和不全选所有的省
$("#allProvince").click(function(){ $("#allProvince").click(function(){
if($("#allProvince").attr("checked") == "checked"){//全选 if($("#allProvince").attr("checked") == "checked"){//全选
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment