src/main/java/mapper/PropertyMapper.java
(完整代码) 1KBpackage mapper;
import java.util.List;
import model.Property;
import model.PropertyExample;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;
import org.springframework.stereotype.Repository;
@Repository
public interface PropertyMapper {
long countByExample(PropertyExample example);
int deleteByExample(PropertyExample example);
int deleteByPrimaryKey(Integer id);
int insert(Property record);
int insertSelective(Property record);
List<Property> selectByExample(PropertyExample example);
@Select("select * from Property where cid = #{cid}")
List<Property> selectByCid(Integer cid);
Property selectByPrimaryKey(Integer id);
int updateByExampleSelective(@Param("record") Property record, @Param("example") PropertyExample example);
int updateByExample(@Param("record") Property record, @Param("example") PropertyExample example);
int updateByPrimaryKeySelective(Property record);
int updateByPrimaryKey(Property record);
}
24 小时内免费解锁 3 个项目,之后 1 积分/个。 规则说明
AI 解读 AI
登录后可用,每次 10 积分,解读结果公开显示在下面。
还没有人解读过这个文件。
