report日期选择方式更改

This commit is contained in:
chenjinsong
2018-07-10 10:18:24 +08:00
parent e2861c68b0
commit 77a002a770
2 changed files with 15 additions and 2 deletions

View File

@@ -32,6 +32,9 @@ import com.nis.web.controller.BaseController;
public class NtcTagReportController extends BaseController {
@RequestMapping("/ajaxNtcTagReport")
public String list(@ModelAttribute("bean") SearchReport bean,Model model, HttpServletRequest request, HttpServletResponse response) {
if (bean.getReportType() == null) {
bean.setReportType(1);
}
List<FunctionServiceDict> serviceList = DictUtils.getFunctionServiceDictList(bean.getFunctionId());
List<ServiceDictInfo> labels=serviceDictInfoService.findAllLableDict();
model.addAttribute("labels", labels);