|
|
@ -9,6 +9,7 @@ import com.supervise.rms.api.risktype.RiskTypeVo; |
|
|
|
import org.apache.ibatis.annotations.Delete; |
|
|
|
import org.apache.ibatis.annotations.Mapper; |
|
|
|
import org.apache.ibatis.annotations.Param; |
|
|
|
import org.apache.ibatis.annotations.Select; |
|
|
|
|
|
|
|
import java.util.List; |
|
|
|
|
|
|
@ -27,4 +28,7 @@ public interface RiskTypeMapper extends BaseMapper<RiskType> { |
|
|
|
|
|
|
|
@Delete("delete from risk_type where parentSid = #{parentSid}") |
|
|
|
void del(@Param("parentSid") String parentSid); |
|
|
|
|
|
|
|
@Select("select * from risk_type where sid = #{sid}") |
|
|
|
RiskType selectRiskTypeBySid(@Param("sid") String sid); |
|
|
|
} |
|
|
|