@ -11,6 +11,7 @@ public class TeaResourceCenter {
@ApiModelProperty("资源ID")
private String resourceId;
@ApiModelProperty("章节ID")
private String chapterId;
@ -10,6 +10,7 @@ public class TeaResourceCenterExample {
protected List<Criteria> oredCriteria;
public TeaResourceCenterExample() {
oredCriteria = new ArrayList<>();
}
@ -10,6 +10,7 @@ import org.apache.ibatis.annotations.Param;
public interface TeaResourceCenterMapper {
long countByExample(TeaResourceCenterExample example);
int deleteByExample(TeaResourceCenterExample example);
int deleteByPrimaryKey(String resourceId);
@ -9,6 +9,7 @@
<result column="resource_name" jdbcType="VARCHAR" property="resourceName" />
<result column="school_id" jdbcType="VARCHAR" property="schoolId" />
</resultMap>
<sql id="Example_Where_Clause">
<where>
<foreach collection="oredCriteria" item="criteria" separator="or">