提交 389ef91f 编写于 作者: ibizdev's avatar ibizdev

generator before deploy...

generator before deploy registry.cn-shanghai.aliyuncs.com/ibizsys/samplesolution-demosys-api-demoapi:2022.11.08.001
上级 7fe48242
...@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired; ...@@ -24,6 +24,7 @@ import org.springframework.beans.factory.annotation.Autowired;
@EnableFeignClients(basePackages = {"cn.ibizlab.util","cn.ibizlab"}) @EnableFeignClients(basePackages = {"cn.ibizlab.util","cn.ibizlab"})
@SpringBootApplication(exclude = { @SpringBootApplication(exclude = {
org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class, org.springframework.boot.autoconfigure.mongo.MongoAutoConfiguration.class,
org.springframework.boot.autoconfigure.data.mongo.MongoRepositoriesAutoConfiguration.class,
com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.class com.alibaba.druid.spring.boot.autoconfigure.DruidDataSourceAutoConfigure.class
}) })
@ComponentScan(basePackages = {"cn.ibizlab.util","cn.ibizlab"} @ComponentScan(basePackages = {"cn.ibizlab.util","cn.ibizlab"}
......
...@@ -10,8 +10,8 @@ ...@@ -10,8 +10,8 @@
</parent> </parent>
<artifactId>demo-core</artifactId> <artifactId>demo-core</artifactId>
<name>后台服务 Core</name> <name>Demo Core</name>
<description>后台服务 Core</description> <description>后台服务 Core,模板生成代码,再次发布会覆盖,建议不要直接修改,修改请在demo-boot项目中继承或覆盖重写</description>
<dependencies> <dependencies>
...@@ -20,6 +20,14 @@ ...@@ -20,6 +20,14 @@
<artifactId>ibizlab-boot-starter-data</artifactId> <artifactId>ibizlab-boot-starter-data</artifactId>
<version>2.4.0-SNAPSHOT</version> <version>2.4.0-SNAPSHOT</version>
</dependency> </dependency>
<!-- MySQL驱动包 -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
</dependency>
</dependencies> </dependencies>
<properties> <properties>
......
...@@ -166,5 +166,28 @@ public class DYNADASHBOARDServiceBase extends ServiceImpl<DYNADASHBOARDMapper,DY ...@@ -166,5 +166,28 @@ public class DYNADASHBOARDServiceBase extends ServiceImpl<DYNADASHBOARDMapper,DY
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZAPPCTRLServiceBase extends ServiceImpl<IBIZAPPCTRLMapper,IBIZAP ...@@ -166,5 +166,28 @@ public class IBIZAPPCTRLServiceBase extends ServiceImpl<IBIZAPPCTRLMapper,IBIZAP
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZAPPEDITORServiceBase extends ServiceImpl<IBIZAPPEDITORMapper,IB ...@@ -166,5 +166,28 @@ public class IBIZAPPEDITORServiceBase extends ServiceImpl<IBIZAPPEDITORMapper,IB
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZAPPEXTENDEDITORServiceBase extends ServiceImpl<IBIZAPPEXTENDEDI ...@@ -166,5 +166,28 @@ public class IBIZAPPEXTENDEDITORServiceBase extends ServiceImpl<IBIZAPPEXTENDEDI
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZAPPVIEWServiceBase extends ServiceImpl<IBIZAPPVIEWMapper,IBIZAP ...@@ -166,5 +166,28 @@ public class IBIZAPPVIEWServiceBase extends ServiceImpl<IBIZAPPVIEWMapper,IBIZAP
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -217,5 +217,28 @@ public class IBIZAccountServiceBase extends ServiceImpl<IBIZAccountMapper,IBIZAc ...@@ -217,5 +217,28 @@ public class IBIZAccountServiceBase extends ServiceImpl<IBIZAccountMapper,IBIZAc
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -191,5 +191,28 @@ public class IBIZBOOKServiceBase extends ServiceImpl<IBIZBOOKMapper,IBIZBOOK> im ...@@ -191,5 +191,28 @@ public class IBIZBOOKServiceBase extends ServiceImpl<IBIZBOOKMapper,IBIZBOOK> im
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -192,5 +192,28 @@ public class IBIZCPUServiceBase extends ServiceImpl<IBIZCPUMapper,IBIZCPU> imple ...@@ -192,5 +192,28 @@ public class IBIZCPUServiceBase extends ServiceImpl<IBIZCPUMapper,IBIZCPU> imple
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZCustomServiceBase extends ServiceImpl<IBIZCustomMapper,IBIZCust ...@@ -166,5 +166,28 @@ public class IBIZCustomServiceBase extends ServiceImpl<IBIZCustomMapper,IBIZCust
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -190,5 +190,28 @@ public class IBIZCustomerMGServiceBase extends ServiceImpl<IBIZCustomerMGMapper, ...@@ -190,5 +190,28 @@ public class IBIZCustomerMGServiceBase extends ServiceImpl<IBIZCustomerMGMapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZCustomerServiceBase extends ServiceImpl<IBIZCustomerMapper,IBIZ ...@@ -166,5 +166,28 @@ public class IBIZCustomerServiceBase extends ServiceImpl<IBIZCustomerMapper,IBIZ
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -179,5 +179,28 @@ public class IBIZCustomer_INTFServiceBase extends ServiceImpl<IBIZCustomer_INTFM ...@@ -179,5 +179,28 @@ public class IBIZCustomer_INTFServiceBase extends ServiceImpl<IBIZCustomer_INTFM
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -192,5 +192,28 @@ public class IBIZHardwareServiceBase extends ServiceImpl<IBIZHardwareMapper,IBIZ ...@@ -192,5 +192,28 @@ public class IBIZHardwareServiceBase extends ServiceImpl<IBIZHardwareMapper,IBIZ
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -387,5 +387,28 @@ public class IBIZOrderDetailServiceBase extends ServiceImpl<IBIZOrderDetailMappe ...@@ -387,5 +387,28 @@ public class IBIZOrderDetailServiceBase extends ServiceImpl<IBIZOrderDetailMappe
private void updateParentDataBatch(List <IBIZOrderDetail> entities){ private void updateParentDataBatch(List <IBIZOrderDetail> entities){
} }
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -403,5 +403,28 @@ public class IBIZOrderServiceBase extends ServiceImpl<IBIZOrderMapper,IBIZOrder> ...@@ -403,5 +403,28 @@ public class IBIZOrderServiceBase extends ServiceImpl<IBIZOrderMapper,IBIZOrder>
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -171,5 +171,28 @@ public class IBIZOrderTypeServiceBase extends ServiceImpl<IBIZOrderTypeMapper,IB ...@@ -171,5 +171,28 @@ public class IBIZOrderTypeServiceBase extends ServiceImpl<IBIZOrderTypeMapper,IB
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZQJServiceBase extends ServiceImpl<IBIZQJMapper,IBIZQJ> implemen ...@@ -166,5 +166,28 @@ public class IBIZQJServiceBase extends ServiceImpl<IBIZQJMapper,IBIZQJ> implemen
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -228,5 +228,28 @@ public class IBIZSample0001ServiceBase extends ServiceImpl<IBIZSample0001Mapper, ...@@ -228,5 +228,28 @@ public class IBIZSample0001ServiceBase extends ServiceImpl<IBIZSample0001Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0002ServiceBase extends ServiceImpl<IBIZSample0002Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0002ServiceBase extends ServiceImpl<IBIZSample0002Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -233,5 +233,28 @@ public class IBIZSample0003ServiceBase extends ServiceImpl<IBIZSample0003Mapper, ...@@ -233,5 +233,28 @@ public class IBIZSample0003ServiceBase extends ServiceImpl<IBIZSample0003Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0004ServiceBase extends ServiceImpl<IBIZSample0004Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0004ServiceBase extends ServiceImpl<IBIZSample0004Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0005ServiceBase extends ServiceImpl<IBIZSample0005Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0005ServiceBase extends ServiceImpl<IBIZSample0005Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0006ServiceBase extends ServiceImpl<IBIZSample0006Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0006ServiceBase extends ServiceImpl<IBIZSample0006Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -234,5 +234,28 @@ public class IBIZSample0007ServiceBase extends ServiceImpl<IBIZSample0007Mapper, ...@@ -234,5 +234,28 @@ public class IBIZSample0007ServiceBase extends ServiceImpl<IBIZSample0007Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0008ServiceBase extends ServiceImpl<IBIZSample0008Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0008ServiceBase extends ServiceImpl<IBIZSample0008Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0009ServiceBase extends ServiceImpl<IBIZSample0009Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0009ServiceBase extends ServiceImpl<IBIZSample0009Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0010ServiceBase extends ServiceImpl<IBIZSample0010Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0010ServiceBase extends ServiceImpl<IBIZSample0010Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -279,5 +279,28 @@ public class IBIZSample0011ServiceBase extends ServiceImpl<IBIZSample0011Mapper, ...@@ -279,5 +279,28 @@ public class IBIZSample0011ServiceBase extends ServiceImpl<IBIZSample0011Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0012ServiceBase extends ServiceImpl<IBIZSample0012Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0012ServiceBase extends ServiceImpl<IBIZSample0012Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -279,5 +279,28 @@ public class IBIZSample0013ServiceBase extends ServiceImpl<IBIZSample0013Mapper, ...@@ -279,5 +279,28 @@ public class IBIZSample0013ServiceBase extends ServiceImpl<IBIZSample0013Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -231,5 +231,28 @@ public class IBIZSample0014ServiceBase extends ServiceImpl<IBIZSample0014Mapper, ...@@ -231,5 +231,28 @@ public class IBIZSample0014ServiceBase extends ServiceImpl<IBIZSample0014Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0015ServiceBase extends ServiceImpl<IBIZSample0015Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0015ServiceBase extends ServiceImpl<IBIZSample0015Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -277,5 +277,28 @@ public class IBIZSample0016ServiceBase extends ServiceImpl<IBIZSample0016Mapper, ...@@ -277,5 +277,28 @@ public class IBIZSample0016ServiceBase extends ServiceImpl<IBIZSample0016Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0017ServiceBase extends ServiceImpl<IBIZSample0017Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0017ServiceBase extends ServiceImpl<IBIZSample0017Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0018ServiceBase extends ServiceImpl<IBIZSample0018Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0018ServiceBase extends ServiceImpl<IBIZSample0018Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0019ServiceBase extends ServiceImpl<IBIZSample0019Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0019ServiceBase extends ServiceImpl<IBIZSample0019Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -228,5 +228,28 @@ public class IBIZSample0020ServiceBase extends ServiceImpl<IBIZSample0020Mapper, ...@@ -228,5 +228,28 @@ public class IBIZSample0020ServiceBase extends ServiceImpl<IBIZSample0020Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSample0021ServiceBase extends ServiceImpl<IBIZSample0021Mapper, ...@@ -166,5 +166,28 @@ public class IBIZSample0021ServiceBase extends ServiceImpl<IBIZSample0021Mapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSampleServiceBase extends ServiceImpl<IBIZSampleMapper,IBIZSamp ...@@ -166,5 +166,28 @@ public class IBIZSampleServiceBase extends ServiceImpl<IBIZSampleMapper,IBIZSamp
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -192,5 +192,28 @@ public class IBIZSoftwareSuitServiceBase extends ServiceImpl<IBIZSoftwareSuitMap ...@@ -192,5 +192,28 @@ public class IBIZSoftwareSuitServiceBase extends ServiceImpl<IBIZSoftwareSuitMap
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -192,5 +192,28 @@ public class IBIZStorageServiceBase extends ServiceImpl<IBIZStorageMapper,IBIZSt ...@@ -192,5 +192,28 @@ public class IBIZStorageServiceBase extends ServiceImpl<IBIZStorageMapper,IBIZSt
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZSupplierServiceBase extends ServiceImpl<IBIZSupplierMapper,IBIZ ...@@ -166,5 +166,28 @@ public class IBIZSupplierServiceBase extends ServiceImpl<IBIZSupplierMapper,IBIZ
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -233,5 +233,28 @@ public class IBIZTASKServiceBase extends ServiceImpl<IBIZTASKMapper,IBIZTASK> im ...@@ -233,5 +233,28 @@ public class IBIZTASKServiceBase extends ServiceImpl<IBIZTASKMapper,IBIZTASK> im
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -267,5 +267,28 @@ public class IBIZTASKTEAMServiceBase extends ServiceImpl<IBIZTASKTEAMMapper,IBIZ ...@@ -267,5 +267,28 @@ public class IBIZTASKTEAMServiceBase extends ServiceImpl<IBIZTASKTEAMMapper,IBIZ
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZUNIProductServiceBase extends ServiceImpl<IBIZUNIProductMapper, ...@@ -166,5 +166,28 @@ public class IBIZUNIProductServiceBase extends ServiceImpl<IBIZUNIProductMapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class IBIZViewMsgServiceBase extends ServiceImpl<IBIZViewMsgMapper,IBIZVi ...@@ -166,5 +166,28 @@ public class IBIZViewMsgServiceBase extends ServiceImpl<IBIZViewMsgMapper,IBIZVi
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
...@@ -166,5 +166,28 @@ public class MicroComponentServiceBase extends ServiceImpl<MicroComponentMapper, ...@@ -166,5 +166,28 @@ public class MicroComponentServiceBase extends ServiceImpl<MicroComponentMapper,
@Override
public List<JSONObject> select(String sql, Map param){
return this.baseMapper.selectBySQL(sql,param);
}
@Override
@Transactional
public boolean execute(String sql , Map param){
if (sql == null || sql.isEmpty()) {
return false;
}
if (sql.toLowerCase().trim().startsWith("insert")) {
return this.baseMapper.insertBySQL(sql,param);
} }
if (sql.toLowerCase().trim().startsWith("update")) {
return this.baseMapper.updateBySQL(sql,param);
}
if (sql.toLowerCase().trim().startsWith("delete")) {
return this.baseMapper.deleteBySQL(sql,param);
}
log.warn("暂未支持的SQL语法");
return true;
}
}
\ No newline at end of file
[ [
{ {
"name":"年度", "name": "年度",
"code":"Years", "code": "Years",
"group":"", "group": "",
"memo":"", "memo": "",
"enable":"",
} }
] ]
\ No newline at end of file
...@@ -6,8 +6,8 @@ ...@@ -6,8 +6,8 @@
<artifactId>demo</artifactId> <artifactId>demo</artifactId>
<groupId>cn.ibizlab</groupId> <groupId>cn.ibizlab</groupId>
<version>1.0.0.0</version> <version>1.0.0.0</version>
<name>后台服务</name> <name>Demo</name>
<description></description> <description>后台服务</description>
<packaging>pom</packaging> <packaging>pom</packaging>
<parent> <parent>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册