| | |
| | | fun go(_year: Int? = null, _month: Int? = null, _period: Int = 1) { |
| | | /** 1.excel文件准备*************************************************************************/ |
| | | val fileName = "${SCENE_TYPE.text}自动评分-${DateUtil().DateToString(Date(), "yyyy-MM-ddhhmmss")}.xls" |
| | | val filePath = "E:\\工作\\开发\\第三方监管app\\自动评分\\餐饮\\$fileName" |
| | | // val filePath = "C:\\work\\工作\\第三方监管\\自动评分\\餐饮\\$fileName" |
| | | // val filePath = "E:\\工作\\开发\\第三方监管app\\自动评分\\餐饮\\$fileName" |
| | | val filePath = "C:\\work\\工作\\第三方监管\\自动评分\\餐饮\\$fileName" |
| | | val out = FileOutputStream(File(filePath)) |
| | | |
| | | getScoreItem() |
| | |
| | | createCriteria() |
| | | .andEqualTo("tasktypeid", 99) |
| | | .andEqualTo("scensetypeid", SCENE_TYPE.value.toByte()) |
| | | .andEqualTo("districtcode", "310104") |
| | | // .andEqualTo("districtcode", "310104") |
| | | }) |
| | | if (rule.isNotEmpty()) { |
| | | baseRules.addAll(rule) |