|
|
@@ -14,6 +14,7 @@
|
|
|
<result property="bpDate" column="bp_date"/>
|
|
|
<result property="pfwh" column="pfwh"/>
|
|
|
<result property="pfDate" column="pf_date"/>
|
|
|
+ <result property="hasOnchain" column="has_onchain"/>
|
|
|
<result property="creatorId" column="creator_id"/>
|
|
|
<result property="createdAt" column="created_at"/>
|
|
|
<result property="updatedAt" column="updated_at"/>
|
|
|
@@ -26,7 +27,7 @@
|
|
|
)
|
|
|
</insert>
|
|
|
<select id="getById" parameterType="string" resultMap="YdbpDataResultMap">
|
|
|
- SELECT id, name, yd_area, yd_unit, zs_area, zs_unit, has_zz, bp_date, pfwh, pf_date, creator_id, created_at, updated_at
|
|
|
+ SELECT id, name, yd_area, yd_unit, zs_area, zs_unit, has_zz, bp_date, pfwh, pf_date, creator_id, created_at, updated_at,has_onchain
|
|
|
FROM t_ydbp_data
|
|
|
WHERE id = #{id}
|
|
|
</select>
|