package cn.flightfeather.supervision.lightshare.service
|
|
import cn.flightfeather.supervision.domain.ds1.entity.Problemtype
|
import cn.flightfeather.supervision.lightshare.vo.ProblemDetailVo
|
import cn.flightfeather.supervision.lightshare.vo.ProblemtypeVo
|
|
|
interface ProblemtypeService {
|
fun findOne(id: String): Problemtype
|
|
fun findAll(): MutableList<Problemtype>
|
|
fun save(problemtype: Problemtype): Int
|
|
fun update(problemtype: Problemtype): Int
|
|
fun delete(id: String): Int
|
|
fun findOneByName(name: String): Problemtype
|
|
fun search(problemtype: Problemtype): List<ProblemtypeVo>
|
|
fun getBySceneType(sceneTypeId: Int, districtCode: String): List<ProblemDetailVo>
|
|
fun search(taskTypeId:Byte, cityCode:String,districtCode:String, sceneTypeId:Byte):List<Problemtype>
|
}
|