提交 7610e90f 编写于 作者: ibizdev's avatar ibizdev

ibizdev提交

上级 80a7da17
...@@ -81,6 +81,13 @@ public class IBZPSSYSUNIRES extends EntityMP implements Serializable { ...@@ -81,6 +81,13 @@ public class IBZPSSYSUNIRES extends EntityMP implements Serializable {
@JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss") @JSONField(name = "updatedate" , format="yyyy-MM-dd HH:mm:ss")
@JsonProperty("updatedate") @JsonProperty("updatedate")
private Timestamp updatedate; private Timestamp updatedate;
/**
* 资源代码
*/
@TableField(value = "unirescode")
@JSONField(name = "unirescode")
@JsonProperty("unirescode")
private String unirescode;
...@@ -91,6 +98,13 @@ public class IBZPSSYSUNIRES extends EntityMP implements Serializable { ...@@ -91,6 +98,13 @@ public class IBZPSSYSUNIRES extends EntityMP implements Serializable {
this.ibzpssysuniresname = ibzpssysuniresname ; this.ibzpssysuniresname = ibzpssysuniresname ;
this.modify("ibzpssysuniresname",ibzpssysuniresname); this.modify("ibzpssysuniresname",ibzpssysuniresname);
} }
/**
* 设置 [资源代码]
*/
public void setUnirescode(String unirescode){
this.unirescode = unirescode ;
this.modify("unirescode",unirescode);
}
} }
......
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[IBZPSSYSUNIRES]数据结构 --> <!--输出实体[IBZPSSYSUNIRES]数据结构 -->
<changeSet author="a_A_5d9d78509" id="tab-ibzpssysunires-52-4"> <changeSet author="a_A_5d9d78509" id="tab-ibzpssysunires-59-4">
<createTable tableName="IBZPSSYSUNIRES"> <createTable tableName="IBZPSSYSUNIRES">
<column name="IBZPSSYSUNIRESID" remarks="" type="VARCHAR(100)"> <column name="IBZPSSYSUNIRESID" remarks="" type="VARCHAR(100)">
<constraints primaryKey="true" primaryKeyName="PK_IBZPSSYSUNIRES_IBZPSSYSUNIR"/> <constraints primaryKey="true" primaryKeyName="PK_IBZPSSYSUNIRES_IBZPSSYSUNIR"/>
...@@ -89,6 +89,8 @@ ...@@ -89,6 +89,8 @@
</column> </column>
<column name="UPDATEDATE" remarks="" type="DATETIME"> <column name="UPDATEDATE" remarks="" type="DATETIME">
</column> </column>
<column name="UNIRESCODE" remarks="" type="VARCHAR(100)">
</column>
</createTable> </createTable>
</changeSet> </changeSet>
<!--输出实体[SYS_USER_ROLE]数据结构 --> <!--输出实体[SYS_USER_ROLE]数据结构 -->
......
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
<!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性--> <!--该方法用于重写mybatis中selectById方法,以实现查询逻辑属性-->
<select id="selectById" resultMap="IBZPSSYSUNIRESResultMap" databaseId="mysql"> <select id="selectById" resultMap="IBZPSSYSUNIRESResultMap" databaseId="mysql">
<![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBZPSSYSUNIRESID`, t1.`IBZPSSYSUNIRESNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `IBZPSSYSUNIRES` t1 ) t1 where ibzpssysuniresid=#{id}]]> <![CDATA[select t1.* from (SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBZPSSYSUNIRESID`, t1.`IBZPSSYSUNIRESNAME`, t1.`UNIRESCODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `IBZPSSYSUNIRES` t1 ) t1 where ibzpssysuniresid=#{id}]]>
</select> </select>
<!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 --> <!--通过mybatis将查询结果注入到entity中,通过配置autoMapping="true"由mybatis自动处理映射关系 -->
...@@ -27,13 +27,13 @@ ...@@ -27,13 +27,13 @@
<!--数据查询[Default]--> <!--数据查询[Default]-->
<sql id="Default" databaseId="mysql"> <sql id="Default" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBZPSSYSUNIRESID`, t1.`IBZPSSYSUNIRESNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `IBZPSSYSUNIRES` t1 <![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBZPSSYSUNIRESID`, t1.`IBZPSSYSUNIRESNAME`, t1.`UNIRESCODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `IBZPSSYSUNIRES` t1
]]> ]]>
</sql> </sql>
<!--数据查询[View]--> <!--数据查询[View]-->
<sql id="View" databaseId="mysql"> <sql id="View" databaseId="mysql">
<![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBZPSSYSUNIRESID`, t1.`IBZPSSYSUNIRESNAME`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `IBZPSSYSUNIRES` t1 <![CDATA[ SELECT t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBZPSSYSUNIRESID`, t1.`IBZPSSYSUNIRESNAME`, t1.`UNIRESCODE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `IBZPSSYSUNIRES` t1
]]> ]]>
</sql> </sql>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册