Commit 36549617 authored by 赵啸非's avatar 赵啸非

修改app克隆

parent 59013471
...@@ -931,9 +931,8 @@ CREATE TABLE mortals_sys_matter_ext ...@@ -931,9 +931,8 @@ CREATE TABLE mortals_sys_matter_ext
-- 自助终端应用表 -- 自助终端应用表
-- ---------------------------- -- ----------------------------
DROP TABLE IF EXISTS `mortals_sys_app`; DROP TABLE IF EXISTS `mortals_sys_app`;
CREATE TABLE mortals_sys_app CREATE TABLE mortals_sys_app(
( `id` bigint(20) COMMENT '主键ID,主键,自增长',
`id` bigint(20) AUTO_INCREMENT COMMENT '主键ID,主键,自增长',
`siteId` bigint(20) COMMENT '站点Id', `siteId` bigint(20) COMMENT '站点Id',
`siteName` varchar(256) COMMENT '站点名称', `siteName` varchar(256) COMMENT '站点名称',
`appCode` varchar(256) COMMENT '应用编码', `appCode` varchar(256) COMMENT '应用编码',
...@@ -942,19 +941,23 @@ CREATE TABLE mortals_sys_app ...@@ -942,19 +941,23 @@ CREATE TABLE mortals_sys_app
`appThemeName` varchar(256) COMMENT '应用主题名称', `appThemeName` varchar(256) COMMENT '应用主题名称',
`type` tinyint(2) COMMENT '类型(1.终端应用,2.移动端应用)', `type` tinyint(2) COMMENT '类型(1.终端应用,2.移动端应用)',
`downDevCount` int(4) COMMENT '下发设备次数', `downDevCount` int(4) COMMENT '下发设备次数',
`shelves` tinyint(2) COMMENT '是否上架(0.上架,1.下架)', `shelves` tinyint(2) COMMENT '是否上架(0.下架,1.上架)',
`appType` tinyint(2) COMMENT '类型(1.应用程序,2.url)',
`fileName` varchar(255) COMMENT '文件名称',
`filePath` varchar(256) COMMENT '文件相对路径地址', `filePath` varchar(256) COMMENT '文件相对路径地址',
`distributeFilePath` varchar(256) COMMENT '文件部署路径地址', `distributeFilePath` varchar(256) COMMENT '文件部署路径地址',
`version` varchar(64) COMMENT '当前版本', `version` varchar(64) COMMENT '当前版本',
`summary` varchar(2048) COMMENT '简介', `summary` varchar(2048) COMMENT '简介',
`distribute` tinyint(2) COMMENT '是否部署(0.否,1.是)', `distribute` tinyint(2) COMMENT '是否部署(0.否,1.是)',
`dateUpdate` tinyint(2) COMMENT '是否数据更新(0.否,1.是)', `dataUpdate` tinyint(2) COMMENT '是否数据更新(0.否,1.是)',
`createTime` datetime COMMENT '创建时间', `createTime` datetime COMMENT '创建时间',
`updateUserId` bigint(20) COMMENT '更新用户', `updateUserId` bigint(20) COMMENT '更新用户',
`updateTime` datetime COMMENT '更新时间', `updateTime` datetime COMMENT '更新时间',
PRIMARY KEY (`id`) PRIMARY KEY (`id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='自助终端应用'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='自助终端应用';
-- ---------------------------- -- ----------------------------
-- 自助终端应用数据集表 -- 自助终端应用数据集表
-- ---------------------------- -- ----------------------------
...@@ -981,7 +984,7 @@ CREATE TABLE mortals_sys_app_info_field ...@@ -981,7 +984,7 @@ CREATE TABLE mortals_sys_app_info_field
`fieldName` varchar(64) COMMENT '字段名称', `fieldName` varchar(64) COMMENT '字段名称',
`fieldType` varchar(64) COMMENT '字段类型(input.单行输入框,textarea.多行输入框,SELECT.下拉选项框,date.日期选择框)', `fieldType` varchar(64) COMMENT '字段类型(input.单行输入框,textarea.多行输入框,SELECT.下拉选项框,date.日期选择框)',
`dataType` varchar(64) COMMENT '数据类型(number.数字,string.字符串)', `dataType` varchar(64) COMMENT '数据类型(number.数字,string.字符串)',
`fieldValue` varchar(64) COMMENT '字段值', `fieldValue` text COMMENT '字段值',
`fieldLen` int(9) COMMENT '数据长度,默认128', `fieldLen` int(9) COMMENT '数据长度,默认128',
`fieldNull` tinyint(2) COMMENT '是否允许为空,(0.否,1.是)', `fieldNull` tinyint(2) COMMENT '是否允许为空,(0.否,1.是)',
`isList` tinyint(2) COMMENT '字段是否列表显示(0.否,1.是)', `isList` tinyint(2) COMMENT '字段是否列表显示(0.否,1.是)',
...@@ -991,7 +994,8 @@ CREATE TABLE mortals_sys_app_info_field ...@@ -991,7 +994,8 @@ CREATE TABLE mortals_sys_app_info_field
`createUserId` bigint(20) COMMENT '创建用户', `createUserId` bigint(20) COMMENT '创建用户',
`updateTime` datetime COMMENT '修改时间', `updateTime` datetime COMMENT '修改时间',
`updateUserId` bigint(20) COMMENT '修改用户', `updateUserId` bigint(20) COMMENT '修改用户',
PRIMARY KEY (`id`) PRIMARY KEY (`id`),
KEY `datasetId` (`datasetId`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='自助终端应用信息字段'; ) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='自助终端应用信息字段';
-- ---------------------------- -- ----------------------------
......
...@@ -9144,7 +9144,7 @@ data| object |数据对象 ...@@ -9144,7 +9144,7 @@ data| object |数据对象
  version| String |当前版本   version| String |当前版本
  summary| String |简介   summary| String |简介
  distribute| Integer |是否部署(0.否,1.是)   distribute| Integer |是否部署(0.否,1.是)
  dateUpdate| Integer |是否数据更新(0.否,1.是)   dataUpdate| Integer |是否数据更新(0.否,1.是)
  appDatasetList| array |数据结果集   appDatasetList| array |数据结果集
  applianceSiteScope| Integer |适用站点范围数量   applianceSiteScope| Integer |适用站点范围数量
  siteIdList| array |适用范围站点列表   siteIdList| array |适用范围站点列表
...@@ -9271,10 +9271,11 @@ appName|String|否|应用名称 ...@@ -9271,10 +9271,11 @@ appName|String|否|应用名称
appIconPath|String|否|应用图标 appIconPath|String|否|应用图标
appThemeName|String|否|应用主题名称 appThemeName|String|否|应用主题名称
type|Integer|否|类型(1.终端应用,2.移动端应用) type|Integer|否|类型(1.终端应用,2.移动端应用)
shelves|Integer|否|是否上架(0.上架,1.下架) appType|Integer|否|类型(1.应用程序,2.url)
shelves|Integer|否|是否上架(0.下架,1.上架)
filePath|String|否|文件相对路径地址 filePath|String|否|文件相对路径地址
summary|String|否|简介 summary|String|否|简介
dateUpdate|Integer|否|是否数据更新(0.否,1.是) dataUpdate|Integer|否|是否数据更新(0.否,1.是)
**请求样例:** **请求样例:**
...@@ -9287,12 +9288,13 @@ dateUpdate|Integer|否|是否数据更新(0.否,1.是) ...@@ -9287,12 +9288,13 @@ dateUpdate|Integer|否|是否数据更新(0.否,1.是)
"appIconPath":"3dzxzj", "appIconPath":"3dzxzj",
"appThemeName":"jy1ied", "appThemeName":"jy1ied",
"type":1, "type":1,
"appType":1,
"downDevCount":1824, "downDevCount":1824,
"shelves":226, "shelves":226,
"filePath":"f20yrl", "filePath":"f20yrl",
"summary":"ahn2gk", "summary":"ahn2gk",
"distribute":0, "distribute":0,
"dateUpdate":5868, "dataUpdate":5868,
} }
``` ```
......
...@@ -11,7 +11,7 @@ import com.mortals.xhx.module.app.model.AppDatasetEntity; ...@@ -11,7 +11,7 @@ import com.mortals.xhx.module.app.model.AppDatasetEntity;
* 自助终端应用实体对象 * 自助终端应用实体对象
* *
* @author zxfei * @author zxfei
* @date 2022-11-28 * @date 2022-11-30
*/ */
public class AppEntity extends AppVo { public class AppEntity extends AppVo {
...@@ -50,9 +50,17 @@ public class AppEntity extends AppVo { ...@@ -50,9 +50,17 @@ public class AppEntity extends AppVo {
*/ */
private Integer downDevCount; private Integer downDevCount;
/** /**
* 是否上架(0.上架,1.下架) * 是否上架(0.下架,1.上架)
*/ */
private Integer shelves; private Integer shelves;
/**
* 类型(1.应用程序,2.url)
*/
private Integer appType;
/**
* 文件名称
*/
private String fileName;
/** /**
* 文件相对路径地址 * 文件相对路径地址
*/ */
...@@ -76,7 +84,7 @@ public class AppEntity extends AppVo { ...@@ -76,7 +84,7 @@ public class AppEntity extends AppVo {
/** /**
* 是否数据更新(0.否,1.是) * 是否数据更新(0.否,1.是)
*/ */
private Integer dateUpdate; private Integer dataUpdate;
/** /**
* 自助终端应用数据集信息 * 自助终端应用数据集信息
...@@ -198,19 +206,47 @@ public class AppEntity extends AppVo { ...@@ -198,19 +206,47 @@ public class AppEntity extends AppVo {
this.downDevCount = downDevCount; this.downDevCount = downDevCount;
} }
/** /**
* 获取 是否上架(0.上架,1.下架) * 获取 是否上架(0.下架,1.上架)
* @return Integer * @return Integer
*/ */
public Integer getShelves(){ public Integer getShelves(){
return shelves; return shelves;
} }
/** /**
* 设置 是否上架(0.上架,1.下架) * 设置 是否上架(0.下架,1.上架)
* @param shelves * @param shelves
*/ */
public void setShelves(Integer shelves){ public void setShelves(Integer shelves){
this.shelves = shelves; this.shelves = shelves;
} }
/**
* 获取 类型(1.应用程序,2.url)
* @return Integer
*/
public Integer getAppType(){
return appType;
}
/**
* 设置 类型(1.应用程序,2.url)
* @param appType
*/
public void setAppType(Integer appType){
this.appType = appType;
}
/**
* 获取 文件名称
* @return String
*/
public String getFileName(){
return fileName;
}
/**
* 设置 文件名称
* @param fileName
*/
public void setFileName(String fileName){
this.fileName = fileName;
}
/** /**
* 获取 文件相对路径地址 * 获取 文件相对路径地址
* @return String * @return String
...@@ -285,15 +321,15 @@ public class AppEntity extends AppVo { ...@@ -285,15 +321,15 @@ public class AppEntity extends AppVo {
* 获取 是否数据更新(0.否,1.是) * 获取 是否数据更新(0.否,1.是)
* @return Integer * @return Integer
*/ */
public Integer getDateUpdate(){ public Integer getDataUpdate(){
return dateUpdate; return dataUpdate;
} }
/** /**
* 设置 是否数据更新(0.否,1.是) * 设置 是否数据更新(0.否,1.是)
* @param dateUpdate * @param dataUpdate
*/ */
public void setDateUpdate(Integer dateUpdate){ public void setDataUpdate(Integer dataUpdate){
this.dateUpdate = dateUpdate; this.dataUpdate = dataUpdate;
} }
...@@ -333,12 +369,14 @@ public class AppEntity extends AppVo { ...@@ -333,12 +369,14 @@ public class AppEntity extends AppVo {
sb.append(",type:").append(getType()); sb.append(",type:").append(getType());
sb.append(",downDevCount:").append(getDownDevCount()); sb.append(",downDevCount:").append(getDownDevCount());
sb.append(",shelves:").append(getShelves()); sb.append(",shelves:").append(getShelves());
sb.append(",appType:").append(getAppType());
sb.append(",fileName:").append(getFileName());
sb.append(",filePath:").append(getFilePath()); sb.append(",filePath:").append(getFilePath());
sb.append(",distributeFilePath:").append(getDistributeFilePath()); sb.append(",distributeFilePath:").append(getDistributeFilePath());
sb.append(",version:").append(getVersion()); sb.append(",version:").append(getVersion());
sb.append(",summary:").append(getSummary()); sb.append(",summary:").append(getSummary());
sb.append(",distribute:").append(getDistribute()); sb.append(",distribute:").append(getDistribute());
sb.append(",dateUpdate:").append(getDateUpdate()); sb.append(",dataUpdate:").append(getDataUpdate());
return sb.toString(); return sb.toString();
} }
...@@ -362,16 +400,20 @@ public class AppEntity extends AppVo { ...@@ -362,16 +400,20 @@ public class AppEntity extends AppVo {
this.shelves = 0; this.shelves = 0;
this.filePath = null; this.appType = 1;
this.fileName = "";
this.filePath = "";
this.distributeFilePath = null; this.distributeFilePath = "";
this.version = null; this.version = "";
this.summary = null; this.summary = "";
this.distribute = 0; this.distribute = 0;
this.dateUpdate = 0; this.dataUpdate = 0;
} }
} }
\ No newline at end of file
...@@ -7,7 +7,7 @@ import com.mortals.xhx.module.app.model.AppEntity; ...@@ -7,7 +7,7 @@ import com.mortals.xhx.module.app.model.AppEntity;
* 自助终端应用查询对象 * 自助终端应用查询对象
* *
* @author zxfei * @author zxfei
* @date 2022-11-28 * @date 2022-11-30
*/ */
public class AppQuery extends AppEntity { public class AppQuery extends AppEntity {
/** 开始 主键ID,主键,自增长 */ /** 开始 主键ID,主键,自增长 */
...@@ -73,18 +73,33 @@ public class AppQuery extends AppEntity { ...@@ -73,18 +73,33 @@ public class AppQuery extends AppEntity {
/** 下发设备次数列表 */ /** 下发设备次数列表 */
private List <Integer> downDevCountList; private List <Integer> downDevCountList;
/** 开始 是否上架(0.上架,1.下架) */ /** 开始 是否上架(0.下架,1.上架) */
private Integer shelvesStart; private Integer shelvesStart;
/** 结束 是否上架(0.上架,1.下架) */ /** 结束 是否上架(0.下架,1.上架) */
private Integer shelvesEnd; private Integer shelvesEnd;
/** 增加 是否上架(0.上架,1.下架) */ /** 增加 是否上架(0.下架,1.上架) */
private Integer shelvesIncrement; private Integer shelvesIncrement;
/** 是否上架(0.上架,1.下架)列表 */ /** 是否上架(0.下架,1.上架)列表 */
private List <Integer> shelvesList; private List <Integer> shelvesList;
/** 开始 类型(1.应用程序,2.url) */
private Integer appTypeStart;
/** 结束 类型(1.应用程序,2.url) */
private Integer appTypeEnd;
/** 增加 类型(1.应用程序,2.url) */
private Integer appTypeIncrement;
/** 类型(1.应用程序,2.url)列表 */
private List <Integer> appTypeList;
/** 文件名称 */
private List<String> fileNameList;
/** 文件相对路径地址 */ /** 文件相对路径地址 */
private List<String> filePathList; private List<String> filePathList;
...@@ -110,16 +125,16 @@ public class AppQuery extends AppEntity { ...@@ -110,16 +125,16 @@ public class AppQuery extends AppEntity {
private List <Integer> distributeList; private List <Integer> distributeList;
/** 开始 是否数据更新(0.否,1.是) */ /** 开始 是否数据更新(0.否,1.是) */
private Integer dateUpdateStart; private Integer dataUpdateStart;
/** 结束 是否数据更新(0.否,1.是) */ /** 结束 是否数据更新(0.否,1.是) */
private Integer dateUpdateEnd; private Integer dataUpdateEnd;
/** 增加 是否数据更新(0.否,1.是) */ /** 增加 是否数据更新(0.否,1.是) */
private Integer dateUpdateIncrement; private Integer dataUpdateIncrement;
/** 是否数据更新(0.否,1.是)列表 */ /** 是否数据更新(0.否,1.是)列表 */
private List <Integer> dateUpdateList; private List <Integer> dataUpdateList;
/** 开始 创建时间 */ /** 开始 创建时间 */
private String createTimeStart; private String createTimeStart;
...@@ -485,7 +500,7 @@ public class AppQuery extends AppEntity { ...@@ -485,7 +500,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 获取 开始 是否上架(0.上架,1.下架) * 获取 开始 是否上架(0.下架,1.上架)
* @return shelvesStart * @return shelvesStart
*/ */
public Integer getShelvesStart(){ public Integer getShelvesStart(){
...@@ -493,7 +508,7 @@ public class AppQuery extends AppEntity { ...@@ -493,7 +508,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 开始 是否上架(0.上架,1.下架) * 设置 开始 是否上架(0.下架,1.上架)
* @param shelvesStart * @param shelvesStart
*/ */
public void setShelvesStart(Integer shelvesStart){ public void setShelvesStart(Integer shelvesStart){
...@@ -501,7 +516,7 @@ public class AppQuery extends AppEntity { ...@@ -501,7 +516,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 获取 结束 是否上架(0.上架,1.下架) * 获取 结束 是否上架(0.下架,1.上架)
* @return $shelvesEnd * @return $shelvesEnd
*/ */
public Integer getShelvesEnd(){ public Integer getShelvesEnd(){
...@@ -509,7 +524,7 @@ public class AppQuery extends AppEntity { ...@@ -509,7 +524,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 结束 是否上架(0.上架,1.下架) * 设置 结束 是否上架(0.下架,1.上架)
* @param shelvesEnd * @param shelvesEnd
*/ */
public void setShelvesEnd(Integer shelvesEnd){ public void setShelvesEnd(Integer shelvesEnd){
...@@ -517,7 +532,7 @@ public class AppQuery extends AppEntity { ...@@ -517,7 +532,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 获取 增加 是否上架(0.上架,1.下架) * 获取 增加 是否上架(0.下架,1.上架)
* @return shelvesIncrement * @return shelvesIncrement
*/ */
public Integer getShelvesIncrement(){ public Integer getShelvesIncrement(){
...@@ -525,7 +540,7 @@ public class AppQuery extends AppEntity { ...@@ -525,7 +540,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 增加 是否上架(0.上架,1.下架) * 设置 增加 是否上架(0.下架,1.上架)
* @param shelvesIncrement * @param shelvesIncrement
*/ */
public void setShelvesIncrement(Integer shelvesIncrement){ public void setShelvesIncrement(Integer shelvesIncrement){
...@@ -533,7 +548,7 @@ public class AppQuery extends AppEntity { ...@@ -533,7 +548,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 获取 是否上架(0.上架,1.下架) * 获取 是否上架(0.下架,1.上架)
* @return shelvesList * @return shelvesList
*/ */
public List<Integer> getShelvesList(){ public List<Integer> getShelvesList(){
...@@ -541,13 +556,92 @@ public class AppQuery extends AppEntity { ...@@ -541,13 +556,92 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 是否上架(0.上架,1.下架) * 设置 是否上架(0.下架,1.上架)
* @param shelvesList * @param shelvesList
*/ */
public void setShelvesList(List<Integer> shelvesList){ public void setShelvesList(List<Integer> shelvesList){
this.shelvesList = shelvesList; this.shelvesList = shelvesList;
} }
/**
* 获取 开始 类型(1.应用程序,2.url)
* @return appTypeStart
*/
public Integer getAppTypeStart(){
return this.appTypeStart;
}
/**
* 设置 开始 类型(1.应用程序,2.url)
* @param appTypeStart
*/
public void setAppTypeStart(Integer appTypeStart){
this.appTypeStart = appTypeStart;
}
/**
* 获取 结束 类型(1.应用程序,2.url)
* @return $appTypeEnd
*/
public Integer getAppTypeEnd(){
return this.appTypeEnd;
}
/**
* 设置 结束 类型(1.应用程序,2.url)
* @param appTypeEnd
*/
public void setAppTypeEnd(Integer appTypeEnd){
this.appTypeEnd = appTypeEnd;
}
/**
* 获取 增加 类型(1.应用程序,2.url)
* @return appTypeIncrement
*/
public Integer getAppTypeIncrement(){
return this.appTypeIncrement;
}
/**
* 设置 增加 类型(1.应用程序,2.url)
* @param appTypeIncrement
*/
public void setAppTypeIncrement(Integer appTypeIncrement){
this.appTypeIncrement = appTypeIncrement;
}
/**
* 获取 类型(1.应用程序,2.url)
* @return appTypeList
*/
public List<Integer> getAppTypeList(){
return this.appTypeList;
}
/**
* 设置 类型(1.应用程序,2.url)
* @param appTypeList
*/
public void setAppTypeList(List<Integer> appTypeList){
this.appTypeList = appTypeList;
}
/**
* 获取 文件名称
* @return fileNameList
*/
public List<String> getFileNameList(){
return this.fileNameList;
}
/**
* 设置 文件名称
* @param fileNameList
*/
public void setFileNameList(List<String> fileNameList){
this.fileNameList = fileNameList;
}
/** /**
* 获取 文件相对路径地址 * 获取 文件相对路径地址
* @return filePathList * @return filePathList
...@@ -674,66 +768,66 @@ public class AppQuery extends AppEntity { ...@@ -674,66 +768,66 @@ public class AppQuery extends AppEntity {
/** /**
* 获取 开始 是否数据更新(0.否,1.是) * 获取 开始 是否数据更新(0.否,1.是)
* @return dateUpdateStart * @return dataUpdateStart
*/ */
public Integer getDateUpdateStart(){ public Integer getDataUpdateStart(){
return this.dateUpdateStart; return this.dataUpdateStart;
} }
/** /**
* 设置 开始 是否数据更新(0.否,1.是) * 设置 开始 是否数据更新(0.否,1.是)
* @param dateUpdateStart * @param dataUpdateStart
*/ */
public void setDateUpdateStart(Integer dateUpdateStart){ public void setDataUpdateStart(Integer dataUpdateStart){
this.dateUpdateStart = dateUpdateStart; this.dataUpdateStart = dataUpdateStart;
} }
/** /**
* 获取 结束 是否数据更新(0.否,1.是) * 获取 结束 是否数据更新(0.否,1.是)
* @return $dateUpdateEnd * @return $dataUpdateEnd
*/ */
public Integer getDateUpdateEnd(){ public Integer getDataUpdateEnd(){
return this.dateUpdateEnd; return this.dataUpdateEnd;
} }
/** /**
* 设置 结束 是否数据更新(0.否,1.是) * 设置 结束 是否数据更新(0.否,1.是)
* @param dateUpdateEnd * @param dataUpdateEnd
*/ */
public void setDateUpdateEnd(Integer dateUpdateEnd){ public void setDataUpdateEnd(Integer dataUpdateEnd){
this.dateUpdateEnd = dateUpdateEnd; this.dataUpdateEnd = dataUpdateEnd;
} }
/** /**
* 获取 增加 是否数据更新(0.否,1.是) * 获取 增加 是否数据更新(0.否,1.是)
* @return dateUpdateIncrement * @return dataUpdateIncrement
*/ */
public Integer getDateUpdateIncrement(){ public Integer getDataUpdateIncrement(){
return this.dateUpdateIncrement; return this.dataUpdateIncrement;
} }
/** /**
* 设置 增加 是否数据更新(0.否,1.是) * 设置 增加 是否数据更新(0.否,1.是)
* @param dateUpdateIncrement * @param dataUpdateIncrement
*/ */
public void setDateUpdateIncrement(Integer dateUpdateIncrement){ public void setDataUpdateIncrement(Integer dataUpdateIncrement){
this.dateUpdateIncrement = dateUpdateIncrement; this.dataUpdateIncrement = dataUpdateIncrement;
} }
/** /**
* 获取 是否数据更新(0.否,1.是) * 获取 是否数据更新(0.否,1.是)
* @return dateUpdateList * @return dataUpdateList
*/ */
public List<Integer> getDateUpdateList(){ public List<Integer> getDataUpdateList(){
return this.dateUpdateList; return this.dataUpdateList;
} }
/** /**
* 设置 是否数据更新(0.否,1.是) * 设置 是否数据更新(0.否,1.是)
* @param dateUpdateList * @param dataUpdateList
*/ */
public void setDateUpdateList(List<Integer> dateUpdateList){ public void setDataUpdateList(List<Integer> dataUpdateList){
this.dateUpdateList = dateUpdateList; this.dataUpdateList = dataUpdateList;
} }
/** /**
...@@ -1140,7 +1234,7 @@ public class AppQuery extends AppEntity { ...@@ -1140,7 +1234,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 是否上架(0.上架,1.下架) * 设置 是否上架(0.下架,1.上架)
* @param shelves * @param shelves
*/ */
public AppQuery shelves(Integer shelves){ public AppQuery shelves(Integer shelves){
...@@ -1149,7 +1243,7 @@ public class AppQuery extends AppEntity { ...@@ -1149,7 +1243,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 开始 是否上架(0.上架,1.下架) * 设置 开始 是否上架(0.下架,1.上架)
* @param shelvesStart * @param shelvesStart
*/ */
public AppQuery shelvesStart(Integer shelvesStart){ public AppQuery shelvesStart(Integer shelvesStart){
...@@ -1158,7 +1252,7 @@ public class AppQuery extends AppEntity { ...@@ -1158,7 +1252,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 结束 是否上架(0.上架,1.下架) * 设置 结束 是否上架(0.下架,1.上架)
* @param shelvesEnd * @param shelvesEnd
*/ */
public AppQuery shelvesEnd(Integer shelvesEnd){ public AppQuery shelvesEnd(Integer shelvesEnd){
...@@ -1167,7 +1261,7 @@ public class AppQuery extends AppEntity { ...@@ -1167,7 +1261,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 增加 是否上架(0.上架,1.下架) * 设置 增加 是否上架(0.下架,1.上架)
* @param shelvesIncrement * @param shelvesIncrement
*/ */
public AppQuery shelvesIncrement(Integer shelvesIncrement){ public AppQuery shelvesIncrement(Integer shelvesIncrement){
...@@ -1176,7 +1270,7 @@ public class AppQuery extends AppEntity { ...@@ -1176,7 +1270,7 @@ public class AppQuery extends AppEntity {
} }
/** /**
* 设置 是否上架(0.上架,1.下架) * 设置 是否上架(0.下架,1.上架)
* @param shelvesList * @param shelvesList
*/ */
public AppQuery shelvesList(List<Integer> shelvesList){ public AppQuery shelvesList(List<Integer> shelvesList){
...@@ -1184,6 +1278,70 @@ public class AppQuery extends AppEntity { ...@@ -1184,6 +1278,70 @@ public class AppQuery extends AppEntity {
return this; return this;
} }
/**
* 设置 类型(1.应用程序,2.url)
* @param appType
*/
public AppQuery appType(Integer appType){
setAppType(appType);
return this;
}
/**
* 设置 开始 类型(1.应用程序,2.url)
* @param appTypeStart
*/
public AppQuery appTypeStart(Integer appTypeStart){
this.appTypeStart = appTypeStart;
return this;
}
/**
* 设置 结束 类型(1.应用程序,2.url)
* @param appTypeEnd
*/
public AppQuery appTypeEnd(Integer appTypeEnd){
this.appTypeEnd = appTypeEnd;
return this;
}
/**
* 设置 增加 类型(1.应用程序,2.url)
* @param appTypeIncrement
*/
public AppQuery appTypeIncrement(Integer appTypeIncrement){
this.appTypeIncrement = appTypeIncrement;
return this;
}
/**
* 设置 类型(1.应用程序,2.url)
* @param appTypeList
*/
public AppQuery appTypeList(List<Integer> appTypeList){
this.appTypeList = appTypeList;
return this;
}
/**
* 设置 文件名称
* @param fileName
*/
public AppQuery fileName(String fileName){
setFileName(fileName);
return this;
}
/**
* 设置 文件名称
* @param fileNameList
*/
public AppQuery fileNameList(List<String> fileNameList){
this.fileNameList = fileNameList;
return this;
}
/** /**
* 设置 文件相对路径地址 * 设置 文件相对路径地址
...@@ -1307,46 +1465,46 @@ public class AppQuery extends AppEntity { ...@@ -1307,46 +1465,46 @@ public class AppQuery extends AppEntity {
/** /**
* 设置 是否数据更新(0.否,1.是) * 设置 是否数据更新(0.否,1.是)
* @param dateUpdate * @param dataUpdate
*/ */
public AppQuery dateUpdate(Integer dateUpdate){ public AppQuery dataUpdate(Integer dataUpdate){
setDateUpdate(dateUpdate); setDataUpdate(dataUpdate);
return this; return this;
} }
/** /**
* 设置 开始 是否数据更新(0.否,1.是) * 设置 开始 是否数据更新(0.否,1.是)
* @param dateUpdateStart * @param dataUpdateStart
*/ */
public AppQuery dateUpdateStart(Integer dateUpdateStart){ public AppQuery dataUpdateStart(Integer dataUpdateStart){
this.dateUpdateStart = dateUpdateStart; this.dataUpdateStart = dataUpdateStart;
return this; return this;
} }
/** /**
* 设置 结束 是否数据更新(0.否,1.是) * 设置 结束 是否数据更新(0.否,1.是)
* @param dateUpdateEnd * @param dataUpdateEnd
*/ */
public AppQuery dateUpdateEnd(Integer dateUpdateEnd){ public AppQuery dataUpdateEnd(Integer dataUpdateEnd){
this.dateUpdateEnd = dateUpdateEnd; this.dataUpdateEnd = dataUpdateEnd;
return this; return this;
} }
/** /**
* 设置 增加 是否数据更新(0.否,1.是) * 设置 增加 是否数据更新(0.否,1.是)
* @param dateUpdateIncrement * @param dataUpdateIncrement
*/ */
public AppQuery dateUpdateIncrement(Integer dateUpdateIncrement){ public AppQuery dataUpdateIncrement(Integer dataUpdateIncrement){
this.dateUpdateIncrement = dateUpdateIncrement; this.dataUpdateIncrement = dataUpdateIncrement;
return this; return this;
} }
/** /**
* 设置 是否数据更新(0.否,1.是) * 设置 是否数据更新(0.否,1.是)
* @param dateUpdateList * @param dataUpdateList
*/ */
public AppQuery dateUpdateList(List<Integer> dateUpdateList){ public AppQuery dataUpdateList(List<Integer> dataUpdateList){
this.dateUpdateList = dateUpdateList; this.dataUpdateList = dataUpdateList;
return this; return this;
} }
......
...@@ -15,12 +15,14 @@ ...@@ -15,12 +15,14 @@
<result property="type" column="type" /> <result property="type" column="type" />
<result property="downDevCount" column="downDevCount" /> <result property="downDevCount" column="downDevCount" />
<result property="shelves" column="shelves" /> <result property="shelves" column="shelves" />
<result property="appType" column="appType" />
<result property="fileName" column="fileName" />
<result property="filePath" column="filePath" /> <result property="filePath" column="filePath" />
<result property="distributeFilePath" column="distributeFilePath" /> <result property="distributeFilePath" column="distributeFilePath" />
<result property="version" column="version" /> <result property="version" column="version" />
<result property="summary" column="summary" /> <result property="summary" column="summary" />
<result property="distribute" column="distribute" /> <result property="distribute" column="distribute" />
<result property="dateUpdate" column="dateUpdate" /> <result property="dataUpdate" column="dataUpdate" />
<result property="createTime" column="createTime" /> <result property="createTime" column="createTime" />
<result property="updateUserId" column="updateUserId" /> <result property="updateUserId" column="updateUserId" />
<result property="updateTime" column="updateTime" /> <result property="updateTime" column="updateTime" />
...@@ -68,6 +70,12 @@ ...@@ -68,6 +70,12 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('shelves') or colPickMode == 1 and data.containsKey('shelves')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('shelves') or colPickMode == 1 and data.containsKey('shelves')))">
a.shelves, a.shelves,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('appType') or colPickMode == 1 and data.containsKey('appType')))">
a.appType,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('fileName') or colPickMode == 1 and data.containsKey('fileName')))">
a.fileName,
</if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('filePath') or colPickMode == 1 and data.containsKey('filePath')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('filePath') or colPickMode == 1 and data.containsKey('filePath')))">
a.filePath, a.filePath,
</if> </if>
...@@ -83,8 +91,8 @@ ...@@ -83,8 +91,8 @@
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('distribute') or colPickMode == 1 and data.containsKey('distribute')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('distribute') or colPickMode == 1 and data.containsKey('distribute')))">
a.distribute, a.distribute,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('dateUpdate') or colPickMode == 1 and data.containsKey('dateUpdate')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('dataUpdate') or colPickMode == 1 and data.containsKey('dataUpdate')))">
a.dateUpdate, a.dataUpdate,
</if> </if>
<if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))"> <if test="(data == null) or (data != null and ( colPickMode == 0 and !data.containsKey('createTime') or colPickMode == 1 and data.containsKey('createTime')))">
a.createTime, a.createTime,
...@@ -104,20 +112,20 @@ ...@@ -104,20 +112,20 @@
</trim> </trim>
</sql> </sql>
<!-- 新增 区分主键自增加还是业务插入 --> <!-- 新增 区分主键自增加还是业务插入 -->
<insert id="insert" parameterType="AppEntity" useGeneratedKeys="true" keyProperty="id"> <insert id="insert" parameterType="AppEntity" >
insert into mortals_sys_app insert into mortals_sys_app
(siteId,siteName,appCode,appName,appIconPath,appThemeName,type,downDevCount,shelves,filePath,distributeFilePath,version,summary,distribute,dateUpdate,createTime,updateUserId,updateTime) (id,siteId,siteName,appCode,appName,appIconPath,appThemeName,type,downDevCount,shelves,appType,fileName,filePath,distributeFilePath,version,summary,distribute,dataUpdate,createTime,updateUserId,updateTime)
VALUES VALUES
(#{siteId},#{siteName},#{appCode},#{appName},#{appIconPath},#{appThemeName},#{type},#{downDevCount},#{shelves},#{filePath},#{distributeFilePath},#{version},#{summary},#{distribute},#{dateUpdate},#{createTime},#{updateUserId},#{updateTime}) (#{id},#{siteId},#{siteName},#{appCode},#{appName},#{appIconPath},#{appThemeName},#{type},#{downDevCount},#{shelves},#{appType},#{fileName},#{filePath},#{distributeFilePath},#{version},#{summary},#{distribute},#{dataUpdate},#{createTime},#{updateUserId},#{updateTime})
</insert> </insert>
<!-- 批量新增 --> <!-- 批量新增 -->
<insert id="insertBatch" parameterType="paramDto"> <insert id="insertBatch" parameterType="paramDto">
insert into mortals_sys_app insert into mortals_sys_app
(siteId,siteName,appCode,appName,appIconPath,appThemeName,type,downDevCount,shelves,filePath,distributeFilePath,version,summary,distribute,dateUpdate,createTime,updateUserId,updateTime) (id,siteId,siteName,appCode,appName,appIconPath,appThemeName,type,downDevCount,shelves,appType,fileName,filePath,distributeFilePath,version,summary,distribute,dataUpdate,createTime,updateUserId,updateTime)
VALUES VALUES
<foreach collection="data.dataList" item="item" index="index" separator="," > <foreach collection="data.dataList" item="item" index="index" separator="," >
(#{item.siteId},#{item.siteName},#{item.appCode},#{item.appName},#{item.appIconPath},#{item.appThemeName},#{item.type},#{item.downDevCount},#{item.shelves},#{item.filePath},#{item.distributeFilePath},#{item.version},#{item.summary},#{item.distribute},#{item.dateUpdate},#{item.createTime},#{item.updateUserId},#{item.updateTime}) (#{item.id},#{item.siteId},#{item.siteName},#{item.appCode},#{item.appName},#{item.appIconPath},#{item.appThemeName},#{item.type},#{item.downDevCount},#{item.shelves},#{item.appType},#{item.fileName},#{item.filePath},#{item.distributeFilePath},#{item.version},#{item.summary},#{item.distribute},#{item.dataUpdate},#{item.createTime},#{item.updateUserId},#{item.updateTime})
</foreach> </foreach>
</insert> </insert>
...@@ -166,6 +174,15 @@ ...@@ -166,6 +174,15 @@
<if test="(colPickMode==0 and data.containsKey('shelvesIncrement')) or (colPickMode==1 and !data.containsKey('shelvesIncrement'))"> <if test="(colPickMode==0 and data.containsKey('shelvesIncrement')) or (colPickMode==1 and !data.containsKey('shelvesIncrement'))">
a.shelves=ifnull(a.shelves,0) + #{data.shelvesIncrement}, a.shelves=ifnull(a.shelves,0) + #{data.shelvesIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('appType')) or (colPickMode==1 and !data.containsKey('appType'))">
a.appType=#{data.appType},
</if>
<if test="(colPickMode==0 and data.containsKey('appTypeIncrement')) or (colPickMode==1 and !data.containsKey('appTypeIncrement'))">
a.appType=ifnull(a.appType,0) + #{data.appTypeIncrement},
</if>
<if test="(colPickMode==0 and data.containsKey('fileName')) or (colPickMode==1 and !data.containsKey('fileName'))">
a.fileName=#{data.fileName},
</if>
<if test="(colPickMode==0 and data.containsKey('filePath')) or (colPickMode==1 and !data.containsKey('filePath'))"> <if test="(colPickMode==0 and data.containsKey('filePath')) or (colPickMode==1 and !data.containsKey('filePath'))">
a.filePath=#{data.filePath}, a.filePath=#{data.filePath},
</if> </if>
...@@ -184,11 +201,11 @@ ...@@ -184,11 +201,11 @@
<if test="(colPickMode==0 and data.containsKey('distributeIncrement')) or (colPickMode==1 and !data.containsKey('distributeIncrement'))"> <if test="(colPickMode==0 and data.containsKey('distributeIncrement')) or (colPickMode==1 and !data.containsKey('distributeIncrement'))">
a.distribute=ifnull(a.distribute,0) + #{data.distributeIncrement}, a.distribute=ifnull(a.distribute,0) + #{data.distributeIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('dateUpdate')) or (colPickMode==1 and !data.containsKey('dateUpdate'))"> <if test="(colPickMode==0 and data.containsKey('dataUpdate')) or (colPickMode==1 and !data.containsKey('dataUpdate'))">
a.dateUpdate=#{data.dateUpdate}, a.dataUpdate=#{data.dataUpdate},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('dateUpdateIncrement')) or (colPickMode==1 and !data.containsKey('dateUpdateIncrement'))"> <if test="(colPickMode==0 and data.containsKey('dataUpdateIncrement')) or (colPickMode==1 and !data.containsKey('dataUpdateIncrement'))">
a.dateUpdate=ifnull(a.dateUpdate,0) + #{data.dateUpdateIncrement}, a.dataUpdate=ifnull(a.dataUpdate,0) + #{data.dataUpdateIncrement},
</if> </if>
<if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))"> <if test="(colPickMode==0 and data.containsKey('createTime')) or (colPickMode==1 and !data.containsKey('createTime'))">
a.createTime=#{data.createTime}, a.createTime=#{data.createTime},
...@@ -297,6 +314,25 @@ ...@@ -297,6 +314,25 @@
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="appType=(case" suffix="ELSE appType end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<choose>
<when test="(colPickMode==0 and item.containsKey('appType')) or (colPickMode==1 and !item.containsKey('appType'))">
when a.id=#{item.id} then #{item.appType}
</when>
<when test="(colPickMode==0 and item.containsKey('appTypeIncrement')) or (colPickMode==1 and !item.containsKey('appTypeIncrement'))">
when a.id=#{item.id} then ifnull(a.appType,0) + #{item.appTypeIncrement}
</when>
</choose>
</foreach>
</trim>
<trim prefix="fileName=(case" suffix="ELSE fileName end),">
<foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('fileName')) or (colPickMode==1 and !item.containsKey('fileName'))">
when a.id=#{item.id} then #{item.fileName}
</if>
</foreach>
</trim>
<trim prefix="filePath=(case" suffix="ELSE filePath end),"> <trim prefix="filePath=(case" suffix="ELSE filePath end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<if test="(colPickMode==0 and item.containsKey('filePath')) or (colPickMode==1 and !item.containsKey('filePath'))"> <if test="(colPickMode==0 and item.containsKey('filePath')) or (colPickMode==1 and !item.containsKey('filePath'))">
...@@ -337,14 +373,14 @@ ...@@ -337,14 +373,14 @@
</choose> </choose>
</foreach> </foreach>
</trim> </trim>
<trim prefix="dateUpdate=(case" suffix="ELSE dateUpdate end),"> <trim prefix="dataUpdate=(case" suffix="ELSE dataUpdate end),">
<foreach collection="data.dataList" item="item" index="index" separator="" > <foreach collection="data.dataList" item="item" index="index" separator="" >
<choose> <choose>
<when test="(colPickMode==0 and item.containsKey('dateUpdate')) or (colPickMode==1 and !item.containsKey('dateUpdate'))"> <when test="(colPickMode==0 and item.containsKey('dataUpdate')) or (colPickMode==1 and !item.containsKey('dataUpdate'))">
when a.id=#{item.id} then #{item.dateUpdate} when a.id=#{item.id} then #{item.dataUpdate}
</when> </when>
<when test="(colPickMode==0 and item.containsKey('dateUpdateIncrement')) or (colPickMode==1 and !item.containsKey('dateUpdateIncrement'))"> <when test="(colPickMode==0 and item.containsKey('dataUpdateIncrement')) or (colPickMode==1 and !item.containsKey('dataUpdateIncrement'))">
when a.id=#{item.id} then ifnull(a.dateUpdate,0) + #{item.dateUpdateIncrement} when a.id=#{item.id} then ifnull(a.dataUpdate,0) + #{item.dataUpdateIncrement}
</when> </when>
</choose> </choose>
</foreach> </foreach>
...@@ -679,6 +715,42 @@ ...@@ -679,6 +715,42 @@
${_conditionType_} a.shelves <![CDATA[ <= ]]> #{${_conditionParam_}.shelvesEnd} ${_conditionType_} a.shelves <![CDATA[ <= ]]> #{${_conditionParam_}.shelvesEnd}
</if> </if>
<if test="conditionParamRef.containsKey('appType')">
<if test="conditionParamRef.appType != null ">
${_conditionType_} a.appType = #{${_conditionParam_}.appType}
</if>
<if test="conditionParamRef.appType == null">
${_conditionType_} a.appType is null
</if>
</if>
<if test="conditionParamRef.containsKey('appTypeList')">
${_conditionType_} a.appType in
<foreach collection="conditionParamRef.appTypeList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('appTypeStart') and conditionParamRef.appTypeStart != null">
${_conditionType_} a.appType <![CDATA[ >= ]]> #{${_conditionParam_}.appTypeStart}
</if>
<if test="conditionParamRef.containsKey('appTypeEnd') and conditionParamRef.appTypeEnd != null">
${_conditionType_} a.appType <![CDATA[ <= ]]> #{${_conditionParam_}.appTypeEnd}
</if>
<if test="conditionParamRef.containsKey('fileName')">
<if test="conditionParamRef.fileName != null and conditionParamRef.fileName != ''">
${_conditionType_} a.fileName like #{${_conditionParam_}.fileName}
</if>
<if test="conditionParamRef.fileName == null">
${_conditionType_} a.fileName is null
</if>
</if>
<if test="conditionParamRef.containsKey('fileNameList')">
${_conditionType_} a.fileName in
<foreach collection="conditionParamRef.fileNameList" open="(" close=")" index="index" item="item" separator=",">
#{item}
</foreach>
</if>
<if test="conditionParamRef.containsKey('filePath')"> <if test="conditionParamRef.containsKey('filePath')">
<if test="conditionParamRef.filePath != null and conditionParamRef.filePath != ''"> <if test="conditionParamRef.filePath != null and conditionParamRef.filePath != ''">
...@@ -760,25 +832,25 @@ ...@@ -760,25 +832,25 @@
${_conditionType_} a.distribute <![CDATA[ <= ]]> #{${_conditionParam_}.distributeEnd} ${_conditionType_} a.distribute <![CDATA[ <= ]]> #{${_conditionParam_}.distributeEnd}
</if> </if>
<if test="conditionParamRef.containsKey('dateUpdate')"> <if test="conditionParamRef.containsKey('dataUpdate')">
<if test="conditionParamRef.dateUpdate != null "> <if test="conditionParamRef.dataUpdate != null ">
${_conditionType_} a.dateUpdate = #{${_conditionParam_}.dateUpdate} ${_conditionType_} a.dataUpdate = #{${_conditionParam_}.dataUpdate}
</if> </if>
<if test="conditionParamRef.dateUpdate == null"> <if test="conditionParamRef.dataUpdate == null">
${_conditionType_} a.dateUpdate is null ${_conditionType_} a.dataUpdate is null
</if> </if>
</if> </if>
<if test="conditionParamRef.containsKey('dateUpdateList')"> <if test="conditionParamRef.containsKey('dataUpdateList')">
${_conditionType_} a.dateUpdate in ${_conditionType_} a.dataUpdate in
<foreach collection="conditionParamRef.dateUpdateList" open="(" close=")" index="index" item="item" separator=","> <foreach collection="conditionParamRef.dataUpdateList" open="(" close=")" index="index" item="item" separator=",">
#{item} #{item}
</foreach> </foreach>
</if> </if>
<if test="conditionParamRef.containsKey('dateUpdateStart') and conditionParamRef.dateUpdateStart != null"> <if test="conditionParamRef.containsKey('dataUpdateStart') and conditionParamRef.dataUpdateStart != null">
${_conditionType_} a.dateUpdate <![CDATA[ >= ]]> #{${_conditionParam_}.dateUpdateStart} ${_conditionType_} a.dataUpdate <![CDATA[ >= ]]> #{${_conditionParam_}.dataUpdateStart}
</if> </if>
<if test="conditionParamRef.containsKey('dateUpdateEnd') and conditionParamRef.dateUpdateEnd != null"> <if test="conditionParamRef.containsKey('dataUpdateEnd') and conditionParamRef.dataUpdateEnd != null">
${_conditionType_} a.dateUpdate <![CDATA[ <= ]]> #{${_conditionParam_}.dateUpdateEnd} ${_conditionType_} a.dataUpdate <![CDATA[ <= ]]> #{${_conditionParam_}.dataUpdateEnd}
</if> </if>
...@@ -895,6 +967,16 @@ ...@@ -895,6 +967,16 @@
<if test='orderCol.shelves != null and "DESC".equalsIgnoreCase(orderCol.shelves)'>DESC</if> <if test='orderCol.shelves != null and "DESC".equalsIgnoreCase(orderCol.shelves)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('appType')">
a.appType
<if test='orderCol.appType != null and "DESC".equalsIgnoreCase(orderCol.appType)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('fileName')">
a.fileName
<if test='orderCol.fileName != null and "DESC".equalsIgnoreCase(orderCol.fileName)'>DESC</if>
,
</if>
<if test="orderCol.containsKey('filePath')"> <if test="orderCol.containsKey('filePath')">
a.filePath a.filePath
<if test='orderCol.filePath != null and "DESC".equalsIgnoreCase(orderCol.filePath)'>DESC</if> <if test='orderCol.filePath != null and "DESC".equalsIgnoreCase(orderCol.filePath)'>DESC</if>
...@@ -920,9 +1002,9 @@ ...@@ -920,9 +1002,9 @@
<if test='orderCol.distribute != null and "DESC".equalsIgnoreCase(orderCol.distribute)'>DESC</if> <if test='orderCol.distribute != null and "DESC".equalsIgnoreCase(orderCol.distribute)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('dateUpdate')"> <if test="orderCol.containsKey('dataUpdate')">
a.dateUpdate a.dataUpdate
<if test='orderCol.dateUpdate != null and "DESC".equalsIgnoreCase(orderCol.dateUpdate)'>DESC</if> <if test='orderCol.dataUpdate != null and "DESC".equalsIgnoreCase(orderCol.dataUpdate)'>DESC</if>
, ,
</if> </if>
<if test="orderCol.containsKey('createTime')"> <if test="orderCol.containsKey('createTime')">
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment