提交 25c50d1b 编写于 作者: ibizdev's avatar ibizdev

generator before deploy...

generator before deploy registry.cn-shanghai.aliyuncs.com/ibizsys/samplesolution-demosys-api-demoapi:2022.11.28.003
上级 aa5f43ad
......@@ -12,4 +12,4 @@
**.iml
*.jar
*.log
.DS_Store
.DS_Store
\ No newline at end of file
......@@ -51,4 +51,4 @@ public class BootApplication extends WebMvcConfigurerAdapter {
super.addArgumentResolvers(argumentResolvers);
argumentResolvers.add(resolver);
}
}
}
\ No newline at end of file
......@@ -10,8 +10,8 @@
</parent>
<artifactId>demo-core</artifactId>
<name>后台服务 Core</name>
<description>后台服务 Core</description>
<name>Demo Core</name>
<description>后台服务 Core,模板生成代码,再次发布会覆盖,建议不要直接修改,修改请在demo-boot项目中继承或覆盖重写</description>
<dependencies>
......@@ -20,6 +20,14 @@
<artifactId>ibizlab-boot-starter-data</artifactId>
<version>2.4.0-SNAPSHOT</version>
</dependency>
<!-- MySQL驱动包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependencies>
<properties>
......@@ -93,4 +101,4 @@
</profile>
</profiles>
</project>
</project>
\ No newline at end of file
......@@ -340,6 +340,26 @@ public class IBIZBOOK extends EntityMP implements Serializable
@ApiModelProperty(value = "tag", notes = "标签")
private String tag;
/**
* 单位
*/
@TableField(value = "orgid")
@DEField(name = "orgid" , preType = DEPredefinedFieldType.ORGID)
@JsonProperty("orgid")
@JSONField(name = "orgid")
@ApiModelProperty(value = "orgid", notes = "单位")
private String orgId;
/**
* 部门
*/
@TableField(value = "deptid")
@DEField(name = "deptid" , preType = DEPredefinedFieldType.ORGSECTORID)
@JsonProperty("deptid")
@JSONField(name = "deptid")
@ApiModelProperty(value = "deptid", notes = "部门")
private String deptid;
......@@ -542,6 +562,8 @@ public class IBIZBOOK extends EntityMP implements Serializable
/**
......
......@@ -148,6 +148,14 @@ public class IBIZBOOKDTO extends DTOBase implements Serializable {
@ApiModelProperty("建立人")
private String createMan;
/**
* 部门
*/
@JsonProperty("deptid")
@JSONField(name = "deptid")
@ApiModelProperty("部门")
private String deptid;
/**
* 图书标识
*/
......@@ -181,6 +189,14 @@ public class IBIZBOOKDTO extends DTOBase implements Serializable {
@ApiModelProperty("借出日期")
private Timestamp lendouttime;
/**
* 单位
*/
@JsonProperty("orgid")
@JSONField(name = "orgid")
@ApiModelProperty("单位")
private String orgId;
/**
* 图书出版社
*/
......
......@@ -37,13 +37,13 @@
<sql id="default" databaseId="mysql">
<![CDATA[
SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWER1_ID`, t1.`BORROWER2`, t1.`BORROWER2_ID`, t1.`BORROWER3_ID`, t1.`BORROWERID`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURNLIB`, t1.`RETURNTIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWER1_ID`, t1.`BORROWER2`, t1.`BORROWER2_ID`, t1.`BORROWER3_ID`, t1.`BORROWERID`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEPTID`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`LENDOUTTIME`, t1.`ORGID`, t1.`PRESS`, t1.`PRICE`, t1.`RETURNLIB`, t1.`RETURNTIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
]]>
</sql>
<sql id="view" databaseId="mysql">
<![CDATA[
SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWER1`, t1.`BORROWER1_ID`, t1.`BORROWER2`, t1.`BORROWER2_ID`, t1.`BORROWER3`, t1.`BORROWER3_ID`, t1.`BORROWERID`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`PRESS`, t1.`PRICE`, t1.`RETURNLIB`, t1.`RETURNTIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TAG`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
SELECT t1.`AUTHOR`, t1.`BOOKNUMBER`, t1.`BORROWER`, t1.`BORROWER1`, t1.`BORROWER1_ID`, t1.`BORROWER2`, t1.`BORROWER2_ID`, t1.`BORROWER3`, t1.`BORROWER3_ID`, t1.`BORROWERID`, t1.`BORROWSTATUS`, t1.`BORROWWAY`, t1.`CREATEDATE`, t1.`CREATEMAN`, t1.`DEPTID`, t1.`IBIZBOOKID`, t1.`IBIZBOOKNAME`, t1.`ICON`, t1.`LENDOUTTIME`, t1.`ORGID`, t1.`PRESS`, t1.`PRICE`, t1.`RETURNLIB`, t1.`RETURNTIME`, t1.`SAILSTATE`, t1.`STEPSTATUS`, t1.`SUBTEXT`, t1.`TAG`, t1.`TYPE`, t1.`UPDATEDATE`, t1.`UPDATEMAN` FROM `T_IBIZBOOK` t1
]]>
</sql>
......
......@@ -1348,6 +1348,30 @@
"id": "all",
"name": "全部数据"
},
{
"id": "curorg",
"name": "当前单位"
},
{
"id": "porg",
"name": "上级单位"
},
{
"id": "sorg",
"name": "下级单位"
},
{
"id": "curorgdept",
"name": "当前部门"
},
{
"id": "porgdept",
"name": "上级部门"
},
{
"id": "sorgdept",
"name": "下级部门"
},
{
"id": "createman",
"name": "创建人"
......
[
{
"name":"年度",
"code":"Years",
"group":"",
"memo":"",
"enable":"",
}
]
[
{
"name": "年度",
"code": "Years",
"group": "",
"memo": "",
}
]
\ No newline at end of file
......@@ -6,8 +6,8 @@
<artifactId>demo</artifactId>
<groupId>cn.ibizlab</groupId>
<version>1.0.0.0</version>
<name>后台服务</name>
<description></description>
<name>Demo</name>
<description>后台服务</description>
<packaging>pom</packaging>
<parent>
......@@ -105,7 +105,7 @@
<generateBackupPoms>false</generateBackupPoms>
</configuration>
</plugin>
<plugin>
<plugin>
<groupId>cn.ibizlab</groupId>
<artifactId>ibizlab-generator-plugin</artifactId>
<version>1.0-SNAPSHOT</version>
......@@ -137,4 +137,4 @@
</plugins>
</build>
</project>
</project>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册