You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
19 lines
469 B
19 lines
469 B
package com.iflytop.gd.app.mapper;
|
|
|
|
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
|
|
import com.iflytop.gd.app.model.entity.Crafts;
|
|
import org.apache.ibatis.annotations.Mapper;
|
|
import org.apache.ibatis.annotations.Select;
|
|
|
|
import java.util.List;
|
|
|
|
/**
|
|
* 工艺持久层接口
|
|
*/
|
|
@Mapper
|
|
public interface CraftsMapper extends BaseMapper<Crafts> {
|
|
|
|
@Select("SELECT * FROM crafts WHERE ores_id = #{oresId}")
|
|
List<Crafts> selectAllByOresId(Long oresId);
|
|
|
|
}
|