幼儿评估-图表
This commit is contained in:
@ -59,6 +59,13 @@ public class ByAssessmentchild extends BaseEntity {
|
||||
* 临时创建用
|
||||
*/
|
||||
private String items;
|
||||
/**
|
||||
* 适用范围
|
||||
*/
|
||||
|
||||
@Excel(name = "适用范围")
|
||||
private String scope;
|
||||
|
||||
|
||||
public void setId(Long id) {
|
||||
this.id = id;
|
||||
@ -124,6 +131,14 @@ public class ByAssessmentchild extends BaseEntity {
|
||||
return items;
|
||||
}
|
||||
|
||||
public void setScope(String scope) {
|
||||
this.scope = scope;
|
||||
}
|
||||
|
||||
public String getScope() {
|
||||
return scope;
|
||||
}
|
||||
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
@ -137,6 +152,7 @@ public class ByAssessmentchild extends BaseEntity {
|
||||
.append("userid", getUserid())
|
||||
.append("createTime", getCreateTime())
|
||||
.append("items", getItems())
|
||||
.append("scope", getScope())
|
||||
.toString();
|
||||
}
|
||||
}
|
@ -13,10 +13,11 @@
|
||||
<result property="xn" column="xn"/>
|
||||
<result property="userid" column="userid"/>
|
||||
<result property="createTime" column="create_time"/>
|
||||
<result property="scope" column="scope" />
|
||||
</resultMap>
|
||||
|
||||
<sql id="selectByAssessmentchildVo">
|
||||
select id, childid, classid, contentid, type, xn, userid, create_time from by_assessmentchild
|
||||
select id, childid, classid, contentid, type, xn, userid, create_time, scope from by_assessmentchild
|
||||
</sql>
|
||||
|
||||
<select id="selectByAssessmentchildList" parameterType="ByAssessmentchild" resultMap="ByAssessmentchildResult">
|
||||
@ -46,6 +47,7 @@
|
||||
<if test="xn != null and xn != ''">xn,</if>
|
||||
<if test="userid != null ">userid,</if>
|
||||
<if test="createTime != null ">create_time,</if>
|
||||
<if test="scope != null and scope != ''">scope,</if>
|
||||
</trim>
|
||||
<trim prefix="values (" suffix=")" suffixOverrides=",">
|
||||
<if test="childid != null ">#{childid},</if>
|
||||
@ -55,6 +57,8 @@
|
||||
<if test="xn != null and xn != ''">#{xn},</if>
|
||||
<if test="userid != null ">#{userid},</if>
|
||||
<if test="createTime != null ">#{createTime},</if>
|
||||
<if test="scope != null and scope != ''">#{scope},</if>
|
||||
|
||||
</trim>
|
||||
</insert>
|
||||
|
||||
@ -68,6 +72,7 @@
|
||||
<if test="xn != null and xn != ''">xn = #{xn},</if>
|
||||
<if test="userid != null ">userid = #{userid},</if>
|
||||
<if test="createTime != null ">create_time = #{createTime},</if>
|
||||
<if test="scope != null and scope != ''">scope = #{scope},</if>
|
||||
</trim>
|
||||
where id = #{id}
|
||||
</update>
|
||||
|
Reference in New Issue
Block a user