| | |
| | | |
| | | override fun getLocation(sceneType: Int): List<Domainitem> { |
| | | val lId = when (sceneType.toString()) { |
| | | Constant.ScenseType.TYPE1.value -> Constant.INDUSTRY_LOCATION_ID |
| | | Constant.ScenseType.TYPE5.value -> Constant.RESTAURANT_LOCATION_ID |
| | | Constant.ScenseType.TYPE6.value -> Constant.Vehicle_LOCATION_ID |
| | | Constant.SceneType.TYPE1.value -> Constant.INDUSTRY_LOCATION_ID |
| | | Constant.SceneType.TYPE2.value -> Constant.WHARF_LOCATION_ID |
| | | Constant.SceneType.TYPE14.value -> Constant.STORAGE_YARD_LOCATION_ID |
| | | Constant.SceneType.TYPE3.value -> Constant.MIX_LOCATION_ID |
| | | Constant.SceneType.TYPE5.value -> Constant.RESTAURANT_LOCATION_ID |
| | | Constant.SceneType.TYPE6.value -> Constant.Vehicle_LOCATION_ID |
| | | else -> Constant.INDUSTRY_LOCATION_ID |
| | | } |
| | | |
| | |
| | | orderBy("index") |
| | | }) |
| | | } |
| | | |
| | | override fun getTaskType(): List<Domainitem> { |
| | | return domainitemMapper.selectByExample(Example(Domainitem::class.java).apply { |
| | | createCriteria().andEqualTo("dcguid", Constant.DOMAIN_GUID_TASK_TYPE) |
| | | orderBy("index") |
| | | }) |
| | | } |
| | | |
| | | override fun getDeadlineType(): List<Domainitem> { |
| | | return domainitemMapper.selectByExample(Example(Domainitem::class.java).apply { |
| | | createCriteria().andEqualTo("dcguid", Constant.DOMAIN_GUID_TASK_DEADLINE_TYPE) |
| | | orderBy("index") |
| | | }) |
| | | } |
| | | |
| | | override fun getLevelType(): List<Domainitem> { |
| | | return domainitemMapper.selectByExample(Example(Domainitem::class.java).apply { |
| | | createCriteria().andEqualTo("dcguid", Constant.DOMAIN_GUID_TASK_LEVEL) |
| | | orderBy("index") |
| | | }) |
| | | } |
| | | } |