diff --git a/src/main/assembly/package.xml b/src/main/assembly/package.xml new file mode 100644 index 0000000000000000000000000000000000000000..c10a94c78533e9f8b9ecb1d63abfaa7f47dfa12d --- /dev/null +++ b/src/main/assembly/package.xml @@ -0,0 +1,40 @@ + + + package + + zip + + false + + + + + + + + + src/main/conf + / + + + erp_web + /erp_web + + + + + src/main/resources/application.yml + /conf + + + + + lib + runtime + + + \ No newline at end of file diff --git a/src/main/conf/jshERPStart.bat b/src/main/conf/jshERPStart.bat new file mode 100644 index 0000000000000000000000000000000000000000..8cc02bfaa33328b79286629ab6379038fd936322 --- /dev/null +++ b/src/main/conf/jshERPStart.bat @@ -0,0 +1,6 @@ +@echo off + +title jshERP + +java -Xms1000m -Xmx2000m -cp .\conf;.\lib\*; -XX:+CreateMinidumpOnCrash com.jsh.erp.ErpApplication +pause over \ No newline at end of file diff --git a/src/main/conf/jshERPStart.sh b/src/main/conf/jshERPStart.sh new file mode 100644 index 0000000000000000000000000000000000000000..83f10e6079c84f7f7c4db07d71ba23ac5345bf00 --- /dev/null +++ b/src/main/conf/jshERPStart.sh @@ -0,0 +1 @@ +java -XX:+CreateMinidumpOnCrash -cp ./conf:./lib/*: com.jsh.erp.ErpApplication \ No newline at end of file diff --git a/src/main/java/com/jsh/action/asset/AssetAction.java b/src/main/java/com/jsh/action/asset/AssetAction.java deleted file mode 100644 index d543081c381fa1cbbdefb504df7f90fe196cea1c..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/asset/AssetAction.java +++ /dev/null @@ -1,452 +0,0 @@ -package com.jsh.action.asset; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.*; -import com.jsh.model.vo.asset.AssetModel; -import com.jsh.service.asset.AssetIService; -import com.jsh.service.basic.AssetNameIService; -import com.jsh.service.basic.CategoryIService; -import com.jsh.service.basic.SupplierIService; -import com.jsh.service.basic.UserIService; -import com.jsh.util.AssetConstants; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.io.InputStream; -import java.sql.Timestamp; -import java.text.ParseException; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class AssetAction extends BaseAction { - private AssetModel model = new AssetModel(); - private AssetIService assetService; - private CategoryIService categoryService; - private SupplierIService supplierService; - private UserIService userService; - private AssetNameIService assetnameService; - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getBasicData() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("id_s_order", "desc"); - categoryService.find(pageUtil); - mapData.put("categoryList", pageUtil.getPageList()); - supplierService.find(pageUtil); - mapData.put("supplierList", pageUtil.getPageList()); - - condition.put("isystem_n_eq", 1); - condition.put("id_s_order", "desc"); - userService.find(pageUtil); - mapData.put("userList", pageUtil.getPageList()); - - //清除搜索条件 防止对查询有影响 - condition.remove("isystem_n_eq"); - - assetnameService.find(pageUtil); - mapData.put("assetnameList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找系统基础数据信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 增加资产 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加资产方法==================="); - Boolean flag = false; - try { - Asset asset = new Asset(); - //添加设置 - asset.setAssetname(new Assetname(model.getAssetNameID())); - - asset.setLocation(model.getLocation()); - asset.setStatus(model.getStatus()); - asset.setPrice(model.getPrice()); - - if (null != model.getUserID()) { - asset.setUser(new Basicuser(model.getUserID())); - } - try { - //购买日期 - asset.setPurchasedate(new Timestamp(Tools.parse(model.getPurchasedate(), "yyyy-MM-dd").getTime())); - //有效日期 - asset.setPeriodofvalidity(new Timestamp(Tools.parse(model.getPeriodofvalidity(), "yyyy-MM-dd").getTime())); - //保修日期 - asset.setWarrantydate(new Timestamp(Tools.parse(model.getWarrantydate(), "yyyy-MM-dd").getTime())); - } catch (ParseException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>解析购买日期格式异常", e); - } - - asset.setAssetnum(model.getAssetnum()); - asset.setSerialnum(model.getSerialnum()); - asset.setLabels(model.getLabels()); - - asset.setSupplier(new Supplier(model.getSupplierID())); - asset.setDescription(model.getDescription()); - - asset.setCreatetime(new Timestamp(System.currentTimeMillis())); - asset.setCreator(getUser()); - asset.setUpdatetime(new Timestamp(System.currentTimeMillis())); - asset.setUpdator(getUser()); - asset.setAddMonth(Tools.getCurrentMonth()); - assetService.create(asset); - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加资产异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加资产回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加资产", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加资产名称ID为 " + model.getAssetNameID() + " " + tipMsg + "!", "增加资产" + tipMsg)); - Log.infoFileSync("==================结束调用增加资产方法==================="); - } - - /** - * 删除资产 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除资产信息方法delete()================"); - try { - assetService.delete(model.getAssetID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getAssetID() + " 的资产异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除资产", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除资产ID为 " + model.getAssetID() + " " + tipMsg + "!", "删除资产" + tipMsg)); - Log.infoFileSync("====================结束调用删除资产信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新资产 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Asset asset = assetService.get(model.getAssetID()); - - //设置要更新的熟悉值 - asset.setAssetname(new Assetname(model.getAssetNameID())); - - asset.setLocation(model.getLocation()); - asset.setStatus(model.getStatus()); - asset.setPrice(model.getPrice()); - - if (null != model.getUserID()) { - asset.setUser(new Basicuser(model.getUserID())); - } else { - asset.setUser(null); - } - try { - //购买日期 - asset.setPurchasedate(new Timestamp(Tools.parse(model.getPurchasedate(), "yyyy-MM-dd").getTime())); - //有效日期 - asset.setPeriodofvalidity(new Timestamp(Tools.parse(model.getPeriodofvalidity(), "yyyy-MM-dd").getTime())); - //保修日期 - asset.setWarrantydate(new Timestamp(Tools.parse(model.getWarrantydate(), "yyyy-MM-dd").getTime())); - } catch (ParseException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>解析购买日期格式异常", e); - } - - asset.setAssetnum(model.getAssetnum()); - asset.setSerialnum(model.getSerialnum()); - asset.setLabels(model.getLabels()); - - asset.setSupplier(new Supplier(model.getSupplierID())); - asset.setDescription(model.getDescription()); - - asset.setUpdatetime(new Timestamp(System.currentTimeMillis())); - asset.setUpdator(getUser()); - assetService.update(asset); - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改资产ID为 : " + model.getAssetID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改资产回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新资产", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新资产ID为 " + model.getAssetID() + " " + tipMsg + "!", "更新资产" + tipMsg)); - } - - /** - * 批量删除指定ID资产 - * - * @return - */ - public String batchDelete() { - try { - assetService.batchDelete(model.getAssetIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除资产ID为:" + model.getAssetIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除资产", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除资产ID为 " + model.getAssetIDs() + " " + tipMsg + "!", "批量删除资产" + tipMsg)); - return SUCCESS; - } - - /** - * 查找资产信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - assetService.find(pageUtil); - - getSession().put("pageUtil", pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Asset asset : dataList) { - JSONObject item = new JSONObject(); - item.put("id", asset.getId()); - //添加资产属性 - item.put("assetname", asset.getAssetname().getAssetname()); - item.put("assetnameID", asset.getAssetname().getId()); - //单价 - item.put("price", Tools.dealNullStr(asset.getPrice() + "")); - //分类 - item.put("category", asset.getAssetname().getCategory().getAssetname()); - item.put("categoryID", asset.getAssetname().getCategory().getId()); - //资产的状态:0==在库,1==在用,2==消费 - item.put("status", getStatusInfo(asset.getStatus())); - item.put("statushort", asset.getStatus()); - //在用用户名称 - item.put("username", asset.getUser() == null ? "" : asset.getUser().getUsername()); - item.put("userID", asset.getUser() == null ? "" : asset.getUser().getId()); - //位置 - item.put("location", Tools.dealNullStr(asset.getLocation())); - - //购买日期 - item.put("purchasedate", asset.getPurchasedate() == null ? "" : Tools.getCurrentMonth(asset.getPurchasedate())); - //有效日期 - item.put("periodofvalidity", asset.getPeriodofvalidity() == null ? "" : Tools.getCurrentMonth(asset.getPeriodofvalidity())); - //保修日期 - item.put("warrantydate", asset.getWarrantydate() == null ? "" : Tools.getCurrentMonth(asset.getWarrantydate())); - //资产编号 - item.put("assetnum", Tools.dealNullStr(asset.getAssetnum())); - //资产序列号 - item.put("serialnum", Tools.dealNullStr(asset.getSerialnum())); - //供应商 - item.put("supplier", asset.getSupplier() == null ? "" : asset.getSupplier().getSupplier()); - //供应商 - item.put("supplierID", asset.getSupplier() == null ? "" : asset.getSupplier().getId()); - //标签 - item.put("labels", Tools.dealNullStr(asset.getLabels())); - item.put("description", Tools.dealNullStr(asset.getDescription())); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找资产信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询资产信息结果异常", e); - } - } - - /** - * 导出excel表格 - * - * @return - */ - @SuppressWarnings("unchecked") - public String exportExcel() { - Log.infoFileSync("===================调用导出资产信息action方法exportExcel开始======================="); - try { - PageUtil pageUtil = (PageUtil) getSession().get("pageUtil"); - - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - //pageUtil.setAdvSearch(getCondition()); - String isCurrentPage = model.getIsAllData(); - model.setFileName(Tools.changeUnicode(model.getFileName() + ".xls", model.getBrowserType())); - model.setExcelStream(assetService.exmportExcel(isCurrentPage, pageUtil)); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>调用导出资产信息action方法exportExcel异常", e); - model.getShowModel().setMsgTip("export excel exception"); - } - Log.infoFileSync("===================调用导出资产信息action方法exportExcel结束=================="); - return AssetConstants.BusinessForExcel.EXCEL; - } - - - /** - * 导入资产excel表格内容 - */ - public String importExcel() { - //资产excel表格file - Boolean result = false; - String returnStr = ""; - try { - InputStream in = assetService.importExcel(model.getAssetFile(), model.getIsCheck()); - - if (null != in) { - model.setFileName(Tools.getRandomChar() + Tools.getNow2(Calendar.getInstance().getTime()) + "_wrong.xls"); - model.setExcelStream(in); - returnStr = AssetConstants.BusinessForExcel.EXCEL; - } else { - result = true; - try { - toClient(result.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写导入资产信息结果异常", e); - } - //导入数据成功 - returnStr = SUCCESS; - } - - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>导入excel表格信息异常", e); - } - return returnStr; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("assetname.id_n_eq", model.getAssetNameID()); - condition.put("assetname.category.id_n_eq", model.getAssetCategoryID()); - condition.put("user.id_n_eq", model.getUserID()); - condition.put("status_n_eq", model.getStatus()); - condition.put("supplier.id_n_eq", model.getSupplierID()); - condition.put("createtime_s_order", "desc"); - return condition; - } - - /** - * 根据状态码转化成说明字符串 - * 资产的状态:0==在库,1==在用,2==消费 - * - * @param statusCode - * @return - */ - private String getStatusInfo(short statusCode) { - String statusInfo = ""; - switch (statusCode) { - case AssetConstants.BusinessForExcel.EXCEl_STATUS_ZAIKU: - statusInfo = "在库"; - break; - - case AssetConstants.BusinessForExcel.EXCEl_STATUS_INUSE: - statusInfo = "在用"; - break; - - case AssetConstants.BusinessForExcel.EXCEl_STATUS_CONSUME: - statusInfo = "消费"; - break; - default: - break; - } - return statusInfo; - } - - //=========Spring注入以及model驱动公共方法=========== - public void setAssetService(AssetIService assetService) { - this.assetService = assetService; - } - - public void setCategoryService(CategoryIService categoryService) { - this.categoryService = categoryService; - } - - public void setSupplierService(SupplierIService supplierService) { - this.supplierService = supplierService; - } - - public void setUserService(UserIService userService) { - this.userService = userService; - } - - public void setAssetnameService(AssetNameIService assetnameService) { - this.assetnameService = assetnameService; - } - - @Override - public AssetModel getModel() { - return model; - } -} diff --git a/src/main/java/com/jsh/action/asset/ReportAction.java b/src/main/java/com/jsh/action/asset/ReportAction.java deleted file mode 100644 index 6e1dff86c5720d28c91b9b1d345040b54ce23e86..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/asset/ReportAction.java +++ /dev/null @@ -1,116 +0,0 @@ -package com.jsh.action.asset; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Asset; -import com.jsh.model.vo.asset.ReportModel; -import com.jsh.service.asset.ReportIService; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -import java.util.HashMap; -import java.util.Map; - -@SuppressWarnings("serial") -public class ReportAction extends BaseAction { - private ReportModel model = new ReportModel(); - private ReportIService reportService; - - /** - * 查找资产信息 - * - * @return - */ - public String find() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition()); - String reportType = getReportType(new HashMap()); - reportService.find(pageUtil, reportType.split("_")[0], reportType.split("_")[1]); - model.getShowModel().setReportData(pageUtil.getPageList()); - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>查找资产信息异常", e); - model.getShowModel().setMsgTip("get report data exception"); - } - return SUCCESS; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("assetname.id_n_eq", model.getAssetNameID()); - condition.put("assetname.category.id_n_eq", model.getAssetCategoryID()); - condition.put("user.id_n_eq", model.getUsernameID()); - condition.put("status_n_eq", model.getStatus()); - condition.put("supplier.id_n_eq", model.getSupplierID()); - condition.put("dataSum_s_order", "desc"); - //拼接统计数据条件 - getReportType(condition); - return condition; - } - - /** - * 获取统计条件 - * - * @param condition - */ - private String getReportType(Map condition) { -// -// -// -// -// - int reportType = model.getReportType(); - String reportTypeInfo = ""; - String reportTypeName = ""; - switch (reportType) { - case 0: - condition.put("status_s_gb", "group"); - reportTypeInfo = "status"; - reportTypeName = "status"; - break; - case 1: - condition.put("assetname.category.id_s_gb", "group"); - reportTypeInfo = "assetname.category.id"; - reportTypeName = "assetname.category.assetname"; - break; - case 2: - condition.put("supplier.id_s_gb", "group"); - reportTypeInfo = "supplier.id"; - reportTypeName = "supplier.supplier"; - break; - case 3: - condition.put("assetname.id_s_gb", "group"); - reportTypeInfo = "assetname.id"; - reportTypeName = "assetname.assetname"; - break; - case 4: - condition.put("user.id_s_gb", "group"); - reportTypeInfo = "user.id"; - reportTypeName = "user.username"; - break; - default: - break; - } - return reportTypeInfo + "_" + reportTypeName; - } - - //=========Spring注入以及model驱动公共方法=========== - public void setReportService(ReportIService reportService) { - this.reportService = reportService; - } - - @Override - public ReportModel getModel() { - return model; - } -} diff --git a/src/main/java/com/jsh/action/basic/AccountAction.java b/src/main/java/com/jsh/action/basic/AccountAction.java deleted file mode 100644 index cc7636b7ffe01a05c0215b088631b64080135b12..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/AccountAction.java +++ /dev/null @@ -1,683 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.*; -import com.jsh.model.vo.basic.AccountModel; -import com.jsh.service.basic.AccountIService; -import com.jsh.service.materials.AccountHeadIService; -import com.jsh.service.materials.AccountItemIService; -import com.jsh.service.materials.DepotHeadIService; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.text.DecimalFormat; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * 结算账户 - * - * @author ji sheng hua qq7527-18920 - */ -@SuppressWarnings("serial") -public class AccountAction extends BaseAction { - private AccountIService accountService; - private DepotHeadIService depotHeadService; - private AccountHeadIService accountHeadService; - private AccountItemIService accountItemService; - private AccountModel model = new AccountModel(); - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getAccount() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("Id_s_order", "asc"); - accountService.find(pageUtil); - mapData.put("accountList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找账户信息异常", e); - model.getShowModel().setMsgTip("exception"); - } - return SUCCESS; - } - - /** - * 增加结算账户 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加结算账户方法==================="); - Boolean flag = false; - try { - Account Account = new Account(); - Account.setName(model.getName()); - Account.setSerialNo(model.getSerialNo()); - Account.setInitialAmount(model.getInitialAmount() != null ? model.getInitialAmount() : 0); - Account.setCurrentAmount(model.getCurrentAmount()); - Account.setRemark(model.getRemark()); - accountService.create(Account); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加结算账户异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加结算账户回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加结算账户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加结算账户名称为 " + model.getName() + " " + tipMsg + "!", "增加结算账户" + tipMsg)); - Log.infoFileSync("==================结束调用增加结算账户方法==================="); - } - - /** - * 删除结算账户 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除结算账户信息方法delete()================"); - try { - accountService.delete(model.getAccountID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getAccountID() + " 的结算账户异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除结算账户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除结算账户ID为 " + model.getAccountID() + ",名称为 " + model.getName() + tipMsg + "!", "删除结算账户" + tipMsg)); - Log.infoFileSync("====================结束调用删除结算账户信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新结算账户 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Account Account = accountService.get(model.getAccountID()); - Account.setName(model.getName()); - Account.setSerialNo(model.getSerialNo()); - Account.setInitialAmount(model.getInitialAmount() != null ? model.getInitialAmount() : 0); - Account.setCurrentAmount(model.getCurrentAmount()); - Account.setRemark(model.getRemark()); - accountService.update(Account); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改结算账户ID为 : " + model.getAccountID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改结算账户回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新结算账户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新结算账户ID为 " + model.getAccountID() + " " + tipMsg + "!", "更新结算账户" + tipMsg)); - } - - /** - * 更新结算账户金额 - * - * @return - */ - public void updateAmount() { - Boolean flag = false; - try { - Account Account = accountService.get(model.getAccountID()); - Account.setCurrentAmount(model.getCurrentAmount()); - accountService.update(Account); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改结算账户ID为 : " + model.getAccountID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改结算账户回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新结算账户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新结算账户ID为 " + model.getAccountID() + " " + tipMsg + "!", "更新结算账户" + tipMsg)); - } - - /** - * 更新结算账户-设置是否默认 - * - * @return - */ - public void updateAmountIsDefault() { - Boolean flag = false; - try { - Account Account = accountService.get(model.getAccountID()); - Account.setIsDefault(model.getIsDefault()); - accountService.update(Account); - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改结算账户ID为 : " + model.getAccountID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改结算账户回写客户端结果异常", e); - } - } - //如果改为默认账户时记录日志 - if (model.getIsDefault()) { - logService.create(new Logdetails(getUser(), "更新默认账户", model.getClientIp(), new Timestamp(System.currentTimeMillis()), - tipType, "更新账户ID" + model.getAccountID() + "为默认账户" + tipMsg + "!", "更新默认账户" + tipMsg)); - } - } - - /** - * 批量删除指定ID结算账户 - * - * @return - */ - public String batchDelete() { - try { - accountService.batchDelete(model.getAccountIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除结算账户ID为:" + model.getAccountIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除结算账户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除结算账户ID为 " + model.getAccountIDs() + " " + tipMsg + "!", "批量删除结算账户" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = accountService.checkIsNameExist("name", model.getName(), "id", model.getAccountID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查结算账户名称为:" + model.getName() + " ID为: " + model.getAccountID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查结算账户名称为:" + model.getName() + " ID为: " + model.getAccountID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找结算账户信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - accountService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Account account : dataList) { - DecimalFormat df = new DecimalFormat(".##"); - JSONObject item = new JSONObject(); - item.put("id", account.getId()); - //结算账户名称 - item.put("name", account.getName()); - item.put("serialNo", account.getSerialNo()); - item.put("initialAmount", account.getInitialAmount()); - String timeStr = Tools.getCurrentMonth(); - Double thisMonthAmount = getAccountSum(account.getId(), timeStr, "month") + getAccountSumByHead(account.getId(), timeStr, "month") + getAccountSumByDetail(account.getId(), timeStr, "month") + getManyAccountSum(account.getId(), timeStr, "month"); - String thisMonthAmountFmt = "0"; - if (thisMonthAmount != 0) { - thisMonthAmountFmt = df.format(thisMonthAmount); - } - item.put("thisMonthAmount", thisMonthAmountFmt); //本月发生额 - Double currentAmount = getAccountSum(account.getId(), "", "month") + getAccountSumByHead(account.getId(), "", "month") + getAccountSumByDetail(account.getId(), "", "month") + getManyAccountSum(account.getId(), "", "month") + account.getInitialAmount(); - String currentAmountFmt = df.format(currentAmount); - item.put("currentAmount", currentAmountFmt); //当前余额 - item.put("isDefault", account.getIsDefault()); //是否默认 - item.put("remark", account.getRemark()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找结算账户信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询结算账户信息结果异常", e); - } - } - - /** - * 单个账户的金额求和-入库和出库 - * - * @param id - * @return - */ - public Double getAccountSum(Long id, String timeStr, String type) { - Double accountSum = 0.0; - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_getSum(id, timeStr, type)); - depotHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - if (dataList != null) { - for (DepotHead depotHead : dataList) { - accountSum = accountSum + depotHead.getChangeAmount(); - } - } - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找进销存信息异常", e); - } - return accountSum; - } - - /** - * 单个账户的金额求和-收入、支出、转账的单据表头的合计 - * - * @param id - * @return - */ - public Double getAccountSumByHead(Long id, String timeStr, String type) { - Double accountSum = 0.0; - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_getSumByHead(id, timeStr, type)); - accountHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - if (dataList != null) { - for (AccountHead accountHead : dataList) { - accountSum = accountSum + accountHead.getChangeAmount(); - } - } - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找进销存信息异常", e); - } - return accountSum; - } - - /** - * 单个账户的金额求和-收款、付款、转账、收预付款的单据明细的合计 - * - * @param id - * @return - */ - public Double getAccountSumByDetail(Long id, String timeStr, String type) { - Double accountSum = 0.0; - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_getSumByHead(timeStr, type)); - accountHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - if (dataList != null) { - String ids = ""; - for (AccountHead accountHead : dataList) { - ids = ids + accountHead.getId() + ","; - } - if (!ids.equals("")) { - ids = ids.substring(0, ids.length() - 1); - } - PageUtil pageUtilOne = new PageUtil(); - pageUtilOne.setPageSize(0); - pageUtilOne.setCurPage(0); - pageUtilOne.setAdvSearch(getCondition_getSumByDetail(id, ids)); - accountItemService.find(pageUtilOne); - List dataListOne = pageUtilOne.getPageList(); - if (dataListOne != null) { - for (AccountItem accountItem : dataListOne) { - accountSum = accountSum + accountItem.getEachAmount(); - } - } - } - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找进销存信息异常", e); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>异常信息:", e); - } - return accountSum; - } - - /** - * 单个账户的金额求和-多账户的明细合计 - * - * @param id - * @return - */ - public Double getManyAccountSum(Long id, String timeStr, String type) { - Double accountSum = 0.0; - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_getManyAccountSum(id, timeStr, type)); - depotHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - if (dataList != null) { - for (DepotHead depotHead : dataList) { - String accountIdList = depotHead.getAccountIdList(); - String accountMoneyList = depotHead.getAccountMoneyList(); - accountIdList = accountIdList.replace("[", "").replace("]", "").replace("\"", ""); - accountMoneyList = accountMoneyList.replace("[", "").replace("]", "").replace("\"", ""); - String[] aList = accountIdList.split(","); - String[] amList = accountMoneyList.split(","); - for (int i = 0; i < aList.length; i++) { - if (aList[i].toString().equals(id.toString())) { - accountSum = accountSum + Double.parseDouble(amList[i].toString()); - } - } - } - } - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找信息异常", e); - } - return accountSum; - } - - /** - * 查找结算账户信息-下拉框 - * - * @return - */ - public void findBySelect() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_select()); - accountService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Account account : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", account.getId()); - //结算账户名称 - item.put("AccountName", account.getName()); - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找结算账户信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询结算账户信息结果异常", e); - } - } - - /** - * 账户流水信息 - */ - public void findAccountInOutList() { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - Long accountId = model.getAccountID(); - Double initialAmount = model.getInitialAmount(); - try { - accountService.findAccountInOutList(pageUtil, accountId); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (dataList != null) { - for (Integer i = 0; i < dataList.size(); i++) { - JSONObject item = new JSONObject(); - Object dl = dataList.get(i); //获取对象 - Object[] arr = (Object[]) dl; //转为数组 - item.put("number", arr[0]); //单据编号 - item.put("type", arr[1]); //类型 - item.put("supplierName", arr[2]); //单位信息 - item.put("changeAmount", arr[3]); //金额 - String timeStr = arr[4].toString(); - Double balance = getAccountSum(accountId, timeStr, "date") + getAccountSumByHead(accountId, timeStr, "date") - + getAccountSumByDetail(accountId, timeStr, "date") + getManyAccountSum(accountId, timeStr, "date") + initialAmount; - item.put("balance", balance); //余额 - item.put("operTime", arr[4]); //入库出库日期 - item.put("aList", arr[5]); //多账户的id列表 - item.put("amList", arr[6]); //多账户的金额列表 - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("name_s_like", model.getName()); - condition.put("serialNo_s_like", model.getSerialNo()); - condition.put("remark_s_like", model.getRemark()); - condition.put("id_s_order", "desc"); - return condition; - } - - /** - * 拼接搜索条件-下拉框-结算账户 - * - * @return - */ - private Map getCondition_select() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("id_s_order", "desc"); - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition_getSum(Long id, String timeStr, String type) { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("AccountId_n_eq", id); - condition.put("PayType_s_neq", "预付款"); - if (!timeStr.equals("")) { - if (type.equals("month")) { - condition.put("OperTime_s_gteq", timeStr + "-01 00:00:00"); - condition.put("OperTime_s_lteq", timeStr + "-31 00:00:00"); - } else if (type.equals("date")) { - condition.put("OperTime_s_lteq", timeStr); - } - } - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition_getManyAccountSum(Long id, String timeStr, String type) { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("AccountIdList_s_like", "\"" + id.toString() + "\""); - if (!timeStr.equals("")) { - if (type.equals("month")) { - condition.put("OperTime_s_gteq", timeStr + "-01 00:00:00"); - condition.put("OperTime_s_lteq", timeStr + "-31 00:00:00"); - } else if (type.equals("date")) { - condition.put("OperTime_s_lteq", timeStr); - } - } - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition_getSumByHead(Long id, String timeStr, String type) { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("AccountId_n_eq", id); - if (!timeStr.equals("")) { - if (type.equals("month")) { - condition.put("BillTime_s_gteq", timeStr + "-01 00:00:00"); - condition.put("BillTime_s_lteq", timeStr + "-31 00:00:00"); - } else if (type.equals("date")) { - condition.put("BillTime_s_lteq", timeStr); - } - } - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition_getSumByHead(String timeStr, String type) { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - if (!timeStr.equals("")) { - if (type.equals("month")) { - condition.put("BillTime_s_gteq", timeStr + "-01 00:00:00"); - condition.put("BillTime_s_lteq", timeStr + "-31 00:00:00"); - } else if (type.equals("date")) { - condition.put("BillTime_s_lteq", timeStr); - } - } - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition_getSumByDetail(Long id, String ids) { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("AccountId_n_eq", id); - if (!ids.equals("")) { - condition.put("HeaderId_s_in", ids); - } - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public AccountModel getModel() { - return model; - } - - public void setAccountService(AccountIService accountService) { - this.accountService = accountService; - } - - public void setDepotHeadService(DepotHeadIService depotHeadService) { - this.depotHeadService = depotHeadService; - } - - public void setAccountHeadService(AccountHeadIService accountHeadService) { - this.accountHeadService = accountHeadService; - } - - public void setAccountItemService(AccountItemIService accountItemService) { - this.accountItemService = accountItemService; - } -} diff --git a/src/main/java/com/jsh/action/basic/AppAction.java b/src/main/java/com/jsh/action/basic/AppAction.java deleted file mode 100644 index 71d623bff48a81981369c437a836c383e6ba4c0d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/AppAction.java +++ /dev/null @@ -1,482 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.App; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.AppModel; -import com.jsh.service.basic.AppIService; -import com.jsh.service.basic.UserBusinessIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.apache.struts2.ServletActionContext; -import org.springframework.dao.DataAccessException; - -import java.io.*; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * 应用 - * - * @author ji_sheng_hua qq752 718 920 - */ -@SuppressWarnings("serial") -public class AppAction extends BaseAction { - private AppIService appService; - private UserBusinessIService userBusinessService; - private AppModel model = new AppModel(); - - /** - * 上传图片 - */ - public void uploadImg() { - Log.infoFileSync("==================开始调用上传图片方法uploadImg()==================="); - File fileInfo = model.getFileInfo(); - String fileName = model.getFileInfoName(); //获取文件名 - try { - if (fileInfo != null) { - String path = ServletActionContext.getServletContext().getRealPath("/upload/images/deskIcon"); - InputStream is = new FileInputStream(fileInfo); - File file = new File(path, fileName); - OutputStream os = new FileOutputStream(file); - byte[] b = new byte[1024]; - int bs = 0; - while ((bs = is.read(b)) > 0) { - os.write(b, 0, bs); - } - is.close(); - os.close(); - } - } catch (FileNotFoundException e) { - // TODO Auto-generated catch block - // e.printStackTrace(); - } catch (IOException e) { - // TODO Auto-generated catch block - // e.printStackTrace(); - } - Log.infoFileSync("==================结束调用上传图片方法uploadImg()==================="); - } - - /** - * 增加应用 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加应用方法create()==================="); - Boolean flag = false; - try { - App app = new App(); - app.setNumber(model.getNumber()); - app.setName(model.getName()); - app.setType(model.getType()); - app.setIcon(model.getIcon()); //设置图片Icon - app.setURL(model.getURL()); - app.setWidth(model.getWidth()); - app.setHeight(model.getHeight()); - app.setReSize(model.getReSize()); - app.setOpenMax(model.getOpenMax()); - app.setFlash(model.getFlash()); - app.setZL(model.getZL()); - app.setSort(model.getSort()); - app.setRemark(model.getRemark()); - app.setEnabled(model.getEnabled()); - appService.create(app); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加应用异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加应用回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加应用", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加应用名称为 " + model.getName() + " " + tipMsg + "!", "增加应用" + tipMsg)); - Log.infoFileSync("==================结束调用增加应用方法create()==================="); - } - - /** - * 删除应用 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除应用方法delete()================"); - try { - appService.delete(model.getAppID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getAppID() + " 的应用异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除应用", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除应用ID为 " + model.getAppID() + " " + tipMsg + "!", "删除应用" + tipMsg)); - Log.infoFileSync("====================结束调用删除应用方法delete()================"); - return SUCCESS; - } - - /** - * 更新仓库 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - App app = appService.get(model.getAppID()); - app.setNumber(model.getNumber()); - app.setName(model.getName()); - app.setType(model.getType()); - //app.setIcon(model.getIcon()); - app.setURL(model.getURL()); - app.setWidth(model.getWidth()); - app.setHeight(model.getHeight()); - app.setReSize(model.getReSize()); - app.setOpenMax(model.getOpenMax()); - app.setFlash(model.getFlash()); - app.setZL(model.getZL()); - app.setSort(model.getSort()); - app.setRemark(model.getRemark()); - app.setEnabled(model.getEnabled()); - appService.update(app); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改应用ID为 : " + model.getAppID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改应用回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新应用", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新应用ID为 " + model.getAppID() + " " + tipMsg + "!", "更新应用" + tipMsg)); - } - - /** - * 批量删除指定ID应用 - * - * @return - */ - public String batchDelete() { - try { - appService.batchDelete(model.getAppIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除应用ID为:" + model.getAppIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除应用", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除应用ID为 " + model.getAppIDs() + " " + tipMsg + "!", "批量删除应用" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = appService.checkIsNameExist("name", model.getName(), "Id", model.getAppID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查应用名称为:" + model.getName() + " ID为: " + model.getAppID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查应用名称为:" + model.getName() + " ID为: " + model.getAppID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找应用信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - appService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (App app : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", app.getId()); - //应用名称 - item.put("Number", app.getNumber()); - item.put("Name", app.getName()); - item.put("Type", app.getType()); - item.put("Icon", app.getIcon()); - item.put("URL", app.getURL()); - item.put("Width", app.getWidth()); - item.put("Height", app.getHeight()); - item.put("ReSize", app.getReSize()); - item.put("OpenMax", app.getOpenMax()); - item.put("Flash", app.getFlash()); - item.put("ZL", app.getZL()); - item.put("Sort", app.getSort()); - item.put("Remark", app.getRemark()); - item.put("Enabled", app.getEnabled()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找应用异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询应用结果异常", e); - } - } - - /** - * 桌面应用显示 - * - * @return - */ - public void findDesk() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(100); - //pageUtil.setCurPage(model.getPageNo()); - - JSONObject outer = new JSONObject(); - - //下面是dock - pageUtil.setAdvSearch(getCondition_dock()); - appService.find(pageUtil); - List dataList1 = pageUtil.getPageList(); - - //开始拼接json数据 - //存放数据json数组 - JSONArray dataArray1 = new JSONArray(); - if (null != dataList1) { - for (App app : dataList1) { - JSONObject item = new JSONObject(); - item.put("id", app.getId()); - item.put("title", app.getName()); - item.put("type", app.getType()); - item.put("icon", "../../upload/images/deskIcon/" + app.getIcon()); - item.put("url", app.getURL()); - item.put("width", app.getWidth()); - item.put("height", app.getHeight()); - item.put("isresize", app.getReSize()); - item.put("isopenmax", app.getOpenMax()); - item.put("isflash", app.getFlash()); - dataArray1.add(item); - } - } - outer.put("dock", dataArray1); - - //下面是desk - pageUtil.setAdvSearch(getCondition_desk()); - appService.find(pageUtil); - List dataList2 = pageUtil.getPageList(); - - //开始拼接json数据 - //存放数据json数组 - JSONArray dataArray2 = new JSONArray(); - if (null != dataList2) { - for (App app : dataList2) { - JSONObject item = new JSONObject(); - item.put("id", app.getId()); - item.put("title", app.getName()); - item.put("type", app.getType()); - item.put("icon", "../../upload/images/deskIcon/" + app.getIcon()); - item.put("url", "../../pages/common/menu.jsp?appID=" + app.getNumber() + "&id=" + app.getId()); - item.put("width", app.getWidth()); - item.put("height", app.getHeight()); - item.put("isresize", app.getReSize()); - item.put("isopenmax", app.getOpenMax()); - item.put("isflash", app.getFlash()); - dataArray2.add(item); - } - } - outer.put("desk", dataArray2); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找应用异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询应用结果异常", e); - } - } - - - /** - * 角色对应应用显示 - * - * @return - */ - public void findRoleAPP() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(100); - //pageUtil.setCurPage(model.getPageNo()); - - pageUtil.setAdvSearch(getCondition_RoleAPP()); - appService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 - JSONObject outer = new JSONObject(); - outer.put("id", 1); - outer.put("text", "应用列表"); - outer.put("state", "open"); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (App app : dataList) { - JSONObject item = new JSONObject(); - item.put("id", app.getId()); - item.put("text", app.getName()); - //勾选判断1 - Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + app.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置角色对应的应用:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item.put("checked", true); - } - //结束 - dataArray.add(item); - } - } - outer.put("children", dataArray); - //回写查询结果 - toClient("[" + outer.toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找应用异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询应用结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name_s_like", model.getName()); - condition.put("Type_s_like", model.getType()); - condition.put("Sort_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-桌面dock - * - * @return - */ - private Map getCondition_dock() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("ZL_s_eq", "dock"); - condition.put("Enabled_n_eq", 1); - condition.put("Sort_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-桌面desk - * - * @return - */ - private Map getCondition_desk() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("ZL_s_eq", "desk"); - condition.put("Enabled_n_eq", 1); - condition.put("Sort_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-角色对应应用 - * - * @return - */ - private Map getCondition_RoleAPP() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Enabled_n_eq", 1); - condition.put("Sort_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public AppModel getModel() { - return model; - } - - public void setAppService(AppIService appService) { - this.appService = appService; - } - - public void setUserBusinessService(UserBusinessIService userBusinessService) { - this.userBusinessService = userBusinessService; - } - -} diff --git a/src/main/java/com/jsh/action/basic/AssetNameAction.java b/src/main/java/com/jsh/action/basic/AssetNameAction.java deleted file mode 100644 index 30ba0b58fceeb1864940340890ff19e75d7506f1..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/AssetNameAction.java +++ /dev/null @@ -1,247 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Assetname; -import com.jsh.model.po.Category; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.AssetNameModel; -import com.jsh.service.basic.AssetNameIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class AssetNameAction extends BaseAction { - private AssetNameModel model = new AssetNameModel(); - - private AssetNameIService assetnameService; - - /** - * 增加资产名称 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加资产名称方法create()==================="); - Boolean flag = false; - try { - Assetname assetname = new Assetname(); - assetname.setAssetname(model.getAssetName()); - //增加资产类型 - assetname.setCategory(new Category(model.getCategoryID())); - - assetname.setIsystem((short) 1); - assetname.setIsconsumables(model.getConsumable()); - assetname.setDescription(model.getDescription()); - assetnameService.create(assetname); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加资产名称异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加资产名称回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加资产名称", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加资产名称名称为 " + model.getAssetName() + " " + tipMsg + "!", "增加资产名称" + tipMsg)); - Log.infoFileSync("==================结束调用增加资产名称方法create()==================="); - } - - /** - * 删除资产名称 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除资产名称信息方法delete()================"); - try { - assetnameService.delete(model.getAssetNameID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getAssetNameID() + " 的资产名称异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除资产名称", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除资产名称ID为 " + model.getAssetNameID() + " " + tipMsg + "!", "删除资产名称" + tipMsg)); - Log.infoFileSync("====================结束调用删除资产名称信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新资产名称 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Assetname assetname = assetnameService.get(model.getAssetNameID()); - //增加资产类型 - assetname.setCategory(new Category(model.getCategoryID())); - assetname.setAssetname(model.getAssetName()); - assetname.setIsconsumables(model.getConsumable()); - assetname.setDescription(model.getDescription()); - assetnameService.update(assetname); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改资产名称ID为 : " + model.getAssetNameID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改资产名称回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新资产名称", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新资产名称ID为 " + model.getAssetNameID() + " " + tipMsg + "!", "更新资产名称" + tipMsg)); - } - - /** - * 批量删除指定ID资产名称 - * - * @return - */ - public String batchDelete() { - try { - assetnameService.batchDelete(model.getAssetNameIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除资产名称ID为:" + model.getAssetNameIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除资产名称", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除资产名称ID为 " + model.getAssetNameIDs() + " " + tipMsg + "!", "批量删除资产名称" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = assetnameService.checkIsNameExist("assetname", model.getAssetName(), "id", model.getAssetNameID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查资产名称名称为:" + model.getAssetName() + " ID为: " + model.getAssetNameID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查资产名称名称为:" + model.getAssetName() + " ID为: " + model.getAssetNameID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找供应商信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - assetnameService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Assetname assetname : dataList) { - JSONObject item = new JSONObject(); - item.put("id", assetname.getId()); - //供应商名称 - item.put("assetname", assetname.getAssetname()); - item.put("isystem", assetname.getIsystem() == (short) 0 ? "是" : "否"); - item.put("consumable", assetname.getIsconsumables() == (short) 0 ? "是" : "否"); - item.put("consumableStatus", assetname.getIsconsumables()); - item.put("description", assetname.getDescription()); - item.put("categoryID", assetname.getCategory().getId()); - item.put("category", assetname.getCategory().getAssetname()); - item.put("op", assetname.getIsystem()); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找资产名称信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询资产名称信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("assetname_s_like", model.getAssetName()); - condition.put("isconsumables_n_eq", model.getConsumable()); - condition.put("description_s_like", model.getDescription()); - condition.put("category.id_n_eq", model.getCategoryID()); - condition.put("id_s_order", "desc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public AssetNameModel getModel() { - return model; - } - - public void setAssetnameService(AssetNameIService assetnameService) { - this.assetnameService = assetnameService; - } -} diff --git a/src/main/java/com/jsh/action/basic/CategoryAction.java b/src/main/java/com/jsh/action/basic/CategoryAction.java deleted file mode 100644 index b1dd5c5e45ab7c0acffe3d2833cd7f806a344b00..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/CategoryAction.java +++ /dev/null @@ -1,235 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Category; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.CategoryModel; -import com.jsh.service.basic.CategoryIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * @author jishenghua qq:7-5-2-7-1-8-9-2-0 - */ -@SuppressWarnings("serial") -public class CategoryAction extends BaseAction { - private CategoryIService categoryService; - private CategoryModel model = new CategoryModel(); - - /** - * 增加资产类型 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加资产类型方法create()==================="); - Boolean flag = false; - try { - Category category = new Category(); - category.setAssetname(model.getCategoryName()); - category.setIsystem((short) 1); - category.setDescription(model.getDescription()); - categoryService.create(category); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加资产类型异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加资产类型回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加资产类型", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加资产类型名称为 " + model.getCategoryName() + " " + tipMsg + "!", "增加资产类型" + tipMsg)); - Log.infoFileSync("==================结束调用增加资产类型方法create()==================="); - } - - /** - * 删除资产类型 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除资产类型信息方法delete()================"); - try { - categoryService.delete(model.getCategoryID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getCategoryID() + " 的资产类型异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除资产类型", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除资产类型ID为 " + model.getCategoryID() + " " + tipMsg + "!", "删除资产类型" + tipMsg)); - Log.infoFileSync("====================结束调用删除资产类型信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新资产类型 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Category category = categoryService.get(model.getCategoryID()); - category.setAssetname(model.getCategoryName()); - category.setDescription(model.getDescription()); - categoryService.update(category); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改资产类型ID为 : " + model.getCategoryID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改资产类型回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新资产类型", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新资产类型ID为 " + model.getCategoryID() + " " + tipMsg + "!", "更新资产类型" + tipMsg)); - } - - /** - * 批量删除指定ID资产类型 - * - * @return - */ - public String batchDelete() { - try { - categoryService.batchDelete(model.getCategoryIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除资产类型ID为:" + model.getCategoryIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除资产类型", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除资产类型ID为 " + model.getCategoryIDs() + " " + tipMsg + "!", "批量删除资产类型" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = categoryService.checkIsNameExist("assetname", model.getCategoryName(), "id", model.getCategoryID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查资产类型名称为:" + model.getCategoryName() + " ID为: " + model.getCategoryID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查资产类型名称为:" + model.getCategoryName() + " ID为: " + model.getCategoryID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找供应商信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - categoryService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Category category : dataList) { - JSONObject item = new JSONObject(); - item.put("id", category.getId()); - //供应商名称 - item.put("categoryname", category.getAssetname()); - item.put("isystem", category.getIsystem() == (short) 0 ? "是" : "否"); - item.put("description", category.getDescription()); - item.put("op", category.getIsystem()); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找资产类型信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询资产类型信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("assetname_s_like", model.getCategoryName()); - condition.put("description_s_like", model.getDescription()); - condition.put("id_s_order", "desc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public CategoryModel getModel() { - return model; - } - - public void setCategoryService(CategoryIService categoryService) { - this.categoryService = categoryService; - } -} diff --git a/src/main/java/com/jsh/action/basic/DepotAction.java b/src/main/java/com/jsh/action/basic/DepotAction.java deleted file mode 100644 index fcb636f9d8fad96d03a85e216ad1e3cb713e7607..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/DepotAction.java +++ /dev/null @@ -1,429 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Depot; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.DepotModel; -import com.jsh.service.basic.DepotIService; -import com.jsh.service.basic.UserBusinessIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * 仓库管理 - * - * @author jishenghua qq:7-5-2-7-1-8-9-2-0 - */ -@SuppressWarnings("serial") -public class DepotAction extends BaseAction { - private DepotIService depotService; - private UserBusinessIService userBusinessService; - private DepotModel model = new DepotModel(); - - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getBasicData() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("sort_s_order", "asc"); - depotService.find(pageUtil); - mapData.put("depotList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找系统基础数据信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 增加仓库 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加仓库信息方法create()==================="); - Boolean flag = false; - try { - Depot depot = new Depot(); - depot.setName(model.getName()); - depot.setAddress(model.getAddress()); - depot.setWarehousing(model.getWarehousing()); - depot.setTruckage(model.getTruckage()); - depot.setType(model.getType()); - depot.setSort(model.getSort()); - depot.setRemark(model.getRemark()); - depotService.create(depot); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加仓库信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加仓库信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加仓库", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加仓库名称为 " + model.getName() + " " + tipMsg + "!", "增加仓库" + tipMsg)); - Log.infoFileSync("==================结束调用增加仓库方法create()==================="); - } - - /** - * 删除仓库 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除仓库信息方法delete()================"); - try { - depotService.delete(model.getDepotID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getDepotID() + " 的仓库异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除仓库", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除仓库ID为 " + model.getDepotID() + " " + tipMsg + "!", "删除仓库" + tipMsg)); - Log.infoFileSync("====================结束调用删除仓库信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新仓库 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Depot depot = depotService.get(model.getDepotID()); - depot.setName(model.getName()); - depot.setAddress(model.getAddress()); - depot.setWarehousing(model.getWarehousing()); - depot.setTruckage(model.getTruckage()); - depot.setType(model.getType()); - depot.setSort(model.getSort()); - depot.setRemark(model.getRemark()); - depotService.update(depot); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改仓库ID为 : " + model.getDepotID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改仓库回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新仓库", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新仓库ID为 " + model.getDepotID() + " " + tipMsg + "!", "更新仓库" + tipMsg)); - } - - /** - * 批量删除指定ID仓库 - * - * @return - */ - public String batchDelete() { - try { - depotService.batchDelete(model.getDepotIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除仓库ID为:" + model.getDepotIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除仓库", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除仓库ID为 " + model.getDepotIDs() + " " + tipMsg + "!", "批量删除仓库" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = depotService.checkIsNameExist("name", model.getName(), "id", model.getDepotID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查仓库名称为:" + model.getName() + " ID为: " + model.getDepotID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查仓库名称为:" + model.getName() + " ID为: " + model.getDepotID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找仓库信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - depotService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Depot depot : dataList) { - JSONObject item = new JSONObject(); - item.put("id", depot.getId()); - //供应商名称 - item.put("name", depot.getName()); - item.put("address", depot.getAddress()); - item.put("warehousing", depot.getWarehousing()); - item.put("truckage", depot.getTruckage()); - item.put("type", depot.getType()); - item.put("sort", depot.getSort()); - item.put("remark", depot.getRemark()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找仓库信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询仓库信息结果异常", e); - } - } - - /** - * 查找礼品卡-虚拟仓库 - * - * @return - */ - public void findGiftByType() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionByType()); - depotService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Depot depot : dataList) { - JSONObject item = new JSONObject(); - item.put("id", depot.getId()); - //仓库名称 - item.put("name", depot.getName()); - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找仓库信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询仓库信息结果异常", e); - } - } - - /** - * 用户对应仓库显示 - * - * @return - */ - public void findUserDepot() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(100); - //pageUtil.setCurPage(model.getPageNo()); - - pageUtil.setAdvSearch(getCondition_UserDepot()); - depotService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 - JSONObject outer = new JSONObject(); - outer.put("id", 1); - outer.put("text", "仓库列表"); - outer.put("state", "open"); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Depot depot : dataList) { - JSONObject item = new JSONObject(); - item.put("id", depot.getId()); - item.put("text", depot.getName()); - //勾选判断1 - Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + depot.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置用户对应的仓库:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item.put("checked", true); - } - //结束 - dataArray.add(item); - } - } - outer.put("children", dataArray); - //回写查询结果 - toClient("[" + outer.toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找仓库异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询仓库结果异常", e); - } - } - - /** - * 根据用户查找对应仓库列表-仅显示有权限的 - * - * @return - */ - public void findDepotByUserId() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_UserDepot()); - depotService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Depot depot : dataList) { - JSONObject item = new JSONObject(); - //勾选判断1 - Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + depot.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>查询用户对应的仓库:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item.put("id", depot.getId()); - item.put("depotName", depot.getName()); - dataArray.add(item); - } - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找仓库异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询仓库结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("name_s_like", model.getName()); - condition.put("remark_s_like", model.getRemark()); - condition.put("type_n_eq", model.getType()); //0-仓库,1-礼品卡 - condition.put("sort_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getConditionByType() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("type_n_eq", model.getType()); //0-仓库,1-礼品卡 - condition.put("sort_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-用户对应仓库 - * - * @return - */ - private Map getCondition_UserDepot() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("type_n_eq", 0); - condition.put("sort_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public DepotModel getModel() { - return model; - } - - public void setDepotService(DepotIService depotService) { - this.depotService = depotService; - } - - public void setUserBusinessService(UserBusinessIService userBusinessService) { - this.userBusinessService = userBusinessService; - } - -} diff --git a/src/main/java/com/jsh/action/basic/FunctionsAction.java b/src/main/java/com/jsh/action/basic/FunctionsAction.java deleted file mode 100644 index e5909c8c7280b46617ca6bdcdf9b9b1d6adcc285..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/FunctionsAction.java +++ /dev/null @@ -1,566 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Functions; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.FunctionsModel; -import com.jsh.service.basic.FunctionsIService; -import com.jsh.service.basic.UserBusinessIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 功能管理 - * @author jishenghua qq:7-5-2-7-1-8-9-2-0 - */ -@SuppressWarnings("serial") -public class FunctionsAction extends BaseAction { - private FunctionsIService functionsService; - private UserBusinessIService userBusinessService; - private FunctionsModel model = new FunctionsModel(); - - /** - * 增加功能 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加功能信息方法create()==================="); - Boolean flag = false; - try { - Functions functions = new Functions(); - functions.setNumber(model.getNumber()); - functions.setName(model.getName()); - functions.setPNumber(model.getPNumber()); - functions.setURL(model.getURL()); - functions.setState(model.getState()); - functions.setSort(model.getSort()); - functions.setEnabled(model.getEnabled()); - functions.setType(model.getType()); - functions.setPushBtn(model.getPushBtn()); - functionsService.create(functions); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加功能信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加功能信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加功能", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加功能名称为 " + model.getName() + " " + tipMsg + "!", "增加功能" + tipMsg)); - Log.infoFileSync("==================结束调用增加功能方法create()==================="); - } - - /** - * 删除功能 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除功能信息方法delete()================"); - try { - functionsService.delete(model.getFunctionsID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getFunctionsID() + " 的功能异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除功能", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除功能ID为 " + model.getFunctionsID() + " " + tipMsg + "!", "删除功能" + tipMsg)); - Log.infoFileSync("====================结束调用删除功能信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新功能 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Functions functions = functionsService.get(model.getFunctionsID()); - functions.setNumber(model.getNumber()); - functions.setName(model.getName()); - functions.setPNumber(model.getPNumber()); - functions.setURL(model.getURL()); - functions.setState(model.getState()); - functions.setSort(model.getSort()); - functions.setEnabled(model.getEnabled()); - functions.setType(model.getType()); - functions.setPushBtn(model.getPushBtn()); - functionsService.update(functions); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改功能ID为 : " + model.getFunctionsID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改功能回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新功能", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新功能ID为 " + model.getFunctionsID() + " " + tipMsg + "!", "更新功能" + tipMsg)); - } - - /** - * 批量删除指定ID功能 - * - * @return - */ - public String batchDelete() { - try { - functionsService.batchDelete(model.getFunctionsIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除功能ID为:" + model.getFunctionsIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除功能", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除功能ID为 " + model.getFunctionsIDs() + " " + tipMsg + "!", "批量删除功能" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = functionsService.checkIsNameExist("Name", model.getName(), "Id", model.getFunctionsID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查功能名称为:" + model.getName() + " ID为: " + model.getFunctionsID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查功能名称为:" + model.getName() + " ID为: " + model.getFunctionsID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找功能信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - functionsService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Functions functions : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", functions.getId()); - item.put("Number", functions.getNumber()); - item.put("Name", functions.getName()); - item.put("PNumber", functions.getPNumber()); - item.put("URL", functions.getURL()); - item.put("State", functions.getState()); - item.put("Sort", functions.getSort()); - item.put("Enabled", functions.getEnabled()); - item.put("Type", functions.getType()); - item.put("PushBtn", functions.getPushBtn()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找功能信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询功能信息结果异常", e); - } - } - - /** - * 根据id列表查找功能信息 - * - * @return - */ - public void findByIds() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionByIds()); - functionsService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Functions functions : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", functions.getId()); - item.put("Name", functions.getName()); - item.put("PushBtn", functions.getPushBtn()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找功能信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询功能信息结果异常", e); - } - } - - - /** - * 角色对应功能显示 - * - * @return - */ - public void findRoleFunctions() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(200); - pageUtil.setAdvSearch(getCondition_RoleFunctions("0")); - functionsService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 - JSONObject outer = new JSONObject(); - outer.put("id", 1); - outer.put("text", "功能列表"); - outer.put("state", "open"); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Functions functions : dataList) { - JSONObject item = new JSONObject(); - item.put("id", functions.getId()); - item.put("text", functions.getName()); - - //勾选判断1 - Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + functions.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item.put("checked", true); - } - //结束 - - pageUtil.setAdvSearch(getCondition_RoleFunctions(functions.getNumber())); - functionsService.find(pageUtil); - List dataList1 = pageUtil.getPageList(); - JSONArray dataArray1 = new JSONArray(); - if (null != dataList1) { - - for (Functions functions1 : dataList1) { - item.put("state", "open"); //如果不为空,节点不展开 - JSONObject item1 = new JSONObject(); - item1.put("id", functions1.getId()); - item1.put("text", functions1.getName()); - - //勾选判断2 - //Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + functions1.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item1.put("checked", true); - } - //结束 - - pageUtil.setAdvSearch(getCondition_RoleFunctions(functions1.getNumber())); - functionsService.find(pageUtil); - List dataList2 = pageUtil.getPageList(); - JSONArray dataArray2 = new JSONArray(); - if (null != dataList2) { - - for (Functions functions2 : dataList2) { - item1.put("state", "closed"); //如果不为空,节点不展开 - JSONObject item2 = new JSONObject(); - item2.put("id", functions2.getId()); - item2.put("text", functions2.getName()); - - //勾选判断3 - //Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + functions2.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item2.put("checked", true); - } - //结束 - - pageUtil.setAdvSearch(getCondition_RoleFunctions(functions2.getNumber())); - functionsService.find(pageUtil); - List dataList3 = pageUtil.getPageList(); - JSONArray dataArray3 = new JSONArray(); - if (null != dataList3) { - - for (Functions functions3 : dataList3) { - item2.put("state", "closed"); //如果不为空,节点不展开 - JSONObject item3 = new JSONObject(); - item3.put("id", functions3.getId()); - item3.put("text", functions3.getName()); - - //勾选判断4 - //Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + functions3.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item3.put("checked", true); - } - //结束 - - dataArray3.add(item3); - item2.put("children", dataArray3); - } - } - - dataArray2.add(item2); - item1.put("children", dataArray2); - } - } - - dataArray1.add(item1); - item.put("children", dataArray1); - } - - } - - dataArray.add(item); - } - outer.put("children", dataArray); - } - //回写查询结果 - toClient("[" + outer.toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找应用异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询应用结果异常", e); - } - } - - - /** - * 页面显示菜单 - * - * @return - */ - public void findMenu() { - try { - String fc = model.getHasFunctions(); //当前用户所拥有的功能列表,格式如:[1][2][5] - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(200); - pageUtil.setAdvSearch(getCondition_RoleFunctions(model.getPNumber())); - functionsService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Functions functions : dataList) { - JSONObject item = new JSONObject(); - - item.put("id", functions.getId()); - pageUtil.setAdvSearch(getCondition_RoleFunctions(functions.getNumber())); - functionsService.find(pageUtil); - List dataList1 = pageUtil.getPageList(); - JSONArray dataArray1 = new JSONArray(); - if (dataList1.size() != 0) { - item.put("text", functions.getName()); //是目录就没链接 - for (Functions functions1 : dataList1) { - item.put("state", "open"); //如果不为空,节点展开 - JSONObject item1 = new JSONObject(); - - pageUtil.setAdvSearch(getCondition_RoleFunctions(functions1.getNumber())); - functionsService.find(pageUtil); - List dataList2 = pageUtil.getPageList(); - if (fc.indexOf("[" + functions1.getId().toString() + "]") != -1 || dataList2.size() != 0) { - item1.put("id", functions1.getId()); - JSONArray dataArray2 = new JSONArray(); - if (dataList2.size() != 0) { - item1.put("text", functions1.getName());//是目录就没链接 - for (Functions functions2 : dataList2) { - item1.put("state", "closed"); //如果不为空,节点不展开 - JSONObject item2 = new JSONObject(); - - pageUtil.setAdvSearch(getCondition_RoleFunctions(functions2.getNumber())); - functionsService.find(pageUtil); - List dataList3 = pageUtil.getPageList(); - if (fc.indexOf("[" + functions2.getId().toString() + "]") != -1 || dataList3.size() != 0) { - item2.put("id", functions2.getId()); - JSONArray dataArray3 = new JSONArray(); - if (dataList3.size() != 0) { - item2.put("text", functions2.getName());//是目录就没链接 - for (Functions functions3 : dataList3) { - item2.put("state", "closed"); //如果不为空,节点不展开 - JSONObject item3 = new JSONObject(); - item3.put("id", functions3.getId()); - item3.put("text", functions3.getName()); - // - dataArray3.add(item3); - item2.put("children", dataArray3); - } - } else { - //不是目录,有链接 - item2.put("text", "" + functions2.getName() + ""); - } - } else { - //不是目录,有链接 - item2.put("text", "" + functions2.getName() + ""); - } - dataArray2.add(item2); - item1.put("children", dataArray2); - } - } else { - //不是目录,有链接 - item1.put("text", "" + functions1.getName() + ""); - } - } else { - //不是目录,有链接 - item1.put("text", "" + functions1.getName() + ""); - } - dataArray1.add(item1); - item.put("children", dataArray1); - } - } else { - //不是目录,有链接 - item.put("text", "" + functions.getName() + ""); - } - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找应用异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询应用结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name_s_like", model.getName()); - condition.put("Type_s_eq", model.getType()); - condition.put("Sort_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-角色对应功能 - * - * @return - */ - private Map getCondition_RoleFunctions(String num) { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Enabled_n_eq", 1); - condition.put("PNumber_s_eq", num); - condition.put("Sort_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-角色对应功能 - * - * @return - */ - private Map getConditionByIds() { - Map condition = new HashMap(); - condition.put("Enabled_n_eq", 1); - condition.put("Id_s_in", model.getFunctionsIDs()); - condition.put("Sort_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public FunctionsModel getModel() { - return model; - } - - public void setFunctionsService(FunctionsIService functionsService) { - this.functionsService = functionsService; - } - - public void setUserBusinessService(UserBusinessIService userBusinessService) { - this.userBusinessService = userBusinessService; - } - -} diff --git a/src/main/java/com/jsh/action/basic/InOutItemAction.java b/src/main/java/com/jsh/action/basic/InOutItemAction.java deleted file mode 100644 index f1f98d7fb8d315503f6bf61ee93a3a53a31064ba..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/InOutItemAction.java +++ /dev/null @@ -1,286 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.InOutItem; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.InOutItemModel; -import com.jsh.service.basic.InOutItemIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * 收支项目 - * - * @author ji*sheng*hua qq 7.5.2.7.1.8.9.2.0 - */ -@SuppressWarnings("serial") -public class InOutItemAction extends BaseAction { - private InOutItemIService inOutItemService; - private InOutItemModel model = new InOutItemModel(); - - /** - * 增加收支项目 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加收支项目方法==================="); - Boolean flag = false; - try { - InOutItem inOutItem = new InOutItem(); - inOutItem.setName(model.getName()); - inOutItem.setType(model.getType()); - inOutItem.setRemark(model.getRemark()); - inOutItemService.create(inOutItem); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加收支项目异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加收支项目回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加收支项目", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加收支项目名称为 " + model.getName() + " " + tipMsg + "!", "增加收支项目" + tipMsg)); - Log.infoFileSync("==================结束调用增加收支项目方法==================="); - } - - /** - * 删除收支项目 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除收支项目信息方法delete()================"); - try { - inOutItemService.delete(model.getInOutItemID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getInOutItemID() + " 的收支项目异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除收支项目", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除收支项目ID为 " + model.getInOutItemID() + ",名称为 " + model.getName() + tipMsg + "!", "删除收支项目" + tipMsg)); - Log.infoFileSync("====================结束调用删除收支项目信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新收支项目 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - InOutItem inOutItem = inOutItemService.get(model.getInOutItemID()); - inOutItem.setName(model.getName()); - inOutItem.setType(model.getType()); - inOutItem.setRemark(model.getRemark()); - inOutItemService.update(inOutItem); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改收支项目ID为 : " + model.getInOutItemID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改收支项目回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新收支项目", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新收支项目ID为 " + model.getInOutItemID() + " " + tipMsg + "!", "更新收支项目" + tipMsg)); - } - - /** - * 批量删除指定ID收支项目 - * - * @return - */ - public String batchDelete() { - try { - inOutItemService.batchDelete(model.getInOutItemIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除收支项目ID为:" + model.getInOutItemIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除收支项目", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除收支项目ID为 " + model.getInOutItemIDs() + " " + tipMsg + "!", "批量删除收支项目" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = inOutItemService.checkIsNameExist("name", model.getName(), "id", model.getInOutItemID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查收支项目名称为:" + model.getName() + " ID为: " + model.getInOutItemID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查收支项目名称为:" + model.getName() + " ID为: " + model.getInOutItemID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找收支项目信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - inOutItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (InOutItem inOutItem : dataList) { - JSONObject item = new JSONObject(); - item.put("id", inOutItem.getId()); - //收支项目名称 - item.put("name", inOutItem.getName()); - item.put("type", inOutItem.getType()); - item.put("remark", inOutItem.getRemark()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找收支项目信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询收支项目信息结果异常", e); - } - } - - /** - * 查找收支项目信息-下拉框 - * - * @return - */ - public void findBySelect() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_select()); - inOutItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (InOutItem inOutItem : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", inOutItem.getId()); - //收支项目名称 - item.put("InOutItemName", inOutItem.getName()); - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找收支项目信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询收支项目信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("name_s_like", model.getName()); - condition.put("remark_s_like", model.getRemark()); - condition.put("id_s_order", "desc"); - return condition; - } - - /** - * 拼接搜索条件-下拉框-收支项目 - * - * @return - */ - private Map getCondition_select() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - if (model.getType().equals("in")) { - condition.put("type_s_eq", "收入"); - } else if (model.getType().equals("out")) { - condition.put("type_s_eq", "支出"); - } - condition.put("id_s_order", "desc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public InOutItemModel getModel() { - return model; - } - - public void setInOutItemService(InOutItemIService inOutItemService) { - this.inOutItemService = inOutItemService; - } -} diff --git a/src/main/java/com/jsh/action/basic/LogAction.java b/src/main/java/com/jsh/action/basic/LogAction.java deleted file mode 100644 index 805f396f3d8068a1eb5c49c941d23f4041271391..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/LogAction.java +++ /dev/null @@ -1,174 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.LogModel; -import com.jsh.service.basic.UserIService; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - *日志管理 - * @author jishenghua qq:7-5-2-7-1-8-9-2-0 - */ -@SuppressWarnings("serial") -public class LogAction extends BaseAction { - private LogModel model = new LogModel(); - private UserIService userService; - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getBasicData() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.clear(); - condition.put("ismanager_n_eq", 0); - userService.find(pageUtil); - mapData.put("userList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找系统基础数据信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 删除日志 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除日志信息方法delete()================"); - try { - logService.delete(model.getLogID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getLogID() + " 的日志异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除日志", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除日志ID为 " + model.getLogID() + " " + tipMsg + "!", "删除日志" + tipMsg)); - Log.infoFileSync("====================结束调用删除日志信息方法delete()================"); - return SUCCESS; - } - - /** - * 批量删除指定ID日志 - * - * @return - */ - public String batchDelete() { - try { - logService.batchDelete(model.getLogIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除日志ID为:" + model.getLogIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除日志", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除日志ID为 " + model.getLogIDs() + " " + tipMsg + "!", "批量删除日志" + tipMsg)); - return SUCCESS; - } - - /** - * 查找日志信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - logService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Logdetails log : dataList) { - JSONObject item = new JSONObject(); - item.put("id", log.getId()); - item.put("clientIP", log.getClientIp()); - item.put("details", log.getContentdetails()); - item.put("createTime", Tools.getCenternTime(log.getCreatetime())); - item.put("operation", log.getOperation()); - item.put("remark", log.getRemark()); - item.put("status", log.getStatus() == 0 ? "成功" : "失败"); - item.put("statusShort", log.getStatus()); - item.put("username", log.getUser() == null ? "" : log.getUser().getUsername()); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找日志信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询日志信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("user.id_n_eq", model.getUsernameID()); - condition.put("createtime_s_gteq", model.getBeginTime()); - condition.put("createtime_s_lteq", model.getEndTime()); - condition.put("operation_s_like", model.getOperation()); - condition.put("clientIp_s_like", model.getClientIp()); - condition.put("status_n_eq", model.getStatus()); - condition.put("contentdetails_s_like", model.getContentdetails()); - condition.put("remark_s_like", model.getRemark()); - condition.put("createtime_s_order", "desc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - public void setUserService(UserIService userService) { - this.userService = userService; - } - - @Override - public LogModel getModel() { - return model; - } -} diff --git a/src/main/java/com/jsh/action/basic/RoleAction.java b/src/main/java/com/jsh/action/basic/RoleAction.java deleted file mode 100644 index b74b75b68e11a551c56c35d532c2092f888b47df..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/RoleAction.java +++ /dev/null @@ -1,301 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.Role; -import com.jsh.model.vo.basic.RoleModel; -import com.jsh.service.basic.RoleIService; -import com.jsh.service.basic.UserBusinessIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 角色管理 - * @author jishenghua qq:7-5-2-7-1-8-9-2-0 - */ -@SuppressWarnings("serial") -public class RoleAction extends BaseAction { - private RoleIService roleService; - private UserBusinessIService userBusinessService; - private RoleModel model = new RoleModel(); - - /** - * 增加角色 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加角色信息方法create()==================="); - Boolean flag = false; - try { - Role role = new Role(); - role.setName(model.getName()); - roleService.create(role); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加角色信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加角色信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加角色", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加角色名称为 " + model.getName() + " " + tipMsg + "!", "增加角色" + tipMsg)); - Log.infoFileSync("==================结束调用增加角色方法create()==================="); - } - - /** - * 删除角色 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除角色信息方法delete()================"); - try { - roleService.delete(model.getRoleID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getRoleID() + " 的角色异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除角色", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除角色ID为 " + model.getRoleID() + " " + tipMsg + "!", "删除角色" + tipMsg)); - Log.infoFileSync("====================结束调用删除角色信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新角色 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Role role = roleService.get(model.getRoleID()); - role.setName(model.getName()); - roleService.update(role); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改角色ID为 : " + model.getRoleID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改角色回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新角色", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新角色ID为 " + model.getRoleID() + " " + tipMsg + "!", "更新角色" + tipMsg)); - } - - /** - * 批量删除指定ID角色 - * - * @return - */ - public String batchDelete() { - try { - roleService.batchDelete(model.getRoleIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除角色ID为:" + model.getRoleIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除角色", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除角色ID为 " + model.getRoleIDs() + " " + tipMsg + "!", "批量删除角色" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = roleService.checkIsNameExist("name", model.getName(), "Id", model.getRoleID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查角色名称为:" + model.getName() + " ID为: " + model.getRoleID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查角色名称为:" + model.getName() + " ID为: " + model.getRoleID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找角色信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - roleService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Role role : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", role.getId()); - //供应商名称 - item.put("Name", role.getName()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找角色信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询角色信息结果异常", e); - } - } - - /** - * 用户对应角色显示 - * - * @return - */ - public void findUserRole() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(100); - //pageUtil.setCurPage(model.getPageNo()); - - pageUtil.setAdvSearch(getCondition_UserRole()); - roleService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 - JSONObject outer = new JSONObject(); - outer.put("id", 1); - outer.put("text", "角色列表"); - outer.put("state", "open"); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Role role : dataList) { - JSONObject item = new JSONObject(); - item.put("id", role.getId()); - item.put("text", role.getName()); - //勾选判断1 - Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + role.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置用户对应的角色:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item.put("checked", true); - } - //结束 - dataArray.add(item); - } - } - outer.put("children", dataArray); - //回写查询结果 - toClient("[" + outer.toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找角色异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询角色结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name_s_like", model.getName()); - condition.put("Id_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-用户对应角色 - * - * @return - */ - private Map getCondition_UserRole() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Id_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public RoleModel getModel() { - return model; - } - - public void setRoleService(RoleIService roleService) { - this.roleService = roleService; - } - - public void setUserBusinessService(UserBusinessIService userBusinessService) { - this.userBusinessService = userBusinessService; - } -} diff --git a/src/main/java/com/jsh/action/basic/SupplierAction.java b/src/main/java/com/jsh/action/basic/SupplierAction.java deleted file mode 100644 index 61f1b63af5e4081c55f5c90e3a62c610dcdc0639..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/SupplierAction.java +++ /dev/null @@ -1,795 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.Supplier; -import com.jsh.model.vo.basic.SupplierModel; -import com.jsh.service.basic.SupplierIService; -import com.jsh.service.basic.UserBusinessIService; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SupplierConstants; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.io.InputStream; -import java.sql.Timestamp; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 单位管理 - * @author ji-sheng-hua qq:7 5 2 7 1 8 9 2 0 - */ -@SuppressWarnings("serial") -public class SupplierAction extends BaseAction { - public static final String EXCEL = "excel"; //action返回excel结果 - private final static Integer ISYSTEM = 1; - private SupplierIService supplierService; - private UserBusinessIService userBusinessService; - private SupplierModel model = new SupplierModel(); - - /** - * 增加供应商 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加供应商方法==================="); - Boolean flag = false; - try { - Supplier supplier = new Supplier(); - supplier.setContacts(model.getContacts()); - supplier.setType(model.getType()); - supplier.setDescription(model.getDescription()); - supplier.setEmail(model.getEmail()); - supplier.setAdvanceIn(0.0); - supplier.setBeginNeedGet(model.getBeginNeedGet()); - supplier.setBeginNeedPay(model.getBeginNeedPay()); - supplier.setIsystem((short) 1); - supplier.setEnabled(true); - supplier.setPhonenum(model.getPhonenum()); - supplier.setSupplier(model.getSupplier()); - - supplier.setFax(model.getFax()); - supplier.setTelephone(model.getTelephone()); - supplier.setAddress(model.getAddress()); - supplier.setTaxNum(model.getTaxNum()); - supplier.setBankName(model.getBankName()); - supplier.setAccountNumber(model.getAccountNumber()); - supplier.setTaxRate(model.getTaxRate()); - - supplierService.create(supplier); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加供应商异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加供应商回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加供应商", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加供应商名称为 " + model.getSupplier() + " " + tipMsg + "!", "增加供应商" + tipMsg)); - Log.infoFileSync("==================结束调用增加供应商方法==================="); - } - - /** - * 删除供应商 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除供应商信息方法delete()================"); - try { - supplierService.delete(model.getSupplierID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getSupplierID() + " 的供应商异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除供应商", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除供应商ID为 " + model.getSupplierID() + ",名称为 " + model.getSupplier() + tipMsg + "!", "删除供应商" + tipMsg)); - Log.infoFileSync("====================结束调用删除供应商信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新供应商 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Supplier supplier = supplierService.get(model.getSupplierID()); - supplier.setContacts(model.getContacts()); - supplier.setType(model.getType()); - supplier.setDescription(model.getDescription()); - supplier.setEmail(model.getEmail()); - supplier.setAdvanceIn(supplier.getAdvanceIn()); - supplier.setBeginNeedGet(model.getBeginNeedGet()); - supplier.setBeginNeedPay(model.getBeginNeedPay()); - supplier.setIsystem((short) 1); - supplier.setPhonenum(model.getPhonenum()); - supplier.setSupplier(model.getSupplier()); - - supplier.setFax(model.getFax()); - supplier.setTelephone(model.getTelephone()); - supplier.setAddress(model.getAddress()); - supplier.setTaxNum(model.getTaxNum()); - supplier.setBankName(model.getBankName()); - supplier.setAccountNumber(model.getAccountNumber()); - supplier.setTaxRate(model.getTaxRate()); - - supplier.setEnabled(supplier.getEnabled()); - supplierService.update(supplier); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改供应商ID为 : " + model.getSupplierID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改供应商回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新供应商", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新供应商ID为 " + model.getSupplierID() + " " + tipMsg + "!", "更新供应商" + tipMsg)); - } - - /** - * 更新供应商-只更新预付款,其余用原来的值 - * - * @return - */ - public void updateAdvanceIn() { - Boolean flag = false; - try { - Supplier supplier = supplierService.get(model.getSupplierID()); - supplier.setContacts(supplier.getContacts()); - supplier.setType(supplier.getType()); - supplier.setDescription(supplier.getDescription()); - supplier.setEmail(supplier.getEmail()); - supplier.setAdvanceIn(supplier.getAdvanceIn() + model.getAdvanceIn()); //增加预收款的金额,可能增加的是负值 - supplier.setBeginNeedGet(supplier.getBeginNeedGet()); - supplier.setBeginNeedPay(supplier.getBeginNeedPay()); - supplier.setIsystem((short) 1); - supplier.setPhonenum(supplier.getPhonenum()); - supplier.setSupplier(supplier.getSupplier()); - - supplier.setFax(supplier.getFax()); - supplier.setTelephone(supplier.getTelephone()); - supplier.setAddress(supplier.getAddress()); - supplier.setTaxNum(supplier.getTaxNum()); - supplier.setBankName(supplier.getBankName()); - supplier.setAccountNumber(supplier.getAccountNumber()); - supplier.setTaxRate(supplier.getTaxRate()); - - supplier.setEnabled(supplier.getEnabled()); - supplierService.update(supplier); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改供应商ID为 : " + model.getSupplierID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改供应商回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新供应商预付款", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新供应商ID为 " + model.getSupplierID() + " " + tipMsg + "!", "更新供应商" + tipMsg)); - } - - /** - * 批量删除指定ID供应商 - * - * @return - */ - public String batchDelete() { - try { - supplierService.batchDelete(model.getSupplierIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除供应商ID为:" + model.getSupplierIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除供应商", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除供应商ID为 " + model.getSupplierIDs() + " " + tipMsg + "!", "批量删除供应商" + tipMsg)); - return SUCCESS; - } - - /** - * 批量设置状态-启用或者禁用 - * - * @return - */ - public String batchSetEnable() { - try { - supplierService.batchSetEnable(model.getEnabled(), model.getSupplierIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量修改状态,单位ID为:" + model.getSupplierIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量修改单位状态", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量修改状态,单位ID为 " + model.getSupplierIDs() + " " + tipMsg + "!", "批量修改单位状态" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = supplierService.checkIsNameExist("supplier", model.getSupplier(), "id", model.getSupplierID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查供应商名称为:" + model.getSupplier() + " ID为: " + model.getSupplierID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查供应商名称为:" + model.getSupplier() + " ID为: " + model.getSupplierID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找供应商信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - supplierService.find(pageUtil); - String sName = ""; - if ((model.getType()).equals("供应商")) { - sName = "pageUtilVendor"; - } else if ((model.getType()).equals("客户")) { - sName = "pageUtilCustomer"; - } else if ((model.getType()).equals("会员")) { - sName = "pageUtilMember"; - } - getSession().put(sName, pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Supplier supplier : dataList) { - JSONObject item = new JSONObject(); - item.put("id", supplier.getId()); - //供应商名称 - item.put("supplier", supplier.getSupplier()); - item.put("type", supplier.getType()); - item.put("contacts", supplier.getContacts()); - item.put("phonenum", supplier.getPhonenum()); - item.put("email", supplier.getEmail()); - item.put("AdvanceIn", supplier.getAdvanceIn()); - item.put("BeginNeedGet", supplier.getBeginNeedGet()); - item.put("BeginNeedPay", supplier.getBeginNeedPay()); - item.put("isystem", supplier.getIsystem() == (short) 0 ? "是" : "否"); - item.put("description", supplier.getDescription()); - - item.put("fax", supplier.getFax()); - item.put("telephone", supplier.getTelephone()); - item.put("address", supplier.getAddress()); - item.put("taxNum", supplier.getTaxNum()); - item.put("bankName", supplier.getBankName()); - item.put("accountNumber", supplier.getAccountNumber()); - item.put("taxRate", supplier.getTaxRate()); - - item.put("enabled", supplier.getEnabled()); - item.put("op", supplier.getIsystem()); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找供应商信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询供应商信息结果异常", e); - } - } - - /** - * 根据id查找信息 - * - * @return - */ - public void findById() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionById()); - supplierService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Supplier supplier : dataList) { - JSONObject item = new JSONObject(); - item.put("id", supplier.getId()); - //名称 - item.put("supplier", supplier.getSupplier()); - item.put("type", supplier.getType()); - item.put("contacts", supplier.getContacts()); - item.put("phonenum", supplier.getPhonenum()); - item.put("email", supplier.getEmail()); - item.put("AdvanceIn", supplier.getAdvanceIn()); - item.put("BeginNeedGet", supplier.getBeginNeedGet()); - item.put("BeginNeedPay", supplier.getBeginNeedPay()); - item.put("isystem", supplier.getIsystem() == (short) 0 ? "是" : "否"); - item.put("description", supplier.getDescription()); - - item.put("fax", supplier.getFax()); - item.put("telephone", supplier.getTelephone()); - item.put("address", supplier.getAddress()); - item.put("taxNum", supplier.getTaxNum()); - item.put("bankName", supplier.getBankName()); - item.put("accountNumber", supplier.getAccountNumber()); - item.put("taxRate", supplier.getTaxRate()); - - item.put("enabled", supplier.getEnabled()); - item.put("op", supplier.getIsystem()); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 查找供应商信息-下拉框 - * - * @return - */ - public void findBySelect_sup() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_Select_sup()); - supplierService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Supplier supplier : dataList) { - JSONObject item = new JSONObject(); - item.put("id", supplier.getId()); - //供应商名称 - item.put("supplier", supplier.getSupplier()); - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找供应商信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询供应商信息结果异常", e); - } - } - - /** - * 查找客户信息-下拉框 - * - * @return - */ - public void findBySelect_cus() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_Select_cus()); - supplierService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Supplier supplier : dataList) { - JSONObject item = new JSONObject(); - //勾选判断1 - Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + supplier.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>查询用户对应的客户:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item.put("id", supplier.getId()); - item.put("supplier", supplier.getSupplier()); //客户名称 - dataArray.add(item); - } - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找客户信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询客户信息结果异常", e); - } - } - - /** - * 查找会员信息-下拉框 - * - * @return - */ - public void findBySelect_retail() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_Select_retail()); - supplierService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Supplier supplier : dataList) { - JSONObject item = new JSONObject(); - item.put("id", supplier.getId()); - //客户名称 - item.put("supplier", supplier.getSupplier()); - item.put("advanceIn", supplier.getAdvanceIn()); //预付款金额 - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找客户信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询客户信息结果异常", e); - } - } - - /** - * 查找非会员的id - */ - public void findBySelectRetailNoPeople() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_Select_retail_no_people()); - supplierService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Supplier supplier : dataList) { - JSONObject item = new JSONObject(); - item.put("id", supplier.getId()); - //客户名称 - item.put("supplier", supplier.getSupplier()); - item.put("advanceIn", supplier.getAdvanceIn()); //预付款金额 - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找客户信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询客户信息结果异常", e); - } - } - - /** - * 用户对应客户显示 - * - * @return - */ - public void findUserCustomer() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(500); - - Map condition = new HashMap(); - condition.put("type_s_eq", "客户"); - condition.put("id_s_order", "desc"); - - pageUtil.setAdvSearch(condition); - supplierService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 - JSONObject outer = new JSONObject(); - outer.put("id", 1); - outer.put("text", "客户列表"); - outer.put("state", "open"); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Supplier supplier : dataList) { - JSONObject item = new JSONObject(); - item.put("id", supplier.getId()); - item.put("text", supplier.getSupplier()); - //勾选判断1 - Boolean flag = false; - try { - flag = userBusinessService.checkIsUserBusinessExist("Type", model.getUBType(), "KeyId", model.getUBKeyId(), "Value", "[" + supplier.getId().toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>设置用户对应的客户:类型" + model.getUBType() + " KeyId为: " + model.getUBKeyId() + " 存在异常!"); - } - if (flag == true) { - item.put("checked", true); - } - //结束 - dataArray.add(item); - } - } - outer.put("children", dataArray); - //回写查询结果 - toClient("[" + outer.toString() + "]"); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找客户异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询客户结果异常", e); - } - } - - public String importFun() { - //excel表格file - Boolean result = false; - String returnStr = ""; - try { - InputStream in = supplierService.importExcel(model.getSupplierFile()); - - if (null != in) { - model.setFileName(Tools.getRandomChar() + Tools.getNow2(Calendar.getInstance().getTime()) + "_wrong.xls"); - model.setExcelStream(in); - returnStr = SupplierConstants.BusinessForExcel.EXCEL; - } else { - result = true; - try { - toClient(result.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写导入信息结果异常", e); - } - //导入数据成功 - returnStr = SUCCESS; - } - - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>导入excel表格信息异常", e); - } - return returnStr; - } - - /** - * 导入excel表格-供应商 - * - * @return - */ - @SuppressWarnings("unchecked") - public String importExcelVendor() { - return importFun(); - } - - /** - * 导入excel表格-客户 - * - * @return - */ - @SuppressWarnings("unchecked") - public String importExcelCustomer() { - return importFun(); - } - - /** - * 导入excel表格-会员 - * - * @return - */ - @SuppressWarnings("unchecked") - public String importExcelMember() { - return importFun(); - } - - - /** - * 导出excel表格 - * - * @return - */ - @SuppressWarnings("unchecked") - public String exportExcel() { - Log.infoFileSync("===================调用导出信息action方法exportExcel开始======================="); - try { - String sName = "pageUtil" + model.getType(); - PageUtil pageUtil = (PageUtil) getSession().get(sName); - - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - String isCurrentPage = "allPage"; - model.setFileName(Tools.changeUnicode("report" + System.currentTimeMillis() + ".xls", model.getBrowserType())); - model.setExcelStream(supplierService.exmportExcel(isCurrentPage, pageUtil)); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>调用导出信息action方法exportExcel异常", e); - model.getShowModel().setMsgTip("export excel exception"); - } - Log.infoFileSync("===================调用导出信息action方法exportExcel结束=================="); - return EXCEL; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("supplier_s_like", model.getSupplier()); - condition.put("type_s_like", model.getType()); - condition.put("phonenum_s_like", model.getPhonenum()); - condition.put("telephone_s_like", model.getTelephone()); - condition.put("description_s_like", model.getDescription()); - condition.put("isystem_n_eq", ISYSTEM); - condition.put("id_s_order", "desc"); - return condition; - } - - /** - * 搜索条件 - */ - private Map getConditionById() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Id_n_eq", model.getSupplierID()); - return condition; - } - - /** - * 拼接搜索条件-下拉框-供应商 - * - * @return - */ - private Map getCondition_Select_sup() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("type_s_like", "供应商"); - condition.put("enabled_s_eq", 1); - condition.put("id_s_order", "desc"); - return condition; - } - - /** - * 拼接搜索条件-下拉框-客户 - * - * @return - */ - private Map getCondition_Select_cus() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("type_s_like", "客户"); - condition.put("enabled_s_eq", 1); - condition.put("id_s_order", "desc"); - return condition; - } - - /** - * 拼接搜索条件-下拉框-会员 - * - * @return - */ - private Map getCondition_Select_retail() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("type_s_like", "会员"); - condition.put("enabled_s_eq", 1); - condition.put("id_s_order", "desc"); - return condition; - } - - /** - * 拼接搜索条件-非会员 - * - * @return - */ - private Map getCondition_Select_retail_no_people() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("type_s_like", "会员"); - condition.put("isystem_n_eq", 0); - condition.put("id_s_order", "desc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public SupplierModel getModel() { - return model; - } - - public void setSupplierService(SupplierIService supplierService) { - this.supplierService = supplierService; - } - - public void setUserBusinessService(UserBusinessIService userBusinessService) { - this.userBusinessService = userBusinessService; - } -} diff --git a/src/main/java/com/jsh/action/basic/SystemConfigAction.java b/src/main/java/com/jsh/action/basic/SystemConfigAction.java deleted file mode 100644 index 7aaeb4566982b2ab05b8a41a81b91416160c58a7..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/SystemConfigAction.java +++ /dev/null @@ -1,126 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.SystemConfig; -import com.jsh.model.vo.basic.SystemConfigModel; -import com.jsh.service.basic.SystemConfigIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 系统配置 - * @author jishenghua qq:7-5-2-7 1-8-9-2-0 - */ -@SuppressWarnings("serial") -public class SystemConfigAction extends BaseAction { - private SystemConfigIService systemConfigService; - private SystemConfigModel model = new SystemConfigModel(); - - /** - * 更新系统配置 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - SystemConfig sysConfig = systemConfigService.get(model.getId()); - sysConfig.setType(sysConfig.getType()); - sysConfig.setName(sysConfig.getName()); - sysConfig.setValue(model.getValue()); - sysConfig.setDescription(sysConfig.getDescription()); - systemConfigService.update(sysConfig); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改系统配置ID为 : " + model.getId() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改系统配置回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新系统配置", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新系统配置ID为 " + model.getId() + " " + tipMsg + "!", "更新系统配置" + tipMsg)); - } - - /** - * 查找系统配置信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition()); - systemConfigService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (SystemConfig sysConfig : dataList) { - JSONObject item = new JSONObject(); - item.put("id", sysConfig.getId()); - item.put("type", sysConfig.getType()); - item.put("name", sysConfig.getName()); - item.put("value", sysConfig.getValue()); - item.put("description", sysConfig.getDescription()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找系统配置信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询系统配置信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("id_s_order", "asc"); - return condition; - } - - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public SystemConfigModel getModel() { - return model; - } - - public void setSystemConfigService(SystemConfigIService systemConfigService) { - this.systemConfigService = systemConfigService; - } -} diff --git a/src/main/java/com/jsh/action/basic/UnitAction.java b/src/main/java/com/jsh/action/basic/UnitAction.java deleted file mode 100644 index 931482d13d6fd8437d1b095d01008c94b9c4b9a5..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/UnitAction.java +++ /dev/null @@ -1,262 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.Unit; -import com.jsh.model.vo.basic.UnitModel; -import com.jsh.service.basic.UnitIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * 计量单位 - * - * @author ji shenghua qq:752 718 920 - */ -@SuppressWarnings("serial") -public class UnitAction extends BaseAction { - private UnitIService unitService; - private UnitModel model = new UnitModel(); - - - /** - * 增加计量单位 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加计量单位方法create()==================="); - Boolean flag = false; - try { - Unit unit = new Unit(); - unit.setUName(model.getUName()); - unitService.create(unit); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加计量单位异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加计量单位回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加计量单位", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加计量单位名称为 " + model.getUName() + " " + tipMsg + "!", "增加计量单位" + tipMsg)); - Log.infoFileSync("==================结束调用增加计量单位方法create()==================="); - } - - /** - * 删除计量单位 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除计量单位方法delete()================"); - try { - unitService.delete(model.getUnitID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getUnitID() + " 的计量单位异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除计量单位", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除计量单位ID为 " + model.getUnitID() + " " + tipMsg + "!", "删除计量单位" + tipMsg)); - Log.infoFileSync("====================结束调用删除计量单位方法delete()================"); - return SUCCESS; - } - - /** - * 更新计量单位 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Unit unit = unitService.get(model.getUnitID()); - unit.setUName(model.getUName()); - unitService.update(unit); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改计量单位ID为 : " + model.getUnitID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改计量单位回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新计量单位", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新计量单位ID为 " + model.getUnitID() + " " + tipMsg + "!", "更新计量单位" + tipMsg)); - } - - /** - * 批量删除指定ID计量单位 - * - * @return - */ - public String batchDelete() { - try { - unitService.batchDelete(model.getUnitIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除计量单位ID为:" + model.getUnitIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除计量单位", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除计量单位ID为 " + model.getUnitIDs() + " " + tipMsg + "!", "批量删除计量单位" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - try { - flag = unitService.checkIsNameExist("UName", model.getUName(), "id", model.getUnitID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查计量单位名称为:" + model.getUName() + " ID为: " + model.getUnitID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查计量单位名称为:" + model.getUName() + " ID为: " + model.getUnitID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找计量单位信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - unitService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Unit unit : dataList) { - JSONObject item = new JSONObject(); - item.put("id", unit.getId()); - //名称 - item.put("UName", unit.getUName()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找计量单位异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询计量单位结果异常", e); - } - } - - /** - * 查找计量单位信息-下拉框 - * - * @return - */ - public void findUnitDownList() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition()); - unitService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Unit unit : dataList) { - JSONObject item = new JSONObject(); - item.put("id", unit.getId()); - //名称 - item.put("UName", unit.getUName()); - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找计量单位异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询计量单位结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("UName_s_like", model.getUName()); - condition.put("id_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public UnitModel getModel() { - return model; - } - - public void setUnitService(UnitIService unitService) { - this.unitService = unitService; - } -} diff --git a/src/main/java/com/jsh/action/basic/UserAction.java b/src/main/java/com/jsh/action/basic/UserAction.java deleted file mode 100644 index 11eae9852fb252927c6bd79f9575b2bccaf4c067..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/UserAction.java +++ /dev/null @@ -1,446 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Basicuser; -import com.jsh.model.po.Logdetails; -import com.jsh.model.vo.basic.UserModel; -import com.jsh.service.basic.UserIService; -import com.jsh.util.ExceptionCodeConstants; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.security.NoSuchAlgorithmException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 用户管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class UserAction extends BaseAction { - private UserModel model = new UserModel(); - private UserIService userService; - - /** - * 需要判断用户状态,用户名密码错误不能登录 ,黑名单用户不能登录,如果已经登录过,不再进行处理,直接进入管理页面 - * - * @return - */ - public String login() { - Log.infoFileSync("============用户登录 login 方法调用开始=============="); - String username = model.getLoginame().trim(); - String password = model.getPassword().trim(); - //因密码用MD5加密,需要对密码进行转化 - try { - password = Tools.md5Encryp(password); - System.out.println(password); - } catch (NoSuchAlgorithmException e) { - e.printStackTrace(); - Log.errorFileSync(">>>>>>>>>>>>>>转化MD5字符串错误 :" + e.getMessage(), e); - } - - //判断用户是否已经登录过,登录过不再处理 - Basicuser sessionUser = (Basicuser) getSession().get("user"); - if (null != sessionUser && username.equalsIgnoreCase(sessionUser.getLoginame()) - && sessionUser.getPassword().equals(password)) { - Log.infoFileSync("====用户 " + username + "已经登录过, login 方法调用结束===="); - model.getShowModel().setMsgTip("user already login"); - /*return "login";*/ - } - - //获取用户状态 - int userStatus = -1; - try { - userStatus = userService.validateUser(username, password); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>用户 " + username + " 登录 login 方法 访问服务层异常====", e); - model.getShowModel().setMsgTip("access service exception"); - } - switch (userStatus) { - case ExceptionCodeConstants.UserExceptionCode.USER_NOT_EXIST: - model.getShowModel().setMsgTip("user is not exist"); - break; - case ExceptionCodeConstants.UserExceptionCode.USER_PASSWORD_ERROR: - model.getShowModel().setMsgTip("user password error"); - break; - case ExceptionCodeConstants.UserExceptionCode.BLACK_USER: - model.getShowModel().setMsgTip("user is black"); - break; - case ExceptionCodeConstants.UserExceptionCode.USER_ACCESS_EXCEPTION: - model.getShowModel().setMsgTip("access service error"); - break; - default: - try { - //验证通过 ,可以登录,放入session,记录登录日志 - Basicuser user = userService.getUser(username); - logService.create(new Logdetails(user, "登录系统", model.getClientIp(), - new Timestamp(System.currentTimeMillis()), (short) 0, "管理用户:" + username + " 登录系统", username + " 登录系统")); - model.getShowModel().setMsgTip("user can login"); - getSession().put("user", user); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>查询用户名为:" + username + " ,用户信息异常", e); - } - break; - } - /*if(ExceptionCodeConstants.UserExceptionCode.USER_CONDITION_FIT == userStatus) - return "login";*/ - Log.infoFileSync("===============用户登录 login 方法调用结束==============="); - return SUCCESS; - } - - /** - * 用户退出登录 - * - * @return - */ - public String logout() { - logService.create(new Logdetails(getUser(), "退出系统", model.getClientIp(), - new Timestamp(System.currentTimeMillis()), (short) 0, - "管理用户:" + getUser().getLoginame() + " 退出系统", getUser().getLoginame() + " 退出系统")); - getSession().remove("user"); - return SUCCESS; - } - - /** - * 增加用户 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加用户方法==================="); - Boolean flag = false; - try { - Basicuser user = new Basicuser(); - user.setDepartment(model.getDepartment()); - user.setDescription(model.getDescription()); - user.setEmail(model.getEmail()); - user.setIsmanager((short) 1); - user.setIsystem((short) 0); - user.setLoginame(model.getLoginame()); - String password = "123456"; - //因密码用MD5加密,需要对密码进行转化 - try { - password = Tools.md5Encryp(password); - } catch (NoSuchAlgorithmException e) { - e.printStackTrace(); - Log.errorFileSync(">>>>>>>>>>>>>>转化MD5字符串错误 :" + e.getMessage(), e); - } - user.setPassword(password); - - user.setPhonenum(model.getPhonenum()); - user.setPosition(model.getPosition()); - user.setUsername(model.getUsername()); - - userService.create(user); - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加用户异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加用户回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加用户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加用户名称为 " + model.getUsername() + " " + tipMsg + "!", "增加用户" + tipMsg)); - Log.infoFileSync("==================结束调用增加用户方法==================="); - } - - /** - * 删除用户 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除用户信息方法delete()================"); - try { - userService.delete(model.getUserID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getUserID() + " 的用户异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除用户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除用户ID为 " + model.getUserID() + " " + tipMsg + "!", "删除用户" + tipMsg)); - Log.infoFileSync("====================结束调用删除用户信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新用户 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Basicuser user = userService.get(model.getUserID()); - user.setDepartment(model.getDepartment()); - user.setDescription(model.getDescription()); - user.setEmail(model.getEmail()); - //user.setIsmanager(model.getIsmanager()); - user.setLoginame(model.getLoginame()); - //user.setPassword(model.getPassword()); - user.setPhonenum(model.getPhonenum()); - user.setPosition(model.getPosition()); - user.setUsername(model.getUsername()); - userService.update(user); - - //看是否需要更新seesion中user - if (getUser().getId() == model.getUserID()) { - getSession().put("user", user); - } - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改用户ID为 : " + model.getUserID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改用户回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新用户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新用户ID为 " + model.getUserID() + " " + tipMsg + "!", "更新用户" + tipMsg)); - } - - /** - * 修改密码 - */ - public void updatePwd() { - Integer flag = 0; - try { - Basicuser user = getUser(); - String orgPassword = Tools.md5Encryp(model.getOrgpwd()); - String md5Pwd = Tools.md5Encryp(model.getPassword()); - //必须和原始密码一致才可以更新密码 - if(user.getLoginame().equals("jsh")){ - flag = 3; - tipMsg = "管理员jsh不能修改密码"; - tipType = 1; - } else if (orgPassword.equalsIgnoreCase(user.getPassword())) { - - user.setPassword(md5Pwd); - userService.update(user); - - //看是否需要更新seesion中user -// if(getUser().getId() == model.getUserID()) -// { -// getSession().put("user", user); -// } - - flag = 1; - tipMsg = "成功"; - tipType = 0; - } else { - flag = 2; - tipMsg = "失败"; - tipType = 1; - } - - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>修改用户ID为 : " + model.getUserID() + "密码信息失败", e); - flag = 3; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改用户密码回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新用户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新用户ID为 " + model.getUserID() + "密码信息 " + tipMsg + "!", "更新用户" + tipMsg)); - } - - /** - * 重置用户的密码 - */ - public void resetPwd() { - Integer flag = 0; - try { - Basicuser user = userService.get(model.getUserID()); - String password = "123456"; - String md5Pwd = Tools.md5Encryp(password); - user.setPassword(md5Pwd); - userService.update(user); - flag = 1; - tipMsg = "成功"; - tipType = 0; - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>修改用户ID为 : " + model.getUserID() + "密码信息失败", e); - flag = 0; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改用户密码回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "重置用户密码", model.getClientIp(), - new Timestamp(System.currentTimeMillis()), tipType, "重置用户ID为 " + model.getUserID() + "密码信息 " + tipMsg + "!", "重置用户密码" + tipMsg)); - } - - /** - * 批量删除指定ID用户 - * - * @return - */ - public String batchDelete() { - try { - userService.batchDelete(model.getUserIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除用户ID为:" + model.getUserIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除用户", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除用户ID为 " + model.getUserIDs() + " " + tipMsg + "!", "批量删除用户" + tipMsg)); - return SUCCESS; - } - - /** - * 检查输入名称是否存在 - */ - public void checkIsNameExist() { - Boolean flag = false; - String fieldName = ""; - String fieldValue = ""; - try { - if (0 == model.getCheckFlag()) { - fieldName = "username"; - fieldValue = model.getUsername(); - } else { - fieldName = "loginame"; - fieldValue = model.getLoginame(); - } - flag = userService.checkIsNameExist(fieldName, fieldValue, model.getUserID()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查用户名称为:" + fieldValue + " ID为: " + model.getUserID() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查用户名称为:" + fieldValue + " ID为: " + model.getUserID() + " 是否存在异常!", e); - } - } - } - - /** - * 查找用户信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - userService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Basicuser user : dataList) { - - JSONObject item = new JSONObject(); - item.put("id", user.getId()); - item.put("username", user.getUsername()); - item.put("loginame", Tools.dealNullStr(user.getLoginame())); - item.put("password", Tools.dealNullStr(user.getPassword())); - item.put("position", Tools.dealNullStr(user.getPosition())); - item.put("department", Tools.dealNullStr(user.getDepartment())); - item.put("email", Tools.dealNullStr(user.getEmail())); - item.put("phonenum", Tools.dealNullStr(user.getPhonenum())); - item.put("ismanager", user.getIsmanager() == (short) 0 ? "是" : "否"); - item.put("isystem", user.getIsystem() == (short) 0 ? "是" : "否"); - item.put("status", user.getStatus()); - item.put("description", Tools.dealNullStr(user.getDescription())); - item.put("remark", user.getRemark()); - item.put("op", user.getIsmanager()); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找用户信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询用户信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return 拼接后的条件 - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("username_s_like", model.getUsername()); - condition.put("loginame_s_like", model.getLoginame()); - condition.put("id_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public UserModel getModel() { - return model; - } - - public void setUserService(UserIService userService) { - this.userService = userService; - } -} diff --git a/src/main/java/com/jsh/action/basic/UserBusinessAction.java b/src/main/java/com/jsh/action/basic/UserBusinessAction.java deleted file mode 100644 index 2acc7a69f95a9a26d965291994cc5aac089a7752..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/basic/UserBusinessAction.java +++ /dev/null @@ -1,228 +0,0 @@ -package com.jsh.action.basic; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.UserBusiness; -import com.jsh.model.vo.basic.UserBusinessModel; -import com.jsh.service.basic.UserBusinessIService; -import com.jsh.util.PageUtil; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 权限关系管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class UserBusinessAction extends BaseAction { - private UserBusinessIService userBusinessService; - private UserBusinessModel model = new UserBusinessModel(); - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getBasicData() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("KeyId_s_eq", model.getKeyId()); - condition.put("Type_s_eq", model.getType()); - userBusinessService.find(pageUtil); - mapData.put("userBusinessList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找UserBusiness信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /* - * 测试hql语句的写法 - */ - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getceshi() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("Type_s_eq", model.getType()); - userBusinessService.find(pageUtil, "ceshi"); - mapData.put("userBusinessList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找UserBusiness信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 增加UserBusiness - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加UserBusiness信息方法create()==================="); - Boolean flag = false; - try { - UserBusiness userBusiness = new UserBusiness(); - userBusiness.setType(model.getType()); - userBusiness.setKeyId(model.getKeyId()); - userBusiness.setValue(model.getValue()); - userBusinessService.create(userBusiness); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加UserBusiness信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加UserBusiness信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加UserBusiness", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加UserBusiness为 " + model.getType() + " " + tipMsg + "!", "增加UserBusiness" + tipMsg)); - Log.infoFileSync("==================结束调用增加UserBusiness方法create()==================="); - } - - /** - * 更新UserBusiness - * - * @return - */ - public void update() { - Boolean flag = false; - Long id = 0l; - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition_RoleAPP()); - userBusinessService.find(pageUtil); - List dataList = pageUtil.getPageList(); - if (null != dataList) { - for (UserBusiness userBusiness : dataList) { - id = userBusiness.getId(); - } - UserBusiness userBusiness = userBusinessService.get(id); - userBusiness.setType(model.getType()); - userBusiness.setKeyId(model.getKeyId()); - userBusiness.setValue(model.getValue()); - userBusinessService.update(userBusiness); - } - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改UserBusiness的ID为 : " + id + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改UserBusiness回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新UserBusiness", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新UserBusiness的ID为 " + id + " " + tipMsg + "!", "更新UserBusiness" + tipMsg)); - } - - /** - * 更新角色的按钮权限 - * - * @return - */ - public void updateBtnStr() { - Boolean flag = false; - try { - UserBusiness userBusiness = userBusinessService.get(model.getUserBusinessID()); - userBusiness.setType(userBusiness.getType()); - userBusiness.setKeyId(userBusiness.getKeyId()); - userBusiness.setValue(userBusiness.getValue()); - userBusiness.setBtnStr(model.getBtnStr()); - userBusinessService.update(userBusiness); - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改角色按钮权限的ID为 : " + model.getUserBusinessID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改功能回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新角色按钮权限", model.getClientIp(), - new Timestamp(System.currentTimeMillis()), tipType, - "角色按钮权限的ID为 " + model.getUserBusinessID() + " " + tipMsg + "!", "更新角色按钮权限" + tipMsg)); - } - - /** - * 拼接搜索条件-RoleAPP - * - * @return - */ - private Map getCondition_RoleAPP() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Type_s_eq", model.getType()); - condition.put("KeyId_s_eq", model.getKeyId()); - return condition; - } - - /** - * 检查角色对应应用/功能是否存在 - */ - public void checkIsValueExist() { - Boolean flag = false; - try { - flag = userBusinessService.checkIsValueExist("Type", model.getType(), "KeyId", model.getKeyId()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查角色对应应用/功能的类型为:" + model.getType() + " KeyId为: " + model.getKeyId() + " 是否存在异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查角色对应应用/功能的类型为:" + model.getType() + " KeyId为: " + model.getKeyId() + " 是否存在异常!", e); - } - } - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public UserBusinessModel getModel() { - return model; - } - - public void setUserBusinessService(UserBusinessIService userBusinessService) { - this.userBusinessService = userBusinessService; - } -} diff --git a/src/main/java/com/jsh/action/materials/AccountHeadAction.java b/src/main/java/com/jsh/action/materials/AccountHeadAction.java deleted file mode 100644 index 5a3096bbfef5466aa55570d465ebd7333276827d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/AccountHeadAction.java +++ /dev/null @@ -1,393 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.*; -import com.jsh.model.vo.materials.AccountHeadModel; -import com.jsh.service.materials.AccountHeadIService; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.text.ParseException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 财务表头管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class AccountHeadAction extends BaseAction { - private AccountHeadIService accountHeadService; - private AccountHeadModel model = new AccountHeadModel(); - - /* - * 获取MaxId - */ - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getMaxId() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - accountHeadService.find(pageUtil, "maxId"); - mapData.put("accountHeadMax", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找最大的Id信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 增加财务 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加财务信息方法create()==================="); - Boolean flag = false; - try { - AccountHead accountHead = new AccountHead(); - accountHead.setType(model.getType()); - if (model.getOrganId() != null) { - accountHead.setOrganId(new Supplier(model.getOrganId())); - } - if (model.getHandsPersonId() != null) { - accountHead.setHandsPersonId(new Person(model.getHandsPersonId())); - } - accountHead.setChangeAmount(model.getChangeAmount() == null ? 0 : model.getChangeAmount()); - accountHead.setTotalPrice(model.getTotalPrice()); - if (model.getAccountId() != null) { - accountHead.setAccountId(new Account(model.getAccountId())); - } - accountHead.setBillNo(model.getBillNo()); - try { - accountHead.setBillTime(new Timestamp(Tools.parse(model.getBillTime(), "yyyy-MM-dd HH:mm:ss").getTime())); - } catch (ParseException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>解析购买日期格式异常", e); - } - accountHead.setRemark(model.getRemark()); - accountHeadService.create(accountHead); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加财务信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加财务信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加财务", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加财务编号为 " + model.getBillNo() + " " + tipMsg + "!", "增加财务" + tipMsg)); - Log.infoFileSync("==================结束调用增加财务方法create()==================="); - } - - /** - * 删除财务 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除财务信息方法delete()================"); - try { - accountHeadService.delete(model.getAccountHeadID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getAccountHeadID() + " 的财务异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除财务", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除财务ID为 " + model.getAccountHeadID() + " " + tipMsg + "!", "删除财务" + tipMsg)); - Log.infoFileSync("====================结束调用删除财务信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新财务 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - AccountHead accountHead = accountHeadService.get(model.getAccountHeadID()); - accountHead.setType(model.getType()); - if (model.getOrganId() != null) { - accountHead.setOrganId(new Supplier(model.getOrganId())); - } - if (model.getHandsPersonId() != null) { - accountHead.setHandsPersonId(new Person(model.getHandsPersonId())); - } - accountHead.setChangeAmount(model.getChangeAmount() == null ? 0 : model.getChangeAmount()); - accountHead.setTotalPrice(model.getTotalPrice()); - if (model.getAccountId() != null) { - accountHead.setAccountId(new Account(model.getAccountId())); - } - accountHead.setBillNo(model.getBillNo()); - try { - accountHead.setBillTime(new Timestamp(Tools.parse(model.getBillTime(), "yyyy-MM-dd HH:mm:ss").getTime())); - } catch (ParseException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>解析购买日期格式异常", e); - } - accountHead.setRemark(model.getRemark()); - accountHeadService.update(accountHead); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改财务ID为 : " + model.getAccountHeadID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改财务回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新财务", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新财务ID为 " + model.getAccountHeadID() + " " + tipMsg + "!", "更新财务" + tipMsg)); - } - - /** - * 批量删除指定ID财务 - * - * @return - */ - public String batchDelete() { - try { - accountHeadService.batchDelete(model.getAccountHeadIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除财务ID为:" + model.getAccountHeadIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除财务", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除财务ID为 " + model.getAccountHeadIDs() + " " + tipMsg + "!", "批量删除财务" + tipMsg)); - return SUCCESS; - } - - /** - * 查找财务信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - accountHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (AccountHead accountHead : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", accountHead.getId()); - item.put("OrganId", accountHead.getOrganId() == null ? "" : accountHead.getOrganId().getId()); - item.put("OrganName", accountHead.getOrganId() == null ? "" : accountHead.getOrganId().getSupplier()); - item.put("HandsPersonId", accountHead.getHandsPersonId() == null ? "" : accountHead.getHandsPersonId().getId()); - item.put("HandsPersonName", accountHead.getHandsPersonId() == null ? "" : accountHead.getHandsPersonId().getName()); - item.put("AccountId", accountHead.getAccountId() == null ? "" : accountHead.getAccountId().getId()); - item.put("AccountName", accountHead.getAccountId() == null ? "" : accountHead.getAccountId().getName()); - item.put("BillNo", accountHead.getBillNo()); - item.put("BillTime", Tools.getCenternTime(accountHead.getBillTime())); - item.put("ChangeAmount", accountHead.getChangeAmount() == null ? "" : Math.abs(accountHead.getChangeAmount())); - item.put("TotalPrice", accountHead.getTotalPrice() == null ? "" : Math.abs(accountHead.getTotalPrice())); - item.put("Remark", accountHead.getRemark()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找财务信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询财务信息结果异常", e); - } - } - - /** - * 根据编号查询单据信息 - */ - public void getDetailByNumber() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionByNumber()); - accountHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject item = new JSONObject(); - if (dataList != null && dataList.get(0) != null) { - AccountHead accountHead = dataList.get(0); - item.put("Id", accountHead.getId()); - item.put("OrganId", accountHead.getOrganId() == null ? "" : accountHead.getOrganId().getId()); - item.put("OrganName", accountHead.getOrganId() == null ? "" : accountHead.getOrganId().getSupplier()); - item.put("HandsPersonId", accountHead.getHandsPersonId() == null ? "" : accountHead.getHandsPersonId().getId()); - item.put("HandsPersonName", accountHead.getHandsPersonId() == null ? "" : accountHead.getHandsPersonId().getName()); - item.put("AccountId", accountHead.getAccountId() == null ? "" : accountHead.getAccountId().getId()); - item.put("AccountName", accountHead.getAccountId() == null ? "" : accountHead.getAccountId().getName()); - item.put("BillNo", accountHead.getBillNo()); - item.put("BillTime", Tools.getCenternTime(accountHead.getBillTime())); - item.put("ChangeAmount", accountHead.getChangeAmount() == null ? "" : Math.abs(accountHead.getChangeAmount())); - item.put("TotalPrice", accountHead.getTotalPrice() == null ? "" : Math.abs(accountHead.getTotalPrice())); - item.put("Remark", accountHead.getRemark()); - } - //回写查询结果 - toClient(item.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找单据信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询单据信息结果异常", e); - } - } - - /** - * 查询单位的累计应收和累计应付,收预付款不计入此处 - * - * @return - */ - public void findTotalPay() { - try { - JSONObject outer = new JSONObject(); - Double sum = 0.0; - String getS = model.getSupplierId(); - String supType = model.getSupType(); //单位类型:客户、供应商 - int i = 1; - if (supType.equals("customer")) { //客户 - i = 1; - } else if (supType.equals("vendor")) { //供应商 - i = -1; - } - //收付款部分 - sum = sum + (allMoney(getS, "付款", "合计") + allMoney(getS, "付款", "实际")) * i; - sum = sum - (allMoney(getS, "收款", "合计") + allMoney(getS, "收款", "实际")) * i; - sum = sum + (allMoney(getS, "收入", "合计") - allMoney(getS, "收入", "实际")) * i; - sum = sum - (allMoney(getS, "支出", "合计") - allMoney(getS, "支出", "实际")) * i; - outer.put("getAllMoney", sum); - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询结果异常", e); - } - } - - /** - * 统计总金额 - * - * @param type - * @param mode 合计或者金额 - * @return - */ - @SuppressWarnings({"unchecked", "rawtypes"}) - public Double allMoney(String getS, String type, String mode) { - Log.infoFileSync("getS:" + getS); - Double allMoney = 0.0; - String allReturn = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionHead_byEndTime()); - try { - Integer supplierId = Integer.valueOf(getS); - accountHeadService.findAllMoney(pageUtil, supplierId, type, mode); - allReturn = pageUtil.getPageList().toString(); - allReturn = allReturn.substring(1, allReturn.length() - 1); - if (allReturn.equals("null")) { - allReturn = "0"; - } - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - allMoney = Double.parseDouble(allReturn); - //返回正数,如果负数也转为正数 - if (allMoney < 0) { - allMoney = -allMoney; - } - return allMoney; - } - - private Map getConditionByNumber() { - Map condition = new HashMap(); - condition.put("BillNo_s_eq", model.getBillNo()); - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - { - condition.put("BillNo_s_like", model.getBillNo()); - } - condition.put("Type_s_eq", model.getType()); - condition.put("BillTime_s_gteq", model.getBeginTime()); - condition.put("BillTime_s_lteq", model.getEndTime()); - condition.put("Id_s_order", "desc"); - return condition; - } - - private Map getConditionHead_byEndTime() { - Map condition = new HashMap(); - condition.put("BillTime_s_lteq", model.getEndTime()); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - public AccountHeadModel getModel() { - return model; - } - - public void setAccountHeadService(AccountHeadIService accountHeadService) { - this.accountHeadService = accountHeadService; - } -} diff --git a/src/main/java/com/jsh/action/materials/AccountItemAction.java b/src/main/java/com/jsh/action/materials/AccountItemAction.java deleted file mode 100644 index 549cc572f25e25e3115b9fa66295a555eae74776..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/AccountItemAction.java +++ /dev/null @@ -1,193 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.*; -import com.jsh.model.vo.materials.AccountItemModel; -import com.jsh.service.materials.AccountItemIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 财务明细管理(收支|收付款|转账) - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class AccountItemAction extends BaseAction { - private AccountItemIService accountItemService; - private AccountItemModel model = new AccountItemModel(); - - /** - * 保存明细 - * - * @return - */ - public void saveDetials() { - Log.infoFileSync("==================开始调用保存财务明细信息方法saveDetials()==================="); - Boolean flag = false; - try { - Long headerId = model.getHeaderId(); - String listType = model.getListType(); //单据类型 - String inserted = model.getInserted(); - String deleted = model.getDeleted(); - String updated = model.getUpdated(); - //转为json - JSONArray insertedJson = JSONArray.fromObject(inserted); - JSONArray deletedJson = JSONArray.fromObject(deleted); - JSONArray updatedJson = JSONArray.fromObject(updated); - if (null != insertedJson) { - for (int i = 0; i < insertedJson.size(); i++) { - AccountItem accountItem = new AccountItem(); - JSONObject tempInsertedJson = JSONObject.fromObject(insertedJson.get(i)); - accountItem.setHeaderId(new AccountHead(headerId)); - if (tempInsertedJson.get("AccountId") != null && !tempInsertedJson.get("AccountId").equals("")) { - accountItem.setAccountId(new Account(tempInsertedJson.getLong("AccountId"))); - } - if (tempInsertedJson.get("InOutItemId") != null && !tempInsertedJson.get("InOutItemId").equals("")) { - accountItem.setInOutItemId(new InOutItem(tempInsertedJson.getLong("InOutItemId"))); - } - if (tempInsertedJson.get("EachAmount") != null && !tempInsertedJson.get("EachAmount").equals("")) { - Double eachAmount = tempInsertedJson.getDouble("EachAmount"); - if (listType.equals("付款")) { - eachAmount = 0 - eachAmount; - } - accountItem.setEachAmount(eachAmount); - } else { - accountItem.setEachAmount(0.0); - } - accountItem.setRemark(tempInsertedJson.getString("Remark")); - accountItemService.create(accountItem); - } - } - if (null != deletedJson) { - for (int i = 0; i < deletedJson.size(); i++) { - JSONObject tempDeletedJson = JSONObject.fromObject(deletedJson.get(i)); - accountItemService.delete(tempDeletedJson.getLong("Id")); - } - } - if (null != updatedJson) { - for (int i = 0; i < updatedJson.size(); i++) { - JSONObject tempUpdatedJson = JSONObject.fromObject(updatedJson.get(i)); - AccountItem accountItem = accountItemService.get(tempUpdatedJson.getLong("Id")); - accountItem.setHeaderId(new AccountHead(headerId)); - if (tempUpdatedJson.get("AccountId") != null && !tempUpdatedJson.get("AccountId").equals("")) { - accountItem.setAccountId(new Account(tempUpdatedJson.getLong("AccountId"))); - } - if (tempUpdatedJson.get("InOutItemId") != null && !tempUpdatedJson.get("InOutItemId").equals("")) { - accountItem.setInOutItemId(new InOutItem(tempUpdatedJson.getLong("InOutItemId"))); - } - if (tempUpdatedJson.get("EachAmount") != null && !tempUpdatedJson.get("EachAmount").equals("")) { - Double eachAmount = tempUpdatedJson.getDouble("EachAmount"); - if (listType.equals("付款")) { - eachAmount = 0 - eachAmount; - } - accountItem.setEachAmount(eachAmount); - } else { - accountItem.setEachAmount(0.0); - } - accountItem.setRemark(tempUpdatedJson.getString("Remark")); - accountItemService.create(accountItem); - } - } - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>保存财务明细信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>保存财务明细信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "保存财务明细", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "保存财务明细对应主表编号为 " + model.getHeaderId() + " " + tipMsg + "!", "保存财务明细" + tipMsg)); - Log.infoFileSync("==================结束调用保存财务明细方法saveDetials()==================="); - } - - - /** - * 查找财务信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - accountItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (AccountItem accountItem : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", accountItem.getId()); - item.put("AccountId", accountItem.getAccountId() == null ? "" : accountItem.getAccountId().getId()); - item.put("AccountName", accountItem.getAccountId() == null ? "" : accountItem.getAccountId().getName()); - item.put("InOutItemId", accountItem.getInOutItemId() == null ? "" : accountItem.getInOutItemId().getId()); - item.put("InOutItemName", accountItem.getInOutItemId() == null ? "" : accountItem.getInOutItemId().getName()); - Double eachAmount = accountItem.getEachAmount(); - item.put("EachAmount", eachAmount < 0 ? 0 - eachAmount : eachAmount); - item.put("Remark", accountItem.getRemark()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找财务信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询财务信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("HeaderId_n_eq", model.getHeaderId()); - condition.put("Id_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public AccountItemModel getModel() { - return model; - } - - public void setAccountItemService(AccountItemIService accountItemService) { - this.accountItemService = accountItemService; - } -} diff --git a/src/main/java/com/jsh/action/materials/DepotHeadAction.java b/src/main/java/com/jsh/action/materials/DepotHeadAction.java deleted file mode 100644 index 3c2b4029ec695c520913bff19eed7ead292bd5f5..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/DepotHeadAction.java +++ /dev/null @@ -1,920 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.*; -import com.jsh.model.vo.materials.DepotHeadModel; -import com.jsh.service.materials.DepotHeadIService; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.text.ParseException; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - - -/* - * 单据表头管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class DepotHeadAction extends BaseAction { - private DepotHeadIService depotHeadService; - private DepotHeadModel model = new DepotHeadModel(); - - /* - * 获取MaxId - */ - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getMaxId() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotHeadService.find(pageUtil, "maxId"); - mapData.put("depotHeadMax", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找最大的Id信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 增加单据 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加单据信息信息方法create()==================="); - Boolean flag = false; - try { - DepotHead depotHead = new DepotHead(); - depotHead.setType(model.getType()); - depotHead.setSubType(model.getSubType()); - if (model.getProjectId() != null) { - depotHead.setProjectId(new Depot(model.getProjectId())); - } - //构造新的编号 - String dNumber = model.getDefaultNumber(); - String number = dNumber.substring(0, 12); //截取前缀 - String beginTime = Tools.getNow() + " 00:00:00"; - String endTime = Tools.getNow() + " 23:59:59"; - String newNumber = buildNumberFun(model.getType(), model.getSubType(), beginTime, endTime); //从数据库查询最新的编号+1,这样能防止重复 - String allNewNumber = number + newNumber; - depotHead.setNumber(model.getNumber()); //一直从前端文本框里面获取 - depotHead.setDefaultNumber(allNewNumber); //初始编号,一直都从后台取值 - - depotHead.setOperPersonName(getUser().getUsername()); - depotHead.setCreateTime(new Timestamp(System.currentTimeMillis())); - try { - depotHead.setOperTime(new Timestamp(Tools.parse(model.getOperTime(), "yyyy-MM-dd HH:mm:ss").getTime())); - } catch (ParseException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>解析购买日期格式异常", e); - } - if (model.getOrganId() != null) { - depotHead.setOrganId(new Supplier(model.getOrganId())); - } - if (model.getHandsPersonId() != null) { - depotHead.setHandsPersonId(new Person(model.getHandsPersonId())); - } - if (model.getSalesman() != null) { - depotHead.setSalesman(model.getSalesman().toString()); - } - if (model.getAccountId() != null) { - depotHead.setAccountId(new Account(model.getAccountId())); - } - depotHead.setChangeAmount(model.getChangeAmount()); - depotHead.setAccountIdList(model.getAccountIdList()); - depotHead.setAccountMoneyList(model.getAccountMoneyList()); - depotHead.setDiscount(model.getDiscount()); - depotHead.setDiscountMoney(model.getDiscountMoney()); - depotHead.setDiscountLastMoney(model.getDiscountLastMoney()); - depotHead.setOtherMoney(model.getOtherMoney()); - depotHead.setOtherMoneyList(model.getOtherMoneyList()); - depotHead.setOtherMoneyItem(model.getOtherMoneyItem()); - depotHead.setAccountDay(model.getAccountDay()); - if (model.getAllocationProjectId() != null) { - depotHead.setAllocationProjectId(new Depot(model.getAllocationProjectId())); - } - depotHead.setTotalPrice(model.getTotalPrice()); - depotHead.setPayType(model.getPayType()); - depotHead.setStatus(false); - depotHead.setRemark(model.getRemark()); - depotHeadService.create(depotHead); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加单据信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加单据信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加单据", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加单据编号为 " + model.getNumber() + " " + tipMsg + "!", "增加单据" + tipMsg)); - Log.infoFileSync("==================结束调用增加单据方法create()==================="); - } - - /** - * 删除单据 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除单据信息方法delete()================"); - try { - depotHeadService.delete(model.getDepotHeadID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getDepotHeadID() + " 的单据异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除单据", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除单据ID为 " + model.getDepotHeadID() + " " + tipMsg + "!", "删除单据" + tipMsg)); - Log.infoFileSync("====================结束调用删除单据信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新单据 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - DepotHead depotHead = depotHeadService.get(model.getDepotHeadID()); - depotHead.setType(model.getType()); - depotHead.setSubType(model.getSubType()); - if (model.getProjectId() != null) { - depotHead.setProjectId(new Depot(model.getProjectId())); - } - depotHead.setNumber(model.getNumber()); - depotHead.setOperPersonName(getUser().getUsername()); - try { - depotHead.setOperTime(new Timestamp(Tools.parse(model.getOperTime(), "yyyy-MM-dd HH:mm:ss").getTime())); - } catch (ParseException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>解析入库时间格式异常", e); - } - if (model.getOrganId() != null) { - depotHead.setOrganId(new Supplier(model.getOrganId())); - } - if (model.getHandsPersonId() != null) { - depotHead.setHandsPersonId(new Person(model.getHandsPersonId())); - } - depotHead.setSalesman(model.getSalesman()); - if (model.getAccountId() != null) { - depotHead.setAccountId(new Account(model.getAccountId())); - } else { - depotHead.setAccountId(null); - } - depotHead.setChangeAmount(model.getChangeAmount()); - depotHead.setAccountIdList(model.getAccountIdList()); - depotHead.setAccountMoneyList(model.getAccountMoneyList()); - depotHead.setDiscount(model.getDiscount()); - depotHead.setDiscountMoney(model.getDiscountMoney()); - depotHead.setDiscountLastMoney(model.getDiscountLastMoney()); - depotHead.setOtherMoney(model.getOtherMoney()); - depotHead.setOtherMoneyList(model.getOtherMoneyList()); - depotHead.setOtherMoneyItem(model.getOtherMoneyItem()); - depotHead.setAccountDay(model.getAccountDay()); - if (model.getAllocationProjectId() != null) { - depotHead.setAllocationProjectId(new Depot(model.getAllocationProjectId())); - } - depotHead.setTotalPrice(model.getTotalPrice()); - depotHead.setPayType(model.getPayType()); - depotHead.setStatus(false); - depotHead.setRemark(model.getRemark()); - depotHeadService.update(depotHead); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改单据ID为 : " + model.getDepotHeadID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改单据回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新单据", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新单据ID为 " + model.getDepotHeadID() + " " + tipMsg + "!", "更新单据" + tipMsg)); - } - - /** - * 批量删除指定ID单据 - * - * @return - */ - public String batchDelete() { - try { - depotHeadService.batchDelete(model.getDepotHeadIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除单据ID为:" + model.getDepotHeadIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除单据", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除单据ID为 " + model.getDepotHeadIDs() + " " + tipMsg + "!", "批量删除单据" + tipMsg)); - return SUCCESS; - } - - /** - * 批量设置状态-审核或者反审核 - * - * @return - */ - public String batchSetStatus() { - try { - depotHeadService.batchSetStatus(model.getStatus(), model.getDepotHeadIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量修改状态,单据ID为:" + model.getDepotHeadIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量修改单据状态", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量修改状态,单据ID为 " + model.getDepotHeadIDs() + " " + tipMsg + "!", "批量修改单据状态" + tipMsg)); - return SUCCESS; - } - - /** - * 检查单据编号是否存在 - */ - public void checkIsNumberExist() { - Boolean flag = false; - try { - flag = depotHeadService.checkIsNameExist("Number", model.getNumber(), "Id", model.getDepotHeadID()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>检查单据编号为:" + model.getNumber() + " ID为: " + model.getDepotHeadID() + " 是否存在出现异常!"); - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>回写检查单据编号为:" + model.getNumber() + " ID为: " + model.getDepotHeadID() + " 是否存在出现异常!", e); - } - } - } - - /** - * 单据编号生成接口,规则:查找当前类型单据下的当天最大的单据号,并加1 - */ - public void buildNumber() { - try { - String beginTime = model.getBeginTime(); - String endTime = model.getEndTime(); - String newNumber = buildNumberFun(model.getType(), model.getSubType(), beginTime, endTime); - JSONObject outer = new JSONObject(); - outer.put("DefaultNumber", newNumber); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>单据编号生成异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写单据编号生成接口异常", e); - } - } - - /** - * 查找单据编号 - * - * @return - */ - public String buildNumberFun(String type, String subType, String beginTime, String endTime) { - String newNumber = "0001"; //新编号 - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(buildNumberCondition(type, subType, beginTime, endTime)); - depotHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - if (null != dataList && dataList.size() > 0) { - DepotHead depotHead = dataList.get(0); - if (depotHead != null) { - String number = depotHead.getDefaultNumber(); //最大的单据编号 - if (number != null) { - Integer lastNumber = Integer.parseInt(number.substring(12, 16)); //末四尾 - lastNumber = lastNumber + 1; - Integer nLen = lastNumber.toString().length(); - if (nLen == 1) { - newNumber = "000" + lastNumber.toString(); - } else if (nLen == 2) { - newNumber = "00" + lastNumber.toString(); - } else if (nLen == 3) { - newNumber = "0" + lastNumber.toString(); - } else if (nLen == 4) { - newNumber = lastNumber.toString(); - } - } - } - } - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>单据编号生成异常", e); - } - return newNumber; - } - - /** - * 根据材料信息获取 - */ - public void getHeaderIdByMaterial() { - try { - String materialParam = model.getMaterialParam(); //商品参数 - String depotIds = model.getDepotIds(); //拥有的仓库信息 - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - depotHeadService.getHeaderIdByMaterial(pageUtil, materialParam, depotIds); - JSONObject outer = new JSONObject(); - String allReturn = ""; - List dataList = pageUtil.getPageList(); - if (dataList != null) { - for (Integer i = 0; i < dataList.size(); i++) { - Object dl = dataList.get(i); //获取对象 - allReturn = allReturn + dl.toString() + ","; - } - } - allReturn = allReturn.substring(0, allReturn.length() - 1); - if (allReturn.equals("null")) { - allReturn = ""; - } - outer.put("ret", allReturn); - //回写查询结果 - toClient(outer.toString()); - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询单据信息结果异常", e); - } - } - - /** - * 查找单据信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - depotHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotHead depotHead : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", depotHead.getId()); - item.put("ProjectId", depotHead.getProjectId() == null ? "" : depotHead.getProjectId().getId()); - item.put("ProjectName", depotHead.getProjectId() == null ? "" : depotHead.getProjectId().getName()); - item.put("Number", depotHead.getNumber()); - item.put("OperPersonName", depotHead.getOperPersonName()); - item.put("CreateTime", Tools.getCenternTime(depotHead.getCreateTime())); - item.put("OperTime", Tools.getCenternTime(depotHead.getOperTime())); - item.put("OrganId", depotHead.getOrganId() == null ? "" : depotHead.getOrganId().getId()); - item.put("OrganName", depotHead.getOrganId() == null ? "" : depotHead.getOrganId().getSupplier()); - item.put("HandsPersonId", depotHead.getHandsPersonId() == null ? "" : depotHead.getHandsPersonId().getId()); - item.put("Salesman", depotHead.getSalesman().toString()); - item.put("HandsPersonName", depotHead.getHandsPersonId() == null ? "" : depotHead.getHandsPersonId().getName()); - item.put("AccountId", depotHead.getAccountId() == null ? "" : depotHead.getAccountId().getId()); - item.put("AccountName", depotHead.getAccountId() == null ? "" : depotHead.getAccountId().getName()); - item.put("ChangeAmount", depotHead.getChangeAmount() == null ? "" : Math.abs(depotHead.getChangeAmount())); - item.put("AccountIdList", depotHead.getAccountIdList()); - item.put("AccountMoneyList", depotHead.getAccountMoneyList()); - item.put("Discount", depotHead.getDiscount()); - item.put("DiscountMoney", depotHead.getDiscountMoney()); - item.put("DiscountLastMoney", depotHead.getDiscountLastMoney()); - item.put("OtherMoney", depotHead.getOtherMoney()); - item.put("OtherMoneyList", depotHead.getOtherMoneyList()); //id列表 - item.put("OtherMoneyItem", depotHead.getOtherMoneyItem()); //money列表 - item.put("AccountDay", depotHead.getAccountDay()); //结算天数 - item.put("AllocationProjectId", depotHead.getAllocationProjectId() == null ? "" : depotHead.getAllocationProjectId().getId()); - item.put("AllocationProjectName", depotHead.getAllocationProjectId() == null ? "" : depotHead.getAllocationProjectId().getName()); - item.put("TotalPrice", depotHead.getTotalPrice() == null ? "" : Math.abs(depotHead.getTotalPrice())); - item.put("payType", depotHead.getPayType() == null ? "" : depotHead.getPayType()); - item.put("Status", depotHead.getStatus()); - item.put("Remark", depotHead.getRemark()); - item.put("MaterialsList", findMaterialsListByHeaderId(depotHead.getId())); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找单据信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询单据信息结果异常", e); - } - } - - /** - * 根据编号查询单据信息 - */ - public void getDetailByNumber() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionByNumber()); - depotHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject item = new JSONObject(); - if (dataList != null && dataList.get(0) != null) { - DepotHead depotHead = dataList.get(0); - item.put("Id", depotHead.getId()); - item.put("ProjectId", depotHead.getProjectId() == null ? "" : depotHead.getProjectId().getId()); - item.put("ProjectName", depotHead.getProjectId() == null ? "" : depotHead.getProjectId().getName()); - item.put("Number", depotHead.getNumber()); - item.put("OperPersonName", depotHead.getOperPersonName()); - item.put("CreateTime", Tools.getCenternTime(depotHead.getCreateTime())); - item.put("OperTime", Tools.getCenternTime(depotHead.getOperTime())); - item.put("OrganId", depotHead.getOrganId() == null ? "" : depotHead.getOrganId().getId()); - item.put("OrganName", depotHead.getOrganId() == null ? "" : depotHead.getOrganId().getSupplier()); - item.put("HandsPersonId", depotHead.getHandsPersonId() == null ? "" : depotHead.getHandsPersonId().getId()); - item.put("Salesman", depotHead.getSalesman().toString()); - item.put("HandsPersonName", depotHead.getHandsPersonId() == null ? "" : depotHead.getHandsPersonId().getName()); - item.put("AccountId", depotHead.getAccountId() == null ? "" : depotHead.getAccountId().getId()); - item.put("AccountName", depotHead.getAccountId() == null ? "" : depotHead.getAccountId().getName()); - item.put("ChangeAmount", depotHead.getChangeAmount() == null ? "" : Math.abs(depotHead.getChangeAmount())); - item.put("AccountIdList", depotHead.getAccountIdList()); - item.put("AccountMoneyList", depotHead.getAccountMoneyList()); - item.put("Discount", depotHead.getDiscount()); - item.put("DiscountMoney", depotHead.getDiscountMoney()); - item.put("DiscountLastMoney", depotHead.getDiscountLastMoney()); - item.put("OtherMoney", depotHead.getOtherMoney()); - item.put("OtherMoneyList", depotHead.getOtherMoneyList()); //id列表 - item.put("OtherMoneyItem", depotHead.getOtherMoneyItem()); //money列表 - item.put("AccountDay", depotHead.getAccountDay()); //结算天数 - item.put("AllocationProjectId", depotHead.getAllocationProjectId() == null ? "" : depotHead.getAllocationProjectId().getId()); - item.put("AllocationProjectName", depotHead.getAllocationProjectId() == null ? "" : depotHead.getAllocationProjectId().getName()); - item.put("TotalPrice", depotHead.getTotalPrice() == null ? "" : Math.abs(depotHead.getTotalPrice())); - item.put("payType", depotHead.getPayType() == null ? "" : depotHead.getPayType()); - item.put("Status", depotHead.getStatus()); - item.put("Remark", depotHead.getRemark()); - item.put("MaterialsList", findMaterialsListByHeaderId(depotHead.getId())); - } - //回写查询结果 - toClient(item.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找单据信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询单据信息结果异常", e); - } - } - - /** - * 查找单据_根据月份(报表) - * - * @return - */ - public void findByMonth() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(1000); - pageUtil.setCurPage(1); - pageUtil.setAdvSearch(getConditionHead()); - depotHeadService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - String headId = ""; - if (null != dataList) { - for (DepotHead depotHead : dataList) { - headId = headId + depotHead.getId() + ","; - } - } - if (headId != "") { - headId = headId.substring(0, headId.lastIndexOf(",")); - } - outer.put("HeadIds", headId); - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找单据信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询单据信息结果异常", e); - } - } - - /** - * 查找统计信息_根据礼品卡(报表) - * - * @return - */ - public void findGiftReport() { - try { - PageUtil pageUtil_in = new PageUtil(); - pageUtil_in.setPageSize(0); - pageUtil_in.setCurPage(0); - pageUtil_in.setAdvSearch(getConditionHead_Gift_In()); - depotHeadService.find(pageUtil_in); - List dataList_in = pageUtil_in.getPageList(); - JSONObject outer = new JSONObject(); - String headId = ""; - if (null != dataList_in) { - for (DepotHead depotHead : dataList_in) { - headId = headId + depotHead.getId() + ","; - } - PageUtil pageUtil_out = new PageUtil(); - pageUtil_out.setPageSize(0); - pageUtil_out.setCurPage(0); - pageUtil_out.setAdvSearch(getConditionHead_Gift_Out()); - depotHeadService.find(pageUtil_out); - List dataList_out = pageUtil_out.getPageList(); - if (null != dataList_out) { - for (DepotHead depotHead : dataList_out) { - headId = headId + depotHead.getId() + ","; - } - } - } - if (headId != "") { - headId = headId.substring(0, headId.lastIndexOf(",")); - } - outer.put("HeadIds", headId); - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找单据信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询单据信息结果异常", e); - } - } - - /** - * 查询单位的累计应收和累计应付,零售不能计入 - * - * @return - */ - public void findTotalPay() { - try { - JSONObject outer = new JSONObject(); - Double sum = 0.0; - String getS = model.getSupplierId(); - String supType = model.getSupType(); //单位类型:客户、供应商 - int i = 1; - if (supType.equals("customer")) { //客户 - i = 1; - } else if (supType.equals("vendor")) { //供应商 - i = -1; - } - //进销部分 - sum = sum - (allMoney(getS, "入库", "采购", "合计") - allMoney(getS, "入库", "采购", "实际")) * i; - sum = sum - (allMoney(getS, "入库", "销售退货", "合计") - allMoney(getS, "入库", "销售退货", "实际")) * i; - sum = sum + (allMoney(getS, "出库", "销售", "合计") - allMoney(getS, "出库", "销售", "实际")) * i; - sum = sum + (allMoney(getS, "出库", "采购退货", "合计") - allMoney(getS, "出库", "采购退货", "实际")) * i; - outer.put("getAllMoney", sum); - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询结果异常", e); - } - } - - - /** - * 统计总金额 - * - * @param type - * @param subType - * @param mode 合计或者金额 - * @return - */ - @SuppressWarnings({"unchecked", "rawtypes"}) - public Double allMoney(String getS, String type, String subType, String mode) { - Log.infoFileSync("getS:" + getS); - Double allMoney = 0.0; - String allReturn = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionHead_byEndTime()); - try { - Integer supplierId = Integer.valueOf(getS); - depotHeadService.findAllMoney(pageUtil, supplierId, type, subType, mode); - allReturn = pageUtil.getPageList().toString(); - allReturn = allReturn.substring(1, allReturn.length() - 1); - if (allReturn.equals("null")) { - allReturn = "0"; - } - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - allMoney = Double.parseDouble(allReturn); - //返回正数,如果负数也转为正数 - if (allMoney < 0) { - allMoney = -allMoney; - } - return allMoney; - } - - /** - * 入库出库明细接口 - */ - public void findInDetail() { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - Long pid = model.getProjectId(); - String dids = model.getDepotIds(); - Long oId = model.getOrganId(); - String beginTime = model.getBeginTime(); - String endTime = model.getEndTime(); - String type = model.getType(); - try { - depotHeadService.findInDetail(pageUtil, beginTime, endTime, type, pid, dids, oId); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (dataList != null) { - for (Integer i = 0; i < dataList.size(); i++) { - JSONObject item = new JSONObject(); - Object dl = dataList.get(i); //获取对象 - Object[] arr = (Object[]) dl; //转为数组 - item.put("number", arr[0]); //单据编号 - item.put("materialName", arr[1]); //商品名称 - item.put("materialModel", arr[2]); //商品型号 - item.put("unitPrice", arr[3]); //单价 - item.put("operNumber", arr[4]); //入库出库数量 - item.put("allPrice", arr[5]); //金额 - item.put("supplierName", arr[6]); //供应商 - item.put("depotName", arr[7]); //仓库 - item.put("operTime", arr[8]); //入库出库日期 - item.put("type", arr[9]); //入库出库日期 - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 入库出库统计接口 - */ - public void findInOutMaterialCount() { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - Long pid = model.getProjectId(); - String dids = model.getDepotIds(); - Long oId = model.getOrganId(); - String beginTime = model.getBeginTime(); - String endTime = model.getEndTime(); - String type = model.getType(); - try { - depotHeadService.findInOutMaterialCount(pageUtil, beginTime, endTime, type, pid, dids, oId); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (dataList != null) { - for (Integer i = 0; i < dataList.size(); i++) { - JSONObject item = new JSONObject(); - Object dl = dataList.get(i); //获取对象 - Object[] arr = (Object[]) dl; //转为数组 - item.put("MaterialId", arr[0]); //商品Id - item.put("mName", arr[1]); //商品名称 - item.put("Model", arr[2]); //商品型号 - item.put("categoryName", arr[3]); //商品类型 - item.put("numSum", arr[4]); //数量 - item.put("priceSum", arr[5]); //金额 - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - public String findMaterialsListByHeaderId(Long headerId) { - String allReturn = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotHeadService.findMaterialsListByHeaderId(pageUtil, headerId); - allReturn = pageUtil.getPageList().toString(); - allReturn = allReturn.substring(1, allReturn.length() - 1); - if (allReturn.equals("null")) { - allReturn = ""; - } - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } - return allReturn; - } - - /** - * 对账单接口 - */ - public void findStatementAccount() { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - String beginTime = model.getBeginTime(); - String endTime = model.getEndTime(); - Long organId = model.getOrganId(); - String supType = model.getSupType(); //单位类型:客户、供应商 - int j = 1; - if (supType.equals("客户")) { //客户 - j = 1; - } else if (supType.equals("供应商")) { //供应商 - j = -1; - } - try { - depotHeadService.findStatementAccount(pageUtil, beginTime, endTime, organId, supType); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (dataList != null) { - for (Integer i = 0; i < dataList.size(); i++) { - JSONObject item = new JSONObject(); - Object dl = dataList.get(i); //获取对象 - Object[] arr = (Object[]) dl; //转为数组 - item.put("number", arr[0]); //单据编号 - item.put("type", arr[1]); //类型 - String type = arr[1].toString(); - Double p1 = 0.0; - Double p2 = 0.0; - if (arr[2] != null) { - p1 = Double.parseDouble(arr[2].toString()); - } - if (arr[3] != null) { - p2 = Double.parseDouble(arr[3].toString()); - } - Double allPrice = 0.0; - if (p1 < 0) { - p1 = -p1; - } - if (p2 < 0) { - p2 = -p2; - } - if (type.equals("采购入库")) { - allPrice = -(p1 - p2); - } else if (type.equals("销售退货入库")) { - allPrice = -(p1 - p2); - } else if (type.equals("销售出库")) { - allPrice = p1 - p2; - } else if (type.equals("采购退货出库")) { - allPrice = p1 - p2; - } else if (type.equals("付款")) { - allPrice = p1 + p2; - } else if (type.equals("收款")) { - allPrice = -(p1 + p2); - } else if (type.equals("收入")) { - allPrice = p1 - p2; - } else if (type.equals("支出")) { - allPrice = -(p1 - p2); - } - item.put("discountLastMoney", p1); //金额 - item.put("changeAmount", p2); //金额 - item.put("allPrice", String.format("%.2f", allPrice * j)); //计算后的金额 - item.put("supplierName", arr[4]); //供应商 - item.put("operTime", arr[5]); //入库出库日期 - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - private Map getConditionByNumber() { - Map condition = new HashMap(); - condition.put("Number_s_eq", model.getNumber()); - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Type_s_eq", model.getType()); - condition.put("SubType_s_eq", model.getSubType()); - condition.put("Number_s_like", model.getNumber()); - condition.put("Id_s_in", model.getDhIds()); - condition.put("OperTime_s_gteq", model.getBeginTime()); - condition.put("OperTime_s_lteq", model.getEndTime()); - condition.put("Id_s_order", "desc"); - return condition; - } - - private Map buildNumberCondition(String type, String subType, String beginTime, String endTime) { - Map condition = new HashMap(); - condition.put("Type_s_eq", type); - condition.put("SubType_s_eq", subType); - condition.put("OperTime_s_gteq", beginTime); - condition.put("OperTime_s_lteq", endTime); - condition.put("Id_s_order", "desc"); - return condition; - } - - private Map getConditionHead() { - Map condition = new HashMap(); - condition.put("OperTime_s_lteq", model.getMonthTime() + "-31 00:00:00"); - return condition; - } - - private Map getConditionHead_Gift_In() { - Map condition = new HashMap(); - return condition; - } - - private Map getConditionHead_Gift_Out() { - Map condition = new HashMap(); - if (model.getProjectId() != null) { - condition.put("ProjectId_n_eq", model.getProjectId()); - } - return condition; - } - - private Map getConditionHead_byEndTime() { - Map condition = new HashMap(); - condition.put("OperTime_s_lteq", model.getEndTime()); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - public DepotHeadModel getModel() { - return model; - } - - public void setDepotHeadService(DepotHeadIService depotHeadService) { - this.depotHeadService = depotHeadService; - } -} diff --git a/src/main/java/com/jsh/action/materials/DepotItemAction.java b/src/main/java/com/jsh/action/materials/DepotItemAction.java deleted file mode 100644 index d790d5c4b9b596ef13dbb8a64bd5150c6eb33994..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/DepotItemAction.java +++ /dev/null @@ -1,1010 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.*; -import com.jsh.model.vo.materials.DepotItemModel; -import com.jsh.service.materials.DepotItemIService; -import com.jsh.service.materials.MaterialIService; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.apache.commons.lang.StringUtils; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 单据明细管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class DepotItemAction extends BaseAction { - /** - * action返回excel结果 - */ - public static final String EXCEL = "excel"; - private MaterialIService materialService; - private DepotItemIService depotItemService; - private DepotItemModel model = new DepotItemModel(); - - /** - * 保存明细 - * - * @return - */ - public void saveDetials() { - Log.infoFileSync("==================开始调用保存仓管通明细信息方法saveDetials()==================="); - Boolean flag = false; - try { - Long headerId = model.getHeaderId(); - String inserted = model.getInserted(); - String deleted = model.getDeleted(); - String updated = model.getUpdated(); - //转为json - JSONArray insertedJson = JSONArray.fromObject(inserted); - JSONArray deletedJson = JSONArray.fromObject(deleted); - JSONArray updatedJson = JSONArray.fromObject(updated); - if (null != insertedJson) { - for (int i = 0; i < insertedJson.size(); i++) { - DepotItem depotItem = new DepotItem(); - JSONObject tempInsertedJson = JSONObject.fromObject(insertedJson.get(i)); - depotItem.setHeaderId(new DepotHead(headerId)); - depotItem.setMaterialId(new Material(tempInsertedJson.getLong("MaterialId"))); - depotItem.setMUnit(tempInsertedJson.getString("Unit")); - if (!StringUtils.isEmpty(tempInsertedJson.get("OperNumber").toString())) { - depotItem.setOperNumber(tempInsertedJson.getDouble("OperNumber")); - try { - String Unit = tempInsertedJson.get("Unit").toString(); - Double oNumber = tempInsertedJson.getDouble("OperNumber"); - Long mId = Long.parseLong(tempInsertedJson.get("MaterialId").toString()); - //以下进行单位换算 - String UnitName = findUnitName(mId); //查询计量单位名称 - if (!UnitName.equals("")) { - String UnitList = UnitName.substring(0, UnitName.indexOf("(")); - String RatioList = UnitName.substring(UnitName.indexOf("(")); - String basicUnit = UnitList.substring(0, UnitList.indexOf(",")); //基本单位 - String otherUnit = UnitList.substring(UnitList.indexOf(",") + 1); //副单位 - Integer ratio = Integer.parseInt(RatioList.substring(RatioList.indexOf(":") + 1).replace(")", "")); //比例 - if (Unit.equals(basicUnit)) { //如果等于基础单位 - depotItem.setBasicNumber(oNumber); //数量一致 - } else if (Unit.equals(otherUnit)) { //如果等于副单位 - depotItem.setBasicNumber(oNumber * ratio); //数量乘以比例 - } - } else { - depotItem.setBasicNumber(oNumber); //其他情况 - } - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>设置基础数量异常", e); - } - } - if (!StringUtils.isEmpty(tempInsertedJson.get("UnitPrice").toString())) { - depotItem.setUnitPrice(tempInsertedJson.getDouble("UnitPrice")); - } - if (!StringUtils.isEmpty(tempInsertedJson.get("TaxUnitPrice").toString())) { - depotItem.setTaxUnitPrice(tempInsertedJson.getDouble("TaxUnitPrice")); - } - if (!StringUtils.isEmpty(tempInsertedJson.get("AllPrice").toString())) { - depotItem.setAllPrice(tempInsertedJson.getDouble("AllPrice")); - } - depotItem.setRemark(tempInsertedJson.getString("Remark")); - if (tempInsertedJson.get("DepotId") != null && !StringUtils.isEmpty(tempInsertedJson.get("DepotId").toString())) { - depotItem.setDepotId(new Depot(tempInsertedJson.getLong("DepotId"))); - } - if (tempInsertedJson.get("AnotherDepotId") != null && !StringUtils.isEmpty(tempInsertedJson.get("AnotherDepotId").toString())) { - depotItem.setAnotherDepotId(new Depot(tempInsertedJson.getLong("AnotherDepotId"))); - } - if (!StringUtils.isEmpty(tempInsertedJson.get("TaxRate").toString())) { - depotItem.setTaxRate(tempInsertedJson.getDouble("TaxRate")); - } - if (!StringUtils.isEmpty(tempInsertedJson.get("TaxMoney").toString())) { - depotItem.setTaxMoney(tempInsertedJson.getDouble("TaxMoney")); - } - if (!StringUtils.isEmpty(tempInsertedJson.get("TaxLastMoney").toString())) { - depotItem.setTaxLastMoney(tempInsertedJson.getDouble("TaxLastMoney")); - } - if (tempInsertedJson.get("OtherField1") != null) { - depotItem.setOtherField1(tempInsertedJson.getString("OtherField1")); - } - if (tempInsertedJson.get("OtherField2") != null) { - depotItem.setOtherField2(tempInsertedJson.getString("OtherField2")); - } - if (tempInsertedJson.get("OtherField3") != null) { - depotItem.setOtherField3(tempInsertedJson.getString("OtherField3")); - } - if (tempInsertedJson.get("OtherField4") != null) { - depotItem.setOtherField4(tempInsertedJson.getString("OtherField4")); - } - if (tempInsertedJson.get("OtherField5") != null) { - depotItem.setOtherField5(tempInsertedJson.getString("OtherField5")); - } - if (tempInsertedJson.get("MType") != null) { - depotItem.setMType(tempInsertedJson.getString("MType")); - } - depotItemService.create(depotItem); - } - } - if (null != deletedJson) { - for (int i = 0; i < deletedJson.size(); i++) { - JSONObject tempDeletedJson = JSONObject.fromObject(deletedJson.get(i)); - depotItemService.delete(tempDeletedJson.getLong("Id")); - } - } - if (null != updatedJson) { - for (int i = 0; i < updatedJson.size(); i++) { - JSONObject tempUpdatedJson = JSONObject.fromObject(updatedJson.get(i)); - DepotItem depotItem = depotItemService.get(tempUpdatedJson.getLong("Id")); - depotItem.setMaterialId(new Material(tempUpdatedJson.getLong("MaterialId"))); - depotItem.setMUnit(tempUpdatedJson.getString("Unit")); - if (!StringUtils.isEmpty(tempUpdatedJson.get("OperNumber").toString())) { - depotItem.setOperNumber(tempUpdatedJson.getDouble("OperNumber")); - try { - String Unit = tempUpdatedJson.get("Unit").toString(); - Double oNumber = tempUpdatedJson.getDouble("OperNumber"); - Long mId = Long.parseLong(tempUpdatedJson.get("MaterialId").toString()); - //以下进行单位换算 - String UnitName = findUnitName(mId); //查询计量单位名称 - if (!UnitName.equals("")) { - String UnitList = UnitName.substring(0, UnitName.indexOf("(")); - String RatioList = UnitName.substring(UnitName.indexOf("(")); - String basicUnit = UnitList.substring(0, UnitList.indexOf(",")); //基本单位 - String otherUnit = UnitList.substring(UnitList.indexOf(",") + 1); //副单位 - Integer ratio = Integer.parseInt(RatioList.substring(RatioList.indexOf(":") + 1).replace(")", "")); //比例 - if (Unit.equals(basicUnit)) { //如果等于基础单位 - depotItem.setBasicNumber(oNumber); //数量一致 - } else if (Unit.equals(otherUnit)) { //如果等于副单位 - depotItem.setBasicNumber(oNumber * ratio); //数量乘以比例 - } - } else { - depotItem.setBasicNumber(oNumber); //其他情况 - } - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>设置基础数量异常", e); - } - } - if (!StringUtils.isEmpty(tempUpdatedJson.get("UnitPrice").toString())) { - depotItem.setUnitPrice(tempUpdatedJson.getDouble("UnitPrice")); - } - if (!StringUtils.isEmpty(tempUpdatedJson.get("TaxUnitPrice").toString())) { - depotItem.setTaxUnitPrice(tempUpdatedJson.getDouble("TaxUnitPrice")); - } - if (!StringUtils.isEmpty(tempUpdatedJson.get("AllPrice").toString())) { - depotItem.setAllPrice(tempUpdatedJson.getDouble("AllPrice")); - } - depotItem.setRemark(tempUpdatedJson.getString("Remark")); - if (tempUpdatedJson.get("DepotId") != null && !StringUtils.isEmpty(tempUpdatedJson.get("DepotId").toString())) { - depotItem.setDepotId(new Depot(tempUpdatedJson.getLong("DepotId"))); - } - if (tempUpdatedJson.get("AnotherDepotId") != null && !StringUtils.isEmpty(tempUpdatedJson.get("AnotherDepotId").toString())) { - depotItem.setAnotherDepotId(new Depot(tempUpdatedJson.getLong("AnotherDepotId"))); - } - if (!StringUtils.isEmpty(tempUpdatedJson.get("TaxRate").toString())) { - depotItem.setTaxRate(tempUpdatedJson.getDouble("TaxRate")); - } - if (!StringUtils.isEmpty(tempUpdatedJson.get("TaxMoney").toString())) { - depotItem.setTaxMoney(tempUpdatedJson.getDouble("TaxMoney")); - } - if (!StringUtils.isEmpty(tempUpdatedJson.get("TaxLastMoney").toString())) { - depotItem.setTaxLastMoney(tempUpdatedJson.getDouble("TaxLastMoney")); - } - depotItem.setOtherField1(tempUpdatedJson.getString("OtherField1")); - depotItem.setOtherField2(tempUpdatedJson.getString("OtherField2")); - depotItem.setOtherField3(tempUpdatedJson.getString("OtherField3")); - depotItem.setOtherField4(tempUpdatedJson.getString("OtherField4")); - depotItem.setOtherField5(tempUpdatedJson.getString("OtherField5")); - depotItem.setMType(tempUpdatedJson.getString("MType")); - depotItemService.create(depotItem); - } - } - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>保存仓管通明细信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>保存仓管通明细信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "保存仓管通明细", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "保存仓管通明细对应主表编号为 " + model.getHeaderId() + " " + tipMsg + "!", "保存仓管通明细" + tipMsg)); - Log.infoFileSync("==================结束调用保存仓管通明细方法saveDetials()==================="); - } - - /** - * 查询计量单位信息 - * - * @return - */ - public String findUnitName(Long mId) { - String unitName = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - materialService.findUnitName(pageUtil, mId); - unitName = pageUtil.getPageList().toString(); - if (unitName != null) { - unitName = unitName.substring(1, unitName.length() - 1); - if (unitName.equals("null")) { - unitName = ""; - } - } - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - return unitName; - } - - - /** - * 查找明细信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - String mpList = model.getMpList(); //商品属性 - String[] mpArr = mpList.split(","); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", depotItem.getId()); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - String ratio; //比例 - if (depotItem.getMaterialId().getUnitId() == null || depotItem.getMaterialId().getUnitId().equals("")) { - ratio = ""; - } else { - ratio = depotItem.getMaterialId().getUnitId().getUName(); - ratio = ratio.substring(ratio.indexOf("(")); - } - //品名/型号/扩展信息/包装 - String MaterialName = depotItem.getMaterialId().getName() + ((depotItem.getMaterialId().getModel() == null || depotItem.getMaterialId().getModel().equals("")) ? "" : "(" + depotItem.getMaterialId().getModel() + ")"); - String materialOther = getOtherInfo(mpArr, depotItem); - MaterialName = MaterialName + materialOther + ((depotItem.getMaterialId().getUnit() == null || depotItem.getMaterialId().getUnit().equals("")) ? "" : "(" + depotItem.getMaterialId().getUnit() + ")") + ratio; - item.put("MaterialName", MaterialName); - item.put("Unit", depotItem.getMUnit()); - item.put("OperNumber", depotItem.getOperNumber()); - item.put("BasicNumber", depotItem.getBasicNumber()); - item.put("UnitPrice", depotItem.getUnitPrice()); - item.put("TaxUnitPrice", depotItem.getTaxUnitPrice()); - item.put("AllPrice", depotItem.getAllPrice()); - item.put("Remark", depotItem.getRemark()); - item.put("Img", depotItem.getImg()); - item.put("DepotId", depotItem.getDepotId() == null ? "" : depotItem.getDepotId().getId()); - item.put("DepotName", depotItem.getDepotId() == null ? "" : depotItem.getDepotId().getName()); - item.put("AnotherDepotId", depotItem.getAnotherDepotId() == null ? "" : depotItem.getAnotherDepotId().getId()); - item.put("AnotherDepotName", depotItem.getAnotherDepotId() == null ? "" : depotItem.getAnotherDepotId().getName()); - item.put("TaxRate", depotItem.getTaxRate()); - item.put("TaxMoney", depotItem.getTaxMoney()); - item.put("TaxLastMoney", depotItem.getTaxLastMoney()); - item.put("OtherField1", depotItem.getOtherField1()); - item.put("OtherField2", depotItem.getOtherField2()); - item.put("OtherField3", depotItem.getOtherField3()); - item.put("OtherField4", depotItem.getOtherField4()); - item.put("OtherField5", depotItem.getOtherField5()); - item.put("MType", depotItem.getMType()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找仓管通信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询仓管通信息结果异常", e); - } - } - - /** - * 查找所有的明细 - * - * @return - */ - public void findByAll() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getConditionALL()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - String mpList = model.getMpList(); //商品属性 - String[] mpArr = mpList.split(","); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - Integer pid = model.getProjectId(); - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - Integer prevSum = sumNumber("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true) - sumNumber("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true); - Integer InSum = sumNumber("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Integer OutSum = sumNumber("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Double prevPrice = sumPrice("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true) - sumPrice("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true); - Double InPrice = sumPrice("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Double OutPrice = sumPrice("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - item.put("Id", depotItem.getId()); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - item.put("MaterialName", depotItem.getMaterialId().getName()); - item.put("MaterialModel", depotItem.getMaterialId().getModel()); - //扩展信息 - String materialOther = getOtherInfo(mpArr, depotItem); - item.put("MaterialOther", materialOther); - item.put("MaterialColor", depotItem.getMaterialId().getColor()); - item.put("MaterialUnit", depotItem.getMaterialId().getUnit()); - Double unitPrice = 0.0; - if (prevSum + InSum - OutSum != 0.0) { - unitPrice = (prevPrice + InPrice - OutPrice) / (prevSum + InSum - OutSum); - } - item.put("UnitPrice", unitPrice); - item.put("prevSum", prevSum); - item.put("InSum", InSum); - item.put("OutSum", OutSum); - item.put("thisSum", prevSum + InSum - OutSum); - item.put("thisAllPrice", prevPrice + InPrice - OutPrice); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 根据商品id和仓库id查询库存数量 - * - * @return - */ - public void findStockNumById() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getConditionById()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - Integer pid = model.getProjectId(); - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - Integer prevSum = sumNumber("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true) - sumNumber("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true); - Integer InSum = sumNumber("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Integer OutSum = sumNumber("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - item.put("MaterialName", depotItem.getMaterialId().getName()); - item.put("MaterialModel", depotItem.getMaterialId().getModel()); - item.put("thisSum", prevSum + InSum - OutSum); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 只根据商品id查询库存数量 - * - * @return - */ - public void findStockNumByMaterialId() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getConditionById()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - Integer InSum = sumNumberByMaterialId("入库", depotItem.getMaterialId().getId()); - Integer OutSum = sumNumberByMaterialId("出库", depotItem.getMaterialId().getId()); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - item.put("MaterialName", depotItem.getMaterialId().getName()); - item.put("MaterialModel", depotItem.getMaterialId().getModel()); - item.put("thisSum", InSum - OutSum); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 只根据商品id查询单据列表 - * - * @return - */ - public void findDetailByTypeAndMaterialId() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - Long mId = model.getMaterialId(); - depotItemService.findDetailByTypeAndMaterialId(pageUtil, mId); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (dataList != null) { - for (Integer i = 0; i < dataList.size(); i++) { - JSONObject item = new JSONObject(); - Object dl = dataList.get(i); //获取对象 - Object[] arr = (Object[]) dl; //转为数组 - item.put("Number", arr[0]); //商品编号 - item.put("Type", arr[1]); //进出类型 - item.put("BasicNumber", arr[2]); //数量 - item.put("OperTime", arr[3]); //时间 - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } catch (JshException e) { - e.printStackTrace(); - } - } - - /** - * 查找礼品卡信息 - * - * @return - */ - public void findGiftByAll() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getConditionALL()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - String mpList = model.getMpList(); //商品属性 - String[] mpArr = mpList.split(","); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - Integer pid = model.getProjectId(); - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - Integer InSum = sumNumberGift("礼品充值", pid, depotItem.getMaterialId().getId(), "in"); - Integer OutSum = sumNumberGift("礼品销售", pid, depotItem.getMaterialId().getId(), "out"); - item.put("Id", depotItem.getId()); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - item.put("MaterialName", depotItem.getMaterialId().getName()); - item.put("MaterialModel", depotItem.getMaterialId().getModel()); - //扩展信息 - String materialOther = getOtherInfo(mpArr, depotItem); - item.put("MaterialOther", materialOther); - item.put("MaterialColor", depotItem.getMaterialId().getColor()); - item.put("MaterialUnit", depotItem.getMaterialId().getUnit()); - item.put("thisSum", InSum - OutSum); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 进货统计 - * - * @return - */ - public void buyIn() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getConditionALL()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - String mpList = model.getMpList(); //商品属性 - String[] mpArr = mpList.split(","); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - Integer InSum = sumNumberBuyOrSale("入库", "采购", depotItem.getMaterialId().getId(), model.getMonthTime()); - Integer OutSum = sumNumberBuyOrSale("出库", "采购退货", depotItem.getMaterialId().getId(), model.getMonthTime()); - Double InSumPrice = sumPriceBuyOrSale("入库", "采购", depotItem.getMaterialId().getId(), model.getMonthTime()); - Double OutSumPrice = sumPriceBuyOrSale("出库", "采购退货", depotItem.getMaterialId().getId(), model.getMonthTime()); - item.put("Id", depotItem.getId()); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - item.put("MaterialName", depotItem.getMaterialId().getName()); - item.put("MaterialModel", depotItem.getMaterialId().getModel()); - //扩展信息 - String materialOther = getOtherInfo(mpArr, depotItem); - item.put("MaterialOther", materialOther); - item.put("MaterialColor", depotItem.getMaterialId().getColor()); - item.put("MaterialUnit", depotItem.getMaterialId().getUnit()); - item.put("InSum", InSum); - item.put("OutSum", OutSum); - item.put("InSumPrice", InSumPrice); - item.put("OutSumPrice", OutSumPrice); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 销售统计 - * - * @return - */ - public void saleOut() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getConditionALL()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - String mpList = model.getMpList(); //商品属性 - String[] mpArr = mpList.split(","); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - Integer OutSumRetail = sumNumberBuyOrSale("出库", "零售", depotItem.getMaterialId().getId(), model.getMonthTime()); - Integer OutSum = sumNumberBuyOrSale("出库", "销售", depotItem.getMaterialId().getId(), model.getMonthTime()); - Integer InSumRetail = sumNumberBuyOrSale("入库", "零售退货", depotItem.getMaterialId().getId(), model.getMonthTime()); - Integer InSum = sumNumberBuyOrSale("入库", "销售退货", depotItem.getMaterialId().getId(), model.getMonthTime()); - Double OutSumRetailPrice = sumPriceBuyOrSale("出库", "零售", depotItem.getMaterialId().getId(), model.getMonthTime()); - Double OutSumPrice = sumPriceBuyOrSale("出库", "销售", depotItem.getMaterialId().getId(), model.getMonthTime()); - Double InSumRetailPrice = sumPriceBuyOrSale("入库", "零售退货", depotItem.getMaterialId().getId(), model.getMonthTime()); - Double InSumPrice = sumPriceBuyOrSale("入库", "销售退货", depotItem.getMaterialId().getId(), model.getMonthTime()); - item.put("Id", depotItem.getId()); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - item.put("MaterialName", depotItem.getMaterialId().getName()); - item.put("MaterialModel", depotItem.getMaterialId().getModel()); - //扩展信息 - String materialOther = getOtherInfo(mpArr, depotItem); - item.put("MaterialOther", materialOther); - item.put("MaterialColor", depotItem.getMaterialId().getColor()); - item.put("MaterialUnit", depotItem.getMaterialId().getUnit()); - item.put("OutSum", OutSumRetail + OutSum); - item.put("InSum", InSumRetail + InSum); - item.put("OutSumPrice", OutSumRetailPrice + OutSumPrice); - item.put("InSumPrice", InSumRetailPrice + InSumPrice); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 统计总计金额 - * - * @return - */ - public void totalCountMoney() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionALL()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - Integer pid = model.getProjectId(); - Double thisAllPrice = 0.0; - if (null != dataList) { - for (DepotItem depotItem : dataList) { - Double prevPrice = sumPrice("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true) - sumPrice("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true); - Double InPrice = sumPrice("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Double OutPrice = sumPrice("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - thisAllPrice = thisAllPrice + (prevPrice + InPrice - OutPrice); - } - } - outer.put("totalCount", thisAllPrice); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 导出excel表格 - * - * @return - */ - @SuppressWarnings("unchecked") - public String exportExcel() { - Log.infoFileSync("===================调用导出信息action方法exportExcel开始======================="); - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getConditionALL()); - depotItemService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //存放数据json数组 - Integer pid = model.getProjectId(); - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (DepotItem depotItem : dataList) { - JSONObject item = new JSONObject(); - Integer prevSum = sumNumber("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true) - sumNumber("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true); - Integer InSum = sumNumber("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Integer OutSum = sumNumber("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Double prevPrice = sumPrice("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true) - sumPrice("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), true); - Double InPrice = sumPrice("入库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Double OutPrice = sumPrice("出库", pid, depotItem.getMaterialId().getId(), model.getMonthTime(), false); - Double unitPrice = 0.0; - if (prevSum + InSum - OutSum != 0) { - unitPrice = (prevPrice + InPrice - OutPrice) / (prevSum + InSum - OutSum); - } - item.put("Id", depotItem.getId()); - item.put("MaterialId", depotItem.getMaterialId() == null ? "" : depotItem.getMaterialId().getId()); - item.put("MaterialName", depotItem.getMaterialId().getName()); - item.put("MaterialModel", depotItem.getMaterialId().getModel()); - item.put("MaterialStandard", depotItem.getMaterialId().getStandard()); - item.put("MaterialColor", depotItem.getMaterialId().getColor()); - item.put("MaterialUnit", depotItem.getMaterialId().getUnit()); - item.put("UnitPrice", unitPrice); - item.put("prevSum", prevSum); - item.put("InSum", InSum); - item.put("OutSum", OutSum); - item.put("thisSum", prevSum + InSum - OutSum); - item.put("thisAllPrice", prevPrice + InPrice - OutPrice); - dataArray.add(item); - } - } - String isCurrentPage = "allPage"; - model.setFileName(Tools.changeUnicode("report.xls", model.getBrowserType())); - model.setExcelStream(depotItemService.exmportExcel(isCurrentPage, dataArray)); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>调用导出信息action方法exportExcel异常", e); - model.getShowModel().setMsgTip("export excel exception"); - } - Log.infoFileSync("===================调用导出信息action方法exportExcel结束=================="); - return EXCEL; - } - - /** - * 数量合计 - * - * @param type - * @param MId - * @param MonthTime - * @param isPrev - * @return - */ - @SuppressWarnings("unchecked") - public Integer sumNumber(String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) { - Integer sumNumber = 0; - String allNumber = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotItemService.findByType(pageUtil, type, ProjectId, MId, MonthTime, isPrev); - allNumber = pageUtil.getPageList().toString(); - allNumber = allNumber.substring(1, allNumber.length() - 1); - if (allNumber.equals("null")) { - allNumber = "0"; - } - allNumber = allNumber.replace(".0", ""); - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - sumNumber = Integer.parseInt(allNumber); - return sumNumber; - } - - /** - * 仅根据商品Id进行数量合计 - * - * @param type - * @param MId - * @return - */ - @SuppressWarnings("unchecked") - public Integer sumNumberByMaterialId(String type, Long MId) { - Integer sumNumber = 0; - String allNumber = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotItemService.findByTypeAndMaterialId(pageUtil, type, MId); - allNumber = pageUtil.getPageList().toString(); - allNumber = allNumber.substring(1, allNumber.length() - 1); - if (allNumber.equals("null")) { - allNumber = "0"; - } - allNumber = allNumber.replace(".0", ""); - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - sumNumber = Integer.parseInt(allNumber); - return sumNumber; - } - - /** - * 数量合计-礼品卡 - * - * @param type - * @param MId - * @param MonthTime - * @param isPrev - * @return - */ - @SuppressWarnings("unchecked") - public Integer sumNumberGift(String subType, Integer ProjectId, Long MId, String type) { - Integer sumNumber = 0; - String allNumber = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotItemService.findGiftByType(pageUtil, subType, ProjectId, MId, type); - allNumber = pageUtil.getPageList().toString(); - allNumber = allNumber.substring(1, allNumber.length() - 1); - if (allNumber.equals("null")) { - allNumber = "0"; - } - allNumber = allNumber.replace(".0", ""); - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - sumNumber = Integer.parseInt(allNumber); - return sumNumber; - } - - /** - * 价格合计 - * - * @param type - * @param MId - * @param MonthTime - * @param isPrev - * @return - */ - @SuppressWarnings("unchecked") - public Double sumPrice(String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) { - Double sumPrice = 0.0; - String allPrice = ""; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotItemService.findPriceByType(pageUtil, type, ProjectId, MId, MonthTime, isPrev); - allPrice = pageUtil.getPageList().toString(); - allPrice = allPrice.substring(1, allPrice.length() - 1); - if (allPrice.equals("null")) { - allPrice = "0"; - } - allPrice = allPrice.replace(".0", ""); - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - sumPrice = Double.parseDouble(allPrice); - return sumPrice; - } - - @SuppressWarnings("unchecked") - public Integer sumNumberBuyOrSale(String type, String subType, Long MId, String MonthTime) { - Integer sumNumber = 0; - String allNumber = ""; - String sumType = "Number"; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotItemService.buyOrSale(pageUtil, type, subType, MId, MonthTime, sumType); - allNumber = pageUtil.getPageList().toString(); - allNumber = allNumber.substring(1, allNumber.length() - 1); - if (allNumber.equals("null")) { - allNumber = "0"; - } - allNumber = allNumber.replace(".0", ""); - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - sumNumber = Integer.parseInt(allNumber); - return sumNumber; - } - - @SuppressWarnings("unchecked") - public Double sumPriceBuyOrSale(String type, String subType, Long MId, String MonthTime) { - Double sumPrice = 0.0; - String allPrice = ""; - String sumType = "Price"; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - depotItemService.buyOrSale(pageUtil, type, subType, MId, MonthTime, sumType); - allPrice = pageUtil.getPageList().toString(); - allPrice = allPrice.substring(1, allPrice.length() - 1); - if (allPrice.equals("null")) { - allPrice = "0"; - } - allPrice = allPrice.replace(".0", ""); - } catch (JshException e) { - // TODO Auto-generated catch block - e.printStackTrace(); - } - sumPrice = Double.parseDouble(allPrice); - return sumPrice; - } - - /** - * 获取扩展信息 - * - * @return - */ - public String getOtherInfo(String[] mpArr, DepotItem depotItem) { - String materialOther = ""; - for (int i = 0; i < mpArr.length; i++) { - if (mpArr[i].equals("颜色")) { - materialOther = materialOther + ((depotItem.getMaterialId().getColor() == null || depotItem.getMaterialId().getColor().equals("")) ? "" : "(" + depotItem.getMaterialId().getColor() + ")"); - } - if (mpArr[i].equals("规格")) { - materialOther = materialOther + ((depotItem.getMaterialId().getStandard() == null || depotItem.getMaterialId().getStandard().equals("")) ? "" : "(" + depotItem.getMaterialId().getStandard() + ")"); - } - if (mpArr[i].equals("制造商")) { - materialOther = materialOther + ((depotItem.getMaterialId().getMfrs() == null || depotItem.getMaterialId().getMfrs().equals("")) ? "" : "(" + depotItem.getMaterialId().getMfrs() + ")"); - } - if (mpArr[i].equals("自定义1")) { - materialOther = materialOther + ((depotItem.getMaterialId().getOtherField1() == null || depotItem.getMaterialId().getOtherField1().equals("")) ? "" : "(" + depotItem.getMaterialId().getOtherField1() + ")"); - } - if (mpArr[i].equals("自定义2")) { - materialOther = materialOther + ((depotItem.getMaterialId().getOtherField2() == null || depotItem.getMaterialId().getOtherField2().equals("")) ? "" : "(" + depotItem.getMaterialId().getOtherField2() + ")"); - } - if (mpArr[i].equals("自定义3")) { - materialOther = materialOther + ((depotItem.getMaterialId().getOtherField3() == null || depotItem.getMaterialId().getOtherField3().equals("")) ? "" : "(" + depotItem.getMaterialId().getOtherField3() + ")"); - } - } - return materialOther; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("HeaderId_n_eq", model.getHeaderId()); - condition.put("Id_s_order", "asc"); - return condition; - } - - private Map getConditionALL() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("HeaderId_s_in", model.getHeadIds()); - condition.put("MaterialId_s_in", model.getMaterialIds()); - condition.put("MaterialId_s_gb", "aaa"); - return condition; - } - - private Map getConditionById() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("MaterialId_n_eq", model.getMaterialId()); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public DepotItemModel getModel() { - return model; - } - - public void setDepotItemService(DepotItemIService depotItemService) { - this.depotItemService = depotItemService; - } - - public void setMaterialService(MaterialIService materialService) { - this.materialService = materialService; - } -} diff --git a/src/main/java/com/jsh/action/materials/MaterialAction.java b/src/main/java/com/jsh/action/materials/MaterialAction.java deleted file mode 100644 index cea03a7d49b33dc73fdaa0b76354445d186c7414..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/MaterialAction.java +++ /dev/null @@ -1,666 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.Material; -import com.jsh.model.po.MaterialCategory; -import com.jsh.model.po.Unit; -import com.jsh.model.vo.materials.MaterialModel; -import com.jsh.service.materials.MaterialIService; -import com.jsh.util.JshException; -import com.jsh.util.MaterialConstants; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.io.InputStream; -import java.sql.Timestamp; -import java.util.Calendar; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 商品管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class MaterialAction extends BaseAction { - public static final String EXCEL = "excel"; //action返回excel结果 - private MaterialIService materialService; - private MaterialModel model = new MaterialModel(); - - /** - * 增加商品 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加商品信息方法create()==================="); - Boolean flag = false; - try { - Material material = new Material(); - material.setMaterialCategory(new MaterialCategory(model.getCategoryId())); - - material.setName(model.getName()); - material.setMfrs(model.getMfrs()); - material.setPacking(model.getPacking()); - material.setSafetyStock(model.getSafetyStock()); - material.setModel(model.getModel()); - material.setStandard(model.getStandard()); - material.setColor(model.getColor()); - material.setUnit(model.getUnit()); - material.setRetailPrice(model.getRetailPrice()); - material.setLowPrice(model.getLowPrice()); - material.setPresetPriceOne(model.getPresetPriceOne()); - material.setPresetPriceTwo(model.getPresetPriceTwo()); - if (model.getUnitId() != null) { - material.setUnitId(new Unit(model.getUnitId())); - } else { - material.setUnitId(null); - } - material.setFirstOutUnit(model.getFirstOutUnit()); - material.setFirstInUnit(model.getFirstInUnit()); - material.setPriceStrategy(model.getPriceStrategy()); - material.setRemark(model.getRemark()); - material.setEnabled(model.getEnabled()); - material.setOtherField1(model.getOtherField1()); - material.setOtherField2(model.getOtherField2()); - material.setOtherField3(model.getOtherField3()); - materialService.create(material); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加商品信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加商品信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加商品", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加商品名称为 " + model.getName() + " " + tipMsg + "!", "增加商品" + tipMsg)); - Log.infoFileSync("==================结束调用增加商品方法create()==================="); - } - - /** - * 删除商品 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除商品信息方法delete()================"); - try { - materialService.delete(model.getMaterialID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getMaterialID() + " 的商品异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除商品", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除商品ID为 " + model.getMaterialID() + " " + tipMsg + "!", "删除商品" + tipMsg)); - Log.infoFileSync("====================结束调用删除商品信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新商品 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Material material = materialService.get(model.getMaterialID()); - material.setMaterialCategory(new MaterialCategory(model.getCategoryId())); - - material.setName(model.getName()); - material.setMfrs(model.getMfrs()); - material.setPacking(model.getPacking()); - material.setSafetyStock(model.getSafetyStock()); - material.setModel(model.getModel()); - material.setStandard(model.getStandard()); - material.setColor(model.getColor()); - material.setUnit(model.getUnit()); - material.setRetailPrice(model.getRetailPrice()); - material.setLowPrice(model.getLowPrice()); - material.setPresetPriceOne(model.getPresetPriceOne()); - material.setPresetPriceTwo(model.getPresetPriceTwo()); - if (model.getUnitId() != null) { - material.setUnitId(new Unit(model.getUnitId())); - } else { - material.setUnitId(null); - } - material.setFirstOutUnit(model.getFirstOutUnit()); - material.setFirstInUnit(model.getFirstInUnit()); - material.setPriceStrategy(model.getPriceStrategy()); - material.setRemark(model.getRemark()); - material.setOtherField1(model.getOtherField1()); - material.setOtherField2(model.getOtherField2()); - material.setOtherField3(model.getOtherField3()); - materialService.update(material); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改商品ID为 : " + model.getMaterialID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改商品回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新商品", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新商品ID为 " + model.getMaterialID() + " " + tipMsg + "!", "更新商品" + tipMsg)); - } - - /** - * 批量删除指定ID商品 - * - * @return - */ - public String batchDelete() { - try { - materialService.batchDelete(model.getMaterialIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除商品ID为:" + model.getMaterialIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除商品", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除商品ID为 " + model.getMaterialIDs() + " " + tipMsg + "!", "批量删除商品" + tipMsg)); - return SUCCESS; - } - - /** - * 批量设置状态-启用或者禁用 - * - * @return - */ - public String batchSetEnable() { - try { - materialService.batchSetEnable(model.getEnabled(), model.getMaterialIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量修改状态,商品ID为:" + model.getMaterialIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量修改商品状态", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量修改状态,商品ID为 " + model.getMaterialIDs() + " " + tipMsg + "!", "批量修改商品状态" + tipMsg)); - return SUCCESS; - } - - /** - * 查找该商品是否存在 - * - * @return - */ - public void checkIsExist() { - try { - Boolean flag = false; - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getConditionCheckIsExist()); - materialService.find(pageUtil); - List dataList = pageUtil.getPageList(); - if (null != dataList && dataList.size() > 0) { - flag = true; - } else { - flag = false; - } - //回写查询结果 - toClient(flag.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找商品信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询商品信息结果异常", e); - } - } - - /** - * 查找商品信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - Long lei = model.getCategoryId(); - if (1 == lei) //判断值还真不能用String类型的判断 - { - pageUtil.setAdvSearch(getCondition_all()); - } else if (1 != lei) { - pageUtil.setAdvSearch(getCondition()); - } - materialService.find(pageUtil); - getSession().put("pageUtilMaterial", pageUtil); - List dataList = pageUtil.getPageList(); - String mpList = model.getMpList(); //商品属性 - String[] mpArr = mpList.split(","); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Material material : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", material.getId()); - item.put("Name", material.getName()); - item.put("CategoryId", material.getMaterialCategory().getId()); //类型Id - item.put("CategoryName", material.getMaterialCategory().getName()); //类型名称 - item.put("Packing", material.getPacking() == null ? "" : material.getPacking()); - item.put("SafetyStock", material.getSafetyStock() == null ? "" : material.getSafetyStock()); - item.put("Model", material.getModel() == null ? "" : material.getModel()); - //扩展信息 - String materialOther = ""; - for (int i = 0; i < mpArr.length; i++) { - if (mpArr[i].equals("颜色")) { - materialOther = materialOther + ((material.getColor() == null || material.getColor().equals("")) ? "" : "(" + material.getColor() + ")"); - } - if (mpArr[i].equals("规格")) { - materialOther = materialOther + ((material.getStandard() == null || material.getStandard().equals("")) ? "" : "(" + material.getStandard() + ")"); - } - if (mpArr[i].equals("制造商")) { - materialOther = materialOther + ((material.getMfrs() == null || material.getMfrs().equals("")) ? "" : "(" + material.getMfrs() + ")"); - } - if (mpArr[i].equals("自定义1")) { - materialOther = materialOther + ((material.getOtherField1() == null || material.getOtherField1().equals("")) ? "" : "(" + material.getOtherField1() + ")"); - } - if (mpArr[i].equals("自定义2")) { - materialOther = materialOther + ((material.getOtherField2() == null || material.getOtherField2().equals("")) ? "" : "(" + material.getOtherField2() + ")"); - } - if (mpArr[i].equals("自定义3")) { - materialOther = materialOther + ((material.getOtherField3() == null || material.getOtherField3().equals("")) ? "" : "(" + material.getOtherField3() + ")"); - } - } - item.put("MaterialOther", materialOther); - item.put("Unit", material.getUnit() == null ? "" : material.getUnit()); - item.put("RetailPrice", material.getRetailPrice()); - item.put("LowPrice", material.getLowPrice()); - item.put("PresetPriceOne", material.getPresetPriceOne() == null ? "" : material.getPresetPriceOne()); - item.put("PresetPriceTwo", material.getPresetPriceTwo() == null ? "" : material.getPresetPriceTwo()); - item.put("UnitId", material.getUnitId() == null ? "" : material.getUnitId().getId()); //计量单位Id - item.put("UnitName", material.getUnitId() == null ? "" : material.getUnitId().getUName()); //计量单位名称 - item.put("FirstOutUnit", material.getFirstOutUnit()); - item.put("FirstInUnit", material.getFirstInUnit()); - item.put("PriceStrategy", material.getPriceStrategy()); - item.put("Enabled", material.getEnabled()); - item.put("Remark", material.getRemark()); - item.put("Color", material.getColor() == null ? "" : material.getColor()); - item.put("Standard", material.getStandard() == null ? "" : material.getStandard()); - item.put("Mfrs", material.getMfrs() == null ? "" : material.getMfrs()); - item.put("OtherField1", material.getOtherField1() == null ? "" : material.getOtherField1()); - item.put("OtherField2", material.getOtherField2() == null ? "" : material.getOtherField2()); - item.put("OtherField3", material.getOtherField3() == null ? "" : material.getOtherField3()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找商品信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询商品信息结果异常", e); - } - } - - /** - * 根据id来查询商品名称 - * - * @return - */ - public void findById() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setAdvSearch(getConditionById()); - materialService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Material material : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", material.getId()); - item.put("Name", material.getName()); - item.put("Mfrs", material.getMfrs() == null ? "" : material.getMfrs()); - item.put("Packing", material.getPacking() == null ? "" : material.getPacking()); - item.put("SafetyStock", material.getSafetyStock() == null ? "" : material.getSafetyStock()); - item.put("Model", material.getModel()); - item.put("Standard", material.getStandard()); - item.put("Color", material.getColor() == null ? "" : material.getColor()); - item.put("Unit", material.getUnit()); - item.put("RetailPrice", material.getRetailPrice()); - item.put("LowPrice", material.getLowPrice()); - item.put("PresetPriceOne", material.getPresetPriceOne()); - item.put("PresetPriceTwo", material.getPresetPriceTwo()); - item.put("UnitId", material.getUnitId() == null ? "" : material.getUnitId().getId()); //计量单位Id - item.put("UnitName", material.getUnitId() == null ? "" : material.getUnitId().getUName()); //计量单位名称 - item.put("FirstOutUnit", material.getFirstOutUnit()); - item.put("FirstInUnit", material.getFirstInUnit()); - item.put("PriceStrategy", material.getPriceStrategy()); - item.put("Remark", material.getRemark()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找商品信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询商品信息结果异常", e); - } - } - - /** - * 查找商品信息-下拉框 - * - * @return - */ - public void findBySelect() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_Select()); - materialService.find(pageUtil); - List dataList = pageUtil.getPageList(); - String mpList = model.getMpList(); //商品属性 - String[] mpArr = mpList.split(","); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Material material : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", material.getId()); - String ratio; //比例 - if (material.getUnitId() == null || material.getUnitId().equals("")) { - ratio = ""; - } else { - ratio = material.getUnitId().getUName(); - ratio = ratio.substring(ratio.indexOf("(")); - } - //品名/型号/扩展信息/包装 - String MaterialName = material.getName() + ((material.getModel() == null || material.getModel().equals("")) ? "" : "(" + material.getModel() + ")"); - for (int i = 0; i < mpArr.length; i++) { - if (mpArr[i].equals("颜色")) { - MaterialName = MaterialName + ((material.getColor() == null || material.getColor().equals("")) ? "" : "(" + material.getColor() + ")"); - } - if (mpArr[i].equals("规格")) { - MaterialName = MaterialName + ((material.getStandard() == null || material.getStandard().equals("")) ? "" : "(" + material.getStandard() + ")"); - } - if (mpArr[i].equals("制造商")) { - MaterialName = MaterialName + ((material.getMfrs() == null || material.getMfrs().equals("")) ? "" : "(" + material.getMfrs() + ")"); - } - if (mpArr[i].equals("自定义1")) { - MaterialName = MaterialName + ((material.getOtherField1() == null || material.getOtherField1().equals("")) ? "" : "(" + material.getOtherField1() + ")"); - } - if (mpArr[i].equals("自定义2")) { - MaterialName = MaterialName + ((material.getOtherField2() == null || material.getOtherField2().equals("")) ? "" : "(" + material.getOtherField2() + ")"); - } - if (mpArr[i].equals("自定义3")) { - MaterialName = MaterialName + ((material.getOtherField3() == null || material.getOtherField3().equals("")) ? "" : "(" + material.getOtherField3() + ")"); - } - } - MaterialName = MaterialName + ((material.getUnit() == null || material.getUnit().equals("")) ? "" : "(" + material.getUnit() + ")") + ratio; - item.put("MaterialName", MaterialName); - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找供应商信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询供应商信息结果异常", e); - } catch (Exception e) { - e.printStackTrace(); - } - } - - /** - * 查找商品信息-统计排序 - * - * @return - */ - public void findByOrder() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition_Order()); - materialService.find(pageUtil); - List dataList = pageUtil.getPageList(); - //存放数据json数组 - JSONObject outer = new JSONObject(); - String mId = ""; - if (null != dataList) { - for (Material material : dataList) { - mId = mId + material.getId() + ","; - } - } - if (mId != "") { - mId = mId.substring(0, mId.lastIndexOf(",")); - } - outer.put("mIds", mId); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找供应商信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询供应商信息结果异常", e); - } - } - - /** - * 导入excel表格-供应商 - * - * @return - */ - @SuppressWarnings("unchecked") - public String importExcel() { - //excel表格file - Boolean result = false; - String returnStr = ""; - try { - InputStream in = materialService.importExcel(model.getMaterialFile()); - - if (null != in) { - model.setFileName(Tools.getRandomChar() + Tools.getNow2(Calendar.getInstance().getTime()) + "_wrong.xls"); - model.setExcelStream(in); - returnStr = MaterialConstants.BusinessForExcel.EXCEL; - } else { - result = true; - try { - toClient(result.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写导入信息结果异常", e); - } - //导入数据成功 - returnStr = SUCCESS; - } - - } catch (JshException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>导入excel表格信息异常", e); - } - return returnStr; - } - - /** - * 导出excel表格 - * - * @return - */ - @SuppressWarnings("unchecked") - public String exportExcel() { - Log.infoFileSync("===================调用导出信息action方法exportExcel开始======================="); - try { - String sName = "pageUtilMaterial"; - PageUtil pageUtil = (PageUtil) getSession().get(sName); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - String isCurrentPage = "allPage"; - model.setFileName(Tools.changeUnicode("goods" + System.currentTimeMillis() + ".xls", model.getBrowserType())); - model.setExcelStream(materialService.exmportExcel(isCurrentPage, pageUtil)); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>调用导出信息action方法exportExcel异常", e); - model.getShowModel().setMsgTip("export excel exception"); - } - Log.infoFileSync("===================调用导出信息action方法exportExcel结束=================="); - return EXCEL; - } - - /** - * 拼接搜索条件(查全部) - * - * @return - */ - private Map getCondition_all() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name_s_like", model.getName()); - condition.put("Model_s_like", model.getModel()); - condition.put("Color_s_like", model.getColor()); - condition.put("Id_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name_s_like", model.getName()); - condition.put("Model_s_like", model.getModel()); - condition.put("Color_s_like", model.getColor()); - condition.put("CategoryId_s_in", model.getCategoryIds()); - condition.put("Id_s_order", "asc"); - return condition; - } - - private Map getConditionCheckIsExist() { - Map condition = new HashMap(); - if (model.getMaterialID() > 0) { - condition.put("ID_n_neq", model.getMaterialID()); - } - condition.put("Name_s_eq", model.getName()); - condition.put("Model_s_eq", model.getModel()); - condition.put("Color_s_eq", model.getColor()); - condition.put("Standard_s_eq", model.getStandard()); - condition.put("Mfrs_s_eq", model.getMfrs()); - condition.put("OtherField1_s_eq", model.getOtherField1()); - condition.put("OtherField2_s_eq", model.getOtherField2()); - condition.put("OtherField3_s_eq", model.getOtherField3()); - if (model.getUnit() != null) { - condition.put("Unit_s_eq", model.getUnit()); - } - if (model.getUnitId() != null) { - condition.put("UnitId_n_eq", model.getUnitId()); - } - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getConditionById() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Id_n_eq", model.getMaterialID()); - return condition; - } - - /** - * 拼接搜索条件-下拉框 - * - * @return - */ - private Map getCondition_Select() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("enabled_s_eq", 1); - condition.put("Id_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件-下拉框 - * - * @return - */ - private Map getCondition_Order() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name,Model_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public MaterialModel getModel() { - return model; - } - - public void setMaterialService(MaterialIService materialService) { - this.materialService = materialService; - } -} diff --git a/src/main/java/com/jsh/action/materials/MaterialCategoryAction.java b/src/main/java/com/jsh/action/materials/MaterialCategoryAction.java deleted file mode 100644 index 55497855cbcf6615bb3fa47c6ffdb94885721cae..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/MaterialCategoryAction.java +++ /dev/null @@ -1,284 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.MaterialCategory; -import com.jsh.model.vo.materials.MaterialCategoryModel; -import com.jsh.service.materials.MaterialCategoryIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 商品类型管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class MaterialCategoryAction extends BaseAction { - private MaterialCategoryIService materialCategoryService; - private MaterialCategoryModel model = new MaterialCategoryModel(); - - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getBasicData() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("ParentId_n_eq", model.getParentId()); - condition.put("Id_n_neq", 1); - condition.put("Id_s_order", "asc"); - materialCategoryService.find(pageUtil); - mapData.put("materialCategoryList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找商品类别信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 增加商品类别 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加商品类别信息方法create()==================="); - Boolean flag = false; - try { - MaterialCategory materialCategory = new MaterialCategory(); - materialCategory.setMaterialCategory(new MaterialCategory(model.getParentId())); - - materialCategory.setCategoryLevel(model.getCategoryLevel()); - materialCategory.setName(model.getName()); - materialCategoryService.create(materialCategory); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加商品类别信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加商品类别信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加商品类别", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加商品类别名称为 " + model.getName() + " " + tipMsg + "!", "增加商品类别" + tipMsg)); - Log.infoFileSync("==================结束调用增加商品类别方法create()==================="); - } - - /** - * 删除商品类别 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除商品类别信息方法delete()================"); - try { - materialCategoryService.delete(model.getMaterialCategoryID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getMaterialCategoryID() + " 的商品类别异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除商品类别", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除商品类别ID为 " + model.getMaterialCategoryID() + " " + tipMsg + "!", "删除商品类别" + tipMsg)); - Log.infoFileSync("====================结束调用删除商品类别信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新商品类别 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - MaterialCategory materialCategory = materialCategoryService.get(model.getMaterialCategoryID()); - materialCategory.setMaterialCategory(new MaterialCategory(model.getParentId())); - - materialCategory.setCategoryLevel(model.getCategoryLevel()); - materialCategory.setName(model.getName()); - materialCategoryService.update(materialCategory); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改商品类别ID为 : " + model.getMaterialCategoryID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改商品类别回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新商品类别", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新商品类别ID为 " + model.getMaterialCategoryID() + " " + tipMsg + "!", "更新商品类别" + tipMsg)); - } - - /** - * 批量删除指定ID商品类别 - * - * @return - */ - public String batchDelete() { - try { - materialCategoryService.batchDelete(model.getMaterialCategoryIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除商品类别ID为:" + model.getMaterialCategoryIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除商品类别", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除商品类别ID为 " + model.getMaterialCategoryIDs() + " " + tipMsg + "!", "批量删除商品类别" + tipMsg)); - return SUCCESS; - } - - /** - * 查找商品类别信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - materialCategoryService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - //开始拼接json数据 -// {"total":28,"rows":[ -// {"productid":"AV-CB-01","attr1":"Adult Male","itemid":"EST-18"} -// ]} - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (MaterialCategory materialCategory : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", materialCategory.getId()); - item.put("ParentId", materialCategory.getMaterialCategory().getId()); - item.put("ParentName", materialCategory.getMaterialCategory().getName()); - item.put("CategoryLevel", materialCategory.getCategoryLevel()); - item.put("Name", materialCategory.getName()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找商品类别信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询商品类别信息结果异常", e); - } - } - - /** - * 根据id来查询商品名称 - * - * @return - */ - public void findById() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setAdvSearch(getConditionById()); - materialCategoryService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONObject outer = new JSONObject(); - if (null != dataList) { - for (MaterialCategory materialCategory : dataList) { - outer.put("name", materialCategory.getName()); - outer.put("parentId", materialCategory.getMaterialCategory().getId()); - } - } - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找商品类别信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询商品类别信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name_s_like", model.getName()); - condition.put("ParentId_n_eq", model.getParentId()); - condition.put("Id_n_neq", 1); - condition.put("Id_s_order", "asc"); - return condition; - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getConditionById() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Id_n_eq", model.getMaterialCategoryID()); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public MaterialCategoryModel getModel() { - return model; - } - - public void setMaterialCategoryService(MaterialCategoryIService materialCategoryService) { - this.materialCategoryService = materialCategoryService; - } -} diff --git a/src/main/java/com/jsh/action/materials/MaterialPropertyAction.java b/src/main/java/com/jsh/action/materials/MaterialPropertyAction.java deleted file mode 100644 index fa8eeaf1774a60c3f4e697af9d615b51fb6239b7..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/MaterialPropertyAction.java +++ /dev/null @@ -1,127 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.MaterialProperty; -import com.jsh.model.vo.materials.MaterialPropertyModel; -import com.jsh.service.materials.MaterialPropertyIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 商品属性 - * @author ji s h e n g hua qq:75 27 18 920 - */ -@SuppressWarnings("serial") -public class MaterialPropertyAction extends BaseAction { - private MaterialPropertyIService materialPropertyService; - private MaterialPropertyModel model = new MaterialPropertyModel(); - - /** - * 更新商品属性 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - MaterialProperty materialProperty = materialPropertyService.get(model.getId()); - materialProperty.setNativeName(model.getNativeName()); - materialProperty.setEnabled(model.getEnabled()); - materialProperty.setSort(model.getSort()); - materialProperty.setAnotherName(model.getAnotherName()); - materialPropertyService.update(materialProperty); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改商品属性ID为 : " + model.getId() + "失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改商品属性回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新商品属性", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新商品属性ID为 " + model.getId() + " " + tipMsg + "!", "更新商品属性" + tipMsg)); - } - - /** - * 查找商品属性 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - pageUtil.setAdvSearch(getCondition()); - materialPropertyService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (MaterialProperty materialProperty : dataList) { - JSONObject item = new JSONObject(); - item.put("id", materialProperty.getId()); - item.put("nativeName", materialProperty.getNativeName()); - item.put("enabled", materialProperty.getEnabled()); - item.put("sort", materialProperty.getSort()); - item.put("anotherName", materialProperty.getAnotherName()); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找商品属性异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询商品属性结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("nativeName_s_like", model.getNativeName()); - condition.put("sort_s_order", "asc"); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public MaterialPropertyModel getModel() { - return model; - } - - public void setMaterialPropertyService(MaterialPropertyIService materialPropertyService) { - this.materialPropertyService = materialPropertyService; - } -} diff --git a/src/main/java/com/jsh/action/materials/PersonAction.java b/src/main/java/com/jsh/action/materials/PersonAction.java deleted file mode 100644 index c16bfee1442a23b55ff80ea2a0cf95dc5faf504b..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/action/materials/PersonAction.java +++ /dev/null @@ -1,320 +0,0 @@ -package com.jsh.action.materials; - -import com.jsh.base.BaseAction; -import com.jsh.base.Log; -import com.jsh.model.po.Logdetails; -import com.jsh.model.po.Person; -import com.jsh.model.vo.materials.PersonModel; -import com.jsh.service.materials.PersonIService; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; -import org.springframework.dao.DataAccessException; - -import java.io.IOException; -import java.sql.Timestamp; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/* - * 经手人管理 - * @author jishenghua qq:752718920 - */ -@SuppressWarnings("serial") -public class PersonAction extends BaseAction { - private PersonIService personService; - private PersonModel model = new PersonModel(); - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getBasicData() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("Id_s_order", "asc"); - personService.find(pageUtil); - mapData.put("personList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找系统基础数据信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - @SuppressWarnings({"rawtypes", "unchecked"}) - public String getPersonByType() { - Map mapData = model.getShowModel().getMap(); - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("Type_s_eq", model.getType()); - condition.put("Id_s_order", "asc"); - personService.find(pageUtil); - mapData.put("personList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找系统基础数据信息异常", e); - model.getShowModel().setMsgTip("exceptoin"); - } - return SUCCESS; - } - - /** - * 根据类型获取经手人信息 1-业务员,2-仓管员,3-财务员 - * - * @return - */ - public void getPersonByNumType() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - Map condition = pageUtil.getAdvSearch(); - String type = ""; - if (model.getType().equals("1")) { - type = "业务员"; - } else if (model.getType().equals("2")) { - type = "仓管员"; - } else if (model.getType().equals("3")) { - type = "财务员"; - } - condition.put("Type_s_eq", type); - condition.put("Id_s_order", "asc"); - personService.find(pageUtil); - List dataList = pageUtil.getPageList(); - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Person person : dataList) { - JSONObject item = new JSONObject(); - item.put("id", person.getId()); - item.put("name", person.getName()); - dataArray.add(item); - } - } - //回写查询结果 - toClient(dataArray.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 根据Id获取经手人信息 - * - * @return - */ - public void getPersonByIds() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - Map condition = pageUtil.getAdvSearch(); - condition.put("Id_s_in", model.getPersonIDs()); - condition.put("Id_s_order", "asc"); - personService.find(pageUtil); - List dataList = pageUtil.getPageList(); - StringBuffer sb = new StringBuffer(); - if (null != dataList) { - for (Person person : dataList) { - sb.append(person.getName() + " "); - } - } - //回写查询结果 - toClient(sb.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>查找信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>回写查询信息结果异常", e); - } - } - - /** - * 增加经手人 - * - * @return - */ - public void create() { - Log.infoFileSync("==================开始调用增加经手人信息方法create()==================="); - Boolean flag = false; - try { - Person person = new Person(); - - person.setType(model.getType()); - person.setName(model.getName()); - personService.create(person); - - //========标识位=========== - flag = true; - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>增加经手人信息异常", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>增加经手人信息回写客户端结果异常", e); - } - } - - logService.create(new Logdetails(getUser(), "增加经手人", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "增加经手人名称为 " + model.getName() + " " + tipMsg + "!", "增加经手人" + tipMsg)); - Log.infoFileSync("==================结束调用增加经手人方法create()==================="); - } - - /** - * 删除经手人 - * - * @return - */ - public String delete() { - Log.infoFileSync("====================开始调用删除经手人信息方法delete()================"); - try { - personService.delete(model.getPersonID()); - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>删除ID为 " + model.getPersonID() + " 的经手人异常", e); - tipMsg = "失败"; - tipType = 1; - } - model.getShowModel().setMsgTip(tipMsg); - logService.create(new Logdetails(getUser(), "删除经手人", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "删除经手人ID为 " + model.getPersonID() + " " + tipMsg + "!", "删除经手人" + tipMsg)); - Log.infoFileSync("====================结束调用删除经手人信息方法delete()================"); - return SUCCESS; - } - - /** - * 更新经手人 - * - * @return - */ - public void update() { - Boolean flag = false; - try { - Person person = personService.get(model.getPersonID()); - - person.setType(model.getType()); - person.setName(model.getName()); - personService.update(person); - - flag = true; - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>修改经手人ID为 : " + model.getPersonID() + "信息失败", e); - flag = false; - tipMsg = "失败"; - tipType = 1; - } finally { - try { - toClient(flag.toString()); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>修改经手人回写客户端结果异常", e); - } - } - logService.create(new Logdetails(getUser(), "更新经手人", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "更新经手人ID为 " + model.getPersonID() + " " + tipMsg + "!", "更新经手人" + tipMsg)); - } - - /** - * 批量删除指定ID经手人 - * - * @return - */ - public String batchDelete() { - try { - personService.batchDelete(model.getPersonIDs()); - model.getShowModel().setMsgTip("成功"); - //记录操作日志使用 - tipMsg = "成功"; - tipType = 0; - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>批量删除经手人ID为:" + model.getPersonIDs() + "信息异常", e); - tipMsg = "失败"; - tipType = 1; - } - - logService.create(new Logdetails(getUser(), "批量删除经手人", model.getClientIp(), - new Timestamp(System.currentTimeMillis()) - , tipType, "批量删除经手人ID为 " + model.getPersonIDs() + " " + tipMsg + "!", "批量删除经手人" + tipMsg)); - return SUCCESS; - } - - /** - * 查找经手人信息 - * - * @return - */ - public void findBy() { - try { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(model.getPageSize()); - pageUtil.setCurPage(model.getPageNo()); - pageUtil.setAdvSearch(getCondition()); - personService.find(pageUtil); - List dataList = pageUtil.getPageList(); - - JSONObject outer = new JSONObject(); - outer.put("total", pageUtil.getTotalCount()); - //存放数据json数组 - JSONArray dataArray = new JSONArray(); - if (null != dataList) { - for (Person person : dataList) { - JSONObject item = new JSONObject(); - item.put("Id", person.getId()); - item.put("Type", person.getType()); - item.put("Name", person.getName()); - item.put("op", 1); - dataArray.add(item); - } - } - outer.put("rows", dataArray); - //回写查询结果 - toClient(outer.toString()); - } catch (DataAccessException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>查找经手人信息异常", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>回写查询经手人信息结果异常", e); - } - } - - /** - * 拼接搜索条件 - * - * @return - */ - private Map getCondition() { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("Name_s_like", model.getName()); - condition.put("Type_s_eq", model.getType()); - return condition; - } - - //=============以下spring注入以及Model驱动公共方法,与Action处理无关================== - @Override - public PersonModel getModel() { - return model; - } - - public void setPersonService(PersonIService personService) { - this.personService = personService; - } -} diff --git a/src/main/java/com/jsh/base/BaseAction.java b/src/main/java/com/jsh/base/BaseAction.java deleted file mode 100644 index 1130da727ce50fe982d09b48fe56cd409401d76a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/base/BaseAction.java +++ /dev/null @@ -1,115 +0,0 @@ -package com.jsh.base; - -import com.jsh.model.po.Basicuser; -import com.jsh.service.basic.LogIService; -import com.opensymphony.xwork2.ActionContext; -import com.opensymphony.xwork2.ActionSupport; -import com.opensymphony.xwork2.ModelDriven; -import org.apache.struts2.ServletActionContext; - -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import java.io.IOException; -import java.util.Map; - -/** - * struts2工具类 - * - * @author jishenghua qq752718920 - * struts2 base action 一些常用方法获取 - */ -@SuppressWarnings("serial") -public abstract class BaseAction extends ActionSupport implements ModelDriven { - public LogIService logService; - - /** - * 操作日志使用 是否成功表示 - */ - public String tipMsg = "成功"; - - /** - * 操作日志使用 是否成功表示 0 ==成功 1==失败 - */ - public short tipType = 0; - - /** - * 获取session - * - * @return - */ - public static Map getSession() { - return ActionContext.getContext().getSession(); - } - - /** - * 获取request - * - * @return - */ - public static HttpServletRequest getRequest() { - return ServletActionContext.getRequest(); - } - - /** - * 获取response - * - * @return response - */ - public static HttpServletResponse getResponse() { - return ServletActionContext.getResponse(); - } - - public void setLogService(LogIService logService) { - this.logService = logService; - } - - /** - * 添加错误信息 - * - * @param anErrorMessage - */ - public void addActionError(String anErrorMessage) { - super.addActionError(anErrorMessage); - } - - /** - * 添加消息 - * - * @param aMessage - */ - public void addActionMessage(String aMessage) { - clearErrorsAndMessages(); - super.addActionMessage(aMessage); - } - - /** - * 添加字段错误 - * - * @param fieldName - * @param errorMessage - */ - public void addFieldError(String fieldName, String errorMessage) { - clearErrorsAndMessages(); - super.addFieldError(fieldName, errorMessage); - } - - /** - * 登录用户信息 - * - * @return 登录用户对象 - */ - public Basicuser getUser() { - return (Basicuser) getSession().get("user"); - } - - /** - * 回写客户端数据 - * - * @throws IOException - */ - public void toClient(String jsonData) throws IOException { - HttpServletResponse response = ServletActionContext.getResponse(); - response.setContentType("text/html;charset=utf-8"); - response.getWriter().print(jsonData); - } -} diff --git a/src/main/java/com/jsh/base/BaseDAO.java b/src/main/java/com/jsh/base/BaseDAO.java deleted file mode 100644 index 673ac810f0ac1d18b989420c4f2cd7e6ea10bd7b..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/base/BaseDAO.java +++ /dev/null @@ -1,126 +0,0 @@ -package com.jsh.base; - -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; -import org.springframework.dao.DataAccessException; -import org.springframework.orm.hibernate3.support.HibernateDaoSupport; - -import java.io.Serializable; -import java.util.List; -import java.util.Map; - -/** - * 基础dao - * - * @author ji_sheng_hua qq:752718920 - */ -public class BaseDAO extends HibernateDaoSupport implements BaseIDAO { - protected Class entityClass; - - public void setPoJoClass(Class c) { - this.entityClass = c; - } - - protected Class getEntityClass() { - return this.entityClass; - } - - @Override - public Serializable create(T t) throws DataAccessException { - return this.getHibernateTemplate().save(t); - } - - @Override - public void delete(T t) throws DataAccessException { - this.getHibernateTemplate().delete(t); - } - - @Override - public T get(Long objID) throws DataAccessException { - return (T) this.getHibernateTemplate().get(getEntityClass(), objID); - } - - @Override - public void update(T t) throws DataAccessException { - this.getHibernateTemplate().update(t); - } - - @Override - public void batchDelete(String objIDs) throws DataAccessException { - this.getHibernateTemplate().bulkUpdate("delete from " + getEntityClass().getName() + " where id in (" + objIDs + ")"); - } - - @SuppressWarnings("unchecked") - @Override - public void find(PageUtil pageUtil) throws DataAccessException { - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession() - .createQuery(" from " + getEntityClass().getName() + " where 1=1 " + - SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - - // 分页查询 - int pageNo = pageUtil.getCurPage(); - int pageSize = pageUtil.getPageSize(); - if (0 != pageNo && 0 != pageSize) { - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - } - pageUtil.setPageList(query.list()); - } - -// @SuppressWarnings("unchecked") -// @Override -// public List find(Map conditon)throws DataAccessException -// { -// return this.getHibernateTemplate().find(" from " + getEntityClass().getName() + " where 1=1 "+ SearchConditionUtil.getCondition(conditon)); -// } - -// @SuppressWarnings("unchecked") -// @Override -// public List find(String hql) throws DataAccessException -// { -// return this.getHibernateTemplate().find(" from " + getEntityClass().getName() + " where 1=1 "+ hql); -// } - - @SuppressWarnings("unchecked") - @Override - public List find(Map conditon, int pageSize, int pageNo) throws DataAccessException { - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession() - .createQuery(" from " + getEntityClass().getName() + " where 1=1 " + SearchConditionUtil.getCondition(conditon)); - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - return query.list(); - } - - @SuppressWarnings("unchecked") - @Override - public List find(String hql, int pageSize, int pageNo) throws DataAccessException { - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession() - .createQuery(" from " + getEntityClass().getName() + " where 1=1 " + hql); - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - return query.list(); - } - - @SuppressWarnings("unchecked") - @Override - public Integer countSum(Map conditon) throws DataAccessException { - List dataList = this.getHibernateTemplate().getSessionFactory().getCurrentSession() - .createQuery(" from " + getEntityClass().getName() + " where 1=1 " + SearchConditionUtil.getCondition(conditon)).list(); - return dataList == null ? 0 : dataList.size(); - } - - @SuppressWarnings("unchecked") - @Override - public Integer countSum(String hql) throws DataAccessException { - List dataList = this.getHibernateTemplate().getSessionFactory().getCurrentSession() - .createQuery(" from " + getEntityClass().getName() + " where 1=1 " + hql).list(); - return dataList == null ? 0 : dataList.size(); - } - - @Override - public void save(T t) throws DataAccessException { - this.getHibernateTemplate().save(t); - } -} diff --git a/src/main/java/com/jsh/base/BaseIDAO.java b/src/main/java/com/jsh/base/BaseIDAO.java deleted file mode 100644 index 333a57c92a7f2b96036db26dfc5ef3f5e233aba7..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/base/BaseIDAO.java +++ /dev/null @@ -1,135 +0,0 @@ -package com.jsh.base; - -import com.jsh.util.PageUtil; -import org.springframework.dao.DataAccessException; - -import java.io.Serializable; -import java.util.List; -import java.util.Map; - -/** - * 常用增删改查操作 - * - * @param - * @author ji-sheng-hua qq752718920 - */ -public interface BaseIDAO { - - /** - * 设置操作类对象 - * - * @param paramClass - */ - void setPoJoClass(Class paramClass); - - /** - * 增加 - * - * @param t 对象 - * @throws DataAccessException - */ - Serializable create(T t) throws DataAccessException; - - /** - * 增加 - * - * @param t 对象 - * @throws DataAccessException - */ - void save(T t) throws DataAccessException; - - /** - * 删除 - * - * @param t 对象 - * @throws DataAccessException - */ - void delete(T t) throws DataAccessException; - - /** - * 获取 - * - * @param objID ID - * @return 对象 - * @throws DataAccessException - */ - T get(Long objID) throws DataAccessException; - - /** - * 修改信息 - * - * @param t 要修改的对象 - * @throws DataAccessException - */ - void update(T t) throws DataAccessException; - - /** - * 批量删除信息 - * - * @param 以逗号分割的ID - * @throws DataAccessException - */ - void batchDelete(String objIDs) throws DataAccessException; - - /** - * 查找列表 - * - * @param pageUtil 分页工具类 - * @throws DataAccessException - */ - void find(PageUtil pageUtil) throws DataAccessException; - - /** - * 根据条件查询列表--没有分页信息 - * @param conditon 查询条件 - * @return 查询列表数据 - */ -// List find(Map conditon)throws DataAccessException; - - /** - * 根据hql查询 --没有分页信息 - * @param hql hibernate查询 - * @return 查询列表数据 - */ -// List find(String hql)throws DataAccessException; - - /** - * 根据搜索条件查询--分页 - * - * @param conditon 查询条件 - * @param pageSize 每页个数 - * @param pageNo 页码 - * @return 查询列表数据 - * @throws DataAccessException - */ - List find(Map conditon, int pageSize, int pageNo) throws DataAccessException; - - /** - * 根据hql查询--分页 - * - * @param hql hibernate查询语句 - * @param pageSize 每页个数 - * @param pageNo 页码 - * @return 查询列表数据 - * @throws DataAccessException - */ - List find(String hql, int pageSize, int pageNo) throws DataAccessException; - - /** - * 查找符合条件的总数 - * - * @param conditon - * @return - * @throws DataAccessException - */ - Integer countSum(Map conditon) throws DataAccessException; - - /** - * 查找符合条件的总数 - * - * @param hql - * @return - * @throws DataAccessException - */ - Integer countSum(String hql) throws DataAccessException; -} diff --git a/src/main/java/com/jsh/base/BaseIService.java b/src/main/java/com/jsh/base/BaseIService.java deleted file mode 100644 index 08d43f51dbdd3b67498fc1c009860e86c2af2f85..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/base/BaseIService.java +++ /dev/null @@ -1,119 +0,0 @@ -package com.jsh.base; - -import com.jsh.util.PageUtil; -import org.springframework.dao.DataAccessException; - -import java.io.Serializable; - -/** - * 服务层底层接口 - * - * @param - * @author ji-sheng-hua qq752718920 - */ -public interface BaseIService { - /** - * 增加 - * - * @param t 对象 - * @throws DataAccessException - */ - Serializable create(T t) throws DataAccessException; - - /** - * 增加 - * - * @param t 对象 - * @throws DataAccessException - */ - void save(T t) throws DataAccessException; - - /** - * 删除 - * - * @param t 对象 - * @throws DataAccessException - */ - void delete(T t) throws DataAccessException; - - /** - * 删除 - * - * @param id 对象ID - * @throws DataAccessException - */ - void delete(Long id) throws DataAccessException; - - /** - * 获取 - * - * @param objID ID - * @return 对象 - * @throws DataAccessException - */ - T get(Long objID) throws DataAccessException; - - /** - * 修改信息 - * - * @param t 要修改的对象 - * @throws DataAccessException - */ - void update(T t) throws DataAccessException; - - /** - * 批量删除信息 - * - * @param 以逗号分割的ID - * @throws DataAccessException - */ - void batchDelete(String objIDs) throws DataAccessException; - - /** - * 查找列表 - * - * @param pageUtil 分页工具类 - * @throws DataAccessException - */ - void find(PageUtil pageUtil) throws DataAccessException; - - /** - * 检查名称是否存在,页面唯一性效验使用 - * - * @param filedName 效验的字段名称 - * @param filedVale 校验值 - * @param idFiled ID字段名称 - * @param objectID 修改时对象ID - * @return true==存在 false==不存在 - * @throws DataAccessException - */ - Boolean checkIsNameExist(String filedName, String filedVale, String idFiled, Long objectID) throws DataAccessException; - - /** - * 检查UserBusiness是否存在,页面唯一性效验使用 - * - * @param TypeName 类型名称 - * @param TypeVale 类型值 - * @param KeyIdName 关键id - * @param KeyIdValue 关键值 - * @param UBName 关系名称 - * @param UBValue 关系值 - * @return true==存在 false==不存在 - * @throws DataAccessException - */ - Boolean checkIsUserBusinessExist(String TypeName, String TypeVale, String KeyIdName, String KeyIdValue, String UBName, String UBValue) throws DataAccessException; - - /** - * 检查UserBusiness是否存在,页面唯一性效验使用 - * - * @param TypeName 类型名称 - * @param TypeVale 类型值 - * @param KeyIdName 关键id - * @param KeyIdValue 关键值 - * @return true==存在 false==不存在 - * @throws DataAccessException - */ - Boolean checkIsValueExist(String TypeName, String TypeVale, String KeyIdName, String KeyIdValue) throws DataAccessException; - - -} diff --git a/src/main/java/com/jsh/base/BaseService.java b/src/main/java/com/jsh/base/BaseService.java deleted file mode 100644 index 2070fba6909651712d1c29503160280632e38454..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/base/BaseService.java +++ /dev/null @@ -1,124 +0,0 @@ -package com.jsh.base; - -import com.jsh.util.PageUtil; -import org.springframework.dao.DataAccessException; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -/** - * 底层服务层 - * - * @param - * @author ji-sheng-hua qq752718920 - */ -public abstract class BaseService implements BaseIService { - protected Class entityClass; - /** - * Dao对象 - */ - private BaseIDAO baseDao; - - protected BaseIDAO getBaseDao() { - return this.baseDao; - } - - public void setBaseDao(BaseIDAO baseDao) { - this.baseDao = baseDao; - setPoJoClass(getEntityClass()); - } - - private void setPoJoClass(Class c) { - this.baseDao.setPoJoClass(c); - } - - protected abstract Class getEntityClass(); - - @Override - public Serializable create(T t) throws DataAccessException { - return baseDao.create(t); - } - - @Override - public void save(T t) throws DataAccessException { - baseDao.save(t); - } - - @Override - public void delete(T t) throws DataAccessException { - baseDao.delete(t); - } - - @Override - public void delete(Long id) throws DataAccessException { - baseDao.batchDelete(id.toString()); - } - - @Override - public T get(Long objID) throws DataAccessException { - return baseDao.get(objID); - } - - @Override - public void update(T t) throws DataAccessException { - baseDao.update(t); - } - - @Override - public void batchDelete(String objIDs) throws DataAccessException { - baseDao.batchDelete(objIDs); - } - - @Override - public void find(PageUtil pageUtil) throws DataAccessException { - baseDao.find(pageUtil); - } - - @Override - public Boolean checkIsNameExist(String filedName, String filedVale, String idFiled, Long objectID) throws DataAccessException { - PageUtil pageUtil = new PageUtil(); - Map condition = new HashMap(); - condition.put(filedName + "_s_eq", filedVale); - condition.put(idFiled + "_n_neq", objectID); - pageUtil.setAdvSearch(condition); - baseDao.find(pageUtil); - - List dataList = pageUtil.getPageList(); - if (null != dataList && dataList.size() > 0) - return true; - return false; - } - - @Override - public Boolean checkIsUserBusinessExist(String TypeName, String TypeVale, String KeyIdName, String KeyIdValue, String UBName, String UBValue) throws DataAccessException { - PageUtil pageUtil = new PageUtil(); - Map condition = new HashMap(); - condition.put(TypeName + "_s_eq", TypeVale); - condition.put(KeyIdName + "_s_eq", KeyIdValue); - condition.put(UBName + "_s_like", UBValue); - pageUtil.setAdvSearch(condition); - baseDao.find(pageUtil); - - List dataList = pageUtil.getPageList(); - if (null != dataList && dataList.size() > 0) - return true; - return false; - } - - @Override - public Boolean checkIsValueExist(String TypeName, String TypeVale, String KeyIdName, String KeyIdValue) throws DataAccessException { - PageUtil pageUtil = new PageUtil(); - Map condition = new HashMap(); - condition.put(TypeName + "_s_eq", TypeVale); - condition.put(KeyIdName + "_s_eq", KeyIdValue); - pageUtil.setAdvSearch(condition); - baseDao.find(pageUtil); - - List dataList = pageUtil.getPageList(); - if (null != dataList && dataList.size() > 0) - return true; - return false; - } -} diff --git a/src/main/java/com/jsh/base/Log.java b/src/main/java/com/jsh/base/Log.java deleted file mode 100644 index 6e822880fbf75a000aef9dcf50b446ab63648880..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/base/Log.java +++ /dev/null @@ -1,165 +0,0 @@ -package com.jsh.base; - -import org.apache.log4j.Logger; - -/** - * 封装log4j日志信息,打印日志信息类 - * - * @author ji/sheng/hua qq_7527.18920 - * @since 2014-01-22 - */ -public class Log { - /** - * Info级别日志前缀 - */ - public static final String LOG_INFO_PREFIX = "=========="; - /** - * error级别日志前缀 - */ - public static final String LOG_ERROR_PREFIX = ">>>>>>>>>>"; - /** - * debug级别日志前缀 - */ - public static final String LOG_DEBUG_PREFIX = "-----------"; - /** - * fatal级别日志前缀 - */ - public static final String LOG_FATAL_PREFIX = "$$$$$$$$$$"; - /** - * warn级别日志前缀 - */ - public static final String LOG_WARN_PREFIX = "##########"; - /** - * 根据异常信息获取调用类的信息 - */ - private static final Exception ex = new Exception(); - /** - * 获取Log4j实例 - */ - private static final Logger log = Logger.getLogger("jsh"); - - /** - * 打印deug日期信息 - * - * @param msg 日志信息 - */ - public static void debugFileSync(Object msg) { - log.debug(getLogDetail(msg)); - } - - /** - * 打印debug异常信息 - * - * @param msg 日志信息 - * @param e 异常堆栈 - */ - public static void debugFileSync(Object msg, Throwable e) { - log.debug(getLogDetail(msg), e); - } - - /** - * 打印info日志信息 - * - * @param msg 日志信息 - */ - public static void infoFileSync(Object msg) { - log.info(getLogDetail(msg)); - } - - /** - * 打印 info日志带异常信息 - * - * @param msg 日志信息 - * @param e 异常堆栈 - */ - public static void infoFileSync(Object msg, Throwable e) { - log.info(getLogDetail(msg), e); - } - - /** - * 打印warn日期信息 - * - * @param msg 日志信息 - */ - public static void warnFileSync(Object msg) { - log.warn(getLogDetail(msg)); - } - - /** - * 打印warn日志信息带异常 - * - * @param msg日志信息 - * @param e 异常堆栈 - */ - public static void warnFileSync(Object msg, Throwable e) { - log.warn(getLogDetail(msg), e); - } - - /** - * 打印error日志信息 - * - * @param msg 日志信息 - */ - public static void errorFileSync(Object msg) { - log.error(getLogDetail(msg)); - } - - /** - * 打印error日志信息带异常 - * - * @param msg 日志信息 - * @param e 异常堆栈 - */ - public static void errorFileSync(Object msg, Throwable e) { - log.error(getLogDetail(msg), e); - } - - /** - * 打印fatal日志信息 - * - * @param msg 日志信息 - */ - public static void fatalFileSync(Object msg) { - log.fatal(getLogDetail(msg)); - } - - /** - * 打印fatal日志信息带异常 - * - * @param msg 日志信息 - * @param e 异常堆栈 - */ - public static void fatalFileSync(Object msg, Throwable e) { - log.fatal(getLogDetail(msg), e); - } - - /** - * 拼装日志详细信息 - * - * @param message 要打印的日志信息 - * @return 封装后的日志详细信息 - */ - private static synchronized String getLogDetail(Object message) { - String msg = ""; - if (null != message) - msg = message.toString(); - StringBuffer bf = new StringBuffer(); - try { - ex.fillInStackTrace(); - throw ex; - } catch (Exception ex) { - StackTraceElement[] trace = ex.getStackTrace(); - //获取异常堆栈中的调用类信息 - final int pos = 2; - bf.append(msg); - bf.append(" [class:"); - bf.append(trace[pos].getClassName()); - bf.append(" method:"); - bf.append(trace[pos].getMethodName()); - bf.append(" line:"); - bf.append(trace[pos].getLineNumber()); - bf.append("]"); - } - return bf.toString(); - } -} diff --git a/src/main/java/com/jsh/dao/asset/AssetDAO.java b/src/main/java/com/jsh/dao/asset/AssetDAO.java deleted file mode 100644 index cb74747597fa87dc0ad89116643e34fec241c21f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/asset/AssetDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.asset; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Asset; - -public class AssetDAO extends BaseDAO implements AssetIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Asset.class; - } -} diff --git a/src/main/java/com/jsh/dao/asset/AssetIDAO.java b/src/main/java/com/jsh/dao/asset/AssetIDAO.java deleted file mode 100644 index 76c302b232aeff9075bae279b68def9dc852872b..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/asset/AssetIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.asset; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Asset; - -public interface AssetIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/asset/ReportDAO.java b/src/main/java/com/jsh/dao/asset/ReportDAO.java deleted file mode 100644 index 51cd1888906d1fbbe7ac0d5074590a247aa19800..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/asset/ReportDAO.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.jsh.dao.asset; - -import com.jsh.model.po.Asset; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; -import org.springframework.orm.hibernate3.support.HibernateDaoSupport; - -public class ReportDAO extends HibernateDaoSupport implements ReportIDAO { - @SuppressWarnings("unchecked") - @Override - public void find(PageUtil pageUtil, String reportType, String reportName) throws JshException { - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createQuery("select count(" + reportType + ") as dataSum, " + reportName + " from Asset asset where 1=1 " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } -} diff --git a/src/main/java/com/jsh/dao/asset/ReportIDAO.java b/src/main/java/com/jsh/dao/asset/ReportIDAO.java deleted file mode 100644 index 18adba81a3804782d79d670de4be4a53ffbba5a6..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/asset/ReportIDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.asset; - -import com.jsh.model.po.Asset; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface ReportIDAO { - /** - * 查找资产列表 - * - * @param pageUtil 分页工具类 - * @param reportType 报表统计字段 - * @throws JshException - */ - void find(PageUtil pageUtil, String reportType, String reportName) throws JshException; -} diff --git a/src/main/java/com/jsh/dao/basic/AccountDAO.java b/src/main/java/com/jsh/dao/basic/AccountDAO.java deleted file mode 100644 index 399b39434885bdb52444811591f44951704885c0..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/AccountDAO.java +++ /dev/null @@ -1,82 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Account; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; - -public class AccountDAO extends BaseDAO implements AccountIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Account.class; - } - - @SuppressWarnings("unchecked") - public void findAccountInOutList(PageUtil pageUtil, Long accountId) throws JshException { - StringBuffer queryString = new StringBuffer(); - //主表出入库涉及的账户 - queryString.append("select dh.Number,concat(dh.SubType,dh.Type) as newType,s.supplier,dh.ChangeAmount,date_format(dh.OperTime,'%Y-%m-%d %H:%i:%S') as oTime,'' as AList,'' as AMList " + - " from jsh_depothead dh inner join jsh_supplier s on dh.OrganId = s.id where 1=1 "); - if (accountId != null && !accountId.equals("")) { - queryString.append(" and dh.AccountId='" + accountId + "' "); - } - //主表收入和支出涉及的账户 - queryString.append("UNION ALL " + - "select ah.BillNo,ah.Type as newType,s.supplier,ah.ChangeAmount,date_format(ah.BillTime,'%Y-%m-%d %H:%i:%S') as oTime,'' as AList,'' as AMList " + - " from jsh_accounthead ah inner join jsh_supplier s on ah.OrganId=s.id where 1=1 "); - if (accountId != null && !accountId.equals("")) { - queryString.append(" and ah.AccountId='" + accountId + "' "); - } - //明细中涉及的账户(收款,付款,收预付款) - queryString.append("UNION ALL " + - "select ah.BillNo,ah.Type as newType,s.supplier,ai.EachAmount,date_format(ah.BillTime,'%Y-%m-%d %H:%i:%S') as oTime,'' as AList,'' as AMList " + - " from jsh_accounthead ah inner join jsh_supplier s on ah.OrganId=s.id " + - " inner join jsh_accountitem ai on ai.HeaderId=ah.Id " + - " where ah.Type in ('收款','付款','收预付款') "); - if (accountId != null && !accountId.equals("")) { - queryString.append(" and ai.AccountId='" + accountId + "' "); - } - //主表中转出的账户 - queryString.append("UNION ALL " + - "select ah.BillNo,ah.Type as newType, '' as sName,ah.ChangeAmount,date_format(ah.BillTime,'%Y-%m-%d %H:%i:%S') as oTime,'' as AList,'' as AMList " + - " from jsh_accounthead ah inner join jsh_accountitem ai on ai.HeaderId=ah.Id " + - " where ah.Type='转账' "); - if (accountId != null && !accountId.equals("")) { - queryString.append(" and ah.AccountId='" + accountId + "' "); - } - //明细中被转入的账户 - queryString.append("UNION ALL " + - "select ah.BillNo,ah.Type as newType, '' as sName,ai.EachAmount,date_format(ah.BillTime,'%Y-%m-%d %H:%i:%S') as oTime,'' as AList,'' as AMList " + - " from jsh_accounthead ah inner join jsh_accountitem ai on ai.HeaderId=ah.Id " + - " where ah.Type='转账' "); - if (accountId != null && !accountId.equals("")) { - queryString.append(" and ai.AccountId='" + accountId + "' "); - } - //多账户的情况 - queryString.append("UNION ALL " + - "select dh.Number,concat(dh.SubType,dh.Type) as newType,s.supplier,dh.ChangeAmount,date_format(dh.OperTime,'%Y-%m-%d %H:%i:%S') as oTime,dh.AccountIdList,dh.AccountMoneyList" + - " from jsh_depothead dh inner join jsh_supplier s on dh.OrganId = s.id where 1=1 "); - if (accountId != null && !accountId.equals("")) { - queryString.append(" and dh.AccountIdList like '%\"" + accountId + "\"%' "); - } - queryString.append(" ORDER BY oTime desc"); - Query query; - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - // 分页查询 - int pageNo = pageUtil.getCurPage(); - int pageSize = pageUtil.getPageSize(); - if (0 != pageNo && 0 != pageSize) { - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - } - pageUtil.setPageList(query.list()); - } -} diff --git a/src/main/java/com/jsh/dao/basic/AccountIDAO.java b/src/main/java/com/jsh/dao/basic/AccountIDAO.java deleted file mode 100644 index b6f31978fb21ce077bee6063e4601feebcad675d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/AccountIDAO.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Account; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface AccountIDAO extends BaseIDAO { - - public void findAccountInOutList(PageUtil pageUtil, Long accountId) throws JshException; - -} diff --git a/src/main/java/com/jsh/dao/basic/AppDAO.java b/src/main/java/com/jsh/dao/basic/AppDAO.java deleted file mode 100644 index 134c3be230d4e5f87282c851cb28ed0a19ea3539..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/AppDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.App; - -public class AppDAO extends BaseDAO implements AppIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return App.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/AppIDAO.java b/src/main/java/com/jsh/dao/basic/AppIDAO.java deleted file mode 100644 index e0a99dbfcbb091684b2b2814f12f20b3ea38f595..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/AppIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.App; - -public interface AppIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/AssetNameDAO.java b/src/main/java/com/jsh/dao/basic/AssetNameDAO.java deleted file mode 100644 index 6d4f2173cae21ac9982b5c37eacc4d756713aa2d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/AssetNameDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Assetname; - -public class AssetNameDAO extends BaseDAO implements AssetNameIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Assetname.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/AssetNameIDAO.java b/src/main/java/com/jsh/dao/basic/AssetNameIDAO.java deleted file mode 100644 index 919b0df97af29c0294c50a6151246dce83bbc8f0..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/AssetNameIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Assetname; - -public interface AssetNameIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/CategoryDAO.java b/src/main/java/com/jsh/dao/basic/CategoryDAO.java deleted file mode 100644 index 31045c0c49dca5b68e13d652891cf5e443f802cf..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/CategoryDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Category; - -public class CategoryDAO extends BaseDAO implements CategoryIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Category.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/CategoryIDAO.java b/src/main/java/com/jsh/dao/basic/CategoryIDAO.java deleted file mode 100644 index d46bb3aab16644c45955b990337b74b93adf2936..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/CategoryIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Category; - -public interface CategoryIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/DepotDAO.java b/src/main/java/com/jsh/dao/basic/DepotDAO.java deleted file mode 100644 index ce138a6c0e1e69aa7415f8dfbd608ca2a0e6e229..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/DepotDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Depot; - -public class DepotDAO extends BaseDAO implements DepotIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Depot.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/DepotIDAO.java b/src/main/java/com/jsh/dao/basic/DepotIDAO.java deleted file mode 100644 index 803c4ad8ca5926a6348a863fd5d8f23ecd6b3393..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/DepotIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Depot; - -public interface DepotIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/FunctionsDAO.java b/src/main/java/com/jsh/dao/basic/FunctionsDAO.java deleted file mode 100644 index 62b9d9b19b354fd25fc5d8b481ca47af0164fa67..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/FunctionsDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Functions; - -public class FunctionsDAO extends BaseDAO implements FunctionsIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Functions.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/FunctionsIDAO.java b/src/main/java/com/jsh/dao/basic/FunctionsIDAO.java deleted file mode 100644 index c2fc936a414277bfc36e136b0370816f129ad5d4..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/FunctionsIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Functions; - -public interface FunctionsIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/InOutItemDAO.java b/src/main/java/com/jsh/dao/basic/InOutItemDAO.java deleted file mode 100644 index 20022605e1128e1aecf35c0915cc8974bfcaf242..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/InOutItemDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.InOutItem; - -public class InOutItemDAO extends BaseDAO implements InOutItemIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return InOutItem.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/InOutItemIDAO.java b/src/main/java/com/jsh/dao/basic/InOutItemIDAO.java deleted file mode 100644 index 00949f263b0c90a5b4a00b8e392078a5c014edb1..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/InOutItemIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.InOutItem; - -public interface InOutItemIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/LogDAO.java b/src/main/java/com/jsh/dao/basic/LogDAO.java deleted file mode 100644 index bf204aac7506ce2c256d396a0db1e5e78f973f96..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/LogDAO.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Logdetails; - -public class LogDAO extends BaseDAO implements LogIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Logdetails.class; - } - -} diff --git a/src/main/java/com/jsh/dao/basic/LogIDAO.java b/src/main/java/com/jsh/dao/basic/LogIDAO.java deleted file mode 100644 index 525863225f818a9b229a1afe3dda69fdc2e543f7..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/LogIDAO.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Logdetails; - -/** - * 日志相关处理接口 - * - * @author angel - */ -public interface LogIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/RoleDAO.java b/src/main/java/com/jsh/dao/basic/RoleDAO.java deleted file mode 100644 index 2695eb78e3abc234e21c3ac911dba21886c08e75..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/RoleDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Role; - -public class RoleDAO extends BaseDAO implements RoleIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Role.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/RoleIDAO.java b/src/main/java/com/jsh/dao/basic/RoleIDAO.java deleted file mode 100644 index 10f246bdd61bcfb2f0cc7bfa886196e825b9fa74..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/RoleIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Role; - -public interface RoleIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/SupplierDAO.java b/src/main/java/com/jsh/dao/basic/SupplierDAO.java deleted file mode 100644 index 1300715d59ae985b84b099904918ded20a3ef346..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/SupplierDAO.java +++ /dev/null @@ -1,25 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Supplier; -import org.hibernate.Query; - -public class SupplierDAO extends BaseDAO implements SupplierIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Supplier.class; - } - - @SuppressWarnings("unchecked") - @Override - public void batchSetEnable(Boolean enable, String supplierIDs) { - String sql = "update jsh_supplier s set s.enabled=" + enable + " where s.id in (" + supplierIDs + ")"; - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(sql); - query.executeUpdate(); - } -} diff --git a/src/main/java/com/jsh/dao/basic/SupplierIDAO.java b/src/main/java/com/jsh/dao/basic/SupplierIDAO.java deleted file mode 100644 index 50dd50c79141de9d581e70c0ce206ad2d621ab61..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/SupplierIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Supplier; - -public interface SupplierIDAO extends BaseIDAO { - public void batchSetEnable(Boolean enable, String supplierIDs); -} diff --git a/src/main/java/com/jsh/dao/basic/SystemConfigDAO.java b/src/main/java/com/jsh/dao/basic/SystemConfigDAO.java deleted file mode 100644 index 79754f2d2498977cb6fd8f22f9726313d39189ae..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/SystemConfigDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.SystemConfig; - -public class SystemConfigDAO extends BaseDAO implements SystemConfigIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return SystemConfig.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/SystemConfigIDAO.java b/src/main/java/com/jsh/dao/basic/SystemConfigIDAO.java deleted file mode 100644 index 01b1b735b5d7a6cebb46e158379189ddd7dc9333..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/SystemConfigIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.SystemConfig; - -public interface SystemConfigIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/UnitDAO.java b/src/main/java/com/jsh/dao/basic/UnitDAO.java deleted file mode 100644 index 674f7fce249c7f3654fb5a4ddf999cb8e8f9b81b..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/UnitDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Unit; - -public class UnitDAO extends BaseDAO implements UnitIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Unit.class; - } -} diff --git a/src/main/java/com/jsh/dao/basic/UnitIDAO.java b/src/main/java/com/jsh/dao/basic/UnitIDAO.java deleted file mode 100644 index 19e1ca65d35eaa17c073656950e4614ba7155af8..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/UnitIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Unit; - -public interface UnitIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/basic/UserBusinessDAO.java b/src/main/java/com/jsh/dao/basic/UserBusinessDAO.java deleted file mode 100644 index da66f5b44fc0a47b436bf483fe1c103e0cbde2b5..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/UserBusinessDAO.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.UserBusiness; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; - -public class UserBusinessDAO extends BaseDAO implements UserBusinessIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return UserBusiness.class; - } - - @SuppressWarnings("unchecked") - @Override - public void find(PageUtil pageUtil, String ceshi) throws JshException { - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createQuery("select count(id),sum(id) from UserBusiness userBusiness where 1=1 " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } -} diff --git a/src/main/java/com/jsh/dao/basic/UserBusinessIDAO.java b/src/main/java/com/jsh/dao/basic/UserBusinessIDAO.java deleted file mode 100644 index 2b36142b48f3421e885f520720f5e61154aafefc..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/UserBusinessIDAO.java +++ /dev/null @@ -1,13 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.UserBusiness; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface UserBusinessIDAO extends BaseIDAO { - /* - * 测试hql语句 - */ - void find(PageUtil pageUtil, String ceshi) throws JshException; -} diff --git a/src/main/java/com/jsh/dao/basic/UserDAO.java b/src/main/java/com/jsh/dao/basic/UserDAO.java deleted file mode 100644 index 9cb5a6b0d3e07e70020aa535c781e560d4a395f3..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/UserDAO.java +++ /dev/null @@ -1,18 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Basicuser; - -public class UserDAO extends BaseDAO implements UserIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Basicuser.class; - } - - -} diff --git a/src/main/java/com/jsh/dao/basic/UserIDAO.java b/src/main/java/com/jsh/dao/basic/UserIDAO.java deleted file mode 100644 index ef53ae63d1e30d1864e349659284a965e2283354..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/basic/UserIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.basic; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Basicuser; - -public interface UserIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/materials/AccountHeadDAO.java b/src/main/java/com/jsh/dao/materials/AccountHeadDAO.java deleted file mode 100644 index 00fb2b5010e70f1c93f8fc7aaf464339ea4d1dda..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/AccountHeadDAO.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.AccountHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; - -/** - * @author alan - */ -public class AccountHeadDAO extends BaseDAO implements AccountHeadIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return AccountHead.class; - } - - @SuppressWarnings("unchecked") - @Override - public void find(PageUtil pageUtil, String maxid) throws JshException { - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createQuery("select max(Id) as Id from AccountHead accountHead where 1=1 " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void findAllMoney(PageUtil pageUtil, Integer supplierId, String type, String mode) throws JshException { - Query query; - String modeName = ""; - if (mode.equals("实际")) { - modeName = "ChangeAmount"; - } else if (mode.equals("合计")) { - modeName = "TotalPrice"; - } - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createQuery("select sum(" + modeName + ") as allMoney from AccountHead accountHead where Type='" + type + "' and OrganId =" + supplierId + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } -} diff --git a/src/main/java/com/jsh/dao/materials/AccountHeadIDAO.java b/src/main/java/com/jsh/dao/materials/AccountHeadIDAO.java deleted file mode 100644 index a84c5cdaac69574dc2b536ab8a578230fca642e9..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/AccountHeadIDAO.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.AccountHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface AccountHeadIDAO extends BaseIDAO { - /* - * 获取MaxId - */ - void find(PageUtil pageUtil, String maxid) throws JshException; - - void findAllMoney(PageUtil pageUtil, Integer supplierId, String type, String mode) throws JshException; -} diff --git a/src/main/java/com/jsh/dao/materials/AccountItemDAO.java b/src/main/java/com/jsh/dao/materials/AccountItemDAO.java deleted file mode 100644 index 60714f5624ae5200cfe5b8eca8f719bec5e3ade2..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/AccountItemDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.AccountItem; - -public class AccountItemDAO extends BaseDAO implements AccountItemIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return AccountItem.class; - } -} diff --git a/src/main/java/com/jsh/dao/materials/AccountItemIDAO.java b/src/main/java/com/jsh/dao/materials/AccountItemIDAO.java deleted file mode 100644 index 4982d3867c53a5042a44637bcdcac882204f468a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/AccountItemIDAO.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.AccountItem; - -public interface AccountItemIDAO extends BaseIDAO { - -} - diff --git a/src/main/java/com/jsh/dao/materials/DepotHeadDAO.java b/src/main/java/com/jsh/dao/materials/DepotHeadDAO.java deleted file mode 100644 index a951e53288205c1f6fa6257958f75d6dd5da055e..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/DepotHeadDAO.java +++ /dev/null @@ -1,196 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.DepotHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; - -public class DepotHeadDAO extends BaseDAO implements DepotHeadIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return DepotHead.class; - } - - @SuppressWarnings("unchecked") - @Override - public void find(PageUtil pageUtil, String maxid) throws JshException { - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createQuery("select max(Id) as Id from DepotHead depotHead where 1=1 " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void findAllMoney(PageUtil pageUtil, Integer supplierId, String type, String subType, String mode) throws JshException { - Query query; - String modeName = ""; - if (mode.equals("实际")) { - modeName = "ChangeAmount"; - } else if (mode.equals("合计")) { - modeName = "DiscountLastMoney"; - } - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createQuery("select sum(" + modeName + ") as allMoney from DepotHead depotHead where Type='" + type + "' and SubType = '" + subType + "' and OrganId =" + supplierId + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void batchSetStatus(Boolean status, String depotHeadIDs) { - String sql = "update jsh_depothead d set d.Status=" + status + " where d.id in (" + depotHeadIDs + ")"; - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(sql); - query.executeUpdate(); - } - - @Override - @SuppressWarnings("unchecked") - public void findInDetail(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException { - StringBuffer queryString = new StringBuffer(); - queryString.append("select dh.Number,m.`name`,m.Model,di.UnitPrice,di.OperNumber,di.AllPrice,s.supplier,d.dName," + - "date_format(dh.OperTime, '%Y-%m-%d'), concat(dh.SubType,dh.Type) as newType " + - "from jsh_depothead dh inner join jsh_depotitem di on di.HeaderId=dh.id " + - "inner join jsh_material m on m.id=di.MaterialId " + - "inner join jsh_supplier s on s.id=dh.OrganId " + - "inner join (select id,name as dName from jsh_depot) d on d.id=di.DepotId " + - "where dh.OperTime >='" + beginTime + "' and dh.OperTime <='" + endTime + "' "); - if (oId != null) { - queryString.append(" and dh.OrganId = " + oId); - } - if (pid != null) { - queryString.append(" and di.DepotId=" + pid); - } else { - queryString.append(" and di.DepotId in (" + dids + ")"); - } - if (type != null && !type.equals("")) { - queryString.append(" and dh.Type='" + type + "'"); - } - queryString.append(" ORDER BY OperTime DESC,Number desc"); - Query query; - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - // 分页查询 - int pageNo = pageUtil.getCurPage(); - int pageSize = pageUtil.getPageSize(); - if (0 != pageNo && 0 != pageSize) { - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - } - pageUtil.setPageList(query.list()); - } - - @Override - @SuppressWarnings("unchecked") - public void findInOutMaterialCount(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException { - StringBuffer queryString = new StringBuffer(); - queryString.append("select di.MaterialId, m.mName,m.Model,m.categoryName, "); - //数量汇总 - queryString.append(" (select sum(jdi.BasicNumber) numSum from jsh_depothead jdh INNER JOIN jsh_depotitem jdi " + - "on jdh.id=jdi.HeaderId where jdi.MaterialId=di.MaterialId " + - " and jdh.type='" + type + "' and jdh.OperTime >='" + beginTime + "' and jdh.OperTime <='" + endTime + "'"); - if (oId != null) { - queryString.append(" and jdh.OrganId = " + oId); - } - if (pid != null) { - queryString.append(" and jdi.DepotId=" + pid); - } else { - queryString.append(" and jdi.DepotId in (" + dids + ")"); - } - queryString.append(" ) numSum, "); - //金额汇总 - queryString.append(" (select sum(jdi.AllPrice) priceSum from jsh_depothead jdh INNER JOIN jsh_depotitem jdi " + - "on jdh.id=jdi.HeaderId where jdi.MaterialId=di.MaterialId " + - " and jdh.type='" + type + "' and jdh.OperTime >='" + beginTime + "' and jdh.OperTime <='" + endTime + "'"); - if (oId != null) { - queryString.append(" and jdh.OrganId = " + oId); - } - if (pid != null) { - queryString.append(" and jdi.DepotId=" + pid); - } else { - queryString.append(" and jdi.DepotId in (" + dids + ")"); - } - queryString.append(" ) priceSum "); - - queryString.append(" from jsh_depothead dh INNER JOIN jsh_depotitem di on dh.id=di.HeaderId " + - " INNER JOIN (SELECT jsh_material.id,jsh_material.name mName, Model,jsh_materialcategory.`Name` categoryName from jsh_material INNER JOIN jsh_materialcategory on jsh_material.CategoryId=jsh_materialcategory.Id) m " + - " on m.Id=di.MaterialId where dh.type='" + type + "' and dh.OperTime >='" + beginTime + "' and dh.OperTime <='" + endTime + "' "); - if (oId != null) { - queryString.append(" and dh.OrganId = " + oId); - } - if (pid != null) { - queryString.append(" and di.DepotId=" + pid); - } else { - queryString.append(" and di.DepotId in (" + dids + ")"); - } - queryString.append(" GROUP BY di.MaterialId,m.mName,m.Model,m.categoryName "); - Query query; - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - // 分页查询 - int pageNo = pageUtil.getCurPage(); - int pageSize = pageUtil.getPageSize(); - if (0 != pageNo && 0 != pageSize) { - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - } - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - public void findMaterialsListByHeaderId(PageUtil pageUtil, Long headerId) throws JshException { - StringBuffer queryString = new StringBuffer(); - queryString.append("select group_concat(concat(jsh_material.`Name`,' ',jsh_material.Model)) as mName from jsh_depotitem inner join jsh_material " + - " on jsh_depotitem.MaterialId = jsh_material.Id where jsh_depotitem.HeaderId =" + headerId); - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - public void findStatementAccount(PageUtil pageUtil, String beginTime, String endTime, Long organId, String supType) throws JshException { - StringBuffer queryString = new StringBuffer(); - queryString.append("select dh.Number,concat(dh.SubType,dh.Type) as newType,dh.DiscountLastMoney,dh.ChangeAmount,s.supplier,date_format(dh.OperTime,'%Y-%m-%d %H:%i:%S') as oTime from jsh_depothead dh " + - "inner join jsh_supplier s on s.id=dh.OrganId where s.type='" + supType + "' and dh.SubType!='其它' " + - "and dh.OperTime >='" + beginTime + "' and dh.OperTime<='" + endTime + "' "); - if (organId != null && !organId.equals("")) { - queryString.append(" and dh.OrganId='" + organId + "' "); - } - queryString.append("UNION ALL " + - "select ah.BillNo,ah.Type as newType,ah.TotalPrice,ah.ChangeAmount,s.supplier,date_format(ah.BillTime,'%Y-%m-%d %H:%i:%S') as oTime from jsh_accounthead ah " + - "inner join jsh_supplier s on s.id=ah.OrganId where s.type='" + supType + "' " + - "and ah.BillTime >='" + beginTime + "' and ah.BillTime<='" + endTime + "' "); - if (organId != null && !organId.equals("")) { - queryString.append(" and ah.OrganId='" + organId + "' "); - } - queryString.append(" ORDER BY oTime"); - Query query; - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - // 分页查询 - int pageNo = pageUtil.getCurPage(); - int pageSize = pageUtil.getPageSize(); - if (0 != pageNo && 0 != pageSize) { - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - } - pageUtil.setPageList(query.list()); - } - - @Override - @SuppressWarnings("unchecked") - public void getHeaderIdByMaterial(PageUtil pageUtil, String materialParam, String depotIds) throws JshException { - StringBuffer queryString = new StringBuffer(); - queryString.append("select dt.HeaderId from jsh_depotitem dt INNER JOIN jsh_material m on dt.MaterialId = m.Id where ( m.`Name` " + - " like '%" + materialParam + "%' or m.Model like '%" + materialParam + "%') "); - if (!depotIds.equals("")) { - queryString.append(" and dt.DepotId in (" + depotIds + ") "); - } - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setPageList(query.list()); - } -} diff --git a/src/main/java/com/jsh/dao/materials/DepotHeadIDAO.java b/src/main/java/com/jsh/dao/materials/DepotHeadIDAO.java deleted file mode 100644 index bf00e0b6564b1e003d3ecb244222a127bf8a2c33..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/DepotHeadIDAO.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.DepotHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface DepotHeadIDAO extends BaseIDAO { - /* - * 获取MaxId - */ - void find(PageUtil pageUtil, String maxid) throws JshException; - - void findAllMoney(PageUtil pageUtil, Integer supplierId, String type, String subType, String mode) throws JshException; - - void batchSetStatus(Boolean status, String depotHeadIDs); - - void findInDetail(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException; - - void findInOutMaterialCount(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException; - - void findMaterialsListByHeaderId(PageUtil pageUtil, Long headerId) throws JshException; - - void findStatementAccount(PageUtil pageUtil, String beginTime, String endTime, Long organId, String supType) throws JshException; - - void getHeaderIdByMaterial(PageUtil pageUtil, String materialParam, String depotIds) throws JshException; - -} diff --git a/src/main/java/com/jsh/dao/materials/DepotItemDAO.java b/src/main/java/com/jsh/dao/materials/DepotItemDAO.java deleted file mode 100644 index a942fa851c5f5b11d7839d3372d24ef7f40c11fd..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/DepotItemDAO.java +++ /dev/null @@ -1,175 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.DepotItem; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; - -public class DepotItemDAO extends BaseDAO implements DepotItemIDAO { - private final static String TYPE = "入库"; - private final static String SUM_TYPE = "Number"; - private final static String IN = "in"; - private final static String OUT = "out"; - - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return DepotItem.class; - } - - @SuppressWarnings("unchecked") - @Override - public void findByType(PageUtil pageUtil, String type, Integer dId, Long MId, String MonthTime, Boolean isPrev) throws JshException { - //多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便 - Query query; - StringBuilder queryString = new StringBuilder(); - if (TYPE.equals(type)) { - if (isPrev) { - queryString.append("select sum(BasicNumber) as BasicNumber from jsh_depotitem di,jsh_depothead dh where di.HeaderId = dh.id "); - queryString.append(" and ((type='入库' and DepotId='").append(dId).append("') ").append(" or (SubType='调拨' and AnotherDepotId='").append(dId).append("') ").append(" or (SubType='礼品充值' and AnotherDepotId='").append(dId).append("')) "); - queryString.append(" and MaterialId =").append(MId).append(" and dh.OperTime <'").append(MonthTime).append("-01 00:00:00' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } else { - queryString.append("select sum(BasicNumber) as BasicNumber from jsh_depotitem di,jsh_depothead dh where di.HeaderId = dh.id "); - queryString.append(" and ((type='入库' and DepotId='").append(dId).append("') ").append(" or (SubType='调拨' and AnotherDepotId='").append(dId).append("') ").append(" or (SubType='礼品充值' and AnotherDepotId='").append(dId).append("')) "); - queryString.append(" and MaterialId =").append(MId).append(" and dh.OperTime >='").append(MonthTime).append("-01 00:00:00' and dh.OperTime <='").append(MonthTime).append("-31 59:59:59' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } - } else { - if (isPrev) { - queryString.append("select sum(BasicNumber) as BasicNumber from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='出库'"); - queryString.append(" and DepotId='").append(dId).append("'"); - queryString.append(" and MaterialId =").append(MId).append(" and jsh_depothead.OperTime <'").append(MonthTime).append("-01 00:00:00' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } else { - queryString.append("select sum(BasicNumber) as BasicNumber from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='出库'"); - queryString.append(" and DepotId='").append(dId).append("'"); - queryString.append(" and MaterialId =").append(MId).append(" and jsh_depothead.OperTime >='").append(MonthTime).append("-01 00:00:00' and jsh_depothead.OperTime <='").append(MonthTime).append("-31 59:59:59' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } - } - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void findPriceByType(PageUtil pageUtil, String type, Integer dId, Long MId, String MonthTime, Boolean isPrev) throws JshException { - //多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便 - Query query; - StringBuilder queryString = new StringBuilder(); - if (TYPE.equals(type)) { - if (isPrev) { - queryString.append("select sum(AllPrice) as AllPrice from jsh_depotitem di,jsh_depothead dh where di.HeaderId = dh.id "); - queryString.append(" and ((type='入库' and DepotId='").append(dId).append("') ").append(" or (SubType='调拨' and AnotherDepotId='").append(dId).append("') ").append(" or (SubType='礼品充值' and AnotherDepotId='").append(dId).append("')) "); - queryString.append(" and MaterialId =").append(MId).append(" and dh.OperTime <'").append(MonthTime).append("-01 00:00:00' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } else { - queryString.append("select sum(AllPrice) as AllPrice from jsh_depotitem di,jsh_depothead dh where di.HeaderId = dh.id "); - queryString.append(" and ((type='入库' and DepotId='").append(dId).append("') ").append(" or (SubType='调拨' and AnotherDepotId='").append(dId).append("') ").append(" or (SubType='礼品充值' and AnotherDepotId='").append(dId).append("')) "); - queryString.append(" and MaterialId =").append(MId).append(" and dh.OperTime >='").append(MonthTime).append("-01 00:00:00' and dh.OperTime <='").append(MonthTime).append("-31 59:59:59' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } - } else { - if (isPrev) { - queryString.append("select sum(AllPrice) as AllPrice from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='出库'"); - queryString.append(" and DepotId='").append(dId).append("'"); - queryString.append(" and MaterialId =").append(MId).append(" and jsh_depothead.OperTime <'").append(MonthTime).append("-01 00:00:00' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } else { - queryString.append("select sum(AllPrice) as AllPrice from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='出库'"); - queryString.append(" and DepotId='").append(dId).append("'"); - queryString.append(" and MaterialId =").append(MId).append(" and jsh_depothead.OperTime >='").append(MonthTime).append("-01 00:00:00' and jsh_depothead.OperTime <='").append(MonthTime).append("-31 59:59:59' "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } - } - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void findByTypeAndMaterialId(PageUtil pageUtil, String type, Long MId) throws JshException { - //多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便 - Query query; - StringBuilder queryString = new StringBuilder(); - if (TYPE.equals(type)) { - queryString.append("select sum(BasicNumber) as BasicNumber from jsh_depothead dh INNER JOIN jsh_depotitem di on dh.id=di.HeaderId where type='入库'"); - queryString.append(" and MaterialId =").append(MId); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } else { - queryString.append("select sum(BasicNumber) as BasicNumber from jsh_depothead dh INNER JOIN jsh_depotitem di on dh.id=di.HeaderId where type='出库'"); - queryString.append(" and SubType!='调拨' and SubType!='礼品充值' and MaterialId =").append(MId); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void findDetailByTypeAndMaterialId(PageUtil pageUtil, Long MId) throws JshException { - //多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便 - Query query; - StringBuilder queryString = new StringBuilder(); - queryString.append("select dh.Number,concat(dh.SubType,dh.Type) as newType, " + - "case when type='入库' then di.BasicNumber when type='出库' then 0-di.BasicNumber else 0 end as b_num, " + - "date_format(dh.OperTime,'%Y-%m-%d %H:%i:%S') as oTime " + - "from jsh_depothead dh INNER JOIN jsh_depotitem di on dh.id=di.HeaderId where type!='其它' " + - "and SubType!='调拨' and SubType!='礼品充值' "); - queryString.append(" and MaterialId =").append(MId).append(" ORDER BY oTime desc "); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - // 分页查询 - int pageNo = pageUtil.getCurPage(); - int pageSize = pageUtil.getPageSize(); - if (0 != pageNo && 0 != pageSize) { - query.setFirstResult((pageNo - 1) * pageSize); - query.setMaxResults(pageSize); - } - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void buyOrSale(PageUtil pageUtil, String type, String subType, Long MId, String MonthTime, String sumType) throws JshException { - //多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便 - Query query; - if (SUM_TYPE.equals(sumType)) { - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery("select sum(BasicNumber) as BasicNumber from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='" + type + "' and subType='" + subType + "' and MaterialId =" + MId + " and jsh_depothead.OperTime >='" + MonthTime + "-01 00:00:00' and jsh_depothead.OperTime <='" + MonthTime + "-31 59:59:59' " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } else { - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery("select sum(AllPrice) as AllPrice from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and type='" + type + "' and subType='" + subType + "' and MaterialId =" + MId + " and jsh_depothead.OperTime >='" + MonthTime + "-01 00:00:00' and jsh_depothead.OperTime <='" + MonthTime + "-31 59:59:59' " + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - } - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - - @SuppressWarnings("unchecked") - @Override - public void findGiftByType(PageUtil pageUtil, String subType, Integer ProjectId, Long MId, String type) throws JshException { - //多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便 - Query query; - StringBuilder queryString = new StringBuilder(); - queryString.append("select sum(BasicNumber) as BasicNumber from jsh_depotitem,jsh_depothead where jsh_depotitem.HeaderId = jsh_depothead.id and jsh_depothead.SubType='").append(subType).append("'"); - if (ProjectId != null) { - if (IN.equals(type)) { - queryString.append(" and jsh_depotitem.AnotherDepotId='").append(ProjectId).append("'"); //礼品充值时 - } else if (OUT.equals(type)) { - queryString.append(" and jsh_depotitem.DepotId='").append(ProjectId).append("'"); - } - } - queryString.append(" and jsh_depotitem.MaterialId =").append(MId); - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } -} - - - diff --git a/src/main/java/com/jsh/dao/materials/DepotItemIDAO.java b/src/main/java/com/jsh/dao/materials/DepotItemIDAO.java deleted file mode 100644 index 3cb22f5a70b3302f481c8c2189ceb2172a76fe38..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/DepotItemIDAO.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.DepotItem; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface DepotItemIDAO extends BaseIDAO { - public void findByType(PageUtil pageUtil, String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) throws JshException; - - public void findByTypeAndMaterialId(PageUtil pageUtil, String type, Long MId) throws JshException; - - public void findDetailByTypeAndMaterialId(PageUtil pageUtil, Long MId) throws JshException; - - public void findPriceByType(PageUtil pageUtil, String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) throws JshException; - - public void buyOrSale(PageUtil pageUtil, String type, String subType, Long MId, String MonthTime, String sumType) throws JshException; - - public void findGiftByType(PageUtil pageUtil, String subType, Integer ProjectId, Long MId, String type) throws JshException; -} diff --git a/src/main/java/com/jsh/dao/materials/MaterialCategoryDAO.java b/src/main/java/com/jsh/dao/materials/MaterialCategoryDAO.java deleted file mode 100644 index 60d2e15ffd551e5e56084b22772a865a699b2b66..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/MaterialCategoryDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.MaterialCategory; - -public class MaterialCategoryDAO extends BaseDAO implements MaterialCategoryIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return MaterialCategory.class; - } -} diff --git a/src/main/java/com/jsh/dao/materials/MaterialCategoryIDAO.java b/src/main/java/com/jsh/dao/materials/MaterialCategoryIDAO.java deleted file mode 100644 index e2927851b32283e860df96be6ee8a08e9a7b9f46..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/MaterialCategoryIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.MaterialCategory; - -public interface MaterialCategoryIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/materials/MaterialDAO.java b/src/main/java/com/jsh/dao/materials/MaterialDAO.java deleted file mode 100644 index a2541d3fbfe8208f7fcf33d9187d0ea7788b5516..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/MaterialDAO.java +++ /dev/null @@ -1,41 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Material; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SearchConditionUtil; -import org.hibernate.Query; - -public class MaterialDAO extends BaseDAO implements MaterialIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Material.class; - } - - @SuppressWarnings("unchecked") - @Override - public void batchSetEnable(Boolean enable, String supplierIDs) { - String sql = "update jsh_material m set m.enabled=" + enable + " where m.id in (" + supplierIDs + ")"; - Query query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(sql); - query.executeUpdate(); - } - - @SuppressWarnings("unchecked") - @Override - public void findUnitName(PageUtil pageUtil, Long mId) throws JshException { - //多表联查,多表连查,此处用到了createSQLQuery,可以随便写sql语句,很方便, - StringBuffer queryString = new StringBuffer(); - queryString.append("select jsh_unit.UName from jsh_unit inner join jsh_material on UnitId=jsh_unit.id where jsh_material.id=" + mId); - Query query; - query = this.getHibernateTemplate().getSessionFactory().getCurrentSession().createSQLQuery(queryString + SearchConditionUtil.getCondition(pageUtil.getAdvSearch())); - pageUtil.setTotalCount(query.list().size()); - pageUtil.setPageList(query.list()); - } - -} diff --git a/src/main/java/com/jsh/dao/materials/MaterialIDAO.java b/src/main/java/com/jsh/dao/materials/MaterialIDAO.java deleted file mode 100644 index 641bf3ac8dba420938ac4cd179c544399b2e6e29..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/MaterialIDAO.java +++ /dev/null @@ -1,12 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Material; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface MaterialIDAO extends BaseIDAO { - public void batchSetEnable(Boolean enable, String supplierIDs); - - public void findUnitName(PageUtil pageUtil, Long mId) throws JshException; -} diff --git a/src/main/java/com/jsh/dao/materials/MaterialPropertyDAO.java b/src/main/java/com/jsh/dao/materials/MaterialPropertyDAO.java deleted file mode 100644 index b7e33060f4cc6475f80159ee2e10c7067a54c5df..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/MaterialPropertyDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.MaterialProperty; - -public class MaterialPropertyDAO extends BaseDAO implements MaterialPropertyIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return MaterialProperty.class; - } -} diff --git a/src/main/java/com/jsh/dao/materials/MaterialPropertyIDAO.java b/src/main/java/com/jsh/dao/materials/MaterialPropertyIDAO.java deleted file mode 100644 index 754160c4e475befaef0db8176a92898efe6f7e80..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/MaterialPropertyIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.MaterialProperty; - -public interface MaterialPropertyIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/dao/materials/PersonDAO.java b/src/main/java/com/jsh/dao/materials/PersonDAO.java deleted file mode 100644 index 6a5d65dca674fd9ca4242b8aa579d82d8c3a4d33..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/PersonDAO.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseDAO; -import com.jsh.model.po.Person; - -public class PersonDAO extends BaseDAO implements PersonIDAO { - /** - * 设置dao映射基类 - * - * @return - */ - @Override - public Class getEntityClass() { - return Person.class; - } -} diff --git a/src/main/java/com/jsh/dao/materials/PersonIDAO.java b/src/main/java/com/jsh/dao/materials/PersonIDAO.java deleted file mode 100644 index d97e31f766e07edd3599807a079f4a68ae2db96f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/dao/materials/PersonIDAO.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.dao.materials; - -import com.jsh.base.BaseIDAO; -import com.jsh.model.po.Person; - -public interface PersonIDAO extends BaseIDAO { - -} diff --git a/src/main/java/com/jsh/erp/ErpApplication.java b/src/main/java/com/jsh/erp/ErpApplication.java new file mode 100644 index 0000000000000000000000000000000000000000..8a94ce4600914af675eb23df495e35aa27b702df --- /dev/null +++ b/src/main/java/com/jsh/erp/ErpApplication.java @@ -0,0 +1,15 @@ +package com.jsh.erp; + +import org.mybatis.spring.annotation.MapperScan; +import org.springframework.boot.SpringApplication; +import org.springframework.boot.autoconfigure.SpringBootApplication; +import org.springframework.scheduling.annotation.EnableScheduling; + +@SpringBootApplication +@MapperScan(basePackages = {"com.jsh.erp.datasource.mappers"}) +@EnableScheduling +public class ErpApplication { + public static void main(String[] args) { + SpringApplication.run(ErpApplication.class, args); + } +} diff --git a/src/main/java/com/jsh/erp/config/DbConfig.java b/src/main/java/com/jsh/erp/config/DbConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..7ba75140f10e52a1b60399ec9ab4be2835088a4e --- /dev/null +++ b/src/main/java/com/jsh/erp/config/DbConfig.java @@ -0,0 +1,97 @@ +package com.jsh.erp.config; + +import com.alibaba.druid.pool.DruidDataSource; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.beans.factory.annotation.Qualifier; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.context.annotation.Bean; +import org.springframework.context.annotation.Configuration; +import org.springframework.context.annotation.Primary; +import org.springframework.jdbc.core.JdbcTemplate; +import org.springframework.transaction.annotation.EnableTransactionManagement; + +import javax.sql.DataSource; + + +@Configuration +@EnableTransactionManagement(proxyTargetClass = true) +public class DbConfig { + private static final Logger logger = LoggerFactory.getLogger(DbConfig.class); + + @Bean(name = "erpDatasource") + @Primary + public DataSource erpDatasource(ErpDatasourceProperties properties){ + try { + DruidDataSource datasource = new DruidDataSource(); + datasource.setDriverClassName(properties.driverClassName); + datasource.setUrl(properties.url); + datasource.setUsername(properties.username); + datasource.setPassword(properties.password); + datasource.setInitialSize(1); + datasource.setMinIdle(1); + datasource.setMaxWait(60000); + datasource.setMaxActive(5); + datasource.setTimeBetweenEvictionRunsMillis(60000); + datasource.setValidationQuery("select '1'"); + datasource.setTestOnBorrow(false); + datasource.setTestOnReturn(false); + datasource.setTestWhileIdle(true); + datasource.setPoolPreparedStatements(true); + datasource.setMaxOpenPreparedStatements(20); + datasource.setMinEvictableIdleTimeMillis(300000); + datasource.init(); + return datasource; + }catch (Exception e){ + logger.error("服务启动失败,jsh_erp数据库Datasource初始化失败:"+e.getMessage()); + throw new IllegalArgumentException(e); + } + } + + @Bean + @Primary + public JdbcTemplate jdbcTemplate(@Qualifier("erpDatasource") DataSource dataSource) { + return new JdbcTemplate(dataSource); + } + + @Configuration + @ConfigurationProperties(prefix = "erpDatasource") + public static class ErpDatasourceProperties { + private String driverClassName; + private String url; + private String username; + private String password; + + public String getDriverClassName() { + return driverClassName; + } + + public void setDriverClassName(String driverClassName) { + this.driverClassName = driverClassName; + } + + public String getUrl() { + return url; + } + + public void setUrl(String url) { + this.url = url; + } + + public String getUsername() { + return username; + } + + public void setUsername(String username) { + this.username = username; + } + + public String getPassword() { + return password; + } + + public void setPassword(String password) { + this.password = password; + } + } +} diff --git a/src/main/java/com/jsh/erp/config/WebConfig.java b/src/main/java/com/jsh/erp/config/WebConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..3ee2c26ad0856280ff174b15473bea118e3bf7c6 --- /dev/null +++ b/src/main/java/com/jsh/erp/config/WebConfig.java @@ -0,0 +1,40 @@ +package com.jsh.erp.config; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.boot.context.embedded.ConfigurableEmbeddedServletContainer; +import org.springframework.boot.context.embedded.EmbeddedServletContainerCustomizer; +import org.springframework.boot.context.properties.ConfigurationProperties; +import org.springframework.context.annotation.Configuration; +import java.io.File; + +@Configuration +public class WebConfig { + private static final Logger logger = LoggerFactory.getLogger(WebConfig.class); + + @Configuration + @ConfigurationProperties(prefix = "web.front") + public static class FrontEnd implements EmbeddedServletContainerCustomizer { + private File baseDir; + + public File getBaseDir() { + return baseDir; + } + + public void setBaseDir(File baseDir) { + this.baseDir = baseDir; + } + + @Override + public void customize(ConfigurableEmbeddedServletContainer container) { + if (!baseDir.exists()) { + if (!baseDir.mkdir()) { + logger.info("create web.front base path:" + baseDir + " failed!already exists!"); + } else { + logger.info("create web.front base path:" + baseDir + " success!"); + } + } + container.setDocumentRoot(baseDir); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/controller/AccountController.java b/src/main/java/com/jsh/erp/controller/AccountController.java new file mode 100644 index 0000000000000000000000000000000000000000..247b90fdaf22a00628a15fbdd3ab206d7126bc71 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/AccountController.java @@ -0,0 +1,124 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Account; +import com.jsh.erp.datasource.vo.AccountVo4InOutList; +import com.jsh.erp.service.account.AccountService; +import com.jsh.erp.utils.BaseResponseInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.GetMapping; +import org.springframework.web.bind.annotation.RequestMapping; +import org.springframework.web.bind.annotation.RequestParam; +import org.springframework.web.bind.annotation.RestController; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@RestController +@RequestMapping(value = "/account") +public class AccountController { + private Logger logger = LoggerFactory.getLogger(AccountController.class); + + @Resource + private AccountService accountService; + + /** + * 查找结算账户信息-下拉框 + * @param request + * @return + */ + @GetMapping(value = "/findBySelect") + public String findBySelect(HttpServletRequest request) { + String res = null; + try { + List dataList = accountService.findBySelect(); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (Account account : dataList) { + JSONObject item = new JSONObject(); + item.put("Id", account.getId()); + //结算账户名称 + item.put("AccountName", account.getName()); + dataArray.add(item); + } + } + res = dataArray.toJSONString(); + } catch(Exception e){ + e.printStackTrace(); + res = "获取数据失败"; + } + return res; + } + + /** + * 获取所有结算账户 + * @param request + * @return + */ + @GetMapping(value = "/getAccount") + public BaseResponseInfo getAccount(HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List accountList = accountService.getAccount(); + map.put("accountList", accountList); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 账户流水信息 + * @param currentPage + * @param pageSize + * @param accountId + * @param initialAmount + * @param request + * @return + */ + @GetMapping(value = "/findAccountInOutList") + public BaseResponseInfo findAccountInOutList(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("accountId") Long accountId, + @RequestParam("initialAmount") Double initialAmount, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = accountService.findAccountInOutList(accountId, (currentPage-1)*pageSize, pageSize); + int total = accountService.findAccountInOutListCount(accountId); + map.put("total", total); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (AccountVo4InOutList aEx : dataList) { + String timeStr = aEx.getOperTime().toString(); + Double balance = accountService.getAccountSum(accountId, timeStr, "date") + accountService.getAccountSumByHead(accountId, timeStr, "date") + + accountService.getAccountSumByDetail(accountId, timeStr, "date") + accountService.getManyAccountSum(accountId, timeStr, "date") + initialAmount; + aEx.setBalance(balance); + dataArray.add(aEx); + } + } + map.put("rows", dataArray); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + +} diff --git a/src/main/java/com/jsh/erp/controller/AccountHeadController.java b/src/main/java/com/jsh/erp/controller/AccountHeadController.java new file mode 100644 index 0000000000000000000000000000000000000000..d991a04cb5777757e6f8691b5dc744d7f4e07966 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/AccountHeadController.java @@ -0,0 +1,146 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.AccountHead; +import com.jsh.erp.datasource.entities.AccountHeadVo4ListEx; +import com.jsh.erp.service.accountHead.AccountHeadService; +import com.jsh.erp.utils.BaseResponseInfo; +import com.jsh.erp.utils.ErpInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +@RestController +@RequestMapping(value = "/accountHead") +public class AccountHeadController { + private Logger logger = LoggerFactory.getLogger(AccountHeadController.class); + + @Resource + private AccountHeadService accountHeadService; + + /** + * 获取最大的id + * @param request + * @return + */ + @GetMapping(value = "/getMaxId") + public BaseResponseInfo getMaxId(HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + Long maxId = accountHeadService.getMaxId(); + map.put("maxId", maxId); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 查询单位的累计应收和累计应付,收预付款不计入此处 + * @param supplierId + * @param endTime + * @param supType + * @param request + * @return + */ + @GetMapping(value = "/findTotalPay") + public BaseResponseInfo findTotalPay(@RequestParam("supplierId") Integer supplierId, + @RequestParam("endTime") String endTime, + @RequestParam("supType") String supType, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + JSONObject outer = new JSONObject(); + Double sum = 0.0; + String getS = supplierId.toString(); + int i = 1; + if (supType.equals("customer")) { //客户 + i = 1; + } else if (supType.equals("vendor")) { //供应商 + i = -1; + } + //收付款部分 + sum = sum + (allMoney(getS, "付款", "合计",endTime) + allMoney(getS, "付款", "实际",endTime)) * i; + sum = sum - (allMoney(getS, "收款", "合计",endTime) + allMoney(getS, "收款", "实际",endTime)) * i; + sum = sum + (allMoney(getS, "收入", "合计",endTime) - allMoney(getS, "收入", "实际",endTime)) * i; + sum = sum - (allMoney(getS, "支出", "合计",endTime) - allMoney(getS, "支出", "实际",endTime)) * i; + outer.put("getAllMoney", sum); + map.put("rows", outer); + res.code = 200; + res.data = map; + } catch (Exception e) { + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 根据编号查询单据信息 + * @param number + * @param request + * @return + */ + @GetMapping(value = "/getDetailByNumber") + public BaseResponseInfo getDetailByNumber(@RequestParam("billNo") String billNo, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + AccountHeadVo4ListEx ahl = new AccountHeadVo4ListEx(); + try { + List list = accountHeadService.getDetailByNumber(billNo); + if(list.size() == 1) { + ahl = list.get(0); + } + res.code = 200; + res.data = ahl; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 统计总金额 + * @param getS + * @param type + * @param subType + * @param mode 合计或者金额 + * @return + */ + public Double allMoney(String getS, String type, String mode, String endTime) { + Double allMoney = 0.0; + try { + Integer supplierId = Integer.valueOf(getS); + Double sum = accountHeadService.findAllMoney(supplierId, type, mode, endTime); + if(sum != null) { + allMoney = sum; + } + } catch (Exception e) { + e.printStackTrace(); + } + //返回正数,如果负数也转为正数 + if (allMoney < 0) { + allMoney = -allMoney; + } + return allMoney; + } + +} diff --git a/src/main/java/com/jsh/erp/controller/AccountItemController.java b/src/main/java/com/jsh/erp/controller/AccountItemController.java new file mode 100644 index 0000000000000000000000000000000000000000..de3d8373a8bd90d8ef0fec0c73a4c31106b1462d --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/AccountItemController.java @@ -0,0 +1,147 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.AccountItem; +import com.jsh.erp.datasource.vo.AccountItemVo4List; +import com.jsh.erp.service.accountItem.AccountItemService; +import com.jsh.erp.utils.*; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DataAccessException; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.io.IOException; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +@RestController +@RequestMapping(value = "/accountItem") +public class AccountItemController { + private Logger logger = LoggerFactory.getLogger(AccountItemController.class); + + @Resource + private AccountItemService accountItemService; + + @PostMapping(value = "/saveDetials") + public String saveDetials(@RequestParam("inserted") String inserted, + @RequestParam("deleted") String deleted, + @RequestParam("updated") String updated, + @RequestParam("headerId") Long headerId, + @RequestParam("listType") String listType, + HttpServletRequest request) { + Map objectMap = new HashMap(); + try { + //转为json + JSONArray insertedJson = JSONArray.parseArray(inserted); + JSONArray deletedJson = JSONArray.parseArray(deleted); + JSONArray updatedJson = JSONArray.parseArray(updated); + if (null != insertedJson) { + for (int i = 0; i < insertedJson.size(); i++) { + AccountItem accountItem = new AccountItem(); + JSONObject tempInsertedJson = JSONObject.parseObject(insertedJson.getString(i)); + accountItem.setHeaderid(headerId); + if (tempInsertedJson.get("AccountId") != null && !tempInsertedJson.get("AccountId").equals("")) { + accountItem.setAccountid(tempInsertedJson.getLong("AccountId")); + } + if (tempInsertedJson.get("InOutItemId") != null && !tempInsertedJson.get("InOutItemId").equals("")) { + accountItem.setInoutitemid(tempInsertedJson.getLong("InOutItemId")); + } + if (tempInsertedJson.get("EachAmount") != null && !tempInsertedJson.get("EachAmount").equals("")) { + Double eachAmount = tempInsertedJson.getDouble("EachAmount"); + if (listType.equals("付款")) { + eachAmount = 0 - eachAmount; + } + accountItem.setEachamount(eachAmount); + } else { + accountItem.setEachamount(0.0); + } + accountItem.setRemark(tempInsertedJson.getString("Remark")); + accountItemService.insertAccountItemWithObj(accountItem); + } + } + if (null != deletedJson) { + for (int i = 0; i < deletedJson.size(); i++) { + JSONObject tempDeletedJson = JSONObject.parseObject(deletedJson.getString(i)); + accountItemService.deleteAccountItem(tempDeletedJson.getLong("Id")); + } + } + if (null != updatedJson) { + for (int i = 0; i < updatedJson.size(); i++) { + JSONObject tempUpdatedJson = JSONObject.parseObject(updatedJson.getString(i)); + AccountItem accountItem = accountItemService.getAccountItem(tempUpdatedJson.getLong("Id")); + accountItem.setId(tempUpdatedJson.getLong("Id")); + accountItem.setHeaderid(headerId); + if (tempUpdatedJson.get("AccountId") != null && !tempUpdatedJson.get("AccountId").equals("")) { + accountItem.setAccountid(tempUpdatedJson.getLong("AccountId")); + } + if (tempUpdatedJson.get("InOutItemId") != null && !tempUpdatedJson.get("InOutItemId").equals("")) { + accountItem.setInoutitemid(tempUpdatedJson.getLong("InOutItemId")); + } + if (tempUpdatedJson.get("EachAmount") != null && !tempUpdatedJson.get("EachAmount").equals("")) { + Double eachAmount = tempUpdatedJson.getDouble("EachAmount"); + if (listType.equals("付款")) { + eachAmount = 0 - eachAmount; + } + accountItem.setEachamount(eachAmount); + } else { + accountItem.setEachamount(0.0); + } + accountItem.setRemark(tempUpdatedJson.getString("Remark")); + accountItemService.updateAccountItemWithObj(accountItem); + } + } + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } catch (DataAccessException e) { + e.printStackTrace(); + logger.error(">>>>>>>>>>>>>>>>>>>保存明细信息异常", e); + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + @GetMapping(value = "/getDetailList") + public BaseResponseInfo getDetailList(@RequestParam("headerId") Long headerId, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = new ArrayList(); + if(headerId != 0) { + dataList = accountItemService.getDetailList(headerId); + } + JSONObject outer = new JSONObject(); + outer.put("total", dataList.size()); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (AccountItemVo4List ai : dataList) { + JSONObject item = new JSONObject(); + item.put("Id", ai.getId()); + item.put("AccountId", ai.getAccountid()); + item.put("AccountName", ai.getAccountName()); + item.put("InOutItemId", ai.getInoutitemid()); + item.put("InOutItemName", ai.getInOutItemName()); + Double eachAmount = ai.getEachamount(); + item.put("EachAmount", eachAmount < 0 ? 0 - eachAmount : eachAmount); + item.put("Remark", ai.getRemark()); + dataArray.add(item); + } + } + outer.put("rows", dataArray); + res.code = 200; + res.data = outer; + } catch (Exception e) { + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + +} diff --git a/src/main/java/com/jsh/erp/controller/AppController.java b/src/main/java/com/jsh/erp/controller/AppController.java new file mode 100644 index 0000000000000000000000000000000000000000..117af70a4e501b38da633c8ccd08c03a7cd858b2 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/AppController.java @@ -0,0 +1,116 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.App; +import com.jsh.erp.service.app.AppService; +import com.jsh.erp.service.userBusiness.UserBusinessService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@RestController +@RequestMapping(value = "/app") +public class AppController { + private Logger logger = LoggerFactory.getLogger(AppController.class); + + @Resource + private AppService appService; + + @Resource + private UserBusinessService userBusinessService; + + @GetMapping(value = "/findDesk") + public JSONObject findDesk(HttpServletRequest request) { + JSONObject obj = new JSONObject(); + List dockList = appService.findDock(); + JSONArray dockArray = new JSONArray(); + if (null != dockList) { + for (App app : dockList) { + JSONObject item = new JSONObject(); + item.put("id", app.getId()); + item.put("title", app.getName()); + item.put("type", app.getType()); + item.put("icon", "../../upload/images/deskIcon/" + app.getIcon()); + item.put("url", app.getUrl()); + item.put("width", app.getWidth()); + item.put("height", app.getHeight()); + item.put("isresize", app.getResize()); + item.put("isopenmax", app.getOpenmax()); + item.put("isflash", app.getFlash()); + dockArray.add(item); + } + } + obj.put("dock",dockArray); + + List deskList = appService.findDesk(); + JSONArray deskArray = new JSONArray(); + if (null != deskList) { + for (App app : deskList) { + JSONObject item = new JSONObject(); + item.put("id", app.getId()); + item.put("title", app.getName()); + item.put("type", app.getType()); + item.put("icon", "../../upload/images/deskIcon/" + app.getIcon()); + item.put("url", "../../pages/common/menu.html?appID=" + app.getNumber() + "&id=" + app.getId()); + item.put("width", app.getWidth()); + item.put("height", app.getHeight()); + item.put("isresize", app.getResize()); + item.put("isopenmax", app.getOpenmax()); + item.put("isflash", app.getFlash()); + deskArray.add(item); + } + } + obj.put("desk",deskArray); + return obj; + } + + /** + * 角色对应应用显示 + * @param request + * @return + */ + @PostMapping(value = "/findRoleAPP") + public JSONArray findRoleAPP(@RequestParam("UBType") String type, @RequestParam("UBKeyId") String keyId, + HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List dataList = appService.findRoleAPP(); + //开始拼接json数据 + JSONObject outer = new JSONObject(); + outer.put("id", 1); + outer.put("text", "应用列表"); + outer.put("state", "open"); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (App app : dataList) { + JSONObject item = new JSONObject(); + item.put("id", app.getId()); + item.put("text", app.getName()); + //勾选判断1 + Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + app.getId().toString() + "]"); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>设置角色对应的应用:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item.put("checked", true); + } + //结束 + dataArray.add(item); + } + } + outer.put("children", dataArray); + arr.add(outer); + } catch (Exception e) { + e.printStackTrace(); + } + return arr; + } +} diff --git a/src/main/java/com/jsh/erp/controller/DepotController.java b/src/main/java/com/jsh/erp/controller/DepotController.java new file mode 100644 index 0000000000000000000000000000000000000000..d8bfc6ec74aa14b4f33bd4b1828d419833664fb4 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/DepotController.java @@ -0,0 +1,149 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Depot; +import com.jsh.erp.service.depot.DepotService; +import com.jsh.erp.service.userBusiness.UserBusinessService; +import com.jsh.erp.utils.BaseResponseInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DataAccessException; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.io.IOException; +import java.util.List; + +@RestController +@RequestMapping(value = "/depot") +public class DepotController { + private Logger logger = LoggerFactory.getLogger(DepotController.class); + + @Resource + private DepotService depotService; + + @Resource + private UserBusinessService userBusinessService; + + @GetMapping(value = "/getAllList") + public BaseResponseInfo getAllList(HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + List depotList = depotService.getAllList(); + res.code = 200; + res.data = depotList; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 用户对应仓库显示 + * @param type + * @param keyId + * @param request + * @return + */ + @PostMapping(value = "/findUserDepot") + public JSONArray findUserDepot(@RequestParam("UBType") String type, @RequestParam("UBKeyId") String keyId, + HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List dataList = depotService.findUserDepot(); + //开始拼接json数据 + JSONObject outer = new JSONObject(); + outer.put("id", 1); + outer.put("text", "仓库列表"); + outer.put("state", "open"); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (Depot depot : dataList) { + JSONObject item = new JSONObject(); + item.put("id", depot.getId()); + item.put("text", depot.getName()); + //勾选判断1 + Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + depot.getId().toString() + "]"); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>设置用户对应的仓库:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item.put("checked", true); + } + //结束 + dataArray.add(item); + } + } + outer.put("children", dataArray); + arr.add(outer); + } catch (Exception e) { + e.printStackTrace(); + } + return arr; + } + + @GetMapping(value = "/findDepotByUserId") + public JSONArray findDepotByUserId(@RequestParam("UBType") String type, @RequestParam("UBKeyId") String keyId, + HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List dataList = depotService.findUserDepot(); + //开始拼接json数据 + if (null != dataList) { + for (Depot depot : dataList) { + JSONObject item = new JSONObject(); + //勾选判断1 + Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + depot.getId().toString() + "]"); + } catch (DataAccessException e) { + logger.error(">>>>>>>>>>>>>>>>>查询用户对应的仓库:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item.put("id", depot.getId()); + item.put("depotName", depot.getName()); + arr.add(item); + } + } + } + } catch (Exception e) { + e.printStackTrace(); + } + return arr; + } + + /** + * 查找礼品卡-虚拟仓库 + * @param type + * @param request + * @return + */ + @PostMapping(value = "/findGiftByType") + public JSONArray findGiftByType(@RequestParam("type") Integer type, + HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List dataList = depotService.findGiftByType(type); + //存放数据json数组 + if (null != dataList) { + for (Depot depot : dataList) { + JSONObject item = new JSONObject(); + item.put("id", depot.getId()); + //仓库名称 + item.put("name", depot.getName()); + arr.add(item); + } + } + } catch (Exception e) { + logger.error(">>>>>>>>>查找仓库信息异常", e); + } + return arr; + } +} diff --git a/src/main/java/com/jsh/erp/controller/DepotHeadController.java b/src/main/java/com/jsh/erp/controller/DepotHeadController.java new file mode 100644 index 0000000000000000000000000000000000000000..64492cccc2235cc93a207bcf921f6cef17fc71a5 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/DepotHeadController.java @@ -0,0 +1,458 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.DepotHead; +import com.jsh.erp.datasource.vo.DepotHeadVo4InDetail; +import com.jsh.erp.datasource.vo.DepotHeadVo4InOutMCount; +import com.jsh.erp.datasource.vo.DepotHeadVo4List; +import com.jsh.erp.datasource.vo.DepotHeadVo4StatementAccount; +import com.jsh.erp.service.depotHead.DepotHeadService; +import com.jsh.erp.utils.BaseResponseInfo; +import com.jsh.erp.utils.ErpInfo; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.sql.Date; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +@RestController +@RequestMapping(value = "/depotHead") +public class DepotHeadController { + private Logger logger = LoggerFactory.getLogger(DepotHeadController.class); + + @Resource + private DepotHeadService depotHeadService; + + /** + * 批量设置状态-审核或者反审核 + * @param status + * @param depotHeadIDs + * @param request + * @return + */ + @PostMapping(value = "/batchSetStatus") + public String batchSetStatus(@RequestParam("status") Boolean status, + @RequestParam("depotHeadIDs") String depotHeadIDs, + HttpServletRequest request) { + Map objectMap = new HashMap(); + int res = depotHeadService.batchSetStatus(status, depotHeadIDs); + if(res > 0) { + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } else { + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + /** + * 单据编号生成接口,规则:查找当前类型单据下的当天最大的单据号,并加1 + * @param type + * @param subType + * @param beginTime + * @param endTime + * @param request + * @return + */ + @GetMapping(value = "/buildNumber") + public BaseResponseInfo buildNumber(@RequestParam("type") String type, + @RequestParam("subType") String subType, + @RequestParam("beginTime") String beginTime, + @RequestParam("endTime") String endTime, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + String number = depotHeadService.buildNumber(type, subType, beginTime, endTime); + map.put("DefaultNumber", number); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 获取最大的id + * @param request + * @return + */ + @GetMapping(value = "/getMaxId") + public BaseResponseInfo getMaxId(HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + Long maxId = depotHeadService.getMaxId(); + map.put("maxId", maxId); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 查找单据_根据月份(报表) + * @param monthTime + * @param request + * @return + */ + @GetMapping(value = "/findByMonth") + public BaseResponseInfo findByMonth(@RequestParam("monthTime") String monthTime, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = depotHeadService.findByMonth(monthTime); + String headId = ""; + if (null != dataList) { + for (DepotHead depotHead : dataList) { + headId = headId + depotHead.getId() + ","; + } + } + if (headId != "") { + headId = headId.substring(0, headId.lastIndexOf(",")); + } + map.put("HeadIds", headId); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 查找统计信息_根据礼品卡(报表) + * @param projectId + * @param request + * @return + */ + @GetMapping(value = "/findGiftReport") + public BaseResponseInfo findGiftReport(@RequestParam("projectId") String projectId, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList_in = depotHeadService.getDepotHead(); + String headId = ""; + if (null != dataList_in) { + for (DepotHead depotHead : dataList_in) { + headId = headId + depotHead.getId() + ","; + } + List dataList_out = depotHeadService.getDepotHeadGiftOut(projectId); + if (null != dataList_out) { + for (DepotHead depotHead : dataList_out) { + headId = headId + depotHead.getId() + ","; + } + } + } + if (headId != "") { + headId = headId.substring(0, headId.lastIndexOf(",")); + } + map.put("HeadIds", headId); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 入库出库明细接口 + * @param currentPage + * @param pageSize + * @param oId + * @param pid + * @param dids + * @param beginTime + * @param endTime + * @param type + * @param request + * @return + */ + @GetMapping(value = "/findInDetail") + public BaseResponseInfo findInDetail(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("organId") Integer oId, + @RequestParam("projectId") Integer pid, + @RequestParam("depotIds") String dids, + @RequestParam("beginTime") String beginTime, + @RequestParam("endTime") String endTime, + @RequestParam("type") String type, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List resList = new ArrayList(); + List list = depotHeadService.findByAll(beginTime, endTime, type, pid, dids, oId, currentPage, pageSize); + int total = depotHeadService.findByAllCount(beginTime, endTime, type, pid, dids, oId); + map.put("total", total); + //存放数据json数组 + if (null != list) { + for (DepotHeadVo4InDetail dhd : list) { + resList.add(dhd); + } + } + map.put("rows", resList); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 入库出库统计接口 + * @param currentPage + * @param pageSize + * @param oId + * @param pid + * @param dids + * @param beginTime + * @param endTime + * @param type + * @param request + * @return + */ + @GetMapping(value = "/findInOutMaterialCount") + public BaseResponseInfo findInOutMaterialCount(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("organId") Integer oId, + @RequestParam("projectId") Integer pid, + @RequestParam("depotIds") String dids, + @RequestParam("beginTime") String beginTime, + @RequestParam("endTime") String endTime, + @RequestParam("type") String type, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List resList = new ArrayList(); + List list = depotHeadService.findInOutMaterialCount(beginTime, endTime, type, pid, dids, oId, currentPage, pageSize); + int total = depotHeadService.findInOutMaterialCountTotal(beginTime, endTime, type, pid, dids, oId); + map.put("total", total); + //存放数据json数组 + if (null != list) { + for (DepotHeadVo4InOutMCount dhc : list) { + resList.add(dhc); + } + } + map.put("rows", resList); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 对账单接口 + * @param currentPage + * @param pageSize + * @param beginTime + * @param endTime + * @param organId + * @param supType + * @param request + * @return + */ + @GetMapping(value = "/findStatementAccount") + public BaseResponseInfo findStatementAccount(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("beginTime") String beginTime, + @RequestParam("endTime") String endTime, + @RequestParam("organId") Integer organId, + @RequestParam("supType") String supType, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + int j = 1; + if (supType.equals("客户")) { //客户 + j = 1; + } else if (supType.equals("供应商")) { //供应商 + j = -1; + } + List resList = new ArrayList(); + List list = depotHeadService.findStatementAccount(beginTime, endTime, organId, supType, (currentPage-1)*pageSize, pageSize); + int total = depotHeadService.findStatementAccountCount(beginTime, endTime, organId, supType); + map.put("total", total); + //存放数据json数组 + if (null != list) { + for (DepotHeadVo4StatementAccount dha : list) { + dha.setNumber(dha.getNumber()); //单据编号 + dha.setType(dha.getType()); //类型 + String type = dha.getType(); + Double p1 = 0.0; + Double p2 = 0.0; + if (dha.getDiscountLastMoney() != null) { + p1 = dha.getDiscountLastMoney(); + } + if (dha.getChangeAmount() != null) { + p2 = dha.getChangeAmount(); + } + Double allPrice = 0.0; + if (p1 < 0) { + p1 = -p1; + } + if (p2 < 0) { + p2 = -p2; + } + if (type.equals("采购入库")) { + allPrice = -(p1 - p2); + } else if (type.equals("销售退货入库")) { + allPrice = -(p1 - p2); + } else if (type.equals("销售出库")) { + allPrice = p1 - p2; + } else if (type.equals("采购退货出库")) { + allPrice = p1 - p2; + } else if (type.equals("付款")) { + allPrice = p1 + p2; + } else if (type.equals("收款")) { + allPrice = -(p1 + p2); + } else if (type.equals("收入")) { + allPrice = p1 - p2; + } else if (type.equals("支出")) { + allPrice = -(p1 - p2); + } + dha.setDiscountLastMoney(p1); //金额 + dha.setChangeAmount(p2); //金额 + dha.setAllPrice(Double.parseDouble(String.format("%.2f", allPrice * j))); //计算后的金额 + dha.setSupplierName(dha.getSupplierName()); //供应商 + dha.setoTime(dha.getoTime()); //入库出库日期 + resList.add(dha); + } + } + map.put("rows", resList); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 查询单位的累计应收和累计应付,零售不能计入 + * @param supplierId + * @param endTime + * @param supType + * @param request + * @return + */ + @GetMapping(value = "/findTotalPay") + public BaseResponseInfo findTotalPay(@RequestParam("supplierId") Integer supplierId, + @RequestParam("endTime") String endTime, + @RequestParam("supType") String supType, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + JSONObject outer = new JSONObject(); + Double sum = 0.0; + String getS = supplierId.toString(); + int i = 1; + if (supType.equals("customer")) { //客户 + i = 1; + } else if (supType.equals("vendor")) { //供应商 + i = -1; + } + //进销部分 + sum = sum - (allMoney(getS, "入库", "采购", "合计",endTime) - allMoney(getS, "入库", "采购", "实际",endTime)) * i; + sum = sum - (allMoney(getS, "入库", "销售退货", "合计",endTime) - allMoney(getS, "入库", "销售退货", "实际",endTime)) * i; + sum = sum + (allMoney(getS, "出库", "销售", "合计",endTime) - allMoney(getS, "出库", "销售", "实际",endTime)) * i; + sum = sum + (allMoney(getS, "出库", "采购退货", "合计",endTime) - allMoney(getS, "出库", "采购退货", "实际",endTime)) * i; + outer.put("getAllMoney", sum); + map.put("rows", outer); + res.code = 200; + res.data = map; + } catch (Exception e) { + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 根据编号查询单据信息 + * @param number + * @param request + * @return + */ + @GetMapping(value = "/getDetailByNumber") + public BaseResponseInfo getDetailByNumber(@RequestParam("number") String number, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + DepotHeadVo4List dhl = new DepotHeadVo4List(); + try { + List list = depotHeadService.getDetailByNumber(number); + if(list.size() == 1) { + dhl = list.get(0); + } + res.code = 200; + res.data = dhl; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + + /** + * 统计总金额 + * @param getS + * @param type + * @param subType + * @param mode 合计或者金额 + * @return + */ + public Double allMoney(String getS, String type, String subType, String mode, String endTime) { + Double allMoney = 0.0; + try { + Integer supplierId = Integer.valueOf(getS); + Double sum = depotHeadService.findAllMoney(supplierId, type, subType, mode, endTime); + if(sum != null) { + allMoney = sum; + } + } catch (Exception e) { + e.printStackTrace(); + } + //返回正数,如果负数也转为正数 + if (allMoney < 0) { + allMoney = -allMoney; + } + return allMoney; + } + +} diff --git a/src/main/java/com/jsh/erp/controller/DepotItemController.java b/src/main/java/com/jsh/erp/controller/DepotItemController.java new file mode 100644 index 0000000000000000000000000000000000000000..fbc0492ac58d7d57852e48056c9883bf98aafeb5 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/DepotItemController.java @@ -0,0 +1,936 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.*; +import com.jsh.erp.service.depotItem.DepotItemService; +import com.jsh.erp.service.material.MaterialService; +import com.jsh.erp.utils.*; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DataAccessException; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.ArrayList; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +@RestController +@RequestMapping(value = "/depotItem") +public class DepotItemController { + private Logger logger = LoggerFactory.getLogger(DepotItemController.class); + + @Resource + private DepotItemService depotItemService; + + @Resource + private MaterialService materialService; + + /** + * 根据材料信息获取 + * @param materialParam 商品参数 + * @param depotIds 拥有的仓库信息 + * @param request + * @return + */ + @GetMapping(value = "/getHeaderIdByMaterial") + public BaseResponseInfo getHeaderIdByMaterial(@RequestParam("materialParam") String materialParam, + @RequestParam("depotIds") String depotIds, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + List depotItemList = depotItemService.getHeaderIdByMaterial(materialParam, depotIds); + String allReturn = ""; + if (depotItemList != null) { + for (DepotItemVo4HeaderId d : depotItemList) { + Long dl = d.getHeaderid(); //获取对象 + allReturn = allReturn + dl.toString() + ","; + } + } + allReturn = allReturn.substring(0, allReturn.length() - 1); + if (allReturn.equals("null")) { + allReturn = ""; + } + res.code = 200; + res.data = allReturn; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 只根据商品id查询单据列表 + * @param mId + * @param request + * @return + */ + @GetMapping(value = "/findDetailByTypeAndMaterialId") + public String findDetailByTypeAndMaterialId( + @RequestParam(value = Constants.PAGE_SIZE, required = false) Integer pageSize, + @RequestParam(value = Constants.CURRENT_PAGE, required = false) Integer currentPage, + @RequestParam("materialId") String mId, HttpServletRequest request) { + Map parameterMap = ParamUtils.requestToMap(request); + parameterMap.put("mId", mId); + PageQueryInfo queryInfo = new PageQueryInfo(); + Map objectMap = new HashMap(); + if (pageSize != null && pageSize <= 0) { + pageSize = 10; + } + String offset = ParamUtils.getPageOffset(currentPage, pageSize); + if (StringUtil.isNotEmpty(offset)) { + parameterMap.put(Constants.OFFSET, offset); + } + List list = depotItemService.findDetailByTypeAndMaterialIdList(parameterMap); + JSONArray dataArray = new JSONArray(); + if (list != null) { + for (DepotItemVo4DetailByTypeAndMId d: list) { + JSONObject item = new JSONObject(); + item.put("Number", d.getNumber()); //商品编号 + item.put("Type", d.getNewtype()); //进出类型 + item.put("BasicNumber", d.getBnum()); //数量 + item.put("OperTime", d.getOtime()); //时间 + dataArray.add(item); + } + } + objectMap.put("page", dataArray); + if (list == null) { + queryInfo.setRows(new ArrayList()); + queryInfo.setTotal(0); + return returnJson(objectMap, "查找不到数据", ErpInfo.OK.code); + } + queryInfo.setRows(list); + queryInfo.setTotal(depotItemService.findDetailByTypeAndMaterialIdCounts(parameterMap)); + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } + + /** + * 根据商品id和仓库id查询库存数量 + * @param pageSize + * @param currentPage + * @param mId + * @param request + * @return + */ + @GetMapping(value = "/findStockNumById") + public String findStockNumById( + @RequestParam(value = Constants.PAGE_SIZE, required = false) Integer pageSize, + @RequestParam(value = Constants.CURRENT_PAGE, required = false) Integer currentPage, + @RequestParam("projectId") Integer pid, + @RequestParam("materialId") String mId, + @RequestParam("monthTime") String monthTime, + HttpServletRequest request) { + Map parameterMap = ParamUtils.requestToMap(request); + parameterMap.put("mId", mId); + parameterMap.put("monthTime", monthTime); + PageQueryInfo queryInfo = new PageQueryInfo(); + Map objectMap = new HashMap(); + if (pageSize != null && pageSize <= 0) { + pageSize = 10; + } + String offset = ParamUtils.getPageOffset(currentPage, pageSize); + if (StringUtil.isNotEmpty(offset)) { + parameterMap.put(Constants.OFFSET, offset); + } + List list = depotItemService.findStockNumByMaterialIdList(parameterMap); + //存放数据json数组 + Long materialId = Long.parseLong(mId); + JSONArray dataArray = new JSONArray(); + if (null != list) { + for (DepotItemVo4Material di : list) { + JSONObject item = new JSONObject(); + double prevSum = sumNumber("入库", pid, materialId, monthTime, true) - sumNumber("出库", pid, materialId, monthTime, true); + double InSum = sumNumber("入库", pid, materialId, monthTime, false); + double OutSum = sumNumber("出库", pid, materialId, monthTime, false); + item.put("MaterialId", di.getMaterialid() == null ? "" : di.getMaterialid()); + item.put("MaterialName", di.getMname()); + item.put("MaterialModel", di.getMmodel()); + item.put("thisSum", prevSum + InSum - OutSum); + dataArray.add(item); + } + } + objectMap.put("page", dataArray); + if (list == null) { + queryInfo.setRows(new ArrayList()); + queryInfo.setTotal(0); + return returnJson(objectMap, "查找不到数据", ErpInfo.OK.code); + } + queryInfo.setRows(list); + queryInfo.setTotal(depotItemService.findStockNumByMaterialIdCounts(parameterMap)); + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } + + /** + * 只根据商品id查询库存数量 + * @param pageSize + * @param currentPage + * @param mId + * @param request + * @return + */ + @GetMapping(value = "/findStockNumByMaterialId") + public String findStockNumByMaterialId( + @RequestParam(value = Constants.PAGE_SIZE, required = false) Integer pageSize, + @RequestParam(value = Constants.CURRENT_PAGE, required = false) Integer currentPage, + @RequestParam("materialId") String mId, + @RequestParam("monthTime") String monthTime, + HttpServletRequest request) { + Map parameterMap = ParamUtils.requestToMap(request); + parameterMap.put("mId", mId); + parameterMap.put("monthTime", monthTime); + PageQueryInfo queryInfo = new PageQueryInfo(); + Map objectMap = new HashMap(); + if (pageSize != null && pageSize <= 0) { + pageSize = 10; + } + String offset = ParamUtils.getPageOffset(currentPage, pageSize); + if (StringUtil.isNotEmpty(offset)) { + parameterMap.put(Constants.OFFSET, offset); + } + List list = depotItemService.findStockNumByMaterialIdList(parameterMap); + + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != list) { + for (DepotItemVo4Material di : list) { + JSONObject item = new JSONObject(); + int InSum = sumNumberByMaterialId("入库", di.getMaterialid()); + int OutSum = sumNumberByMaterialId("出库", di.getMaterialid()); + item.put("MaterialId", di.getMaterialid() == null ? "" : di.getMaterialid()); + item.put("MaterialName", di.getMname()); + item.put("MaterialModel", di.getMmodel()); + item.put("thisSum", InSum - OutSum); + dataArray.add(item); + } + } + objectMap.put("page", dataArray); + if (list == null) { + queryInfo.setRows(new ArrayList()); + queryInfo.setTotal(0); + return returnJson(objectMap, "查找不到数据", ErpInfo.OK.code); + } + queryInfo.setRows(list); + queryInfo.setTotal(depotItemService.findStockNumByMaterialIdCounts(parameterMap)); + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } + + /** + * 仅根据商品Id进行数量合计 + * + * @param type + * @param mId + * @return + */ + public int sumNumberByMaterialId(String type, Long mId) { + int allNumber = 0; + try { + allNumber = depotItemService.findByTypeAndMaterialId(type, mId); + } catch (Exception e) { + e.printStackTrace(); + } + return allNumber; + } + + /** + * 保存明细 + * @param inserted + * @param deleted + * @param updated + * @param headerId + * @param request + * @return + */ + @PostMapping(value = "/saveDetials") + public String saveDetials(@RequestParam("inserted") String inserted, + @RequestParam("deleted") String deleted, + @RequestParam("updated") String updated, + @RequestParam("headerId") Long headerId, + HttpServletRequest request) { + Map objectMap = new HashMap(); + try { + //转为json + JSONArray insertedJson = JSONArray.parseArray(inserted); + JSONArray deletedJson = JSONArray.parseArray(deleted); + JSONArray updatedJson = JSONArray.parseArray(updated); + if (null != insertedJson) { + for (int i = 0; i < insertedJson.size(); i++) { + DepotItem depotItem = new DepotItem(); + JSONObject tempInsertedJson = JSONObject.parseObject(insertedJson.getString(i)); + depotItem.setHeaderid(headerId); + depotItem.setMaterialid(tempInsertedJson.getLong("MaterialId")); + depotItem.setMunit(tempInsertedJson.getString("Unit")); + if (!StringUtil.isEmpty(tempInsertedJson.get("OperNumber").toString())) { + depotItem.setOpernumber(tempInsertedJson.getDouble("OperNumber")); + try { + String Unit = tempInsertedJson.get("Unit").toString(); + Double oNumber = tempInsertedJson.getDouble("OperNumber"); + Long mId = Long.parseLong(tempInsertedJson.get("MaterialId").toString()); + //以下进行单位换算 + String UnitName = findUnitName(mId); //查询计量单位名称 + if (!UnitName.equals("")) { + String UnitList = UnitName.substring(0, UnitName.indexOf("(")); + String RatioList = UnitName.substring(UnitName.indexOf("(")); + String basicUnit = UnitList.substring(0, UnitList.indexOf(",")); //基本单位 + String otherUnit = UnitList.substring(UnitList.indexOf(",") + 1); //副单位 + Integer ratio = Integer.parseInt(RatioList.substring(RatioList.indexOf(":") + 1).replace(")", "")); //比例 + if (Unit.equals(basicUnit)) { //如果等于基础单位 + depotItem.setBasicnumber(oNumber); //数量一致 + } else if (Unit.equals(otherUnit)) { //如果等于副单位 + depotItem.setBasicnumber(oNumber * ratio); //数量乘以比例 + } + } else { + depotItem.setBasicnumber(oNumber); //其他情况 + } + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>>>设置基础数量异常", e); + } + } + if (!StringUtil.isEmpty(tempInsertedJson.get("UnitPrice").toString())) { + depotItem.setUnitprice(tempInsertedJson.getDouble("UnitPrice")); + } + if (!StringUtil.isEmpty(tempInsertedJson.get("TaxUnitPrice").toString())) { + depotItem.setTaxunitprice(tempInsertedJson.getDouble("TaxUnitPrice")); + } + if (!StringUtil.isEmpty(tempInsertedJson.get("AllPrice").toString())) { + depotItem.setAllprice(tempInsertedJson.getDouble("AllPrice")); + } + depotItem.setRemark(tempInsertedJson.getString("Remark")); + if (tempInsertedJson.get("DepotId") != null && !StringUtil.isEmpty(tempInsertedJson.get("DepotId").toString())) { + depotItem.setDepotid(tempInsertedJson.getLong("DepotId")); + } + if (tempInsertedJson.get("AnotherDepotId") != null && !StringUtil.isEmpty(tempInsertedJson.get("AnotherDepotId").toString())) { + depotItem.setAnotherdepotid(tempInsertedJson.getLong("AnotherDepotId")); + } + if (!StringUtil.isEmpty(tempInsertedJson.get("TaxRate").toString())) { + depotItem.setTaxrate(tempInsertedJson.getDouble("TaxRate")); + } + if (!StringUtil.isEmpty(tempInsertedJson.get("TaxMoney").toString())) { + depotItem.setTaxmoney(tempInsertedJson.getDouble("TaxMoney")); + } + if (!StringUtil.isEmpty(tempInsertedJson.get("TaxLastMoney").toString())) { + depotItem.setTaxlastmoney(tempInsertedJson.getDouble("TaxLastMoney")); + } + if (tempInsertedJson.get("OtherField1") != null) { + depotItem.setOtherfield1(tempInsertedJson.getString("OtherField1")); + } + if (tempInsertedJson.get("OtherField2") != null) { + depotItem.setOtherfield2(tempInsertedJson.getString("OtherField2")); + } + if (tempInsertedJson.get("OtherField3") != null) { + depotItem.setOtherfield3(tempInsertedJson.getString("OtherField3")); + } + if (tempInsertedJson.get("OtherField4") != null) { + depotItem.setOtherfield4(tempInsertedJson.getString("OtherField4")); + } + if (tempInsertedJson.get("OtherField5") != null) { + depotItem.setOtherfield5(tempInsertedJson.getString("OtherField5")); + } + if (tempInsertedJson.get("MType") != null) { + depotItem.setMtype(tempInsertedJson.getString("MType")); + } + depotItemService.insertDepotItemWithObj(depotItem); + } + } + if (null != deletedJson) { + for (int i = 0; i < deletedJson.size(); i++) { + JSONObject tempDeletedJson = JSONObject.parseObject(deletedJson.getString(i)); + depotItemService.deleteDepotItem(tempDeletedJson.getLong("Id")); + } + } + if (null != updatedJson) { + for (int i = 0; i < updatedJson.size(); i++) { + JSONObject tempUpdatedJson = JSONObject.parseObject(updatedJson.getString(i)); + DepotItem depotItem = depotItemService.getDepotItem(tempUpdatedJson.getLong("Id")); + depotItem.setId(tempUpdatedJson.getLong("Id")); + depotItem.setMaterialid(tempUpdatedJson.getLong("MaterialId")); + depotItem.setMunit(tempUpdatedJson.getString("Unit")); + if (!StringUtil.isEmpty(tempUpdatedJson.get("OperNumber").toString())) { + depotItem.setOpernumber(tempUpdatedJson.getDouble("OperNumber")); + try { + String Unit = tempUpdatedJson.get("Unit").toString(); + Double oNumber = tempUpdatedJson.getDouble("OperNumber"); + Long mId = Long.parseLong(tempUpdatedJson.get("MaterialId").toString()); + //以下进行单位换算 + String UnitName = findUnitName(mId); //查询计量单位名称 + if (!UnitName.equals("")) { + String UnitList = UnitName.substring(0, UnitName.indexOf("(")); + String RatioList = UnitName.substring(UnitName.indexOf("(")); + String basicUnit = UnitList.substring(0, UnitList.indexOf(",")); //基本单位 + String otherUnit = UnitList.substring(UnitList.indexOf(",") + 1); //副单位 + Integer ratio = Integer.parseInt(RatioList.substring(RatioList.indexOf(":") + 1).replace(")", "")); //比例 + if (Unit.equals(basicUnit)) { //如果等于基础单位 + depotItem.setBasicnumber(oNumber); //数量一致 + } else if (Unit.equals(otherUnit)) { //如果等于副单位 + depotItem.setBasicnumber(oNumber * ratio); //数量乘以比例 + } + } else { + depotItem.setBasicnumber(oNumber); //其他情况 + } + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>>>设置基础数量异常", e); + } + } + if (!StringUtil.isEmpty(tempUpdatedJson.get("UnitPrice").toString())) { + depotItem.setUnitprice(tempUpdatedJson.getDouble("UnitPrice")); + } + if (!StringUtil.isEmpty(tempUpdatedJson.get("TaxUnitPrice").toString())) { + depotItem.setTaxunitprice(tempUpdatedJson.getDouble("TaxUnitPrice")); + } + if (!StringUtil.isEmpty(tempUpdatedJson.get("AllPrice").toString())) { + depotItem.setAllprice(tempUpdatedJson.getDouble("AllPrice")); + } + depotItem.setRemark(tempUpdatedJson.getString("Remark")); + if (tempUpdatedJson.get("DepotId") != null && !StringUtil.isEmpty(tempUpdatedJson.get("DepotId").toString())) { + depotItem.setDepotid(tempUpdatedJson.getLong("DepotId")); + } + if (tempUpdatedJson.get("AnotherDepotId") != null && !StringUtil.isEmpty(tempUpdatedJson.get("AnotherDepotId").toString())) { + depotItem.setAnotherdepotid(tempUpdatedJson.getLong("AnotherDepotId")); + } + if (!StringUtil.isEmpty(tempUpdatedJson.get("TaxRate").toString())) { + depotItem.setTaxrate(tempUpdatedJson.getDouble("TaxRate")); + } + if (!StringUtil.isEmpty(tempUpdatedJson.get("TaxMoney").toString())) { + depotItem.setTaxmoney(tempUpdatedJson.getDouble("TaxMoney")); + } + if (!StringUtil.isEmpty(tempUpdatedJson.get("TaxLastMoney").toString())) { + depotItem.setTaxlastmoney(tempUpdatedJson.getDouble("TaxLastMoney")); + } + depotItem.setOtherfield1(tempUpdatedJson.getString("OtherField1")); + depotItem.setOtherfield2(tempUpdatedJson.getString("OtherField2")); + depotItem.setOtherfield3(tempUpdatedJson.getString("OtherField3")); + depotItem.setOtherfield4(tempUpdatedJson.getString("OtherField4")); + depotItem.setOtherfield5(tempUpdatedJson.getString("OtherField5")); + depotItem.setMtype(tempUpdatedJson.getString("MType")); + depotItemService.updateDepotItemWithObj(depotItem); + } + } + + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } catch (DataAccessException e) { + e.printStackTrace(); + logger.error(">>>>>>>>>>>>>>>>>>>保存明细信息异常", e); + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + /** + * 查询计量单位信息 + * + * @return + */ + public String findUnitName(Long mId) { + String unitName = ""; + try { + unitName = materialService.findUnitName(mId); + if (unitName != null) { + unitName = unitName.substring(1, unitName.length() - 1); + if (unitName.equals("null")) { + unitName = ""; + } + } + } catch (Exception e) { + e.printStackTrace(); + } + return unitName; + } + + @GetMapping(value = "/getDetailList") + public BaseResponseInfo getDetailList(@RequestParam("headerId") Long headerId, + @RequestParam("mpList") String mpList, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = new ArrayList(); + if(headerId != 0) { + dataList = depotItemService.getDetailList(headerId); + } + String[] mpArr = mpList.split(","); + JSONObject outer = new JSONObject(); + outer.put("total", dataList.size()); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (DepotItemVo4WithInfoEx diEx : dataList) { + JSONObject item = new JSONObject(); + item.put("Id", diEx.getId()); + item.put("MaterialId", diEx.getMaterialid() == null ? "" : diEx.getMaterialid()); + String ratio; //比例 + if (diEx.getUnitId() == null || diEx.getUnitId().equals("")) { + ratio = ""; + } else { + ratio = diEx.getUName(); + ratio = ratio.substring(ratio.indexOf("(")); + } + //品名/型号/扩展信息/包装 + String MaterialName = diEx.getMName() + ((diEx.getMModel() == null || diEx.getMModel().equals("")) ? "" : "(" + diEx.getMModel() + ")"); + String materialOther = getOtherInfo(mpArr, diEx); + MaterialName = MaterialName + materialOther + ((diEx.getUName() == null || diEx.getUName().equals("")) ? "" : "(" + diEx.getUName() + ")") + ratio; + item.put("MaterialName", MaterialName); + item.put("Unit", diEx.getMunit()); + item.put("OperNumber", diEx.getOpernumber()); + item.put("BasicNumber", diEx.getBasicnumber()); + item.put("UnitPrice", diEx.getUnitprice()); + item.put("TaxUnitPrice", diEx.getTaxunitprice()); + item.put("AllPrice", diEx.getAllprice()); + item.put("Remark", diEx.getRemark()); + item.put("Img", diEx.getImg()); + item.put("DepotId", diEx.getDepotid() == null ? "" : diEx.getDepotid()); + item.put("DepotName", diEx.getDepotid() == null ? "" : diEx.getDepotName()); + item.put("AnotherDepotId", diEx.getAnotherdepotid() == null ? "" : diEx.getAnotherdepotid()); + item.put("AnotherDepotName", diEx.getAnotherdepotid() == null ? "" : diEx.getAnotherDepotName()); + item.put("TaxRate", diEx.getTaxrate()); + item.put("TaxMoney", diEx.getTaxmoney()); + item.put("TaxLastMoney", diEx.getTaxlastmoney()); + item.put("OtherField1", diEx.getOtherfield1()); + item.put("OtherField2", diEx.getOtherfield2()); + item.put("OtherField3", diEx.getOtherfield3()); + item.put("OtherField4", diEx.getOtherfield4()); + item.put("OtherField5", diEx.getOtherfield5()); + item.put("MType", diEx.getMtype()); + item.put("op", 1); + dataArray.add(item); + } + } + outer.put("rows", dataArray); + res.code = 200; + res.data = outer; + } catch (Exception e) { + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + + /** + * 获取扩展信息 + * + * @return + */ + public String getOtherInfo(String[] mpArr, DepotItemVo4WithInfoEx diEx) { + String materialOther = ""; + for (int i = 0; i < mpArr.length; i++) { + if (mpArr[i].equals("颜色")) { + materialOther = materialOther + ((diEx.getMColor() == null || diEx.getMColor().equals("")) ? "" : "(" + diEx.getMColor() + ")"); + } + if (mpArr[i].equals("规格")) { + materialOther = materialOther + ((diEx.getMStandard() == null || diEx.getMStandard().equals("")) ? "" : "(" + diEx.getMStandard() + ")"); + } + if (mpArr[i].equals("制造商")) { + materialOther = materialOther + ((diEx.getMMfrs() == null || diEx.getMMfrs().equals("")) ? "" : "(" + diEx.getMMfrs() + ")"); + } + if (mpArr[i].equals("自定义1")) { + materialOther = materialOther + ((diEx.getMOtherField1() == null || diEx.getMOtherField1().equals("")) ? "" : "(" + diEx.getMOtherField1() + ")"); + } + if (mpArr[i].equals("自定义2")) { + materialOther = materialOther + ((diEx.getMOtherField2() == null || diEx.getMOtherField2().equals("")) ? "" : "(" + diEx.getMOtherField2() + ")"); + } + if (mpArr[i].equals("自定义3")) { + materialOther = materialOther + ((diEx.getMOtherField3() == null || diEx.getMOtherField3().equals("")) ? "" : "(" + diEx.getMOtherField3() + ")"); + } + } + return materialOther; + } + + /** + * 查找所有的明细 + * @param currentPage + * @param pageSize + * @param projectId + * @param monthTime + * @param headIds + * @param materialIds + * @param mpList + * @param request + * @return + */ + @GetMapping(value = "/findByAll") + public BaseResponseInfo findByAll(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("projectId") Integer projectId, + @RequestParam("monthTime") String monthTime, + @RequestParam("headIds") String headIds, + @RequestParam("materialIds") String materialIds, + @RequestParam("mpList") String mpList, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + String[] mpArr = mpList.split(","); + int total = depotItemService.findByAllCount(headIds, materialIds); + map.put("total", total); + //存放数据json数组 + Integer pid = projectId; + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (DepotItemVo4WithInfoEx diEx : dataList) { + JSONObject item = new JSONObject(); + Double prevSum = sumNumber("入库", pid, diEx.getMaterialid(), monthTime, true) - sumNumber("出库", pid, diEx.getMaterialid(), monthTime, true); + Double InSum = sumNumber("入库", pid, diEx.getMaterialid(), monthTime, false); + Double OutSum = sumNumber("出库", pid, diEx.getMaterialid(), monthTime, false); + Double prevPrice = sumPrice("入库", pid, diEx.getMaterialid(), monthTime, true) - sumPrice("出库", pid, diEx.getMaterialid(), monthTime, true); + Double InPrice = sumPrice("入库", pid, diEx.getMaterialid(), monthTime, false); + Double OutPrice = sumPrice("出库", pid, diEx.getMaterialid(), monthTime, false); + item.put("Id", diEx.getId()); + item.put("MaterialId", diEx.getMaterialid()); + item.put("MaterialName", diEx.getMName()); + item.put("MaterialModel", diEx.getMColor()); + //扩展信息 + String materialOther = getOtherInfo(mpArr, diEx); + item.put("MaterialOther", materialOther); + item.put("MaterialColor", diEx.getMColor()); + item.put("MaterialUnit", diEx.getMaterialUnit()); + Double unitPrice = 0.0; + if (prevSum + InSum - OutSum != 0.0) { + unitPrice = (prevPrice + InPrice - OutPrice) / (prevSum + InSum - OutSum); + } + item.put("UnitPrice", unitPrice); + item.put("prevSum", prevSum); + item.put("InSum", InSum); + item.put("OutSum", OutSum); + item.put("thisSum", prevSum + InSum - OutSum); + item.put("thisAllPrice", prevPrice + InPrice - OutPrice); + dataArray.add(item); + } + } + map.put("rows", dataArray); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 统计总计金额 + * @param pid + * @param monthTime + * @param headIds + * @param materialIds + * @param request + * @return + */ + @GetMapping(value = "/totalCountMoney") + public BaseResponseInfo totalCountMoney(@RequestParam("projectId") Integer pid, + @RequestParam("monthTime") String monthTime, + @RequestParam("headIds") String headIds, + @RequestParam("materialIds") String materialIds, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = depotItemService.findByAll(headIds, materialIds, null, null); + Double thisAllPrice = 0.0; + if (null != dataList) { + for (DepotItemVo4WithInfoEx diEx : dataList) { + Double prevPrice = sumPrice("入库", pid, diEx.getMaterialid(), monthTime, true) - sumPrice("出库", pid, diEx.getMaterialid(), monthTime, true); + Double InPrice = sumPrice("入库", pid, diEx.getMaterialid(), monthTime, false); + Double OutPrice = sumPrice("出库", pid, diEx.getMaterialid(), monthTime, false); + thisAllPrice = thisAllPrice + (prevPrice + InPrice - OutPrice); + } + } + map.put("totalCount", thisAllPrice); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 进货统计 + * @param currentPage + * @param pageSize + * @param monthTime + * @param headIds + * @param materialIds + * @param mpList + * @param request + * @return + */ + @GetMapping(value = "/buyIn") + public BaseResponseInfo buyIn(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("monthTime") String monthTime, + @RequestParam("headIds") String headIds, + @RequestParam("materialIds") String materialIds, + @RequestParam("mpList") String mpList, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + String[] mpArr = mpList.split(","); + int total = depotItemService.findByAllCount(headIds, materialIds); + map.put("total", total); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (DepotItemVo4WithInfoEx diEx : dataList) { + JSONObject item = new JSONObject(); + Double InSum = sumNumberBuyOrSale("入库", "采购", diEx.getMaterialid(), monthTime); + Double OutSum = sumNumberBuyOrSale("出库", "采购退货", diEx.getMaterialid(), monthTime); + Double InSumPrice = sumPriceBuyOrSale("入库", "采购", diEx.getMaterialid(), monthTime); + Double OutSumPrice = sumPriceBuyOrSale("出库", "采购退货", diEx.getMaterialid(), monthTime); + item.put("Id", diEx.getId()); + item.put("MaterialId", diEx.getMaterialid()); + item.put("MaterialName", diEx.getMName()); + item.put("MaterialModel", diEx.getMModel()); + //扩展信息 + String materialOther = getOtherInfo(mpArr, diEx); + item.put("MaterialOther", materialOther); + item.put("MaterialColor", diEx.getMColor()); + item.put("MaterialUnit", diEx.getMaterialUnit()); + item.put("InSum", InSum); + item.put("OutSum", OutSum); + item.put("InSumPrice", InSumPrice); + item.put("OutSumPrice", OutSumPrice); + dataArray.add(item); + } + } + map.put("rows", dataArray); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 销售统计 + * @param currentPage + * @param pageSize + * @param monthTime + * @param headIds + * @param materialIds + * @param mpList + * @param request + * @return + */ + @GetMapping(value = "/saleOut") + public BaseResponseInfo saleOut(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("monthTime") String monthTime, + @RequestParam("headIds") String headIds, + @RequestParam("materialIds") String materialIds, + @RequestParam("mpList") String mpList, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + String[] mpArr = mpList.split(","); + int total = depotItemService.findByAllCount(headIds, materialIds); + map.put("total", total); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (DepotItemVo4WithInfoEx diEx : dataList) { + JSONObject item = new JSONObject(); + Double OutSumRetail = sumNumberBuyOrSale("出库", "零售", diEx.getMaterialid(), monthTime); + Double OutSum = sumNumberBuyOrSale("出库", "销售", diEx.getMaterialid(), monthTime); + Double InSumRetail = sumNumberBuyOrSale("入库", "零售退货", diEx.getMaterialid(), monthTime); + Double InSum = sumNumberBuyOrSale("入库", "销售退货", diEx.getMaterialid(), monthTime); + Double OutSumRetailPrice = sumPriceBuyOrSale("出库", "零售", diEx.getMaterialid(), monthTime); + Double OutSumPrice = sumPriceBuyOrSale("出库", "销售", diEx.getMaterialid(), monthTime); + Double InSumRetailPrice = sumPriceBuyOrSale("入库", "零售退货", diEx.getMaterialid(), monthTime); + Double InSumPrice = sumPriceBuyOrSale("入库", "销售退货", diEx.getMaterialid(), monthTime); + item.put("Id", diEx.getId()); + item.put("MaterialId", diEx.getMaterialid()); + item.put("MaterialName", diEx.getMName()); + item.put("MaterialModel", diEx.getMModel()); + //扩展信息 + String materialOther = getOtherInfo(mpArr, diEx); + item.put("MaterialOther", materialOther); + item.put("MaterialColor", diEx.getMColor()); + item.put("MaterialUnit", diEx.getMaterialUnit()); + item.put("OutSum", OutSumRetail + OutSum); + item.put("InSum", InSumRetail + InSum); + item.put("OutSumPrice", OutSumRetailPrice + OutSumPrice); + item.put("InSumPrice", InSumRetailPrice + InSumPrice); + dataArray.add(item); + } + } + map.put("rows", dataArray); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 查找礼品卡信息 + * @param currentPage + * @param pageSize + * @param projectId + * @param headIds + * @param materialIds + * @param mpList + * @param request + * @return + */ + @GetMapping(value = "/findGiftByAll") + public BaseResponseInfo findGiftByAll(@RequestParam("currentPage") Integer currentPage, + @RequestParam("pageSize") Integer pageSize, + @RequestParam("projectId") Integer projectId, + @RequestParam("headIds") String headIds, + @RequestParam("materialIds") String materialIds, + @RequestParam("mpList") String mpList, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = depotItemService.findByAll(headIds, materialIds, currentPage, pageSize); + String[] mpArr = mpList.split(","); + int total = depotItemService.findByAllCount(headIds, materialIds); + map.put("total", total); + Integer pid = projectId; + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (DepotItemVo4WithInfoEx diEx : dataList) { + JSONObject item = new JSONObject(); + Double InSum = sumNumberGift("礼品充值", pid, diEx.getMaterialid(), "in"); + Double OutSum = sumNumberGift("礼品销售", pid, diEx.getMaterialid(), "out"); + item.put("Id", diEx.getId()); + item.put("MaterialId", diEx.getMaterialid()); + item.put("MaterialName", diEx.getMName()); + item.put("MaterialModel", diEx.getMModel()); + //扩展信息 + String materialOther = getOtherInfo(mpArr, diEx); + item.put("MaterialOther", materialOther); + item.put("MaterialColor", diEx.getMColor()); + item.put("MaterialUnit", diEx.getMaterialUnit()); + item.put("thisSum", InSum - OutSum); + dataArray.add(item); + } + } + map.put("rows", dataArray); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 数量合计 + * + * @param type + * @param MId + * @param MonthTime + * @param isPrev + * @return + */ + public Double sumNumber(String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) { + Double sumNumber = 0.0; + try { + Double sum = depotItemService.findByType(type, ProjectId, MId, MonthTime, isPrev); + if(sum != null) { + sumNumber = sum; + } + } catch (Exception e) { + e.printStackTrace(); + } + return sumNumber; + } + + /** + * 价格合计 + * + * @param type + * @param MId + * @param MonthTime + * @param isPrev + * @return + */ + public Double sumPrice(String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) { + Double sumPrice = 0.0; + try { + Double sum = depotItemService.findPriceByType(type, ProjectId, MId, MonthTime, isPrev); + if(sum != null) { + sumPrice = sum; + } + } catch (Exception e) { + e.printStackTrace(); + } + return sumPrice; + } + + public Double sumNumberBuyOrSale(String type, String subType, Long MId, String MonthTime) { + Double sumNumber = 0.0; + String sumType = "Number"; + try { + Double sum = depotItemService.buyOrSale(type, subType, MId, MonthTime, sumType); + if(sum != null) { + sumNumber = sum; + } + } catch (Exception e) { + e.printStackTrace(); + } + return sumNumber; + } + + public Double sumPriceBuyOrSale(String type, String subType, Long MId, String MonthTime) { + Double sumPrice = 0.0; + String sumType = "Price"; + try { + Double sum = depotItemService.buyOrSale(type, subType, MId, MonthTime, sumType); + if(sum != null) { + sumPrice = sum; + } + } catch (Exception e) { + e.printStackTrace(); + } + return sumPrice; + } + + /** + * 数量合计-礼品卡 + * @param subType + * @param ProjectId + * @param MId + * @param type + * @return + */ + public Double sumNumberGift(String subType, Integer ProjectId, Long MId, String type) { + Double sumNumber = 0.0; + String allNumber = ""; + try { + if (ProjectId != null) { + Double sum = depotItemService.findGiftByType(subType, ProjectId, MId, type); + if(sum != null) { + sumNumber = sum; + } + } + } catch (Exception e) { + e.printStackTrace(); + } + return sumNumber; + } +} diff --git a/src/main/java/com/jsh/erp/controller/FunctionsController.java b/src/main/java/com/jsh/erp/controller/FunctionsController.java new file mode 100644 index 0000000000000000000000000000000000000000..5ece96ceaaae4d6ee14ac668971c52ac1a8b12d1 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/FunctionsController.java @@ -0,0 +1,235 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Functions; +import com.jsh.erp.service.functions.FunctionsService; +import com.jsh.erp.service.userBusiness.UserBusinessService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DataAccessException; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.io.IOException; +import java.util.List; + +@RestController +@RequestMapping(value = "/functions") +public class FunctionsController { + private Logger logger = LoggerFactory.getLogger(FunctionsController.class); + + @Resource + private FunctionsService functionsService; + + @Resource + private UserBusinessService userBusinessService; + + @PostMapping(value = "/findMenu") + public JSONArray findMenu(@RequestParam(value="pNumber") String pNumber, + @RequestParam(value="hasFunctions") String hasFunctions, + HttpServletRequest request) { + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + try { + String fc = hasFunctions; //当前用户所拥有的功能列表,格式如:[1][2][5] + List dataList = functionsService.getRoleFunctions(pNumber); + if (null != dataList) { + for (Functions functions : dataList) { + JSONObject item = new JSONObject(); + item.put("id", functions.getId()); + List dataList1 = functionsService.getRoleFunctions(functions.getNumber()); + JSONArray dataArray1 = new JSONArray(); + if (dataList1.size() != 0) { + item.put("text", functions.getName()); //是目录就没链接 + for (Functions functions1 : dataList1) { + item.put("state", "open"); //如果不为空,节点展开 + JSONObject item1 = new JSONObject(); + List dataList2 = functionsService.getRoleFunctions(functions1.getNumber()); + if (fc.indexOf("[" + functions1.getId().toString() + "]") != -1 || dataList2.size() != 0) { + item1.put("id", functions1.getId()); + JSONArray dataArray2 = new JSONArray(); + if (dataList2.size() != 0) { + item1.put("text", functions1.getName());//是目录就没链接 + for (Functions functions2 : dataList2) { + item1.put("state", "closed"); //如果不为空,节点不展开 + JSONObject item2 = new JSONObject(); + List dataList3 = functionsService.getRoleFunctions(functions2.getNumber()); + if (fc.indexOf("[" + functions2.getId().toString() + "]") != -1 || dataList3.size() != 0) { + item2.put("id", functions2.getId()); + JSONArray dataArray3 = new JSONArray(); + if (dataList3.size() != 0) { + item2.put("text", functions2.getName());//是目录就没链接 + for (Functions functions3 : dataList3) { + item2.put("state", "closed"); //如果不为空,节点不展开 + JSONObject item3 = new JSONObject(); + item3.put("id", functions3.getId()); + item3.put("text", functions3.getName()); + // + dataArray3.add(item3); + item2.put("children", dataArray3); + } + } else { + //不是目录,有链接 + item2.put("text", "" + functions2.getName() + ""); + } + } else { + //不是目录,有链接 + item2.put("text", "" + functions2.getName() + ""); + } + dataArray2.add(item2); + item1.put("children", dataArray2); + } + } else { + //不是目录,有链接 + item1.put("text", "" + functions1.getName() + ""); + } + } else { + //不是目录,有链接 + item1.put("text", "" + functions1.getName() + ""); + } + dataArray1.add(item1); + item.put("children", dataArray1); + } + } else { + //不是目录,有链接 + item.put("text", "" + functions.getName() + ""); + } + dataArray.add(item); + } + } + } catch (DataAccessException e) { + logger.error(">>>>>>>>>>>>>>>>>>>查找应用异常", e); + } + return dataArray; + } + + /** + * 角色对应功能显示 + * @param request + * @return + */ + @PostMapping(value = "/findRoleFunctions") + public JSONArray findRoleFunctions(@RequestParam("UBType") String type, @RequestParam("UBKeyId") String keyId, + HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List dataList = functionsService.findRoleFunctions("0"); + //开始拼接json数据 + JSONObject outer = new JSONObject(); + outer.put("id", 1); + outer.put("text", "功能列表"); + outer.put("state", "open"); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (Functions functions : dataList) { + JSONObject item = new JSONObject(); + item.put("id", functions.getId()); + item.put("text", functions.getName()); + + //勾选判断1 + Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + functions.getId().toString() + "]"); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item.put("checked", true); + } + //结束 + + List dataList1 = functionsService.findRoleFunctions(functions.getNumber()); + JSONArray dataArray1 = new JSONArray(); + if (null != dataList1) { + + for (Functions functions1 : dataList1) { + item.put("state", "open"); //如果不为空,节点不展开 + JSONObject item1 = new JSONObject(); + item1.put("id", functions1.getId()); + item1.put("text", functions1.getName()); + + //勾选判断2 + //Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + functions1.getId().toString() + "]"); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item1.put("checked", true); + } + //结束 + + List dataList2 = functionsService.findRoleFunctions(functions1.getNumber()); + JSONArray dataArray2 = new JSONArray(); + if (null != dataList2) { + + for (Functions functions2 : dataList2) { + item1.put("state", "closed"); //如果不为空,节点不展开 + JSONObject item2 = new JSONObject(); + item2.put("id", functions2.getId()); + item2.put("text", functions2.getName()); + + //勾选判断3 + //Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + functions2.getId().toString() + "]"); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item2.put("checked", true); + } + //结束 + + List dataList3 = functionsService.findRoleFunctions(functions2.getNumber()); + JSONArray dataArray3 = new JSONArray(); + if (null != dataList3) { + + for (Functions functions3 : dataList3) { + item2.put("state", "closed"); //如果不为空,节点不展开 + JSONObject item3 = new JSONObject(); + item3.put("id", functions3.getId()); + item3.put("text", functions3.getName()); + + //勾选判断4 + //Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + functions3.getId().toString() + "]"); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>设置角色对应的功能:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item3.put("checked", true); + } + //结束 + + dataArray3.add(item3); + item2.put("children", dataArray3); + } + } + + dataArray2.add(item2); + item1.put("children", dataArray2); + } + } + + dataArray1.add(item1); + item.put("children", dataArray1); + } + + } + dataArray.add(item); + } + outer.put("children", dataArray); + arr.add(outer); + } + } catch (Exception e) { + e.printStackTrace(); + } + return arr; + } +} diff --git a/src/main/java/com/jsh/erp/controller/InOutItemController.java b/src/main/java/com/jsh/erp/controller/InOutItemController.java new file mode 100644 index 0000000000000000000000000000000000000000..4ff02dab8ed6bd818205c28c7edf8b19011e2bbf --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/InOutItemController.java @@ -0,0 +1,55 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.InOutItem; +import com.jsh.erp.service.inOutItem.InOutItemService; +import com.jsh.erp.utils.BaseResponseInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@RestController +@RequestMapping(value = "/inOutItem") +public class InOutItemController { + private Logger logger = LoggerFactory.getLogger(InOutItemController.class); + + @Resource + private InOutItemService inOutItemService; + + /** + * 查找收支项目信息-下拉框 + * @param request + * @return + */ + @GetMapping(value = "/findBySelect") + public String findBySelect(@RequestParam("type") String type, HttpServletRequest request) { + String res = null; + try { + List dataList = inOutItemService.findBySelect(type); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (InOutItem inOutItem : dataList) { + JSONObject item = new JSONObject(); + item.put("Id", inOutItem.getId()); + //收支项目名称 + item.put("InOutItemName", inOutItem.getName()); + dataArray.add(item); + } + } + res = dataArray.toJSONString(); + } catch(Exception e){ + e.printStackTrace(); + res = "获取数据失败"; + } + return res; + } + +} diff --git a/src/main/java/com/jsh/erp/controller/MaterialCategoryController.java b/src/main/java/com/jsh/erp/controller/MaterialCategoryController.java new file mode 100644 index 0000000000000000000000000000000000000000..c99ee6ee2fb383232e308698bc0d3f059407f116 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/MaterialCategoryController.java @@ -0,0 +1,66 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.MaterialCategory; +import com.jsh.erp.service.materialCategory.MaterialCategoryService; +import com.jsh.erp.utils.BaseResponseInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@RestController +@RequestMapping(value = "/materialCategory") +public class MaterialCategoryController { + private Logger logger = LoggerFactory.getLogger(MaterialCategoryController.class); + + @Resource + private MaterialCategoryService materialCategoryService; + + @GetMapping(value = "/getAllList") + public BaseResponseInfo getAllList(@RequestParam("parentId") Long parentId, HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + List materialCategoryList = materialCategoryService.getAllList(parentId); + res.code = 200; + res.data = materialCategoryList; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 根据id来查询商品名称 + * @param id + * @param request + * @return + */ + @GetMapping(value = "/findById") + public BaseResponseInfo findById(@RequestParam("id") Long id, HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + List dataList = materialCategoryService.findById(id); + JSONObject outer = new JSONObject(); + if (null != dataList) { + for (MaterialCategory mc : dataList) { + outer.put("name", mc.getName()); + outer.put("parentId", mc.getParentid()); + } + } + res.code = 200; + res.data = dataList; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } +} diff --git a/src/main/java/com/jsh/erp/controller/MaterialController.java b/src/main/java/com/jsh/erp/controller/MaterialController.java new file mode 100644 index 0000000000000000000000000000000000000000..674cbc6bb6d6e798e5e07c3b1f84e807db51a787 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/MaterialController.java @@ -0,0 +1,177 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Material; +import com.jsh.erp.datasource.entities.MaterialVo4Unit; +import com.jsh.erp.service.material.MaterialService; +import com.jsh.erp.utils.BaseResponseInfo; +import com.jsh.erp.utils.ErpInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +@RestController +@RequestMapping(value = "/material") +public class MaterialController { + private Logger logger = LoggerFactory.getLogger(MaterialController.class); + + @Resource + private MaterialService materialService; + + @GetMapping(value = "/checkIsExist") + public String checkIsExist(@RequestParam("materialId") Long id, @RequestParam("name") String name, + @RequestParam("model") String model, @RequestParam("color") String color, + @RequestParam("standard") String standard, @RequestParam("mfrs") String mfrs, + @RequestParam("otherField1") String otherField1, @RequestParam("otherField2") String otherField2, + @RequestParam("otherField3") String otherField3, @RequestParam("unit") String unit,@RequestParam("unitId") Long unitId, + HttpServletRequest request) { + Map objectMap = new HashMap(); + int exist = materialService.checkIsExist(id, name, model, color, standard, mfrs, + otherField1, otherField2, otherField3, unit, unitId); + if(exist > 0) { + objectMap.put("status", true); + } else { + objectMap.put("status", false); + } + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } + + /** + * 批量设置状态-启用或者禁用 + * @param enabled + * @param materialIDs + * @param request + * @return + */ + @PostMapping(value = "/batchSetEnable") + public String batchSetEnable(@RequestParam("enabled") Boolean enabled, + @RequestParam("materialIDs") String materialIDs, + HttpServletRequest request) { + Map objectMap = new HashMap(); + int res = materialService.batchSetEnable(enabled, materialIDs); + if(res > 0) { + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } else { + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + /** + * 根据id来查询商品名称 + * @param id + * @param request + * @return + */ + @GetMapping(value = "/findById") + public BaseResponseInfo findById(@RequestParam("id") Long id, HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + List list = materialService.findById(id); + res.code = 200; + res.data = list; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 查找商品信息-下拉框 + * @param mpList + * @param request + * @return + */ + @GetMapping(value = "/findBySelect") + public JSONArray findBySelect(@RequestParam("mpList") String mpList, HttpServletRequest request) { + JSONArray dataArray = new JSONArray(); + try { + List dataList = materialService.findBySelect(); + String[] mpArr = mpList.split(","); + //存放数据json数组 + if (null != dataList) { + for (MaterialVo4Unit material : dataList) { + JSONObject item = new JSONObject(); + item.put("Id", material.getId()); + String ratio; //比例 + if (material.getUnitid() == null || material.getUnitid().equals("")) { + ratio = ""; + } else { + ratio = material.getUnitName(); + ratio = ratio.substring(ratio.indexOf("(")); + } + //品名/型号/扩展信息/包装 + String MaterialName = material.getName() + ((material.getModel() == null || material.getModel().equals("")) ? "" : "(" + material.getModel() + ")"); + for (int i = 0; i < mpArr.length; i++) { + if (mpArr[i].equals("颜色")) { + MaterialName = MaterialName + ((material.getColor() == null || material.getColor().equals("")) ? "" : "(" + material.getColor() + ")"); + } + if (mpArr[i].equals("规格")) { + MaterialName = MaterialName + ((material.getStandard() == null || material.getStandard().equals("")) ? "" : "(" + material.getStandard() + ")"); + } + if (mpArr[i].equals("制造商")) { + MaterialName = MaterialName + ((material.getMfrs() == null || material.getMfrs().equals("")) ? "" : "(" + material.getMfrs() + ")"); + } + if (mpArr[i].equals("自定义1")) { + MaterialName = MaterialName + ((material.getOtherfield1() == null || material.getOtherfield1().equals("")) ? "" : "(" + material.getOtherfield1() + ")"); + } + if (mpArr[i].equals("自定义2")) { + MaterialName = MaterialName + ((material.getOtherfield2() == null || material.getOtherfield2().equals("")) ? "" : "(" + material.getOtherfield2() + ")"); + } + if (mpArr[i].equals("自定义3")) { + MaterialName = MaterialName + ((material.getOtherfield3() == null || material.getOtherfield3().equals("")) ? "" : "(" + material.getOtherfield3() + ")"); + } + } + MaterialName = MaterialName + ((material.getUnit() == null || material.getUnit().equals("")) ? "" : "(" + material.getUnit() + ")") + ratio; + item.put("MaterialName", MaterialName); + dataArray.add(item); + } + } + } catch (Exception e) { + e.printStackTrace(); + } + return dataArray; + } + + + /** + * 查找商品信息-统计排序 + * @param request + * @return + */ + @GetMapping(value = "/findByOrder") + public BaseResponseInfo findByOrder(HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List dataList = materialService.findByOrder(); + String mId = ""; + if (null != dataList) { + for (Material material : dataList) { + mId = mId + material.getId() + ","; + } + } + if (mId != "") { + mId = mId.substring(0, mId.lastIndexOf(",")); + } + map.put("mIds", mId); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } +} diff --git a/src/main/java/com/jsh/erp/controller/PersonController.java b/src/main/java/com/jsh/erp/controller/PersonController.java new file mode 100644 index 0000000000000000000000000000000000000000..a647205671f8b10995eb8ec6d923499ba7d092a4 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/PersonController.java @@ -0,0 +1,121 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Person; +import com.jsh.erp.service.person.PersonService; +import com.jsh.erp.utils.BaseResponseInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +@RestController +@RequestMapping(value = "/person") +public class PersonController { + private Logger logger = LoggerFactory.getLogger(PersonController.class); + + @Resource + private PersonService personService; + + @GetMapping(value = "/getAllList") + public BaseResponseInfo getAllList(HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List personList = personService.getPerson(); + map.put("personList", personList); + res.code = 200; + res.data = personList; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 根据Id获取经手人信息 + * @param personIDs + * @param request + * @return + */ + @GetMapping(value = "/getPersonByIds") + public BaseResponseInfo getPersonByIds(@RequestParam("personIDs") String personIDs, HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + String names = personService.getPersonByIds(personIDs); + map.put("names", names); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 根据类型获取经手人信息 + * @param type + * @param request + * @return + */ + @GetMapping(value = "/getPersonByType") + public BaseResponseInfo getPersonByType(@RequestParam("type") String type, HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + Map map = new HashMap(); + try { + List personList = personService.getPersonByType(type); + map.put("personList", personList); + res.code = 200; + res.data = map; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } + + /** + * 根据类型获取经手人信息 1-业务员,2-仓管员,3-财务员 + * @param typeNum + * @param request + * @return + */ + @PostMapping(value = "/getPersonByNumType") + public JSONArray getPersonByNumType(@RequestParam("type") String typeNum, HttpServletRequest request) { + JSONArray dataArray = new JSONArray(); + try { + String type = ""; + if (typeNum.equals("1")) { + type = "业务员"; + } else if (typeNum.equals("2")) { + type = "仓管员"; + } else if (typeNum.equals("3")) { + type = "财务员"; + } + List personList = personService.getPersonByType(type); + if (null != personList) { + for (Person person : personList) { + JSONObject item = new JSONObject(); + item.put("id", person.getId()); + item.put("name", person.getName()); + dataArray.add(item); + } + } + } catch(Exception e){ + e.printStackTrace(); + } + return dataArray; + } +} diff --git a/src/main/java/com/jsh/erp/controller/ResourceController.java b/src/main/java/com/jsh/erp/controller/ResourceController.java new file mode 100644 index 0000000000000000000000000000000000000000..65fd46a6c22646d3ee31a9bffe555a84503cd3af --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/ResourceController.java @@ -0,0 +1,124 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.service.CommonQueryManager; +import com.jsh.erp.utils.*; + +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.*; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +/** + * by jishenghua 2018-9-12 23:58:10 + */ +@RestController +public class ResourceController { + private Logger logger = LoggerFactory.getLogger(ResourceController.class); + + @Resource + private CommonQueryManager configResourceManager; + + @GetMapping(value = "/test/heart") + public JSONObject exitHeart(HttpServletRequest request) { + return JsonUtils.ok(); + } + + @GetMapping(value = "/{apiName}/list") + public String getList(@PathVariable("apiName") String apiName, + @RequestParam(value = Constants.PAGE_SIZE, required = false) Integer pageSize, + @RequestParam(value = Constants.CURRENT_PAGE, required = false) Integer currentPage, + @RequestParam(value = Constants.SEARCH, required = false) String search, + HttpServletRequest request) { + Map parameterMap = ParamUtils.requestToMap(request); + parameterMap.put(Constants.SEARCH, search); + PageQueryInfo queryInfo = new PageQueryInfo(); + Map objectMap = new HashMap(); + if (pageSize != null && pageSize <= 0) { + pageSize = 10; + } + String offset = ParamUtils.getPageOffset(currentPage, pageSize); + if (StringUtil.isNotEmpty(offset)) { + parameterMap.put(Constants.OFFSET, offset); + } + List list = configResourceManager.select(apiName, parameterMap); + objectMap.put("page", queryInfo); + if (list == null) { + queryInfo.setRows(new ArrayList()); + queryInfo.setTotal(0); + return returnJson(objectMap, "查找不到数据", ErpInfo.OK.code); + } + queryInfo.setRows(list); + queryInfo.setTotal(configResourceManager.counts(apiName, parameterMap)); + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } + + @PostMapping(value = "/{apiName}/add", produces = {"application/javascript", "application/json"}) + public String addResource(@PathVariable("apiName") String apiName, + @RequestParam("info") String beanJson, HttpServletRequest request) { + Map objectMap = new HashMap(); + int insert = configResourceManager.insert(apiName, beanJson, request); + if(insert > 0) { + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } else { + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + @PostMapping(value = "/{apiName}/update", produces = {"application/javascript", "application/json"}) + public String updateResource(@PathVariable("apiName") String apiName, + @RequestParam("info") String beanJson, + @RequestParam("id") Long id, HttpServletRequest request) { + Map objectMap = new HashMap(); + int update = configResourceManager.update(apiName, beanJson, id); + if(update > 0) { + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } else { + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + @PostMapping(value = "/{apiName}/{id}/delete", produces = {"application/javascript", "application/json"}) + public String deleteResource(@PathVariable("apiName") String apiName, + @PathVariable Long id, HttpServletRequest request) { + Map objectMap = new HashMap(); + int delete = configResourceManager.delete(apiName, id); + if(delete > 0) { + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } else { + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + @PostMapping(value = "/{apiName}/batchDelete", produces = {"application/javascript", "application/json"}) + public String batchDeleteResource(@PathVariable("apiName") String apiName, + @RequestParam("ids") String ids, HttpServletRequest request) { + Map objectMap = new HashMap(); + int delete = configResourceManager.batchDelete(apiName, ids); + if(delete > 0) { + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } else { + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + @GetMapping(value = "/{apiName}/checkIsNameExist") + public String checkIsNameExist(@PathVariable("apiName") String apiName, + @RequestParam Long id, @RequestParam(value ="name", required = false) String name, + HttpServletRequest request) { + Map objectMap = new HashMap(); + int exist = configResourceManager.checkIsNameExist(apiName, id, name); + if(exist > 0) { + objectMap.put("status", true); + } else { + objectMap.put("status", false); + } + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } + + +} diff --git a/src/main/java/com/jsh/erp/controller/RoleController.java b/src/main/java/com/jsh/erp/controller/RoleController.java new file mode 100644 index 0000000000000000000000000000000000000000..4d75882c792102c93274bb1e6627acc370795fc4 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/RoleController.java @@ -0,0 +1,71 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Role; +import com.jsh.erp.service.role.RoleService; +import com.jsh.erp.service.userBusiness.UserBusinessService; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@RestController +@RequestMapping(value = "/role") +public class RoleController { + private Logger logger = LoggerFactory.getLogger(RoleController.class); + + @Resource + private RoleService roleService; + + @Resource + private UserBusinessService userBusinessService; + + /** + * 角色对应应用显示 + * @param request + * @return + */ + @PostMapping(value = "/findUserRole") + public JSONArray findUserRole(@RequestParam("UBType") String type, @RequestParam("UBKeyId") String keyId, + HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List dataList = roleService.findUserRole(); + //开始拼接json数据 + JSONObject outer = new JSONObject(); + outer.put("id", 1); + outer.put("text", "角色列表"); + outer.put("state", "open"); + //存放数据json数组 + JSONArray dataArray = new JSONArray(); + if (null != dataList) { + for (Role role : dataList) { + JSONObject item = new JSONObject(); + item.put("id", role.getId()); + item.put("text", role.getName()); + //勾选判断1 + Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(type, keyId, "[" + role.getId().toString() + "]"); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>>>设置用户对应的角色:类型" + type + " KeyId为: " + keyId + " 存在异常!"); + } + if (flag == true) { + item.put("checked", true); + } + //结束 + dataArray.add(item); + } + } + outer.put("children", dataArray); + arr.add(outer); + } catch (Exception e) { + e.printStackTrace(); + } + return arr; + } +} diff --git a/src/main/java/com/jsh/erp/controller/SupplierController.java b/src/main/java/com/jsh/erp/controller/SupplierController.java new file mode 100644 index 0000000000000000000000000000000000000000..44c2cbec44ebda659a779e5414be917dc459f4a4 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/SupplierController.java @@ -0,0 +1,192 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Supplier; +import com.jsh.erp.service.supplier.SupplierService; +import com.jsh.erp.service.userBusiness.UserBusinessService; +import com.jsh.erp.utils.BaseResponseInfo; +import com.jsh.erp.utils.ErpInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DataAccessException; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +@RestController +@RequestMapping(value = "/supplier") +public class SupplierController { + private Logger logger = LoggerFactory.getLogger(SupplierController.class); + + @Resource + private SupplierService supplierService; + + @Resource + private UserBusinessService userBusinessService; + + /** + * 更新供应商-只更新预付款,其余用原来的值 + * @param supplierId + * @param advanceIn + * @param request + * @return + */ + @PostMapping(value = "/updateAdvanceIn") + public String updateAdvanceIn(@RequestParam("supplierId") Long supplierId, + @RequestParam("advanceIn") Double advanceIn, + HttpServletRequest request) { + Map objectMap = new HashMap(); + int res = supplierService.updateAdvanceIn(supplierId, advanceIn); + if(res > 0) { + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } else { + return returnJson(objectMap, ErpInfo.ERROR.name, ErpInfo.ERROR.code); + } + } + + /** + * 查找客户信息-下拉框 + * @param request + * @return + */ + @PostMapping(value = "/findBySelect_cus") + public JSONArray findBySelectCus(HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List supplierList = supplierService.findBySelectCus(); + JSONArray dataArray = new JSONArray(); + if (null != supplierList) { + for (Supplier supplier : supplierList) { + JSONObject item = new JSONObject(); + //勾选判断1 + Boolean flag = false; + try { + flag = userBusinessService.checkIsUserBusinessExist(null, null, "[" + supplier.getId().toString() + "]"); + } catch (DataAccessException e) { + logger.error(">>>>>>>>>>>>>>>>>查询用户对应的客户:存在异常!"); + } + if (flag == true) { + item.put("id", supplier.getId()); + item.put("supplier", supplier.getSupplier()); //客户名称 + dataArray.add(item); + } + } + } + arr = dataArray; + } catch(Exception e){ + e.printStackTrace(); + } + return arr; + } + + /** + * 查找供应商信息-下拉框 + * @param request + * @return + */ + @PostMapping(value = "/findBySelect_sup") + public JSONArray findBySelectSup(HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List supplierList = supplierService.findBySelectSup(); + JSONArray dataArray = new JSONArray(); + if (null != supplierList) { + for (Supplier supplier : supplierList) { + JSONObject item = new JSONObject(); + item.put("id", supplier.getId()); + //供应商名称 + item.put("supplier", supplier.getSupplier()); + dataArray.add(item); + } + } + arr = dataArray; + } catch(Exception e){ + e.printStackTrace(); + } + return arr; + } + + /** + * 查找会员信息-下拉框 + * @param request + * @return + */ + @PostMapping(value = "/findBySelect_retail") + public JSONArray findBySelectRetail(HttpServletRequest request) { + JSONArray arr = new JSONArray(); + try { + List supplierList = supplierService.findBySelectRetail(); + JSONArray dataArray = new JSONArray(); + if (null != supplierList) { + for (Supplier supplier : supplierList) { + JSONObject item = new JSONObject(); + item.put("id", supplier.getId()); + //客户名称 + item.put("supplier", supplier.getSupplier()); + item.put("advanceIn", supplier.getAdvancein()); //预付款金额 + dataArray.add(item); + } + } + arr = dataArray; + } catch(Exception e){ + e.printStackTrace(); + } + return arr; + } + + /** + * 根据id查找信息 + * @param supplierId + * @param request + * @return + */ + @GetMapping(value = "/findById") + public BaseResponseInfo findById(@RequestParam("supplierId") Long supplierId, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + JSONArray dataArray = new JSONArray(); + List dataList = supplierService.findById(supplierId); + if (null != dataList) { + for (Supplier supplier : dataList) { + JSONObject item = new JSONObject(); + item.put("id", supplier.getId()); + //名称 + item.put("supplier", supplier.getSupplier()); + item.put("type", supplier.getType()); + item.put("contacts", supplier.getContacts()); + item.put("phonenum", supplier.getPhonenum()); + item.put("email", supplier.getEmail()); + item.put("AdvanceIn", supplier.getAdvancein()); + item.put("BeginNeedGet", supplier.getBeginneedget()); + item.put("BeginNeedPay", supplier.getBeginneedpay()); + item.put("isystem", supplier.getIsystem() == (short) 0 ? "是" : "否"); + item.put("description", supplier.getDescription()); + item.put("fax", supplier.getFax()); + item.put("telephone", supplier.getTelephone()); + item.put("address", supplier.getAddress()); + item.put("taxNum", supplier.getTaxnum()); + item.put("bankName", supplier.getBankname()); + item.put("accountNumber", supplier.getAccountnumber()); + item.put("taxRate", supplier.getTaxrate()); + item.put("enabled", supplier.getEnabled()); + dataArray.add(item); + } + res.code = 200; + res.data = dataArray; + } + } catch (Exception e) { + e.printStackTrace(); + res.code = 500; + res.data = "获取数据失败"; + } + return res; + } +} diff --git a/src/main/java/com/jsh/erp/controller/UserBusinessController.java b/src/main/java/com/jsh/erp/controller/UserBusinessController.java new file mode 100644 index 0000000000000000000000000000000000000000..1e4c6b2ac4edc6e0ac374b0f83c3876fe9cf44c2 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/UserBusinessController.java @@ -0,0 +1,60 @@ +package com.jsh.erp.controller; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.UserBusiness; +import com.jsh.erp.service.userBusiness.UserBusinessService; +import com.jsh.erp.utils.BaseResponseInfo; +import com.jsh.erp.utils.ErpInfo; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.HashMap; +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +@RestController +@RequestMapping(value = "/userBusiness") +public class UserBusinessController { + private Logger logger = LoggerFactory.getLogger(UserBusinessController.class); + + @Resource + private UserBusinessService userBusinessService; + + @GetMapping(value = "/getBasicData") + public BaseResponseInfo getBasicData(@RequestParam(value = "KeyId") String keyId, + @RequestParam(value = "Type") String type, + HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + List list = userBusinessService.getBasicData(keyId, type); + Map mapData = new HashMap(); + mapData.put("userBusinessList", list); + res.code = 200; + res.data = mapData; + } catch (Exception e) { + e.printStackTrace(); + res.code = 500; + res.data = "查询权限失败"; + } + return res; + } + + @GetMapping(value = "/checkIsValueExist") + public String checkIsValueExist(@RequestParam(value ="type", required = false) String type, + @RequestParam(value ="keyId", required = false) String keyId, + HttpServletRequest request) { + Map objectMap = new HashMap(); + Long id = userBusinessService.checkIsValueExist(type, keyId); + if(id != null) { + objectMap.put("id", id); + } else { + objectMap.put("id", null); + } + return returnJson(objectMap, ErpInfo.OK.name, ErpInfo.OK.code); + } +} diff --git a/src/main/java/com/jsh/erp/controller/UserController.java b/src/main/java/com/jsh/erp/controller/UserController.java new file mode 100644 index 0000000000000000000000000000000000000000..19aa3e43f727573f9c4ebe826f663c4b8f926cf2 --- /dev/null +++ b/src/main/java/com/jsh/erp/controller/UserController.java @@ -0,0 +1,188 @@ +package com.jsh.erp.controller; + +import com.jsh.erp.datasource.entities.User; +import com.jsh.erp.service.user.UserService; +import com.jsh.erp.utils.*; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.web.bind.annotation.*; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import javax.servlet.http.HttpServletResponse; +import java.io.IOException; +import java.security.NoSuchAlgorithmException; +import java.util.HashMap; +import java.util.Map; +import static com.jsh.erp.utils.ResponseJsonUtil.returnJson; + +/** + * 用户管理 2018-10-13 21:24:06 + * @author jishenghua qq:752718920 + */ +@RestController +@RequestMapping(value = "/user") +public class UserController { + private Logger logger = LoggerFactory.getLogger(ResourceController.class); + + @Resource + private UserService userService; + + private static String message = "成功"; + + @PostMapping(value = "/login") + public BaseResponseInfo login(@RequestParam(value = "loginame", required = false) String loginame, + @RequestParam(value = "password", required = false) String password, + HttpServletRequest request) { + logger.info("============用户登录 login 方法调用开始=============="); + String msgTip = ""; + BaseResponseInfo res = new BaseResponseInfo(); + try { + String username = loginame.trim(); + password = password.trim(); + //因密码用MD5加密,需要对密码进行转化 + try { + password = Tools.md5Encryp(password); + } catch (NoSuchAlgorithmException e) { + e.printStackTrace(); + logger.error(">>>>>>>>>>>>>>转化MD5字符串错误 :" + e.getMessage(), e); + } + //判断用户是否已经登录过,登录过不再处理 + Object userInfo = request.getSession().getAttribute("user"); + User sessionUser = new User(); + if (userInfo != null) { + sessionUser = (User) userInfo; + } + if (sessionUser != null && username.equalsIgnoreCase(sessionUser.getLoginame()) + && sessionUser.getPassword().equals(password)) { + logger.info("====用户 " + username + "已经登录过, login 方法调用结束===="); + msgTip = "user already login"; + } + //获取用户状态 + int userStatus = -1; + try { + userStatus = userService.validateUser(username, password); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>用户 " + username + " 登录 login 方法 访问服务层异常====", e); + msgTip = "access service exception"; + } + switch (userStatus) { + case ExceptionCodeConstants.UserExceptionCode.USER_NOT_EXIST: + msgTip = "user is not exist"; + break; + case ExceptionCodeConstants.UserExceptionCode.USER_PASSWORD_ERROR: + msgTip = "user password error"; + break; + case ExceptionCodeConstants.UserExceptionCode.BLACK_USER: + msgTip = "user is black"; + break; + case ExceptionCodeConstants.UserExceptionCode.USER_ACCESS_EXCEPTION: + msgTip = "access service error"; + break; + default: + try { + //验证通过 ,可以登录,放入session,记录登录日志 + User user = userService.getUserByUserName(username); + // logService.create(new Logdetails(user, "登录系统", model.getClientIp(), + // new Timestamp(System.currentTimeMillis()), (short) 0, "管理用户:" + username + " 登录系统", username + " 登录系统")); + msgTip = "user can login"; + request.getSession().setAttribute("user",user); + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>>>查询用户名为:" + username + " ,用户信息异常", e); + } + break; + } + Map data = new HashMap(); + data.put("msgTip", msgTip); + res.code = 200; + res.data = data; + logger.info("===============用户登录 login 方法调用结束==============="); + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "用户登录失败"; + } + return res; + } + + @GetMapping(value = "/getUserSession") + public BaseResponseInfo getSessionUser(HttpServletRequest request) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + Map data = new HashMap(); + Object userInfo = request.getSession().getAttribute("user"); + if(userInfo!=null) { + User user = (User) userInfo; + user.setPassword(null); + data.put("user", user); + } + res.code = 200; + res.data = data; + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "获取session失败"; + } + return res; + } + + @GetMapping(value = "/logout") + public BaseResponseInfo logout(HttpServletRequest request, HttpServletResponse response) { + BaseResponseInfo res = new BaseResponseInfo(); + try { + request.getSession().removeAttribute("user"); + response.sendRedirect("/login.html"); + } catch(Exception e){ + e.printStackTrace(); + res.code = 500; + res.data = "退出失败"; + } + return res; + } + + @PostMapping(value = "/resetPwd") + public String resetPwd(@RequestParam("id") Long id, + HttpServletRequest request) throws NoSuchAlgorithmException { + Map objectMap = new HashMap(); + String password = "123456"; + String md5Pwd = Tools.md5Encryp(password); + int update = userService.resetPwd(md5Pwd, id); + if(update > 0) { + return returnJson(objectMap, message, ErpInfo.OK.code); + } else { + return returnJson(objectMap, message, ErpInfo.ERROR.code); + } + } + + @PostMapping(value = "/updatePwd") + public String updatePwd(@RequestParam("userId") Long userId, @RequestParam("password") String password, + @RequestParam("oldpwd") String oldpwd, HttpServletRequest request) { + Integer flag = 0; + Map objectMap = new HashMap(); + try { + User user = userService.getUser(userId); + String oldPassword = Tools.md5Encryp(oldpwd); + String md5Pwd = Tools.md5Encryp(password); + //必须和原始密码一致才可以更新密码 + if(user.getLoginame().equals("jsh")){ + flag = 3; //管理员jsh不能修改密码 + } else if (oldPassword.equalsIgnoreCase(user.getPassword())) { + user.setPassword(md5Pwd); + flag = userService.updateUserByObj(user); //1-成功 + } else { + flag = 2; //原始密码输入错误 + } + objectMap.put("status", flag); + if(flag > 0) { + return returnJson(objectMap, message, ErpInfo.OK.code); + } else { + return returnJson(objectMap, message, ErpInfo.ERROR.code); + } + } catch (Exception e) { + logger.error(">>>>>>>>>>>>>修改用户ID为 : " + userId + "密码信息失败", e); + flag = 3; + objectMap.put("status", flag); + return returnJson(objectMap, message, ErpInfo.ERROR.code); + } + } +} diff --git a/src/main/java/com/jsh/erp/datasource/entities/Account.java b/src/main/java/com/jsh/erp/datasource/entities/Account.java new file mode 100644 index 0000000000000000000000000000000000000000..c134ad8e68d6015003e08390eff880cf4f713e90 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Account.java @@ -0,0 +1,227 @@ +package com.jsh.erp.datasource.entities; + +public class Account { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.SerialNo + * + * @mbggenerated + */ + private String serialno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.InitialAmount + * + * @mbggenerated + */ + private Double initialamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.CurrentAmount + * + * @mbggenerated + */ + private Double currentamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_account.IsDefault + * + * @mbggenerated + */ + private Boolean isdefault; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.Id + * + * @return the value of jsh_account.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.Id + * + * @param id the value for jsh_account.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.Name + * + * @return the value of jsh_account.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.Name + * + * @param name the value for jsh_account.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.SerialNo + * + * @return the value of jsh_account.SerialNo + * + * @mbggenerated + */ + public String getSerialno() { + return serialno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.SerialNo + * + * @param serialno the value for jsh_account.SerialNo + * + * @mbggenerated + */ + public void setSerialno(String serialno) { + this.serialno = serialno == null ? null : serialno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.InitialAmount + * + * @return the value of jsh_account.InitialAmount + * + * @mbggenerated + */ + public Double getInitialamount() { + return initialamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.InitialAmount + * + * @param initialamount the value for jsh_account.InitialAmount + * + * @mbggenerated + */ + public void setInitialamount(Double initialamount) { + this.initialamount = initialamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.CurrentAmount + * + * @return the value of jsh_account.CurrentAmount + * + * @mbggenerated + */ + public Double getCurrentamount() { + return currentamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.CurrentAmount + * + * @param currentamount the value for jsh_account.CurrentAmount + * + * @mbggenerated + */ + public void setCurrentamount(Double currentamount) { + this.currentamount = currentamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.Remark + * + * @return the value of jsh_account.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.Remark + * + * @param remark the value for jsh_account.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_account.IsDefault + * + * @return the value of jsh_account.IsDefault + * + * @mbggenerated + */ + public Boolean getIsdefault() { + return isdefault; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_account.IsDefault + * + * @param isdefault the value for jsh_account.IsDefault + * + * @mbggenerated + */ + public void setIsdefault(Boolean isdefault) { + this.isdefault = isdefault; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountExample.java b/src/main/java/com/jsh/erp/datasource/entities/AccountExample.java new file mode 100644 index 0000000000000000000000000000000000000000..633d7817eaea200ecd5c2812ea1486882350548a --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountExample.java @@ -0,0 +1,752 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class AccountExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public AccountExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_account + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andSerialnoIsNull() { + addCriterion("SerialNo is null"); + return (Criteria) this; + } + + public Criteria andSerialnoIsNotNull() { + addCriterion("SerialNo is not null"); + return (Criteria) this; + } + + public Criteria andSerialnoEqualTo(String value) { + addCriterion("SerialNo =", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotEqualTo(String value) { + addCriterion("SerialNo <>", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoGreaterThan(String value) { + addCriterion("SerialNo >", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoGreaterThanOrEqualTo(String value) { + addCriterion("SerialNo >=", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoLessThan(String value) { + addCriterion("SerialNo <", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoLessThanOrEqualTo(String value) { + addCriterion("SerialNo <=", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoLike(String value) { + addCriterion("SerialNo like", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotLike(String value) { + addCriterion("SerialNo not like", value, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoIn(List values) { + addCriterion("SerialNo in", values, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotIn(List values) { + addCriterion("SerialNo not in", values, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoBetween(String value1, String value2) { + addCriterion("SerialNo between", value1, value2, "serialno"); + return (Criteria) this; + } + + public Criteria andSerialnoNotBetween(String value1, String value2) { + addCriterion("SerialNo not between", value1, value2, "serialno"); + return (Criteria) this; + } + + public Criteria andInitialamountIsNull() { + addCriterion("InitialAmount is null"); + return (Criteria) this; + } + + public Criteria andInitialamountIsNotNull() { + addCriterion("InitialAmount is not null"); + return (Criteria) this; + } + + public Criteria andInitialamountEqualTo(Double value) { + addCriterion("InitialAmount =", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountNotEqualTo(Double value) { + addCriterion("InitialAmount <>", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountGreaterThan(Double value) { + addCriterion("InitialAmount >", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountGreaterThanOrEqualTo(Double value) { + addCriterion("InitialAmount >=", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountLessThan(Double value) { + addCriterion("InitialAmount <", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountLessThanOrEqualTo(Double value) { + addCriterion("InitialAmount <=", value, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountIn(List values) { + addCriterion("InitialAmount in", values, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountNotIn(List values) { + addCriterion("InitialAmount not in", values, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountBetween(Double value1, Double value2) { + addCriterion("InitialAmount between", value1, value2, "initialamount"); + return (Criteria) this; + } + + public Criteria andInitialamountNotBetween(Double value1, Double value2) { + addCriterion("InitialAmount not between", value1, value2, "initialamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountIsNull() { + addCriterion("CurrentAmount is null"); + return (Criteria) this; + } + + public Criteria andCurrentamountIsNotNull() { + addCriterion("CurrentAmount is not null"); + return (Criteria) this; + } + + public Criteria andCurrentamountEqualTo(Double value) { + addCriterion("CurrentAmount =", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountNotEqualTo(Double value) { + addCriterion("CurrentAmount <>", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountGreaterThan(Double value) { + addCriterion("CurrentAmount >", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountGreaterThanOrEqualTo(Double value) { + addCriterion("CurrentAmount >=", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountLessThan(Double value) { + addCriterion("CurrentAmount <", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountLessThanOrEqualTo(Double value) { + addCriterion("CurrentAmount <=", value, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountIn(List values) { + addCriterion("CurrentAmount in", values, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountNotIn(List values) { + addCriterion("CurrentAmount not in", values, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountBetween(Double value1, Double value2) { + addCriterion("CurrentAmount between", value1, value2, "currentamount"); + return (Criteria) this; + } + + public Criteria andCurrentamountNotBetween(Double value1, Double value2) { + addCriterion("CurrentAmount not between", value1, value2, "currentamount"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andIsdefaultIsNull() { + addCriterion("IsDefault is null"); + return (Criteria) this; + } + + public Criteria andIsdefaultIsNotNull() { + addCriterion("IsDefault is not null"); + return (Criteria) this; + } + + public Criteria andIsdefaultEqualTo(Boolean value) { + addCriterion("IsDefault =", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultNotEqualTo(Boolean value) { + addCriterion("IsDefault <>", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultGreaterThan(Boolean value) { + addCriterion("IsDefault >", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultGreaterThanOrEqualTo(Boolean value) { + addCriterion("IsDefault >=", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultLessThan(Boolean value) { + addCriterion("IsDefault <", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultLessThanOrEqualTo(Boolean value) { + addCriterion("IsDefault <=", value, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultIn(List values) { + addCriterion("IsDefault in", values, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultNotIn(List values) { + addCriterion("IsDefault not in", values, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultBetween(Boolean value1, Boolean value2) { + addCriterion("IsDefault between", value1, value2, "isdefault"); + return (Criteria) this; + } + + public Criteria andIsdefaultNotBetween(Boolean value1, Boolean value2) { + addCriterion("IsDefault not between", value1, value2, "isdefault"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_account + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_account + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountHead.java b/src/main/java/com/jsh/erp/datasource/entities/AccountHead.java new file mode 100644 index 0000000000000000000000000000000000000000..500eca861e9aeb5a517fd495ffa0d11784aecf1a --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountHead.java @@ -0,0 +1,325 @@ +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class AccountHead { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.OrganId + * + * @mbggenerated + */ + private Long organid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.HandsPersonId + * + * @mbggenerated + */ + private Long handspersonid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.ChangeAmount + * + * @mbggenerated + */ + private Double changeamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.TotalPrice + * + * @mbggenerated + */ + private Double totalprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.AccountId + * + * @mbggenerated + */ + private Long accountid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.BillNo + * + * @mbggenerated + */ + private String billno; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.BillTime + * + * @mbggenerated + */ + private Date billtime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accounthead.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.Id + * + * @return the value of jsh_accounthead.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.Id + * + * @param id the value for jsh_accounthead.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.Type + * + * @return the value of jsh_accounthead.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.Type + * + * @param type the value for jsh_accounthead.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.OrganId + * + * @return the value of jsh_accounthead.OrganId + * + * @mbggenerated + */ + public Long getOrganid() { + return organid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.OrganId + * + * @param organid the value for jsh_accounthead.OrganId + * + * @mbggenerated + */ + public void setOrganid(Long organid) { + this.organid = organid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.HandsPersonId + * + * @return the value of jsh_accounthead.HandsPersonId + * + * @mbggenerated + */ + public Long getHandspersonid() { + return handspersonid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.HandsPersonId + * + * @param handspersonid the value for jsh_accounthead.HandsPersonId + * + * @mbggenerated + */ + public void setHandspersonid(Long handspersonid) { + this.handspersonid = handspersonid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.ChangeAmount + * + * @return the value of jsh_accounthead.ChangeAmount + * + * @mbggenerated + */ + public Double getChangeamount() { + return changeamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.ChangeAmount + * + * @param changeamount the value for jsh_accounthead.ChangeAmount + * + * @mbggenerated + */ + public void setChangeamount(Double changeamount) { + this.changeamount = changeamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.TotalPrice + * + * @return the value of jsh_accounthead.TotalPrice + * + * @mbggenerated + */ + public Double getTotalprice() { + return totalprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.TotalPrice + * + * @param totalprice the value for jsh_accounthead.TotalPrice + * + * @mbggenerated + */ + public void setTotalprice(Double totalprice) { + this.totalprice = totalprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.AccountId + * + * @return the value of jsh_accounthead.AccountId + * + * @mbggenerated + */ + public Long getAccountid() { + return accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.AccountId + * + * @param accountid the value for jsh_accounthead.AccountId + * + * @mbggenerated + */ + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.BillNo + * + * @return the value of jsh_accounthead.BillNo + * + * @mbggenerated + */ + public String getBillno() { + return billno; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.BillNo + * + * @param billno the value for jsh_accounthead.BillNo + * + * @mbggenerated + */ + public void setBillno(String billno) { + this.billno = billno == null ? null : billno.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.BillTime + * + * @return the value of jsh_accounthead.BillTime + * + * @mbggenerated + */ + public Date getBilltime() { + return billtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.BillTime + * + * @param billtime the value for jsh_accounthead.BillTime + * + * @mbggenerated + */ + public void setBilltime(Date billtime) { + this.billtime = billtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accounthead.Remark + * + * @return the value of jsh_accounthead.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accounthead.Remark + * + * @param remark the value for jsh_accounthead.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountHeadExample.java b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadExample.java new file mode 100644 index 0000000000000000000000000000000000000000..249c76a59da18d2a45b6e5bebf6b3936ea3ce488 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadExample.java @@ -0,0 +1,933 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class AccountHeadExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public AccountHeadExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andOrganidIsNull() { + addCriterion("OrganId is null"); + return (Criteria) this; + } + + public Criteria andOrganidIsNotNull() { + addCriterion("OrganId is not null"); + return (Criteria) this; + } + + public Criteria andOrganidEqualTo(Long value) { + addCriterion("OrganId =", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotEqualTo(Long value) { + addCriterion("OrganId <>", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidGreaterThan(Long value) { + addCriterion("OrganId >", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidGreaterThanOrEqualTo(Long value) { + addCriterion("OrganId >=", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidLessThan(Long value) { + addCriterion("OrganId <", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidLessThanOrEqualTo(Long value) { + addCriterion("OrganId <=", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidIn(List values) { + addCriterion("OrganId in", values, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotIn(List values) { + addCriterion("OrganId not in", values, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidBetween(Long value1, Long value2) { + addCriterion("OrganId between", value1, value2, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotBetween(Long value1, Long value2) { + addCriterion("OrganId not between", value1, value2, "organid"); + return (Criteria) this; + } + + public Criteria andHandspersonidIsNull() { + addCriterion("HandsPersonId is null"); + return (Criteria) this; + } + + public Criteria andHandspersonidIsNotNull() { + addCriterion("HandsPersonId is not null"); + return (Criteria) this; + } + + public Criteria andHandspersonidEqualTo(Long value) { + addCriterion("HandsPersonId =", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotEqualTo(Long value) { + addCriterion("HandsPersonId <>", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidGreaterThan(Long value) { + addCriterion("HandsPersonId >", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidGreaterThanOrEqualTo(Long value) { + addCriterion("HandsPersonId >=", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidLessThan(Long value) { + addCriterion("HandsPersonId <", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidLessThanOrEqualTo(Long value) { + addCriterion("HandsPersonId <=", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidIn(List values) { + addCriterion("HandsPersonId in", values, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotIn(List values) { + addCriterion("HandsPersonId not in", values, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidBetween(Long value1, Long value2) { + addCriterion("HandsPersonId between", value1, value2, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotBetween(Long value1, Long value2) { + addCriterion("HandsPersonId not between", value1, value2, "handspersonid"); + return (Criteria) this; + } + + public Criteria andChangeamountIsNull() { + addCriterion("ChangeAmount is null"); + return (Criteria) this; + } + + public Criteria andChangeamountIsNotNull() { + addCriterion("ChangeAmount is not null"); + return (Criteria) this; + } + + public Criteria andChangeamountEqualTo(Double value) { + addCriterion("ChangeAmount =", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotEqualTo(Double value) { + addCriterion("ChangeAmount <>", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThan(Double value) { + addCriterion("ChangeAmount >", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThanOrEqualTo(Double value) { + addCriterion("ChangeAmount >=", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThan(Double value) { + addCriterion("ChangeAmount <", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThanOrEqualTo(Double value) { + addCriterion("ChangeAmount <=", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountIn(List values) { + addCriterion("ChangeAmount in", values, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotIn(List values) { + addCriterion("ChangeAmount not in", values, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountBetween(Double value1, Double value2) { + addCriterion("ChangeAmount between", value1, value2, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotBetween(Double value1, Double value2) { + addCriterion("ChangeAmount not between", value1, value2, "changeamount"); + return (Criteria) this; + } + + public Criteria andTotalpriceIsNull() { + addCriterion("TotalPrice is null"); + return (Criteria) this; + } + + public Criteria andTotalpriceIsNotNull() { + addCriterion("TotalPrice is not null"); + return (Criteria) this; + } + + public Criteria andTotalpriceEqualTo(Double value) { + addCriterion("TotalPrice =", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotEqualTo(Double value) { + addCriterion("TotalPrice <>", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThan(Double value) { + addCriterion("TotalPrice >", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThanOrEqualTo(Double value) { + addCriterion("TotalPrice >=", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThan(Double value) { + addCriterion("TotalPrice <", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThanOrEqualTo(Double value) { + addCriterion("TotalPrice <=", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceIn(List values) { + addCriterion("TotalPrice in", values, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotIn(List values) { + addCriterion("TotalPrice not in", values, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceBetween(Double value1, Double value2) { + addCriterion("TotalPrice between", value1, value2, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotBetween(Double value1, Double value2) { + addCriterion("TotalPrice not between", value1, value2, "totalprice"); + return (Criteria) this; + } + + public Criteria andAccountidIsNull() { + addCriterion("AccountId is null"); + return (Criteria) this; + } + + public Criteria andAccountidIsNotNull() { + addCriterion("AccountId is not null"); + return (Criteria) this; + } + + public Criteria andAccountidEqualTo(Long value) { + addCriterion("AccountId =", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotEqualTo(Long value) { + addCriterion("AccountId <>", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThan(Long value) { + addCriterion("AccountId >", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThanOrEqualTo(Long value) { + addCriterion("AccountId >=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThan(Long value) { + addCriterion("AccountId <", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThanOrEqualTo(Long value) { + addCriterion("AccountId <=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidIn(List values) { + addCriterion("AccountId in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotIn(List values) { + addCriterion("AccountId not in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidBetween(Long value1, Long value2) { + addCriterion("AccountId between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotBetween(Long value1, Long value2) { + addCriterion("AccountId not between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andBillnoIsNull() { + addCriterion("BillNo is null"); + return (Criteria) this; + } + + public Criteria andBillnoIsNotNull() { + addCriterion("BillNo is not null"); + return (Criteria) this; + } + + public Criteria andBillnoEqualTo(String value) { + addCriterion("BillNo =", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotEqualTo(String value) { + addCriterion("BillNo <>", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoGreaterThan(String value) { + addCriterion("BillNo >", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoGreaterThanOrEqualTo(String value) { + addCriterion("BillNo >=", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoLessThan(String value) { + addCriterion("BillNo <", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoLessThanOrEqualTo(String value) { + addCriterion("BillNo <=", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoLike(String value) { + addCriterion("BillNo like", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotLike(String value) { + addCriterion("BillNo not like", value, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoIn(List values) { + addCriterion("BillNo in", values, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotIn(List values) { + addCriterion("BillNo not in", values, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoBetween(String value1, String value2) { + addCriterion("BillNo between", value1, value2, "billno"); + return (Criteria) this; + } + + public Criteria andBillnoNotBetween(String value1, String value2) { + addCriterion("BillNo not between", value1, value2, "billno"); + return (Criteria) this; + } + + public Criteria andBilltimeIsNull() { + addCriterion("BillTime is null"); + return (Criteria) this; + } + + public Criteria andBilltimeIsNotNull() { + addCriterion("BillTime is not null"); + return (Criteria) this; + } + + public Criteria andBilltimeEqualTo(Date value) { + addCriterion("BillTime =", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeNotEqualTo(Date value) { + addCriterion("BillTime <>", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeGreaterThan(Date value) { + addCriterion("BillTime >", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeGreaterThanOrEqualTo(Date value) { + addCriterion("BillTime >=", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeLessThan(Date value) { + addCriterion("BillTime <", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeLessThanOrEqualTo(Date value) { + addCriterion("BillTime <=", value, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeIn(List values) { + addCriterion("BillTime in", values, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeNotIn(List values) { + addCriterion("BillTime not in", values, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeBetween(Date value1, Date value2) { + addCriterion("BillTime between", value1, value2, "billtime"); + return (Criteria) this; + } + + public Criteria andBilltimeNotBetween(Date value1, Date value2) { + addCriterion("BillTime not between", value1, value2, "billtime"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accounthead + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountHeadVo4ListEx.java b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadVo4ListEx.java new file mode 100644 index 0000000000000000000000000000000000000000..e2f729bd88fe2799097623a1607417eaea5e8c15 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountHeadVo4ListEx.java @@ -0,0 +1,136 @@ +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class AccountHeadVo4ListEx { + + private Long id; + + private String type; + + private Long organid; + + private Long handspersonid; + + private Double changeamount; + + private Double totalprice; + + private Long accountid; + + private String billno; + + private Date billtime; + + private String remark; + + private String organname; + + private String handspersonname; + + private String accountname; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Long getOrganid() { + return organid; + } + + public void setOrganid(Long organid) { + this.organid = organid; + } + + public Long getHandspersonid() { + return handspersonid; + } + + public void setHandspersonid(Long handspersonid) { + this.handspersonid = handspersonid; + } + + public Double getChangeamount() { + return changeamount; + } + + public void setChangeamount(Double changeamount) { + this.changeamount = changeamount; + } + + public Double getTotalprice() { + return totalprice; + } + + public void setTotalprice(Double totalprice) { + this.totalprice = totalprice; + } + + public Long getAccountid() { + return accountid; + } + + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + public String getBillno() { + return billno; + } + + public void setBillno(String billno) { + this.billno = billno; + } + + public Date getBilltime() { + return billtime; + } + + public void setBilltime(Date billtime) { + this.billtime = billtime; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getOrganname() { + return organname; + } + + public void setOrganname(String organname) { + this.organname = organname; + } + + public String getHandspersonname() { + return handspersonname; + } + + public void setHandspersonname(String handspersonname) { + this.handspersonname = handspersonname; + } + + public String getAccountname() { + return accountname; + } + + public void setAccountname(String accountname) { + this.accountname = accountname; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountItem.java b/src/main/java/com/jsh/erp/datasource/entities/AccountItem.java new file mode 100644 index 0000000000000000000000000000000000000000..847b36a08175d049fe63497e377d3d597db47966 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountItem.java @@ -0,0 +1,195 @@ +package com.jsh.erp.datasource.entities; + +public class AccountItem { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.HeaderId + * + * @mbggenerated + */ + private Long headerid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.AccountId + * + * @mbggenerated + */ + private Long accountid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.InOutItemId + * + * @mbggenerated + */ + private Long inoutitemid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.EachAmount + * + * @mbggenerated + */ + private Double eachamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_accountitem.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.Id + * + * @return the value of jsh_accountitem.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.Id + * + * @param id the value for jsh_accountitem.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.HeaderId + * + * @return the value of jsh_accountitem.HeaderId + * + * @mbggenerated + */ + public Long getHeaderid() { + return headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.HeaderId + * + * @param headerid the value for jsh_accountitem.HeaderId + * + * @mbggenerated + */ + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.AccountId + * + * @return the value of jsh_accountitem.AccountId + * + * @mbggenerated + */ + public Long getAccountid() { + return accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.AccountId + * + * @param accountid the value for jsh_accountitem.AccountId + * + * @mbggenerated + */ + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.InOutItemId + * + * @return the value of jsh_accountitem.InOutItemId + * + * @mbggenerated + */ + public Long getInoutitemid() { + return inoutitemid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.InOutItemId + * + * @param inoutitemid the value for jsh_accountitem.InOutItemId + * + * @mbggenerated + */ + public void setInoutitemid(Long inoutitemid) { + this.inoutitemid = inoutitemid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.EachAmount + * + * @return the value of jsh_accountitem.EachAmount + * + * @mbggenerated + */ + public Double getEachamount() { + return eachamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.EachAmount + * + * @param eachamount the value for jsh_accountitem.EachAmount + * + * @mbggenerated + */ + public void setEachamount(Double eachamount) { + this.eachamount = eachamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_accountitem.Remark + * + * @return the value of jsh_accountitem.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_accountitem.Remark + * + * @param remark the value for jsh_accountitem.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AccountItemExample.java b/src/main/java/com/jsh/erp/datasource/entities/AccountItemExample.java new file mode 100644 index 0000000000000000000000000000000000000000..df089b48124df87368cd594de521dfb73f2f5c3f --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AccountItemExample.java @@ -0,0 +1,672 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class AccountItemExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public AccountItemExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andHeaderidIsNull() { + addCriterion("HeaderId is null"); + return (Criteria) this; + } + + public Criteria andHeaderidIsNotNull() { + addCriterion("HeaderId is not null"); + return (Criteria) this; + } + + public Criteria andHeaderidEqualTo(Long value) { + addCriterion("HeaderId =", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotEqualTo(Long value) { + addCriterion("HeaderId <>", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThan(Long value) { + addCriterion("HeaderId >", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThanOrEqualTo(Long value) { + addCriterion("HeaderId >=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThan(Long value) { + addCriterion("HeaderId <", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThanOrEqualTo(Long value) { + addCriterion("HeaderId <=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidIn(List values) { + addCriterion("HeaderId in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotIn(List values) { + addCriterion("HeaderId not in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidBetween(Long value1, Long value2) { + addCriterion("HeaderId between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotBetween(Long value1, Long value2) { + addCriterion("HeaderId not between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andAccountidIsNull() { + addCriterion("AccountId is null"); + return (Criteria) this; + } + + public Criteria andAccountidIsNotNull() { + addCriterion("AccountId is not null"); + return (Criteria) this; + } + + public Criteria andAccountidEqualTo(Long value) { + addCriterion("AccountId =", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotEqualTo(Long value) { + addCriterion("AccountId <>", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThan(Long value) { + addCriterion("AccountId >", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThanOrEqualTo(Long value) { + addCriterion("AccountId >=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThan(Long value) { + addCriterion("AccountId <", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThanOrEqualTo(Long value) { + addCriterion("AccountId <=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidIn(List values) { + addCriterion("AccountId in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotIn(List values) { + addCriterion("AccountId not in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidBetween(Long value1, Long value2) { + addCriterion("AccountId between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotBetween(Long value1, Long value2) { + addCriterion("AccountId not between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andInoutitemidIsNull() { + addCriterion("InOutItemId is null"); + return (Criteria) this; + } + + public Criteria andInoutitemidIsNotNull() { + addCriterion("InOutItemId is not null"); + return (Criteria) this; + } + + public Criteria andInoutitemidEqualTo(Long value) { + addCriterion("InOutItemId =", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidNotEqualTo(Long value) { + addCriterion("InOutItemId <>", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidGreaterThan(Long value) { + addCriterion("InOutItemId >", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidGreaterThanOrEqualTo(Long value) { + addCriterion("InOutItemId >=", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidLessThan(Long value) { + addCriterion("InOutItemId <", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidLessThanOrEqualTo(Long value) { + addCriterion("InOutItemId <=", value, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidIn(List values) { + addCriterion("InOutItemId in", values, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidNotIn(List values) { + addCriterion("InOutItemId not in", values, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidBetween(Long value1, Long value2) { + addCriterion("InOutItemId between", value1, value2, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andInoutitemidNotBetween(Long value1, Long value2) { + addCriterion("InOutItemId not between", value1, value2, "inoutitemid"); + return (Criteria) this; + } + + public Criteria andEachamountIsNull() { + addCriterion("EachAmount is null"); + return (Criteria) this; + } + + public Criteria andEachamountIsNotNull() { + addCriterion("EachAmount is not null"); + return (Criteria) this; + } + + public Criteria andEachamountEqualTo(Double value) { + addCriterion("EachAmount =", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountNotEqualTo(Double value) { + addCriterion("EachAmount <>", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountGreaterThan(Double value) { + addCriterion("EachAmount >", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountGreaterThanOrEqualTo(Double value) { + addCriterion("EachAmount >=", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountLessThan(Double value) { + addCriterion("EachAmount <", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountLessThanOrEqualTo(Double value) { + addCriterion("EachAmount <=", value, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountIn(List values) { + addCriterion("EachAmount in", values, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountNotIn(List values) { + addCriterion("EachAmount not in", values, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountBetween(Double value1, Double value2) { + addCriterion("EachAmount between", value1, value2, "eachamount"); + return (Criteria) this; + } + + public Criteria andEachamountNotBetween(Double value1, Double value2) { + addCriterion("EachAmount not between", value1, value2, "eachamount"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accountitem + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/App.java b/src/main/java/com/jsh/erp/datasource/entities/App.java new file mode 100644 index 0000000000000000000000000000000000000000..279c8d39cb89c7d76aa95d2e1603de00fcc7cda1 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/App.java @@ -0,0 +1,483 @@ +package com.jsh.erp.datasource.entities; + +public class App { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Number + * + * @mbggenerated + */ + private String number; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Icon + * + * @mbggenerated + */ + private String icon; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.URL + * + * @mbggenerated + */ + private String url; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Width + * + * @mbggenerated + */ + private String width; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Height + * + * @mbggenerated + */ + private String height; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.ReSize + * + * @mbggenerated + */ + private Boolean resize; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.OpenMax + * + * @mbggenerated + */ + private Boolean openmax; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Flash + * + * @mbggenerated + */ + private Boolean flash; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.ZL + * + * @mbggenerated + */ + private String zl; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Sort + * + * @mbggenerated + */ + private String sort; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_app.Enabled + * + * @mbggenerated + */ + private Boolean enabled; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Id + * + * @return the value of jsh_app.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Id + * + * @param id the value for jsh_app.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Number + * + * @return the value of jsh_app.Number + * + * @mbggenerated + */ + public String getNumber() { + return number; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Number + * + * @param number the value for jsh_app.Number + * + * @mbggenerated + */ + public void setNumber(String number) { + this.number = number == null ? null : number.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Name + * + * @return the value of jsh_app.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Name + * + * @param name the value for jsh_app.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Type + * + * @return the value of jsh_app.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Type + * + * @param type the value for jsh_app.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Icon + * + * @return the value of jsh_app.Icon + * + * @mbggenerated + */ + public String getIcon() { + return icon; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Icon + * + * @param icon the value for jsh_app.Icon + * + * @mbggenerated + */ + public void setIcon(String icon) { + this.icon = icon == null ? null : icon.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.URL + * + * @return the value of jsh_app.URL + * + * @mbggenerated + */ + public String getUrl() { + return url; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.URL + * + * @param url the value for jsh_app.URL + * + * @mbggenerated + */ + public void setUrl(String url) { + this.url = url == null ? null : url.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Width + * + * @return the value of jsh_app.Width + * + * @mbggenerated + */ + public String getWidth() { + return width; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Width + * + * @param width the value for jsh_app.Width + * + * @mbggenerated + */ + public void setWidth(String width) { + this.width = width == null ? null : width.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Height + * + * @return the value of jsh_app.Height + * + * @mbggenerated + */ + public String getHeight() { + return height; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Height + * + * @param height the value for jsh_app.Height + * + * @mbggenerated + */ + public void setHeight(String height) { + this.height = height == null ? null : height.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.ReSize + * + * @return the value of jsh_app.ReSize + * + * @mbggenerated + */ + public Boolean getResize() { + return resize; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.ReSize + * + * @param resize the value for jsh_app.ReSize + * + * @mbggenerated + */ + public void setResize(Boolean resize) { + this.resize = resize; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.OpenMax + * + * @return the value of jsh_app.OpenMax + * + * @mbggenerated + */ + public Boolean getOpenmax() { + return openmax; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.OpenMax + * + * @param openmax the value for jsh_app.OpenMax + * + * @mbggenerated + */ + public void setOpenmax(Boolean openmax) { + this.openmax = openmax; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Flash + * + * @return the value of jsh_app.Flash + * + * @mbggenerated + */ + public Boolean getFlash() { + return flash; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Flash + * + * @param flash the value for jsh_app.Flash + * + * @mbggenerated + */ + public void setFlash(Boolean flash) { + this.flash = flash; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.ZL + * + * @return the value of jsh_app.ZL + * + * @mbggenerated + */ + public String getZl() { + return zl; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.ZL + * + * @param zl the value for jsh_app.ZL + * + * @mbggenerated + */ + public void setZl(String zl) { + this.zl = zl == null ? null : zl.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Sort + * + * @return the value of jsh_app.Sort + * + * @mbggenerated + */ + public String getSort() { + return sort; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Sort + * + * @param sort the value for jsh_app.Sort + * + * @mbggenerated + */ + public void setSort(String sort) { + this.sort = sort == null ? null : sort.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Remark + * + * @return the value of jsh_app.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Remark + * + * @param remark the value for jsh_app.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_app.Enabled + * + * @return the value of jsh_app.Enabled + * + * @mbggenerated + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_app.Enabled + * + * @param enabled the value for jsh_app.Enabled + * + * @mbggenerated + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AppExample.java b/src/main/java/com/jsh/erp/datasource/entities/AppExample.java new file mode 100644 index 0000000000000000000000000000000000000000..d2075307202d8182c1e2d9b20f999981fe0e09de --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AppExample.java @@ -0,0 +1,1302 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class AppExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_app + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_app + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_app + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public AppExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_app + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNumberIsNull() { + addCriterion("Number is null"); + return (Criteria) this; + } + + public Criteria andNumberIsNotNull() { + addCriterion("Number is not null"); + return (Criteria) this; + } + + public Criteria andNumberEqualTo(String value) { + addCriterion("Number =", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotEqualTo(String value) { + addCriterion("Number <>", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThan(String value) { + addCriterion("Number >", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThanOrEqualTo(String value) { + addCriterion("Number >=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThan(String value) { + addCriterion("Number <", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThanOrEqualTo(String value) { + addCriterion("Number <=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLike(String value) { + addCriterion("Number like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotLike(String value) { + addCriterion("Number not like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberIn(List values) { + addCriterion("Number in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotIn(List values) { + addCriterion("Number not in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberBetween(String value1, String value2) { + addCriterion("Number between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotBetween(String value1, String value2) { + addCriterion("Number not between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andIconIsNull() { + addCriterion("Icon is null"); + return (Criteria) this; + } + + public Criteria andIconIsNotNull() { + addCriterion("Icon is not null"); + return (Criteria) this; + } + + public Criteria andIconEqualTo(String value) { + addCriterion("Icon =", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotEqualTo(String value) { + addCriterion("Icon <>", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThan(String value) { + addCriterion("Icon >", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconGreaterThanOrEqualTo(String value) { + addCriterion("Icon >=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThan(String value) { + addCriterion("Icon <", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLessThanOrEqualTo(String value) { + addCriterion("Icon <=", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconLike(String value) { + addCriterion("Icon like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotLike(String value) { + addCriterion("Icon not like", value, "icon"); + return (Criteria) this; + } + + public Criteria andIconIn(List values) { + addCriterion("Icon in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotIn(List values) { + addCriterion("Icon not in", values, "icon"); + return (Criteria) this; + } + + public Criteria andIconBetween(String value1, String value2) { + addCriterion("Icon between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andIconNotBetween(String value1, String value2) { + addCriterion("Icon not between", value1, value2, "icon"); + return (Criteria) this; + } + + public Criteria andUrlIsNull() { + addCriterion("URL is null"); + return (Criteria) this; + } + + public Criteria andUrlIsNotNull() { + addCriterion("URL is not null"); + return (Criteria) this; + } + + public Criteria andUrlEqualTo(String value) { + addCriterion("URL =", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotEqualTo(String value) { + addCriterion("URL <>", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThan(String value) { + addCriterion("URL >", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThanOrEqualTo(String value) { + addCriterion("URL >=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThan(String value) { + addCriterion("URL <", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThanOrEqualTo(String value) { + addCriterion("URL <=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLike(String value) { + addCriterion("URL like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotLike(String value) { + addCriterion("URL not like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlIn(List values) { + addCriterion("URL in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotIn(List values) { + addCriterion("URL not in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlBetween(String value1, String value2) { + addCriterion("URL between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotBetween(String value1, String value2) { + addCriterion("URL not between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andWidthIsNull() { + addCriterion("Width is null"); + return (Criteria) this; + } + + public Criteria andWidthIsNotNull() { + addCriterion("Width is not null"); + return (Criteria) this; + } + + public Criteria andWidthEqualTo(String value) { + addCriterion("Width =", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthNotEqualTo(String value) { + addCriterion("Width <>", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthGreaterThan(String value) { + addCriterion("Width >", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthGreaterThanOrEqualTo(String value) { + addCriterion("Width >=", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthLessThan(String value) { + addCriterion("Width <", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthLessThanOrEqualTo(String value) { + addCriterion("Width <=", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthLike(String value) { + addCriterion("Width like", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthNotLike(String value) { + addCriterion("Width not like", value, "width"); + return (Criteria) this; + } + + public Criteria andWidthIn(List values) { + addCriterion("Width in", values, "width"); + return (Criteria) this; + } + + public Criteria andWidthNotIn(List values) { + addCriterion("Width not in", values, "width"); + return (Criteria) this; + } + + public Criteria andWidthBetween(String value1, String value2) { + addCriterion("Width between", value1, value2, "width"); + return (Criteria) this; + } + + public Criteria andWidthNotBetween(String value1, String value2) { + addCriterion("Width not between", value1, value2, "width"); + return (Criteria) this; + } + + public Criteria andHeightIsNull() { + addCriterion("Height is null"); + return (Criteria) this; + } + + public Criteria andHeightIsNotNull() { + addCriterion("Height is not null"); + return (Criteria) this; + } + + public Criteria andHeightEqualTo(String value) { + addCriterion("Height =", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightNotEqualTo(String value) { + addCriterion("Height <>", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightGreaterThan(String value) { + addCriterion("Height >", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightGreaterThanOrEqualTo(String value) { + addCriterion("Height >=", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightLessThan(String value) { + addCriterion("Height <", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightLessThanOrEqualTo(String value) { + addCriterion("Height <=", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightLike(String value) { + addCriterion("Height like", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightNotLike(String value) { + addCriterion("Height not like", value, "height"); + return (Criteria) this; + } + + public Criteria andHeightIn(List values) { + addCriterion("Height in", values, "height"); + return (Criteria) this; + } + + public Criteria andHeightNotIn(List values) { + addCriterion("Height not in", values, "height"); + return (Criteria) this; + } + + public Criteria andHeightBetween(String value1, String value2) { + addCriterion("Height between", value1, value2, "height"); + return (Criteria) this; + } + + public Criteria andHeightNotBetween(String value1, String value2) { + addCriterion("Height not between", value1, value2, "height"); + return (Criteria) this; + } + + public Criteria andResizeIsNull() { + addCriterion("ReSize is null"); + return (Criteria) this; + } + + public Criteria andResizeIsNotNull() { + addCriterion("ReSize is not null"); + return (Criteria) this; + } + + public Criteria andResizeEqualTo(Boolean value) { + addCriterion("ReSize =", value, "resize"); + return (Criteria) this; + } + + public Criteria andResizeNotEqualTo(Boolean value) { + addCriterion("ReSize <>", value, "resize"); + return (Criteria) this; + } + + public Criteria andResizeGreaterThan(Boolean value) { + addCriterion("ReSize >", value, "resize"); + return (Criteria) this; + } + + public Criteria andResizeGreaterThanOrEqualTo(Boolean value) { + addCriterion("ReSize >=", value, "resize"); + return (Criteria) this; + } + + public Criteria andResizeLessThan(Boolean value) { + addCriterion("ReSize <", value, "resize"); + return (Criteria) this; + } + + public Criteria andResizeLessThanOrEqualTo(Boolean value) { + addCriterion("ReSize <=", value, "resize"); + return (Criteria) this; + } + + public Criteria andResizeIn(List values) { + addCriterion("ReSize in", values, "resize"); + return (Criteria) this; + } + + public Criteria andResizeNotIn(List values) { + addCriterion("ReSize not in", values, "resize"); + return (Criteria) this; + } + + public Criteria andResizeBetween(Boolean value1, Boolean value2) { + addCriterion("ReSize between", value1, value2, "resize"); + return (Criteria) this; + } + + public Criteria andResizeNotBetween(Boolean value1, Boolean value2) { + addCriterion("ReSize not between", value1, value2, "resize"); + return (Criteria) this; + } + + public Criteria andOpenmaxIsNull() { + addCriterion("OpenMax is null"); + return (Criteria) this; + } + + public Criteria andOpenmaxIsNotNull() { + addCriterion("OpenMax is not null"); + return (Criteria) this; + } + + public Criteria andOpenmaxEqualTo(Boolean value) { + addCriterion("OpenMax =", value, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxNotEqualTo(Boolean value) { + addCriterion("OpenMax <>", value, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxGreaterThan(Boolean value) { + addCriterion("OpenMax >", value, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxGreaterThanOrEqualTo(Boolean value) { + addCriterion("OpenMax >=", value, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxLessThan(Boolean value) { + addCriterion("OpenMax <", value, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxLessThanOrEqualTo(Boolean value) { + addCriterion("OpenMax <=", value, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxIn(List values) { + addCriterion("OpenMax in", values, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxNotIn(List values) { + addCriterion("OpenMax not in", values, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxBetween(Boolean value1, Boolean value2) { + addCriterion("OpenMax between", value1, value2, "openmax"); + return (Criteria) this; + } + + public Criteria andOpenmaxNotBetween(Boolean value1, Boolean value2) { + addCriterion("OpenMax not between", value1, value2, "openmax"); + return (Criteria) this; + } + + public Criteria andFlashIsNull() { + addCriterion("Flash is null"); + return (Criteria) this; + } + + public Criteria andFlashIsNotNull() { + addCriterion("Flash is not null"); + return (Criteria) this; + } + + public Criteria andFlashEqualTo(Boolean value) { + addCriterion("Flash =", value, "flash"); + return (Criteria) this; + } + + public Criteria andFlashNotEqualTo(Boolean value) { + addCriterion("Flash <>", value, "flash"); + return (Criteria) this; + } + + public Criteria andFlashGreaterThan(Boolean value) { + addCriterion("Flash >", value, "flash"); + return (Criteria) this; + } + + public Criteria andFlashGreaterThanOrEqualTo(Boolean value) { + addCriterion("Flash >=", value, "flash"); + return (Criteria) this; + } + + public Criteria andFlashLessThan(Boolean value) { + addCriterion("Flash <", value, "flash"); + return (Criteria) this; + } + + public Criteria andFlashLessThanOrEqualTo(Boolean value) { + addCriterion("Flash <=", value, "flash"); + return (Criteria) this; + } + + public Criteria andFlashIn(List values) { + addCriterion("Flash in", values, "flash"); + return (Criteria) this; + } + + public Criteria andFlashNotIn(List values) { + addCriterion("Flash not in", values, "flash"); + return (Criteria) this; + } + + public Criteria andFlashBetween(Boolean value1, Boolean value2) { + addCriterion("Flash between", value1, value2, "flash"); + return (Criteria) this; + } + + public Criteria andFlashNotBetween(Boolean value1, Boolean value2) { + addCriterion("Flash not between", value1, value2, "flash"); + return (Criteria) this; + } + + public Criteria andZlIsNull() { + addCriterion("ZL is null"); + return (Criteria) this; + } + + public Criteria andZlIsNotNull() { + addCriterion("ZL is not null"); + return (Criteria) this; + } + + public Criteria andZlEqualTo(String value) { + addCriterion("ZL =", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlNotEqualTo(String value) { + addCriterion("ZL <>", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlGreaterThan(String value) { + addCriterion("ZL >", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlGreaterThanOrEqualTo(String value) { + addCriterion("ZL >=", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlLessThan(String value) { + addCriterion("ZL <", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlLessThanOrEqualTo(String value) { + addCriterion("ZL <=", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlLike(String value) { + addCriterion("ZL like", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlNotLike(String value) { + addCriterion("ZL not like", value, "zl"); + return (Criteria) this; + } + + public Criteria andZlIn(List values) { + addCriterion("ZL in", values, "zl"); + return (Criteria) this; + } + + public Criteria andZlNotIn(List values) { + addCriterion("ZL not in", values, "zl"); + return (Criteria) this; + } + + public Criteria andZlBetween(String value1, String value2) { + addCriterion("ZL between", value1, value2, "zl"); + return (Criteria) this; + } + + public Criteria andZlNotBetween(String value1, String value2) { + addCriterion("ZL not between", value1, value2, "zl"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("Sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("Sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(String value) { + addCriterion("Sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(String value) { + addCriterion("Sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(String value) { + addCriterion("Sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(String value) { + addCriterion("Sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(String value) { + addCriterion("Sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(String value) { + addCriterion("Sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLike(String value) { + addCriterion("Sort like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotLike(String value) { + addCriterion("Sort not like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("Sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("Sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(String value1, String value2) { + addCriterion("Sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(String value1, String value2) { + addCriterion("Sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andEnabledIsNull() { + addCriterion("Enabled is null"); + return (Criteria) this; + } + + public Criteria andEnabledIsNotNull() { + addCriterion("Enabled is not null"); + return (Criteria) this; + } + + public Criteria andEnabledEqualTo(Boolean value) { + addCriterion("Enabled =", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotEqualTo(Boolean value) { + addCriterion("Enabled <>", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThan(Boolean value) { + addCriterion("Enabled >", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { + addCriterion("Enabled >=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThan(Boolean value) { + addCriterion("Enabled <", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThanOrEqualTo(Boolean value) { + addCriterion("Enabled <=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledIn(List values) { + addCriterion("Enabled in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotIn(List values) { + addCriterion("Enabled not in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled not between", value1, value2, "enabled"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_app + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_app + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Asset.java b/src/main/java/com/jsh/erp/datasource/entities/Asset.java new file mode 100644 index 0000000000000000000000000000000000000000..9328110719b163dee04db6560c4bc0b1c813be77 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Asset.java @@ -0,0 +1,613 @@ +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class Asset { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.assetnameID + * + * @mbggenerated + */ + private Long assetnameid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.location + * + * @mbggenerated + */ + private String location; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.labels + * + * @mbggenerated + */ + private String labels; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.status + * + * @mbggenerated + */ + private Short status; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.userID + * + * @mbggenerated + */ + private Long userid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.price + * + * @mbggenerated + */ + private Double price; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.purchasedate + * + * @mbggenerated + */ + private Date purchasedate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.periodofvalidity + * + * @mbggenerated + */ + private Date periodofvalidity; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.warrantydate + * + * @mbggenerated + */ + private Date warrantydate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.assetnum + * + * @mbggenerated + */ + private String assetnum; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.serialnum + * + * @mbggenerated + */ + private String serialnum; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.supplier + * + * @mbggenerated + */ + private Long supplier; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.createtime + * + * @mbggenerated + */ + private Date createtime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.creator + * + * @mbggenerated + */ + private Long creator; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.updatetime + * + * @mbggenerated + */ + private Date updatetime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.updator + * + * @mbggenerated + */ + private Long updator; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.description + * + * @mbggenerated + */ + private String description; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_asset.addMonth + * + * @mbggenerated + */ + private String addmonth; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.id + * + * @return the value of jsh_asset.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.id + * + * @param id the value for jsh_asset.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.assetnameID + * + * @return the value of jsh_asset.assetnameID + * + * @mbggenerated + */ + public Long getAssetnameid() { + return assetnameid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.assetnameID + * + * @param assetnameid the value for jsh_asset.assetnameID + * + * @mbggenerated + */ + public void setAssetnameid(Long assetnameid) { + this.assetnameid = assetnameid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.location + * + * @return the value of jsh_asset.location + * + * @mbggenerated + */ + public String getLocation() { + return location; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.location + * + * @param location the value for jsh_asset.location + * + * @mbggenerated + */ + public void setLocation(String location) { + this.location = location == null ? null : location.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.labels + * + * @return the value of jsh_asset.labels + * + * @mbggenerated + */ + public String getLabels() { + return labels; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.labels + * + * @param labels the value for jsh_asset.labels + * + * @mbggenerated + */ + public void setLabels(String labels) { + this.labels = labels == null ? null : labels.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.status + * + * @return the value of jsh_asset.status + * + * @mbggenerated + */ + public Short getStatus() { + return status; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.status + * + * @param status the value for jsh_asset.status + * + * @mbggenerated + */ + public void setStatus(Short status) { + this.status = status; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.userID + * + * @return the value of jsh_asset.userID + * + * @mbggenerated + */ + public Long getUserid() { + return userid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.userID + * + * @param userid the value for jsh_asset.userID + * + * @mbggenerated + */ + public void setUserid(Long userid) { + this.userid = userid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.price + * + * @return the value of jsh_asset.price + * + * @mbggenerated + */ + public Double getPrice() { + return price; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.price + * + * @param price the value for jsh_asset.price + * + * @mbggenerated + */ + public void setPrice(Double price) { + this.price = price; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.purchasedate + * + * @return the value of jsh_asset.purchasedate + * + * @mbggenerated + */ + public Date getPurchasedate() { + return purchasedate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.purchasedate + * + * @param purchasedate the value for jsh_asset.purchasedate + * + * @mbggenerated + */ + public void setPurchasedate(Date purchasedate) { + this.purchasedate = purchasedate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.periodofvalidity + * + * @return the value of jsh_asset.periodofvalidity + * + * @mbggenerated + */ + public Date getPeriodofvalidity() { + return periodofvalidity; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.periodofvalidity + * + * @param periodofvalidity the value for jsh_asset.periodofvalidity + * + * @mbggenerated + */ + public void setPeriodofvalidity(Date periodofvalidity) { + this.periodofvalidity = periodofvalidity; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.warrantydate + * + * @return the value of jsh_asset.warrantydate + * + * @mbggenerated + */ + public Date getWarrantydate() { + return warrantydate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.warrantydate + * + * @param warrantydate the value for jsh_asset.warrantydate + * + * @mbggenerated + */ + public void setWarrantydate(Date warrantydate) { + this.warrantydate = warrantydate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.assetnum + * + * @return the value of jsh_asset.assetnum + * + * @mbggenerated + */ + public String getAssetnum() { + return assetnum; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.assetnum + * + * @param assetnum the value for jsh_asset.assetnum + * + * @mbggenerated + */ + public void setAssetnum(String assetnum) { + this.assetnum = assetnum == null ? null : assetnum.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.serialnum + * + * @return the value of jsh_asset.serialnum + * + * @mbggenerated + */ + public String getSerialnum() { + return serialnum; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.serialnum + * + * @param serialnum the value for jsh_asset.serialnum + * + * @mbggenerated + */ + public void setSerialnum(String serialnum) { + this.serialnum = serialnum == null ? null : serialnum.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.supplier + * + * @return the value of jsh_asset.supplier + * + * @mbggenerated + */ + public Long getSupplier() { + return supplier; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.supplier + * + * @param supplier the value for jsh_asset.supplier + * + * @mbggenerated + */ + public void setSupplier(Long supplier) { + this.supplier = supplier; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.createtime + * + * @return the value of jsh_asset.createtime + * + * @mbggenerated + */ + public Date getCreatetime() { + return createtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.createtime + * + * @param createtime the value for jsh_asset.createtime + * + * @mbggenerated + */ + public void setCreatetime(Date createtime) { + this.createtime = createtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.creator + * + * @return the value of jsh_asset.creator + * + * @mbggenerated + */ + public Long getCreator() { + return creator; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.creator + * + * @param creator the value for jsh_asset.creator + * + * @mbggenerated + */ + public void setCreator(Long creator) { + this.creator = creator; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.updatetime + * + * @return the value of jsh_asset.updatetime + * + * @mbggenerated + */ + public Date getUpdatetime() { + return updatetime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.updatetime + * + * @param updatetime the value for jsh_asset.updatetime + * + * @mbggenerated + */ + public void setUpdatetime(Date updatetime) { + this.updatetime = updatetime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.updator + * + * @return the value of jsh_asset.updator + * + * @mbggenerated + */ + public Long getUpdator() { + return updator; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.updator + * + * @param updator the value for jsh_asset.updator + * + * @mbggenerated + */ + public void setUpdator(Long updator) { + this.updator = updator; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.description + * + * @return the value of jsh_asset.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.description + * + * @param description the value for jsh_asset.description + * + * @mbggenerated + */ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_asset.addMonth + * + * @return the value of jsh_asset.addMonth + * + * @mbggenerated + */ + public String getAddmonth() { + return addmonth; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_asset.addMonth + * + * @param addmonth the value for jsh_asset.addMonth + * + * @mbggenerated + */ + public void setAddmonth(String addmonth) { + this.addmonth = addmonth == null ? null : addmonth.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetCategory.java b/src/main/java/com/jsh/erp/datasource/entities/AssetCategory.java new file mode 100644 index 0000000000000000000000000000000000000000..0bf7f8292a431a76541df09a78ef1592b90b01f0 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetCategory.java @@ -0,0 +1,131 @@ +package com.jsh.erp.datasource.entities; + +public class AssetCategory { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetcategory.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetcategory.assetname + * + * @mbggenerated + */ + private String assetname; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetcategory.isystem + * + * @mbggenerated + */ + private Byte isystem; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetcategory.description + * + * @mbggenerated + */ + private String description; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetcategory.id + * + * @return the value of jsh_assetcategory.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetcategory.id + * + * @param id the value for jsh_assetcategory.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetcategory.assetname + * + * @return the value of jsh_assetcategory.assetname + * + * @mbggenerated + */ + public String getAssetname() { + return assetname; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetcategory.assetname + * + * @param assetname the value for jsh_assetcategory.assetname + * + * @mbggenerated + */ + public void setAssetname(String assetname) { + this.assetname = assetname == null ? null : assetname.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetcategory.isystem + * + * @return the value of jsh_assetcategory.isystem + * + * @mbggenerated + */ + public Byte getIsystem() { + return isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetcategory.isystem + * + * @param isystem the value for jsh_assetcategory.isystem + * + * @mbggenerated + */ + public void setIsystem(Byte isystem) { + this.isystem = isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetcategory.description + * + * @return the value of jsh_assetcategory.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetcategory.description + * + * @param description the value for jsh_assetcategory.description + * + * @mbggenerated + */ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetCategoryExample.java b/src/main/java/com/jsh/erp/datasource/entities/AssetCategoryExample.java new file mode 100644 index 0000000000000000000000000000000000000000..9f70fc5ac93afec3507d0c79dd9e782f4931e4ee --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetCategoryExample.java @@ -0,0 +1,562 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class AssetCategoryExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public AssetCategoryExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAssetnameIsNull() { + addCriterion("assetname is null"); + return (Criteria) this; + } + + public Criteria andAssetnameIsNotNull() { + addCriterion("assetname is not null"); + return (Criteria) this; + } + + public Criteria andAssetnameEqualTo(String value) { + addCriterion("assetname =", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotEqualTo(String value) { + addCriterion("assetname <>", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameGreaterThan(String value) { + addCriterion("assetname >", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameGreaterThanOrEqualTo(String value) { + addCriterion("assetname >=", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameLessThan(String value) { + addCriterion("assetname <", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameLessThanOrEqualTo(String value) { + addCriterion("assetname <=", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameLike(String value) { + addCriterion("assetname like", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotLike(String value) { + addCriterion("assetname not like", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameIn(List values) { + addCriterion("assetname in", values, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotIn(List values) { + addCriterion("assetname not in", values, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameBetween(String value1, String value2) { + addCriterion("assetname between", value1, value2, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotBetween(String value1, String value2) { + addCriterion("assetname not between", value1, value2, "assetname"); + return (Criteria) this; + } + + public Criteria andIsystemIsNull() { + addCriterion("isystem is null"); + return (Criteria) this; + } + + public Criteria andIsystemIsNotNull() { + addCriterion("isystem is not null"); + return (Criteria) this; + } + + public Criteria andIsystemEqualTo(Byte value) { + addCriterion("isystem =", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotEqualTo(Byte value) { + addCriterion("isystem <>", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThan(Byte value) { + addCriterion("isystem >", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThanOrEqualTo(Byte value) { + addCriterion("isystem >=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThan(Byte value) { + addCriterion("isystem <", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThanOrEqualTo(Byte value) { + addCriterion("isystem <=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemIn(List values) { + addCriterion("isystem in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotIn(List values) { + addCriterion("isystem not in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemBetween(Byte value1, Byte value2) { + addCriterion("isystem between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotBetween(Byte value1, Byte value2) { + addCriterion("isystem not between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_assetcategory + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetExample.java b/src/main/java/com/jsh/erp/datasource/entities/AssetExample.java new file mode 100644 index 0000000000000000000000000000000000000000..f98d5cba8c7ca79039edbe7851ef98b32dfbd5c0 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetExample.java @@ -0,0 +1,1363 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class AssetExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public AssetExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_asset + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAssetnameidIsNull() { + addCriterion("assetnameID is null"); + return (Criteria) this; + } + + public Criteria andAssetnameidIsNotNull() { + addCriterion("assetnameID is not null"); + return (Criteria) this; + } + + public Criteria andAssetnameidEqualTo(Long value) { + addCriterion("assetnameID =", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidNotEqualTo(Long value) { + addCriterion("assetnameID <>", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidGreaterThan(Long value) { + addCriterion("assetnameID >", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidGreaterThanOrEqualTo(Long value) { + addCriterion("assetnameID >=", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidLessThan(Long value) { + addCriterion("assetnameID <", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidLessThanOrEqualTo(Long value) { + addCriterion("assetnameID <=", value, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidIn(List values) { + addCriterion("assetnameID in", values, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidNotIn(List values) { + addCriterion("assetnameID not in", values, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidBetween(Long value1, Long value2) { + addCriterion("assetnameID between", value1, value2, "assetnameid"); + return (Criteria) this; + } + + public Criteria andAssetnameidNotBetween(Long value1, Long value2) { + addCriterion("assetnameID not between", value1, value2, "assetnameid"); + return (Criteria) this; + } + + public Criteria andLocationIsNull() { + addCriterion("location is null"); + return (Criteria) this; + } + + public Criteria andLocationIsNotNull() { + addCriterion("location is not null"); + return (Criteria) this; + } + + public Criteria andLocationEqualTo(String value) { + addCriterion("location =", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotEqualTo(String value) { + addCriterion("location <>", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationGreaterThan(String value) { + addCriterion("location >", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationGreaterThanOrEqualTo(String value) { + addCriterion("location >=", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationLessThan(String value) { + addCriterion("location <", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationLessThanOrEqualTo(String value) { + addCriterion("location <=", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationLike(String value) { + addCriterion("location like", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotLike(String value) { + addCriterion("location not like", value, "location"); + return (Criteria) this; + } + + public Criteria andLocationIn(List values) { + addCriterion("location in", values, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotIn(List values) { + addCriterion("location not in", values, "location"); + return (Criteria) this; + } + + public Criteria andLocationBetween(String value1, String value2) { + addCriterion("location between", value1, value2, "location"); + return (Criteria) this; + } + + public Criteria andLocationNotBetween(String value1, String value2) { + addCriterion("location not between", value1, value2, "location"); + return (Criteria) this; + } + + public Criteria andLabelsIsNull() { + addCriterion("labels is null"); + return (Criteria) this; + } + + public Criteria andLabelsIsNotNull() { + addCriterion("labels is not null"); + return (Criteria) this; + } + + public Criteria andLabelsEqualTo(String value) { + addCriterion("labels =", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotEqualTo(String value) { + addCriterion("labels <>", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsGreaterThan(String value) { + addCriterion("labels >", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsGreaterThanOrEqualTo(String value) { + addCriterion("labels >=", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsLessThan(String value) { + addCriterion("labels <", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsLessThanOrEqualTo(String value) { + addCriterion("labels <=", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsLike(String value) { + addCriterion("labels like", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotLike(String value) { + addCriterion("labels not like", value, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsIn(List values) { + addCriterion("labels in", values, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotIn(List values) { + addCriterion("labels not in", values, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsBetween(String value1, String value2) { + addCriterion("labels between", value1, value2, "labels"); + return (Criteria) this; + } + + public Criteria andLabelsNotBetween(String value1, String value2) { + addCriterion("labels not between", value1, value2, "labels"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Short value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Short value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Short value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Short value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Short value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Short value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Short value1, Short value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Short value1, Short value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andUseridIsNull() { + addCriterion("userID is null"); + return (Criteria) this; + } + + public Criteria andUseridIsNotNull() { + addCriterion("userID is not null"); + return (Criteria) this; + } + + public Criteria andUseridEqualTo(Long value) { + addCriterion("userID =", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotEqualTo(Long value) { + addCriterion("userID <>", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridGreaterThan(Long value) { + addCriterion("userID >", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridGreaterThanOrEqualTo(Long value) { + addCriterion("userID >=", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridLessThan(Long value) { + addCriterion("userID <", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridLessThanOrEqualTo(Long value) { + addCriterion("userID <=", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridIn(List values) { + addCriterion("userID in", values, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotIn(List values) { + addCriterion("userID not in", values, "userid"); + return (Criteria) this; + } + + public Criteria andUseridBetween(Long value1, Long value2) { + addCriterion("userID between", value1, value2, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotBetween(Long value1, Long value2) { + addCriterion("userID not between", value1, value2, "userid"); + return (Criteria) this; + } + + public Criteria andPriceIsNull() { + addCriterion("price is null"); + return (Criteria) this; + } + + public Criteria andPriceIsNotNull() { + addCriterion("price is not null"); + return (Criteria) this; + } + + public Criteria andPriceEqualTo(Double value) { + addCriterion("price =", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotEqualTo(Double value) { + addCriterion("price <>", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThan(Double value) { + addCriterion("price >", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceGreaterThanOrEqualTo(Double value) { + addCriterion("price >=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThan(Double value) { + addCriterion("price <", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceLessThanOrEqualTo(Double value) { + addCriterion("price <=", value, "price"); + return (Criteria) this; + } + + public Criteria andPriceIn(List values) { + addCriterion("price in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotIn(List values) { + addCriterion("price not in", values, "price"); + return (Criteria) this; + } + + public Criteria andPriceBetween(Double value1, Double value2) { + addCriterion("price between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPriceNotBetween(Double value1, Double value2) { + addCriterion("price not between", value1, value2, "price"); + return (Criteria) this; + } + + public Criteria andPurchasedateIsNull() { + addCriterion("purchasedate is null"); + return (Criteria) this; + } + + public Criteria andPurchasedateIsNotNull() { + addCriterion("purchasedate is not null"); + return (Criteria) this; + } + + public Criteria andPurchasedateEqualTo(Date value) { + addCriterion("purchasedate =", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateNotEqualTo(Date value) { + addCriterion("purchasedate <>", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateGreaterThan(Date value) { + addCriterion("purchasedate >", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateGreaterThanOrEqualTo(Date value) { + addCriterion("purchasedate >=", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateLessThan(Date value) { + addCriterion("purchasedate <", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateLessThanOrEqualTo(Date value) { + addCriterion("purchasedate <=", value, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateIn(List values) { + addCriterion("purchasedate in", values, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateNotIn(List values) { + addCriterion("purchasedate not in", values, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateBetween(Date value1, Date value2) { + addCriterion("purchasedate between", value1, value2, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPurchasedateNotBetween(Date value1, Date value2) { + addCriterion("purchasedate not between", value1, value2, "purchasedate"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityIsNull() { + addCriterion("periodofvalidity is null"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityIsNotNull() { + addCriterion("periodofvalidity is not null"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityEqualTo(Date value) { + addCriterion("periodofvalidity =", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityNotEqualTo(Date value) { + addCriterion("periodofvalidity <>", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityGreaterThan(Date value) { + addCriterion("periodofvalidity >", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityGreaterThanOrEqualTo(Date value) { + addCriterion("periodofvalidity >=", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityLessThan(Date value) { + addCriterion("periodofvalidity <", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityLessThanOrEqualTo(Date value) { + addCriterion("periodofvalidity <=", value, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityIn(List values) { + addCriterion("periodofvalidity in", values, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityNotIn(List values) { + addCriterion("periodofvalidity not in", values, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityBetween(Date value1, Date value2) { + addCriterion("periodofvalidity between", value1, value2, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andPeriodofvalidityNotBetween(Date value1, Date value2) { + addCriterion("periodofvalidity not between", value1, value2, "periodofvalidity"); + return (Criteria) this; + } + + public Criteria andWarrantydateIsNull() { + addCriterion("warrantydate is null"); + return (Criteria) this; + } + + public Criteria andWarrantydateIsNotNull() { + addCriterion("warrantydate is not null"); + return (Criteria) this; + } + + public Criteria andWarrantydateEqualTo(Date value) { + addCriterion("warrantydate =", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateNotEqualTo(Date value) { + addCriterion("warrantydate <>", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateGreaterThan(Date value) { + addCriterion("warrantydate >", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateGreaterThanOrEqualTo(Date value) { + addCriterion("warrantydate >=", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateLessThan(Date value) { + addCriterion("warrantydate <", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateLessThanOrEqualTo(Date value) { + addCriterion("warrantydate <=", value, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateIn(List values) { + addCriterion("warrantydate in", values, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateNotIn(List values) { + addCriterion("warrantydate not in", values, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateBetween(Date value1, Date value2) { + addCriterion("warrantydate between", value1, value2, "warrantydate"); + return (Criteria) this; + } + + public Criteria andWarrantydateNotBetween(Date value1, Date value2) { + addCriterion("warrantydate not between", value1, value2, "warrantydate"); + return (Criteria) this; + } + + public Criteria andAssetnumIsNull() { + addCriterion("assetnum is null"); + return (Criteria) this; + } + + public Criteria andAssetnumIsNotNull() { + addCriterion("assetnum is not null"); + return (Criteria) this; + } + + public Criteria andAssetnumEqualTo(String value) { + addCriterion("assetnum =", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotEqualTo(String value) { + addCriterion("assetnum <>", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumGreaterThan(String value) { + addCriterion("assetnum >", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumGreaterThanOrEqualTo(String value) { + addCriterion("assetnum >=", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumLessThan(String value) { + addCriterion("assetnum <", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumLessThanOrEqualTo(String value) { + addCriterion("assetnum <=", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumLike(String value) { + addCriterion("assetnum like", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotLike(String value) { + addCriterion("assetnum not like", value, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumIn(List values) { + addCriterion("assetnum in", values, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotIn(List values) { + addCriterion("assetnum not in", values, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumBetween(String value1, String value2) { + addCriterion("assetnum between", value1, value2, "assetnum"); + return (Criteria) this; + } + + public Criteria andAssetnumNotBetween(String value1, String value2) { + addCriterion("assetnum not between", value1, value2, "assetnum"); + return (Criteria) this; + } + + public Criteria andSerialnumIsNull() { + addCriterion("serialnum is null"); + return (Criteria) this; + } + + public Criteria andSerialnumIsNotNull() { + addCriterion("serialnum is not null"); + return (Criteria) this; + } + + public Criteria andSerialnumEqualTo(String value) { + addCriterion("serialnum =", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotEqualTo(String value) { + addCriterion("serialnum <>", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumGreaterThan(String value) { + addCriterion("serialnum >", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumGreaterThanOrEqualTo(String value) { + addCriterion("serialnum >=", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumLessThan(String value) { + addCriterion("serialnum <", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumLessThanOrEqualTo(String value) { + addCriterion("serialnum <=", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumLike(String value) { + addCriterion("serialnum like", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotLike(String value) { + addCriterion("serialnum not like", value, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumIn(List values) { + addCriterion("serialnum in", values, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotIn(List values) { + addCriterion("serialnum not in", values, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumBetween(String value1, String value2) { + addCriterion("serialnum between", value1, value2, "serialnum"); + return (Criteria) this; + } + + public Criteria andSerialnumNotBetween(String value1, String value2) { + addCriterion("serialnum not between", value1, value2, "serialnum"); + return (Criteria) this; + } + + public Criteria andSupplierIsNull() { + addCriterion("supplier is null"); + return (Criteria) this; + } + + public Criteria andSupplierIsNotNull() { + addCriterion("supplier is not null"); + return (Criteria) this; + } + + public Criteria andSupplierEqualTo(Long value) { + addCriterion("supplier =", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotEqualTo(Long value) { + addCriterion("supplier <>", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThan(Long value) { + addCriterion("supplier >", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThanOrEqualTo(Long value) { + addCriterion("supplier >=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThan(Long value) { + addCriterion("supplier <", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThanOrEqualTo(Long value) { + addCriterion("supplier <=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierIn(List values) { + addCriterion("supplier in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotIn(List values) { + addCriterion("supplier not in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierBetween(Long value1, Long value2) { + addCriterion("supplier between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotBetween(Long value1, Long value2) { + addCriterion("supplier not between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNull() { + addCriterion("createtime is null"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNotNull() { + addCriterion("createtime is not null"); + return (Criteria) this; + } + + public Criteria andCreatetimeEqualTo(Date value) { + addCriterion("createtime =", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotEqualTo(Date value) { + addCriterion("createtime <>", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThan(Date value) { + addCriterion("createtime >", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) { + addCriterion("createtime >=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThan(Date value) { + addCriterion("createtime <", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThanOrEqualTo(Date value) { + addCriterion("createtime <=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeIn(List values) { + addCriterion("createtime in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotIn(List values) { + addCriterion("createtime not in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeBetween(Date value1, Date value2) { + addCriterion("createtime between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotBetween(Date value1, Date value2) { + addCriterion("createtime not between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatorIsNull() { + addCriterion("creator is null"); + return (Criteria) this; + } + + public Criteria andCreatorIsNotNull() { + addCriterion("creator is not null"); + return (Criteria) this; + } + + public Criteria andCreatorEqualTo(Long value) { + addCriterion("creator =", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotEqualTo(Long value) { + addCriterion("creator <>", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThan(Long value) { + addCriterion("creator >", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorGreaterThanOrEqualTo(Long value) { + addCriterion("creator >=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThan(Long value) { + addCriterion("creator <", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorLessThanOrEqualTo(Long value) { + addCriterion("creator <=", value, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorIn(List values) { + addCriterion("creator in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotIn(List values) { + addCriterion("creator not in", values, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorBetween(Long value1, Long value2) { + addCriterion("creator between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andCreatorNotBetween(Long value1, Long value2) { + addCriterion("creator not between", value1, value2, "creator"); + return (Criteria) this; + } + + public Criteria andUpdatetimeIsNull() { + addCriterion("updatetime is null"); + return (Criteria) this; + } + + public Criteria andUpdatetimeIsNotNull() { + addCriterion("updatetime is not null"); + return (Criteria) this; + } + + public Criteria andUpdatetimeEqualTo(Date value) { + addCriterion("updatetime =", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeNotEqualTo(Date value) { + addCriterion("updatetime <>", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeGreaterThan(Date value) { + addCriterion("updatetime >", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeGreaterThanOrEqualTo(Date value) { + addCriterion("updatetime >=", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeLessThan(Date value) { + addCriterion("updatetime <", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeLessThanOrEqualTo(Date value) { + addCriterion("updatetime <=", value, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeIn(List values) { + addCriterion("updatetime in", values, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeNotIn(List values) { + addCriterion("updatetime not in", values, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeBetween(Date value1, Date value2) { + addCriterion("updatetime between", value1, value2, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatetimeNotBetween(Date value1, Date value2) { + addCriterion("updatetime not between", value1, value2, "updatetime"); + return (Criteria) this; + } + + public Criteria andUpdatorIsNull() { + addCriterion("updator is null"); + return (Criteria) this; + } + + public Criteria andUpdatorIsNotNull() { + addCriterion("updator is not null"); + return (Criteria) this; + } + + public Criteria andUpdatorEqualTo(Long value) { + addCriterion("updator =", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorNotEqualTo(Long value) { + addCriterion("updator <>", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorGreaterThan(Long value) { + addCriterion("updator >", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorGreaterThanOrEqualTo(Long value) { + addCriterion("updator >=", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorLessThan(Long value) { + addCriterion("updator <", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorLessThanOrEqualTo(Long value) { + addCriterion("updator <=", value, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorIn(List values) { + addCriterion("updator in", values, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorNotIn(List values) { + addCriterion("updator not in", values, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorBetween(Long value1, Long value2) { + addCriterion("updator between", value1, value2, "updator"); + return (Criteria) this; + } + + public Criteria andUpdatorNotBetween(Long value1, Long value2) { + addCriterion("updator not between", value1, value2, "updator"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_asset + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_asset + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetName.java b/src/main/java/com/jsh/erp/datasource/entities/AssetName.java new file mode 100644 index 0000000000000000000000000000000000000000..51aa3b19e27c712a319815ad0d023649dfa3827e --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetName.java @@ -0,0 +1,195 @@ +package com.jsh.erp.datasource.entities; + +public class AssetName { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetname.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetname.assetname + * + * @mbggenerated + */ + private String assetname; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetname.assetcategoryID + * + * @mbggenerated + */ + private Long assetcategoryid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetname.isystem + * + * @mbggenerated + */ + private Short isystem; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetname.isconsumables + * + * @mbggenerated + */ + private Short isconsumables; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_assetname.description + * + * @mbggenerated + */ + private String description; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetname.id + * + * @return the value of jsh_assetname.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetname.id + * + * @param id the value for jsh_assetname.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetname.assetname + * + * @return the value of jsh_assetname.assetname + * + * @mbggenerated + */ + public String getAssetname() { + return assetname; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetname.assetname + * + * @param assetname the value for jsh_assetname.assetname + * + * @mbggenerated + */ + public void setAssetname(String assetname) { + this.assetname = assetname == null ? null : assetname.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetname.assetcategoryID + * + * @return the value of jsh_assetname.assetcategoryID + * + * @mbggenerated + */ + public Long getAssetcategoryid() { + return assetcategoryid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetname.assetcategoryID + * + * @param assetcategoryid the value for jsh_assetname.assetcategoryID + * + * @mbggenerated + */ + public void setAssetcategoryid(Long assetcategoryid) { + this.assetcategoryid = assetcategoryid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetname.isystem + * + * @return the value of jsh_assetname.isystem + * + * @mbggenerated + */ + public Short getIsystem() { + return isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetname.isystem + * + * @param isystem the value for jsh_assetname.isystem + * + * @mbggenerated + */ + public void setIsystem(Short isystem) { + this.isystem = isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetname.isconsumables + * + * @return the value of jsh_assetname.isconsumables + * + * @mbggenerated + */ + public Short getIsconsumables() { + return isconsumables; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetname.isconsumables + * + * @param isconsumables the value for jsh_assetname.isconsumables + * + * @mbggenerated + */ + public void setIsconsumables(Short isconsumables) { + this.isconsumables = isconsumables; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_assetname.description + * + * @return the value of jsh_assetname.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_assetname.description + * + * @param description the value for jsh_assetname.description + * + * @mbggenerated + */ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/AssetNameExample.java b/src/main/java/com/jsh/erp/datasource/entities/AssetNameExample.java new file mode 100644 index 0000000000000000000000000000000000000000..521dae4d23c86aeec3575c2134e83760fe546bbd --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/AssetNameExample.java @@ -0,0 +1,612 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class AssetNameExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public AssetNameExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andAssetnameIsNull() { + addCriterion("assetname is null"); + return (Criteria) this; + } + + public Criteria andAssetnameIsNotNull() { + addCriterion("assetname is not null"); + return (Criteria) this; + } + + public Criteria andAssetnameEqualTo(String value) { + addCriterion("assetname =", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotEqualTo(String value) { + addCriterion("assetname <>", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameGreaterThan(String value) { + addCriterion("assetname >", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameGreaterThanOrEqualTo(String value) { + addCriterion("assetname >=", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameLessThan(String value) { + addCriterion("assetname <", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameLessThanOrEqualTo(String value) { + addCriterion("assetname <=", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameLike(String value) { + addCriterion("assetname like", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotLike(String value) { + addCriterion("assetname not like", value, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameIn(List values) { + addCriterion("assetname in", values, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotIn(List values) { + addCriterion("assetname not in", values, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameBetween(String value1, String value2) { + addCriterion("assetname between", value1, value2, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetnameNotBetween(String value1, String value2) { + addCriterion("assetname not between", value1, value2, "assetname"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidIsNull() { + addCriterion("assetcategoryID is null"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidIsNotNull() { + addCriterion("assetcategoryID is not null"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidEqualTo(Long value) { + addCriterion("assetcategoryID =", value, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidNotEqualTo(Long value) { + addCriterion("assetcategoryID <>", value, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidGreaterThan(Long value) { + addCriterion("assetcategoryID >", value, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidGreaterThanOrEqualTo(Long value) { + addCriterion("assetcategoryID >=", value, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidLessThan(Long value) { + addCriterion("assetcategoryID <", value, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidLessThanOrEqualTo(Long value) { + addCriterion("assetcategoryID <=", value, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidIn(List values) { + addCriterion("assetcategoryID in", values, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidNotIn(List values) { + addCriterion("assetcategoryID not in", values, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidBetween(Long value1, Long value2) { + addCriterion("assetcategoryID between", value1, value2, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andAssetcategoryidNotBetween(Long value1, Long value2) { + addCriterion("assetcategoryID not between", value1, value2, "assetcategoryid"); + return (Criteria) this; + } + + public Criteria andIsystemIsNull() { + addCriterion("isystem is null"); + return (Criteria) this; + } + + public Criteria andIsystemIsNotNull() { + addCriterion("isystem is not null"); + return (Criteria) this; + } + + public Criteria andIsystemEqualTo(Short value) { + addCriterion("isystem =", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotEqualTo(Short value) { + addCriterion("isystem <>", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThan(Short value) { + addCriterion("isystem >", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThanOrEqualTo(Short value) { + addCriterion("isystem >=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThan(Short value) { + addCriterion("isystem <", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThanOrEqualTo(Short value) { + addCriterion("isystem <=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemIn(List values) { + addCriterion("isystem in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotIn(List values) { + addCriterion("isystem not in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemBetween(Short value1, Short value2) { + addCriterion("isystem between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotBetween(Short value1, Short value2) { + addCriterion("isystem not between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andIsconsumablesIsNull() { + addCriterion("isconsumables is null"); + return (Criteria) this; + } + + public Criteria andIsconsumablesIsNotNull() { + addCriterion("isconsumables is not null"); + return (Criteria) this; + } + + public Criteria andIsconsumablesEqualTo(Short value) { + addCriterion("isconsumables =", value, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesNotEqualTo(Short value) { + addCriterion("isconsumables <>", value, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesGreaterThan(Short value) { + addCriterion("isconsumables >", value, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesGreaterThanOrEqualTo(Short value) { + addCriterion("isconsumables >=", value, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesLessThan(Short value) { + addCriterion("isconsumables <", value, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesLessThanOrEqualTo(Short value) { + addCriterion("isconsumables <=", value, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesIn(List values) { + addCriterion("isconsumables in", values, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesNotIn(List values) { + addCriterion("isconsumables not in", values, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesBetween(Short value1, Short value2) { + addCriterion("isconsumables between", value1, value2, "isconsumables"); + return (Criteria) this; + } + + public Criteria andIsconsumablesNotBetween(Short value1, Short value2) { + addCriterion("isconsumables not between", value1, value2, "isconsumables"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_assetname + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Depot.java b/src/main/java/com/jsh/erp/datasource/entities/Depot.java new file mode 100644 index 0000000000000000000000000000000000000000..2c102bb268969b76e0877036ce6594f204ab2d25 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Depot.java @@ -0,0 +1,259 @@ +package com.jsh.erp.datasource.entities; + +public class Depot { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.address + * + * @mbggenerated + */ + private String address; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.warehousing + * + * @mbggenerated + */ + private Double warehousing; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.truckage + * + * @mbggenerated + */ + private Double truckage; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.type + * + * @mbggenerated + */ + private Integer type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.sort + * + * @mbggenerated + */ + private String sort; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depot.remark + * + * @mbggenerated + */ + private String remark; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.id + * + * @return the value of jsh_depot.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.id + * + * @param id the value for jsh_depot.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.name + * + * @return the value of jsh_depot.name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.name + * + * @param name the value for jsh_depot.name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.address + * + * @return the value of jsh_depot.address + * + * @mbggenerated + */ + public String getAddress() { + return address; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.address + * + * @param address the value for jsh_depot.address + * + * @mbggenerated + */ + public void setAddress(String address) { + this.address = address == null ? null : address.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.warehousing + * + * @return the value of jsh_depot.warehousing + * + * @mbggenerated + */ + public Double getWarehousing() { + return warehousing; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.warehousing + * + * @param warehousing the value for jsh_depot.warehousing + * + * @mbggenerated + */ + public void setWarehousing(Double warehousing) { + this.warehousing = warehousing; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.truckage + * + * @return the value of jsh_depot.truckage + * + * @mbggenerated + */ + public Double getTruckage() { + return truckage; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.truckage + * + * @param truckage the value for jsh_depot.truckage + * + * @mbggenerated + */ + public void setTruckage(Double truckage) { + this.truckage = truckage; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.type + * + * @return the value of jsh_depot.type + * + * @mbggenerated + */ + public Integer getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.type + * + * @param type the value for jsh_depot.type + * + * @mbggenerated + */ + public void setType(Integer type) { + this.type = type; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.sort + * + * @return the value of jsh_depot.sort + * + * @mbggenerated + */ + public String getSort() { + return sort; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.sort + * + * @param sort the value for jsh_depot.sort + * + * @mbggenerated + */ + public void setSort(String sort) { + this.sort = sort == null ? null : sort.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depot.remark + * + * @return the value of jsh_depot.remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depot.remark + * + * @param remark the value for jsh_depot.remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotExample.java b/src/main/java/com/jsh/erp/datasource/entities/DepotExample.java new file mode 100644 index 0000000000000000000000000000000000000000..f11086267725795d6dae6065e35a6fd6f8ebd846 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotExample.java @@ -0,0 +1,822 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class DepotExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public DepotExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depot + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andWarehousingIsNull() { + addCriterion("warehousing is null"); + return (Criteria) this; + } + + public Criteria andWarehousingIsNotNull() { + addCriterion("warehousing is not null"); + return (Criteria) this; + } + + public Criteria andWarehousingEqualTo(Double value) { + addCriterion("warehousing =", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingNotEqualTo(Double value) { + addCriterion("warehousing <>", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingGreaterThan(Double value) { + addCriterion("warehousing >", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingGreaterThanOrEqualTo(Double value) { + addCriterion("warehousing >=", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingLessThan(Double value) { + addCriterion("warehousing <", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingLessThanOrEqualTo(Double value) { + addCriterion("warehousing <=", value, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingIn(List values) { + addCriterion("warehousing in", values, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingNotIn(List values) { + addCriterion("warehousing not in", values, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingBetween(Double value1, Double value2) { + addCriterion("warehousing between", value1, value2, "warehousing"); + return (Criteria) this; + } + + public Criteria andWarehousingNotBetween(Double value1, Double value2) { + addCriterion("warehousing not between", value1, value2, "warehousing"); + return (Criteria) this; + } + + public Criteria andTruckageIsNull() { + addCriterion("truckage is null"); + return (Criteria) this; + } + + public Criteria andTruckageIsNotNull() { + addCriterion("truckage is not null"); + return (Criteria) this; + } + + public Criteria andTruckageEqualTo(Double value) { + addCriterion("truckage =", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageNotEqualTo(Double value) { + addCriterion("truckage <>", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageGreaterThan(Double value) { + addCriterion("truckage >", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageGreaterThanOrEqualTo(Double value) { + addCriterion("truckage >=", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageLessThan(Double value) { + addCriterion("truckage <", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageLessThanOrEqualTo(Double value) { + addCriterion("truckage <=", value, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageIn(List values) { + addCriterion("truckage in", values, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageNotIn(List values) { + addCriterion("truckage not in", values, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageBetween(Double value1, Double value2) { + addCriterion("truckage between", value1, value2, "truckage"); + return (Criteria) this; + } + + public Criteria andTruckageNotBetween(Double value1, Double value2) { + addCriterion("truckage not between", value1, value2, "truckage"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(Integer value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(Integer value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(Integer value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(Integer value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(Integer value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(Integer value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(Integer value1, Integer value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(Integer value1, Integer value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(String value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(String value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(String value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(String value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(String value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(String value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLike(String value) { + addCriterion("sort like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotLike(String value) { + addCriterion("sort not like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(String value1, String value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(String value1, String value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depot + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depot + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java b/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java new file mode 100644 index 0000000000000000000000000000000000000000..9799a4030c7732013e5628b20c41fa2e6a5ba3ea --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java @@ -0,0 +1,901 @@ +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class DepotHead { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.SubType + * + * @mbggenerated + */ + private String subtype; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.ProjectId + * + * @mbggenerated + */ + private Long projectid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.DefaultNumber + * + * @mbggenerated + */ + private String defaultnumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.Number + * + * @mbggenerated + */ + private String number; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.OperPersonName + * + * @mbggenerated + */ + private String operpersonname; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.CreateTime + * + * @mbggenerated + */ + private Date createtime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.OperTime + * + * @mbggenerated + */ + private Date opertime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.OrganId + * + * @mbggenerated + */ + private Long organid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.HandsPersonId + * + * @mbggenerated + */ + private Long handspersonid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.AccountId + * + * @mbggenerated + */ + private Long accountid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.ChangeAmount + * + * @mbggenerated + */ + private Double changeamount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.AllocationProjectId + * + * @mbggenerated + */ + private Long allocationprojectid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.TotalPrice + * + * @mbggenerated + */ + private Double totalprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.PayType + * + * @mbggenerated + */ + private String paytype; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.Salesman + * + * @mbggenerated + */ + private String salesman; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.AccountIdList + * + * @mbggenerated + */ + private String accountidlist; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.AccountMoneyList + * + * @mbggenerated + */ + private String accountmoneylist; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.Discount + * + * @mbggenerated + */ + private Double discount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.DiscountMoney + * + * @mbggenerated + */ + private Double discountmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.DiscountLastMoney + * + * @mbggenerated + */ + private Double discountlastmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.OtherMoney + * + * @mbggenerated + */ + private Double othermoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.OtherMoneyList + * + * @mbggenerated + */ + private String othermoneylist; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.OtherMoneyItem + * + * @mbggenerated + */ + private String othermoneyitem; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.AccountDay + * + * @mbggenerated + */ + private Integer accountday; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.Status + * + * @mbggenerated + */ + private Boolean status; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.Id + * + * @return the value of jsh_depothead.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.Id + * + * @param id the value for jsh_depothead.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.Type + * + * @return the value of jsh_depothead.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.Type + * + * @param type the value for jsh_depothead.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.SubType + * + * @return the value of jsh_depothead.SubType + * + * @mbggenerated + */ + public String getSubtype() { + return subtype; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.SubType + * + * @param subtype the value for jsh_depothead.SubType + * + * @mbggenerated + */ + public void setSubtype(String subtype) { + this.subtype = subtype == null ? null : subtype.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.ProjectId + * + * @return the value of jsh_depothead.ProjectId + * + * @mbggenerated + */ + public Long getProjectid() { + return projectid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.ProjectId + * + * @param projectid the value for jsh_depothead.ProjectId + * + * @mbggenerated + */ + public void setProjectid(Long projectid) { + this.projectid = projectid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.DefaultNumber + * + * @return the value of jsh_depothead.DefaultNumber + * + * @mbggenerated + */ + public String getDefaultnumber() { + return defaultnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.DefaultNumber + * + * @param defaultnumber the value for jsh_depothead.DefaultNumber + * + * @mbggenerated + */ + public void setDefaultnumber(String defaultnumber) { + this.defaultnumber = defaultnumber == null ? null : defaultnumber.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.Number + * + * @return the value of jsh_depothead.Number + * + * @mbggenerated + */ + public String getNumber() { + return number; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.Number + * + * @param number the value for jsh_depothead.Number + * + * @mbggenerated + */ + public void setNumber(String number) { + this.number = number == null ? null : number.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.OperPersonName + * + * @return the value of jsh_depothead.OperPersonName + * + * @mbggenerated + */ + public String getOperpersonname() { + return operpersonname; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.OperPersonName + * + * @param operpersonname the value for jsh_depothead.OperPersonName + * + * @mbggenerated + */ + public void setOperpersonname(String operpersonname) { + this.operpersonname = operpersonname == null ? null : operpersonname.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.CreateTime + * + * @return the value of jsh_depothead.CreateTime + * + * @mbggenerated + */ + public Date getCreatetime() { + return createtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.CreateTime + * + * @param createtime the value for jsh_depothead.CreateTime + * + * @mbggenerated + */ + public void setCreatetime(Date createtime) { + this.createtime = createtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.OperTime + * + * @return the value of jsh_depothead.OperTime + * + * @mbggenerated + */ + public Date getOpertime() { + return opertime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.OperTime + * + * @param opertime the value for jsh_depothead.OperTime + * + * @mbggenerated + */ + public void setOpertime(Date opertime) { + this.opertime = opertime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.OrganId + * + * @return the value of jsh_depothead.OrganId + * + * @mbggenerated + */ + public Long getOrganid() { + return organid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.OrganId + * + * @param organid the value for jsh_depothead.OrganId + * + * @mbggenerated + */ + public void setOrganid(Long organid) { + this.organid = organid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.HandsPersonId + * + * @return the value of jsh_depothead.HandsPersonId + * + * @mbggenerated + */ + public Long getHandspersonid() { + return handspersonid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.HandsPersonId + * + * @param handspersonid the value for jsh_depothead.HandsPersonId + * + * @mbggenerated + */ + public void setHandspersonid(Long handspersonid) { + this.handspersonid = handspersonid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.AccountId + * + * @return the value of jsh_depothead.AccountId + * + * @mbggenerated + */ + public Long getAccountid() { + return accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.AccountId + * + * @param accountid the value for jsh_depothead.AccountId + * + * @mbggenerated + */ + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.ChangeAmount + * + * @return the value of jsh_depothead.ChangeAmount + * + * @mbggenerated + */ + public Double getChangeamount() { + return changeamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.ChangeAmount + * + * @param changeamount the value for jsh_depothead.ChangeAmount + * + * @mbggenerated + */ + public void setChangeamount(Double changeamount) { + this.changeamount = changeamount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.AllocationProjectId + * + * @return the value of jsh_depothead.AllocationProjectId + * + * @mbggenerated + */ + public Long getAllocationprojectid() { + return allocationprojectid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.AllocationProjectId + * + * @param allocationprojectid the value for jsh_depothead.AllocationProjectId + * + * @mbggenerated + */ + public void setAllocationprojectid(Long allocationprojectid) { + this.allocationprojectid = allocationprojectid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.TotalPrice + * + * @return the value of jsh_depothead.TotalPrice + * + * @mbggenerated + */ + public Double getTotalprice() { + return totalprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.TotalPrice + * + * @param totalprice the value for jsh_depothead.TotalPrice + * + * @mbggenerated + */ + public void setTotalprice(Double totalprice) { + this.totalprice = totalprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.PayType + * + * @return the value of jsh_depothead.PayType + * + * @mbggenerated + */ + public String getPaytype() { + return paytype; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.PayType + * + * @param paytype the value for jsh_depothead.PayType + * + * @mbggenerated + */ + public void setPaytype(String paytype) { + this.paytype = paytype == null ? null : paytype.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.Remark + * + * @return the value of jsh_depothead.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.Remark + * + * @param remark the value for jsh_depothead.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.Salesman + * + * @return the value of jsh_depothead.Salesman + * + * @mbggenerated + */ + public String getSalesman() { + return salesman; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.Salesman + * + * @param salesman the value for jsh_depothead.Salesman + * + * @mbggenerated + */ + public void setSalesman(String salesman) { + this.salesman = salesman == null ? null : salesman.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.AccountIdList + * + * @return the value of jsh_depothead.AccountIdList + * + * @mbggenerated + */ + public String getAccountidlist() { + return accountidlist; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.AccountIdList + * + * @param accountidlist the value for jsh_depothead.AccountIdList + * + * @mbggenerated + */ + public void setAccountidlist(String accountidlist) { + this.accountidlist = accountidlist == null ? null : accountidlist.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.AccountMoneyList + * + * @return the value of jsh_depothead.AccountMoneyList + * + * @mbggenerated + */ + public String getAccountmoneylist() { + return accountmoneylist; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.AccountMoneyList + * + * @param accountmoneylist the value for jsh_depothead.AccountMoneyList + * + * @mbggenerated + */ + public void setAccountmoneylist(String accountmoneylist) { + this.accountmoneylist = accountmoneylist == null ? null : accountmoneylist.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.Discount + * + * @return the value of jsh_depothead.Discount + * + * @mbggenerated + */ + public Double getDiscount() { + return discount; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.Discount + * + * @param discount the value for jsh_depothead.Discount + * + * @mbggenerated + */ + public void setDiscount(Double discount) { + this.discount = discount; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.DiscountMoney + * + * @return the value of jsh_depothead.DiscountMoney + * + * @mbggenerated + */ + public Double getDiscountmoney() { + return discountmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.DiscountMoney + * + * @param discountmoney the value for jsh_depothead.DiscountMoney + * + * @mbggenerated + */ + public void setDiscountmoney(Double discountmoney) { + this.discountmoney = discountmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.DiscountLastMoney + * + * @return the value of jsh_depothead.DiscountLastMoney + * + * @mbggenerated + */ + public Double getDiscountlastmoney() { + return discountlastmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.DiscountLastMoney + * + * @param discountlastmoney the value for jsh_depothead.DiscountLastMoney + * + * @mbggenerated + */ + public void setDiscountlastmoney(Double discountlastmoney) { + this.discountlastmoney = discountlastmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.OtherMoney + * + * @return the value of jsh_depothead.OtherMoney + * + * @mbggenerated + */ + public Double getOthermoney() { + return othermoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.OtherMoney + * + * @param othermoney the value for jsh_depothead.OtherMoney + * + * @mbggenerated + */ + public void setOthermoney(Double othermoney) { + this.othermoney = othermoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.OtherMoneyList + * + * @return the value of jsh_depothead.OtherMoneyList + * + * @mbggenerated + */ + public String getOthermoneylist() { + return othermoneylist; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.OtherMoneyList + * + * @param othermoneylist the value for jsh_depothead.OtherMoneyList + * + * @mbggenerated + */ + public void setOthermoneylist(String othermoneylist) { + this.othermoneylist = othermoneylist == null ? null : othermoneylist.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.OtherMoneyItem + * + * @return the value of jsh_depothead.OtherMoneyItem + * + * @mbggenerated + */ + public String getOthermoneyitem() { + return othermoneyitem; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.OtherMoneyItem + * + * @param othermoneyitem the value for jsh_depothead.OtherMoneyItem + * + * @mbggenerated + */ + public void setOthermoneyitem(String othermoneyitem) { + this.othermoneyitem = othermoneyitem == null ? null : othermoneyitem.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.AccountDay + * + * @return the value of jsh_depothead.AccountDay + * + * @mbggenerated + */ + public Integer getAccountday() { + return accountday; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.AccountDay + * + * @param accountday the value for jsh_depothead.AccountDay + * + * @mbggenerated + */ + public void setAccountday(Integer accountday) { + this.accountday = accountday; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.Status + * + * @return the value of jsh_depothead.Status + * + * @mbggenerated + */ + public Boolean getStatus() { + return status; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.Status + * + * @param status the value for jsh_depothead.Status + * + * @mbggenerated + */ + public void setStatus(Boolean status) { + this.status = status; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java b/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java new file mode 100644 index 0000000000000000000000000000000000000000..416e8aa7043cdc73a33e3e40ffa7a654d9011f02 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java @@ -0,0 +1,2103 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class DepotHeadExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public DepotHeadExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andSubtypeIsNull() { + addCriterion("SubType is null"); + return (Criteria) this; + } + + public Criteria andSubtypeIsNotNull() { + addCriterion("SubType is not null"); + return (Criteria) this; + } + + public Criteria andSubtypeEqualTo(String value) { + addCriterion("SubType =", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeNotEqualTo(String value) { + addCriterion("SubType <>", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeGreaterThan(String value) { + addCriterion("SubType >", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeGreaterThanOrEqualTo(String value) { + addCriterion("SubType >=", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeLessThan(String value) { + addCriterion("SubType <", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeLessThanOrEqualTo(String value) { + addCriterion("SubType <=", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeLike(String value) { + addCriterion("SubType like", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeNotLike(String value) { + addCriterion("SubType not like", value, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeIn(List values) { + addCriterion("SubType in", values, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeNotIn(List values) { + addCriterion("SubType not in", values, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeBetween(String value1, String value2) { + addCriterion("SubType between", value1, value2, "subtype"); + return (Criteria) this; + } + + public Criteria andSubtypeNotBetween(String value1, String value2) { + addCriterion("SubType not between", value1, value2, "subtype"); + return (Criteria) this; + } + + public Criteria andProjectidIsNull() { + addCriterion("ProjectId is null"); + return (Criteria) this; + } + + public Criteria andProjectidIsNotNull() { + addCriterion("ProjectId is not null"); + return (Criteria) this; + } + + public Criteria andProjectidEqualTo(Long value) { + addCriterion("ProjectId =", value, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidNotEqualTo(Long value) { + addCriterion("ProjectId <>", value, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidGreaterThan(Long value) { + addCriterion("ProjectId >", value, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidGreaterThanOrEqualTo(Long value) { + addCriterion("ProjectId >=", value, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidLessThan(Long value) { + addCriterion("ProjectId <", value, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidLessThanOrEqualTo(Long value) { + addCriterion("ProjectId <=", value, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidIn(List values) { + addCriterion("ProjectId in", values, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidNotIn(List values) { + addCriterion("ProjectId not in", values, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidBetween(Long value1, Long value2) { + addCriterion("ProjectId between", value1, value2, "projectid"); + return (Criteria) this; + } + + public Criteria andProjectidNotBetween(Long value1, Long value2) { + addCriterion("ProjectId not between", value1, value2, "projectid"); + return (Criteria) this; + } + + public Criteria andDefaultnumberIsNull() { + addCriterion("DefaultNumber is null"); + return (Criteria) this; + } + + public Criteria andDefaultnumberIsNotNull() { + addCriterion("DefaultNumber is not null"); + return (Criteria) this; + } + + public Criteria andDefaultnumberEqualTo(String value) { + addCriterion("DefaultNumber =", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberNotEqualTo(String value) { + addCriterion("DefaultNumber <>", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberGreaterThan(String value) { + addCriterion("DefaultNumber >", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberGreaterThanOrEqualTo(String value) { + addCriterion("DefaultNumber >=", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberLessThan(String value) { + addCriterion("DefaultNumber <", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberLessThanOrEqualTo(String value) { + addCriterion("DefaultNumber <=", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberLike(String value) { + addCriterion("DefaultNumber like", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberNotLike(String value) { + addCriterion("DefaultNumber not like", value, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberIn(List values) { + addCriterion("DefaultNumber in", values, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberNotIn(List values) { + addCriterion("DefaultNumber not in", values, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberBetween(String value1, String value2) { + addCriterion("DefaultNumber between", value1, value2, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andDefaultnumberNotBetween(String value1, String value2) { + addCriterion("DefaultNumber not between", value1, value2, "defaultnumber"); + return (Criteria) this; + } + + public Criteria andNumberIsNull() { + addCriterion("Number is null"); + return (Criteria) this; + } + + public Criteria andNumberIsNotNull() { + addCriterion("Number is not null"); + return (Criteria) this; + } + + public Criteria andNumberEqualTo(String value) { + addCriterion("Number =", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotEqualTo(String value) { + addCriterion("Number <>", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThan(String value) { + addCriterion("Number >", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThanOrEqualTo(String value) { + addCriterion("Number >=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThan(String value) { + addCriterion("Number <", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThanOrEqualTo(String value) { + addCriterion("Number <=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLike(String value) { + addCriterion("Number like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotLike(String value) { + addCriterion("Number not like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberIn(List values) { + addCriterion("Number in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotIn(List values) { + addCriterion("Number not in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberBetween(String value1, String value2) { + addCriterion("Number between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotBetween(String value1, String value2) { + addCriterion("Number not between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andOperpersonnameIsNull() { + addCriterion("OperPersonName is null"); + return (Criteria) this; + } + + public Criteria andOperpersonnameIsNotNull() { + addCriterion("OperPersonName is not null"); + return (Criteria) this; + } + + public Criteria andOperpersonnameEqualTo(String value) { + addCriterion("OperPersonName =", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameNotEqualTo(String value) { + addCriterion("OperPersonName <>", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameGreaterThan(String value) { + addCriterion("OperPersonName >", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameGreaterThanOrEqualTo(String value) { + addCriterion("OperPersonName >=", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameLessThan(String value) { + addCriterion("OperPersonName <", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameLessThanOrEqualTo(String value) { + addCriterion("OperPersonName <=", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameLike(String value) { + addCriterion("OperPersonName like", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameNotLike(String value) { + addCriterion("OperPersonName not like", value, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameIn(List values) { + addCriterion("OperPersonName in", values, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameNotIn(List values) { + addCriterion("OperPersonName not in", values, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameBetween(String value1, String value2) { + addCriterion("OperPersonName between", value1, value2, "operpersonname"); + return (Criteria) this; + } + + public Criteria andOperpersonnameNotBetween(String value1, String value2) { + addCriterion("OperPersonName not between", value1, value2, "operpersonname"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNull() { + addCriterion("CreateTime is null"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNotNull() { + addCriterion("CreateTime is not null"); + return (Criteria) this; + } + + public Criteria andCreatetimeEqualTo(Date value) { + addCriterion("CreateTime =", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotEqualTo(Date value) { + addCriterion("CreateTime <>", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThan(Date value) { + addCriterion("CreateTime >", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) { + addCriterion("CreateTime >=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThan(Date value) { + addCriterion("CreateTime <", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThanOrEqualTo(Date value) { + addCriterion("CreateTime <=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeIn(List values) { + addCriterion("CreateTime in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotIn(List values) { + addCriterion("CreateTime not in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeBetween(Date value1, Date value2) { + addCriterion("CreateTime between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotBetween(Date value1, Date value2) { + addCriterion("CreateTime not between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andOpertimeIsNull() { + addCriterion("OperTime is null"); + return (Criteria) this; + } + + public Criteria andOpertimeIsNotNull() { + addCriterion("OperTime is not null"); + return (Criteria) this; + } + + public Criteria andOpertimeEqualTo(Date value) { + addCriterion("OperTime =", value, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeNotEqualTo(Date value) { + addCriterion("OperTime <>", value, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeGreaterThan(Date value) { + addCriterion("OperTime >", value, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeGreaterThanOrEqualTo(Date value) { + addCriterion("OperTime >=", value, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeLessThan(Date value) { + addCriterion("OperTime <", value, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeLessThanOrEqualTo(Date value) { + addCriterion("OperTime <=", value, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeIn(List values) { + addCriterion("OperTime in", values, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeNotIn(List values) { + addCriterion("OperTime not in", values, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeBetween(Date value1, Date value2) { + addCriterion("OperTime between", value1, value2, "opertime"); + return (Criteria) this; + } + + public Criteria andOpertimeNotBetween(Date value1, Date value2) { + addCriterion("OperTime not between", value1, value2, "opertime"); + return (Criteria) this; + } + + public Criteria andOrganidIsNull() { + addCriterion("OrganId is null"); + return (Criteria) this; + } + + public Criteria andOrganidIsNotNull() { + addCriterion("OrganId is not null"); + return (Criteria) this; + } + + public Criteria andOrganidEqualTo(Long value) { + addCriterion("OrganId =", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotEqualTo(Long value) { + addCriterion("OrganId <>", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidGreaterThan(Long value) { + addCriterion("OrganId >", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidGreaterThanOrEqualTo(Long value) { + addCriterion("OrganId >=", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidLessThan(Long value) { + addCriterion("OrganId <", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidLessThanOrEqualTo(Long value) { + addCriterion("OrganId <=", value, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidIn(List values) { + addCriterion("OrganId in", values, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotIn(List values) { + addCriterion("OrganId not in", values, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidBetween(Long value1, Long value2) { + addCriterion("OrganId between", value1, value2, "organid"); + return (Criteria) this; + } + + public Criteria andOrganidNotBetween(Long value1, Long value2) { + addCriterion("OrganId not between", value1, value2, "organid"); + return (Criteria) this; + } + + public Criteria andHandspersonidIsNull() { + addCriterion("HandsPersonId is null"); + return (Criteria) this; + } + + public Criteria andHandspersonidIsNotNull() { + addCriterion("HandsPersonId is not null"); + return (Criteria) this; + } + + public Criteria andHandspersonidEqualTo(Long value) { + addCriterion("HandsPersonId =", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotEqualTo(Long value) { + addCriterion("HandsPersonId <>", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidGreaterThan(Long value) { + addCriterion("HandsPersonId >", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidGreaterThanOrEqualTo(Long value) { + addCriterion("HandsPersonId >=", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidLessThan(Long value) { + addCriterion("HandsPersonId <", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidLessThanOrEqualTo(Long value) { + addCriterion("HandsPersonId <=", value, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidIn(List values) { + addCriterion("HandsPersonId in", values, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotIn(List values) { + addCriterion("HandsPersonId not in", values, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidBetween(Long value1, Long value2) { + addCriterion("HandsPersonId between", value1, value2, "handspersonid"); + return (Criteria) this; + } + + public Criteria andHandspersonidNotBetween(Long value1, Long value2) { + addCriterion("HandsPersonId not between", value1, value2, "handspersonid"); + return (Criteria) this; + } + + public Criteria andAccountidIsNull() { + addCriterion("AccountId is null"); + return (Criteria) this; + } + + public Criteria andAccountidIsNotNull() { + addCriterion("AccountId is not null"); + return (Criteria) this; + } + + public Criteria andAccountidEqualTo(Long value) { + addCriterion("AccountId =", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotEqualTo(Long value) { + addCriterion("AccountId <>", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThan(Long value) { + addCriterion("AccountId >", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidGreaterThanOrEqualTo(Long value) { + addCriterion("AccountId >=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThan(Long value) { + addCriterion("AccountId <", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidLessThanOrEqualTo(Long value) { + addCriterion("AccountId <=", value, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidIn(List values) { + addCriterion("AccountId in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotIn(List values) { + addCriterion("AccountId not in", values, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidBetween(Long value1, Long value2) { + addCriterion("AccountId between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andAccountidNotBetween(Long value1, Long value2) { + addCriterion("AccountId not between", value1, value2, "accountid"); + return (Criteria) this; + } + + public Criteria andChangeamountIsNull() { + addCriterion("ChangeAmount is null"); + return (Criteria) this; + } + + public Criteria andChangeamountIsNotNull() { + addCriterion("ChangeAmount is not null"); + return (Criteria) this; + } + + public Criteria andChangeamountEqualTo(Double value) { + addCriterion("ChangeAmount =", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotEqualTo(Double value) { + addCriterion("ChangeAmount <>", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThan(Double value) { + addCriterion("ChangeAmount >", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThanOrEqualTo(Double value) { + addCriterion("ChangeAmount >=", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThan(Double value) { + addCriterion("ChangeAmount <", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThanOrEqualTo(Double value) { + addCriterion("ChangeAmount <=", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountIn(List values) { + addCriterion("ChangeAmount in", values, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotIn(List values) { + addCriterion("ChangeAmount not in", values, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountBetween(Double value1, Double value2) { + addCriterion("ChangeAmount between", value1, value2, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotBetween(Double value1, Double value2) { + addCriterion("ChangeAmount not between", value1, value2, "changeamount"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidIsNull() { + addCriterion("AllocationProjectId is null"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidIsNotNull() { + addCriterion("AllocationProjectId is not null"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidEqualTo(Long value) { + addCriterion("AllocationProjectId =", value, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidNotEqualTo(Long value) { + addCriterion("AllocationProjectId <>", value, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidGreaterThan(Long value) { + addCriterion("AllocationProjectId >", value, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidGreaterThanOrEqualTo(Long value) { + addCriterion("AllocationProjectId >=", value, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidLessThan(Long value) { + addCriterion("AllocationProjectId <", value, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidLessThanOrEqualTo(Long value) { + addCriterion("AllocationProjectId <=", value, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidIn(List values) { + addCriterion("AllocationProjectId in", values, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidNotIn(List values) { + addCriterion("AllocationProjectId not in", values, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidBetween(Long value1, Long value2) { + addCriterion("AllocationProjectId between", value1, value2, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andAllocationprojectidNotBetween(Long value1, Long value2) { + addCriterion("AllocationProjectId not between", value1, value2, "allocationprojectid"); + return (Criteria) this; + } + + public Criteria andTotalpriceIsNull() { + addCriterion("TotalPrice is null"); + return (Criteria) this; + } + + public Criteria andTotalpriceIsNotNull() { + addCriterion("TotalPrice is not null"); + return (Criteria) this; + } + + public Criteria andTotalpriceEqualTo(Double value) { + addCriterion("TotalPrice =", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotEqualTo(Double value) { + addCriterion("TotalPrice <>", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThan(Double value) { + addCriterion("TotalPrice >", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThanOrEqualTo(Double value) { + addCriterion("TotalPrice >=", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThan(Double value) { + addCriterion("TotalPrice <", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThanOrEqualTo(Double value) { + addCriterion("TotalPrice <=", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceIn(List values) { + addCriterion("TotalPrice in", values, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotIn(List values) { + addCriterion("TotalPrice not in", values, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceBetween(Double value1, Double value2) { + addCriterion("TotalPrice between", value1, value2, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotBetween(Double value1, Double value2) { + addCriterion("TotalPrice not between", value1, value2, "totalprice"); + return (Criteria) this; + } + + public Criteria andPaytypeIsNull() { + addCriterion("PayType is null"); + return (Criteria) this; + } + + public Criteria andPaytypeIsNotNull() { + addCriterion("PayType is not null"); + return (Criteria) this; + } + + public Criteria andPaytypeEqualTo(String value) { + addCriterion("PayType =", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeNotEqualTo(String value) { + addCriterion("PayType <>", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeGreaterThan(String value) { + addCriterion("PayType >", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeGreaterThanOrEqualTo(String value) { + addCriterion("PayType >=", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeLessThan(String value) { + addCriterion("PayType <", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeLessThanOrEqualTo(String value) { + addCriterion("PayType <=", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeLike(String value) { + addCriterion("PayType like", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeNotLike(String value) { + addCriterion("PayType not like", value, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeIn(List values) { + addCriterion("PayType in", values, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeNotIn(List values) { + addCriterion("PayType not in", values, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeBetween(String value1, String value2) { + addCriterion("PayType between", value1, value2, "paytype"); + return (Criteria) this; + } + + public Criteria andPaytypeNotBetween(String value1, String value2) { + addCriterion("PayType not between", value1, value2, "paytype"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andSalesmanIsNull() { + addCriterion("Salesman is null"); + return (Criteria) this; + } + + public Criteria andSalesmanIsNotNull() { + addCriterion("Salesman is not null"); + return (Criteria) this; + } + + public Criteria andSalesmanEqualTo(String value) { + addCriterion("Salesman =", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanNotEqualTo(String value) { + addCriterion("Salesman <>", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanGreaterThan(String value) { + addCriterion("Salesman >", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanGreaterThanOrEqualTo(String value) { + addCriterion("Salesman >=", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanLessThan(String value) { + addCriterion("Salesman <", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanLessThanOrEqualTo(String value) { + addCriterion("Salesman <=", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanLike(String value) { + addCriterion("Salesman like", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanNotLike(String value) { + addCriterion("Salesman not like", value, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanIn(List values) { + addCriterion("Salesman in", values, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanNotIn(List values) { + addCriterion("Salesman not in", values, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanBetween(String value1, String value2) { + addCriterion("Salesman between", value1, value2, "salesman"); + return (Criteria) this; + } + + public Criteria andSalesmanNotBetween(String value1, String value2) { + addCriterion("Salesman not between", value1, value2, "salesman"); + return (Criteria) this; + } + + public Criteria andAccountidlistIsNull() { + addCriterion("AccountIdList is null"); + return (Criteria) this; + } + + public Criteria andAccountidlistIsNotNull() { + addCriterion("AccountIdList is not null"); + return (Criteria) this; + } + + public Criteria andAccountidlistEqualTo(String value) { + addCriterion("AccountIdList =", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistNotEqualTo(String value) { + addCriterion("AccountIdList <>", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistGreaterThan(String value) { + addCriterion("AccountIdList >", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistGreaterThanOrEqualTo(String value) { + addCriterion("AccountIdList >=", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistLessThan(String value) { + addCriterion("AccountIdList <", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistLessThanOrEqualTo(String value) { + addCriterion("AccountIdList <=", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistLike(String value) { + addCriterion("AccountIdList like", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistNotLike(String value) { + addCriterion("AccountIdList not like", value, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistIn(List values) { + addCriterion("AccountIdList in", values, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistNotIn(List values) { + addCriterion("AccountIdList not in", values, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistBetween(String value1, String value2) { + addCriterion("AccountIdList between", value1, value2, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountidlistNotBetween(String value1, String value2) { + addCriterion("AccountIdList not between", value1, value2, "accountidlist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistIsNull() { + addCriterion("AccountMoneyList is null"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistIsNotNull() { + addCriterion("AccountMoneyList is not null"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistEqualTo(String value) { + addCriterion("AccountMoneyList =", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistNotEqualTo(String value) { + addCriterion("AccountMoneyList <>", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistGreaterThan(String value) { + addCriterion("AccountMoneyList >", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistGreaterThanOrEqualTo(String value) { + addCriterion("AccountMoneyList >=", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistLessThan(String value) { + addCriterion("AccountMoneyList <", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistLessThanOrEqualTo(String value) { + addCriterion("AccountMoneyList <=", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistLike(String value) { + addCriterion("AccountMoneyList like", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistNotLike(String value) { + addCriterion("AccountMoneyList not like", value, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistIn(List values) { + addCriterion("AccountMoneyList in", values, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistNotIn(List values) { + addCriterion("AccountMoneyList not in", values, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistBetween(String value1, String value2) { + addCriterion("AccountMoneyList between", value1, value2, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andAccountmoneylistNotBetween(String value1, String value2) { + addCriterion("AccountMoneyList not between", value1, value2, "accountmoneylist"); + return (Criteria) this; + } + + public Criteria andDiscountIsNull() { + addCriterion("Discount is null"); + return (Criteria) this; + } + + public Criteria andDiscountIsNotNull() { + addCriterion("Discount is not null"); + return (Criteria) this; + } + + public Criteria andDiscountEqualTo(Double value) { + addCriterion("Discount =", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotEqualTo(Double value) { + addCriterion("Discount <>", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThan(Double value) { + addCriterion("Discount >", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThanOrEqualTo(Double value) { + addCriterion("Discount >=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThan(Double value) { + addCriterion("Discount <", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThanOrEqualTo(Double value) { + addCriterion("Discount <=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountIn(List values) { + addCriterion("Discount in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotIn(List values) { + addCriterion("Discount not in", values, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountBetween(Double value1, Double value2) { + addCriterion("Discount between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotBetween(Double value1, Double value2) { + addCriterion("Discount not between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyIsNull() { + addCriterion("DiscountMoney is null"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyIsNotNull() { + addCriterion("DiscountMoney is not null"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyEqualTo(Double value) { + addCriterion("DiscountMoney =", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyNotEqualTo(Double value) { + addCriterion("DiscountMoney <>", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyGreaterThan(Double value) { + addCriterion("DiscountMoney >", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyGreaterThanOrEqualTo(Double value) { + addCriterion("DiscountMoney >=", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyLessThan(Double value) { + addCriterion("DiscountMoney <", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyLessThanOrEqualTo(Double value) { + addCriterion("DiscountMoney <=", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyIn(List values) { + addCriterion("DiscountMoney in", values, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyNotIn(List values) { + addCriterion("DiscountMoney not in", values, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyBetween(Double value1, Double value2) { + addCriterion("DiscountMoney between", value1, value2, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyNotBetween(Double value1, Double value2) { + addCriterion("DiscountMoney not between", value1, value2, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyIsNull() { + addCriterion("DiscountLastMoney is null"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyIsNotNull() { + addCriterion("DiscountLastMoney is not null"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyEqualTo(Double value) { + addCriterion("DiscountLastMoney =", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyNotEqualTo(Double value) { + addCriterion("DiscountLastMoney <>", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyGreaterThan(Double value) { + addCriterion("DiscountLastMoney >", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyGreaterThanOrEqualTo(Double value) { + addCriterion("DiscountLastMoney >=", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyLessThan(Double value) { + addCriterion("DiscountLastMoney <", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyLessThanOrEqualTo(Double value) { + addCriterion("DiscountLastMoney <=", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyIn(List values) { + addCriterion("DiscountLastMoney in", values, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyNotIn(List values) { + addCriterion("DiscountLastMoney not in", values, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyBetween(Double value1, Double value2) { + addCriterion("DiscountLastMoney between", value1, value2, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyNotBetween(Double value1, Double value2) { + addCriterion("DiscountLastMoney not between", value1, value2, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyIsNull() { + addCriterion("OtherMoney is null"); + return (Criteria) this; + } + + public Criteria andOthermoneyIsNotNull() { + addCriterion("OtherMoney is not null"); + return (Criteria) this; + } + + public Criteria andOthermoneyEqualTo(Double value) { + addCriterion("OtherMoney =", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyNotEqualTo(Double value) { + addCriterion("OtherMoney <>", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyGreaterThan(Double value) { + addCriterion("OtherMoney >", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyGreaterThanOrEqualTo(Double value) { + addCriterion("OtherMoney >=", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyLessThan(Double value) { + addCriterion("OtherMoney <", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyLessThanOrEqualTo(Double value) { + addCriterion("OtherMoney <=", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyIn(List values) { + addCriterion("OtherMoney in", values, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyNotIn(List values) { + addCriterion("OtherMoney not in", values, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyBetween(Double value1, Double value2) { + addCriterion("OtherMoney between", value1, value2, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyNotBetween(Double value1, Double value2) { + addCriterion("OtherMoney not between", value1, value2, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneylistIsNull() { + addCriterion("OtherMoneyList is null"); + return (Criteria) this; + } + + public Criteria andOthermoneylistIsNotNull() { + addCriterion("OtherMoneyList is not null"); + return (Criteria) this; + } + + public Criteria andOthermoneylistEqualTo(String value) { + addCriterion("OtherMoneyList =", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistNotEqualTo(String value) { + addCriterion("OtherMoneyList <>", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistGreaterThan(String value) { + addCriterion("OtherMoneyList >", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistGreaterThanOrEqualTo(String value) { + addCriterion("OtherMoneyList >=", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistLessThan(String value) { + addCriterion("OtherMoneyList <", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistLessThanOrEqualTo(String value) { + addCriterion("OtherMoneyList <=", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistLike(String value) { + addCriterion("OtherMoneyList like", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistNotLike(String value) { + addCriterion("OtherMoneyList not like", value, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistIn(List values) { + addCriterion("OtherMoneyList in", values, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistNotIn(List values) { + addCriterion("OtherMoneyList not in", values, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistBetween(String value1, String value2) { + addCriterion("OtherMoneyList between", value1, value2, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneylistNotBetween(String value1, String value2) { + addCriterion("OtherMoneyList not between", value1, value2, "othermoneylist"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemIsNull() { + addCriterion("OtherMoneyItem is null"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemIsNotNull() { + addCriterion("OtherMoneyItem is not null"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemEqualTo(String value) { + addCriterion("OtherMoneyItem =", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemNotEqualTo(String value) { + addCriterion("OtherMoneyItem <>", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemGreaterThan(String value) { + addCriterion("OtherMoneyItem >", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemGreaterThanOrEqualTo(String value) { + addCriterion("OtherMoneyItem >=", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemLessThan(String value) { + addCriterion("OtherMoneyItem <", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemLessThanOrEqualTo(String value) { + addCriterion("OtherMoneyItem <=", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemLike(String value) { + addCriterion("OtherMoneyItem like", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemNotLike(String value) { + addCriterion("OtherMoneyItem not like", value, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemIn(List values) { + addCriterion("OtherMoneyItem in", values, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemNotIn(List values) { + addCriterion("OtherMoneyItem not in", values, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemBetween(String value1, String value2) { + addCriterion("OtherMoneyItem between", value1, value2, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andOthermoneyitemNotBetween(String value1, String value2) { + addCriterion("OtherMoneyItem not between", value1, value2, "othermoneyitem"); + return (Criteria) this; + } + + public Criteria andAccountdayIsNull() { + addCriterion("AccountDay is null"); + return (Criteria) this; + } + + public Criteria andAccountdayIsNotNull() { + addCriterion("AccountDay is not null"); + return (Criteria) this; + } + + public Criteria andAccountdayEqualTo(Integer value) { + addCriterion("AccountDay =", value, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayNotEqualTo(Integer value) { + addCriterion("AccountDay <>", value, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayGreaterThan(Integer value) { + addCriterion("AccountDay >", value, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayGreaterThanOrEqualTo(Integer value) { + addCriterion("AccountDay >=", value, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayLessThan(Integer value) { + addCriterion("AccountDay <", value, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayLessThanOrEqualTo(Integer value) { + addCriterion("AccountDay <=", value, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayIn(List values) { + addCriterion("AccountDay in", values, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayNotIn(List values) { + addCriterion("AccountDay not in", values, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayBetween(Integer value1, Integer value2) { + addCriterion("AccountDay between", value1, value2, "accountday"); + return (Criteria) this; + } + + public Criteria andAccountdayNotBetween(Integer value1, Integer value2) { + addCriterion("AccountDay not between", value1, value2, "accountday"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("Status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("Status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Boolean value) { + addCriterion("Status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Boolean value) { + addCriterion("Status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Boolean value) { + addCriterion("Status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Boolean value) { + addCriterion("Status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Boolean value) { + addCriterion("Status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Boolean value) { + addCriterion("Status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("Status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("Status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Boolean value1, Boolean value2) { + addCriterion("Status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Boolean value1, Boolean value2) { + addCriterion("Status not between", value1, value2, "status"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depothead + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItem.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItem.java new file mode 100644 index 0000000000000000000000000000000000000000..933166264fe53916b4f1e1c348acdb5d8de899d0 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItem.java @@ -0,0 +1,739 @@ +package com.jsh.erp.datasource.entities; + +public class DepotItem { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.HeaderId + * + * @mbggenerated + */ + private Long headerid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.MaterialId + * + * @mbggenerated + */ + private Long materialid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.MUnit + * + * @mbggenerated + */ + private String munit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OperNumber + * + * @mbggenerated + */ + private Double opernumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.BasicNumber + * + * @mbggenerated + */ + private Double basicnumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.UnitPrice + * + * @mbggenerated + */ + private Double unitprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxUnitPrice + * + * @mbggenerated + */ + private Double taxunitprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.AllPrice + * + * @mbggenerated + */ + private Double allprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Img + * + * @mbggenerated + */ + private String img; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.Incidentals + * + * @mbggenerated + */ + private Double incidentals; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.DepotId + * + * @mbggenerated + */ + private Long depotid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.AnotherDepotId + * + * @mbggenerated + */ + private Long anotherdepotid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxRate + * + * @mbggenerated + */ + private Double taxrate; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxMoney + * + * @mbggenerated + */ + private Double taxmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.TaxLastMoney + * + * @mbggenerated + */ + private Double taxlastmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField1 + * + * @mbggenerated + */ + private String otherfield1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField2 + * + * @mbggenerated + */ + private String otherfield2; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField3 + * + * @mbggenerated + */ + private String otherfield3; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField4 + * + * @mbggenerated + */ + private String otherfield4; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.OtherField5 + * + * @mbggenerated + */ + private String otherfield5; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depotitem.MType + * + * @mbggenerated + */ + private String mtype; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Id + * + * @return the value of jsh_depotitem.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Id + * + * @param id the value for jsh_depotitem.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.HeaderId + * + * @return the value of jsh_depotitem.HeaderId + * + * @mbggenerated + */ + public Long getHeaderid() { + return headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.HeaderId + * + * @param headerid the value for jsh_depotitem.HeaderId + * + * @mbggenerated + */ + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.MaterialId + * + * @return the value of jsh_depotitem.MaterialId + * + * @mbggenerated + */ + public Long getMaterialid() { + return materialid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.MaterialId + * + * @param materialid the value for jsh_depotitem.MaterialId + * + * @mbggenerated + */ + public void setMaterialid(Long materialid) { + this.materialid = materialid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.MUnit + * + * @return the value of jsh_depotitem.MUnit + * + * @mbggenerated + */ + public String getMunit() { + return munit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.MUnit + * + * @param munit the value for jsh_depotitem.MUnit + * + * @mbggenerated + */ + public void setMunit(String munit) { + this.munit = munit == null ? null : munit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OperNumber + * + * @return the value of jsh_depotitem.OperNumber + * + * @mbggenerated + */ + public Double getOpernumber() { + return opernumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OperNumber + * + * @param opernumber the value for jsh_depotitem.OperNumber + * + * @mbggenerated + */ + public void setOpernumber(Double opernumber) { + this.opernumber = opernumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.BasicNumber + * + * @return the value of jsh_depotitem.BasicNumber + * + * @mbggenerated + */ + public Double getBasicnumber() { + return basicnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.BasicNumber + * + * @param basicnumber the value for jsh_depotitem.BasicNumber + * + * @mbggenerated + */ + public void setBasicnumber(Double basicnumber) { + this.basicnumber = basicnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.UnitPrice + * + * @return the value of jsh_depotitem.UnitPrice + * + * @mbggenerated + */ + public Double getUnitprice() { + return unitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.UnitPrice + * + * @param unitprice the value for jsh_depotitem.UnitPrice + * + * @mbggenerated + */ + public void setUnitprice(Double unitprice) { + this.unitprice = unitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxUnitPrice + * + * @return the value of jsh_depotitem.TaxUnitPrice + * + * @mbggenerated + */ + public Double getTaxunitprice() { + return taxunitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxUnitPrice + * + * @param taxunitprice the value for jsh_depotitem.TaxUnitPrice + * + * @mbggenerated + */ + public void setTaxunitprice(Double taxunitprice) { + this.taxunitprice = taxunitprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.AllPrice + * + * @return the value of jsh_depotitem.AllPrice + * + * @mbggenerated + */ + public Double getAllprice() { + return allprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.AllPrice + * + * @param allprice the value for jsh_depotitem.AllPrice + * + * @mbggenerated + */ + public void setAllprice(Double allprice) { + this.allprice = allprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Remark + * + * @return the value of jsh_depotitem.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Remark + * + * @param remark the value for jsh_depotitem.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Img + * + * @return the value of jsh_depotitem.Img + * + * @mbggenerated + */ + public String getImg() { + return img; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Img + * + * @param img the value for jsh_depotitem.Img + * + * @mbggenerated + */ + public void setImg(String img) { + this.img = img == null ? null : img.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.Incidentals + * + * @return the value of jsh_depotitem.Incidentals + * + * @mbggenerated + */ + public Double getIncidentals() { + return incidentals; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.Incidentals + * + * @param incidentals the value for jsh_depotitem.Incidentals + * + * @mbggenerated + */ + public void setIncidentals(Double incidentals) { + this.incidentals = incidentals; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.DepotId + * + * @return the value of jsh_depotitem.DepotId + * + * @mbggenerated + */ + public Long getDepotid() { + return depotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.DepotId + * + * @param depotid the value for jsh_depotitem.DepotId + * + * @mbggenerated + */ + public void setDepotid(Long depotid) { + this.depotid = depotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.AnotherDepotId + * + * @return the value of jsh_depotitem.AnotherDepotId + * + * @mbggenerated + */ + public Long getAnotherdepotid() { + return anotherdepotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.AnotherDepotId + * + * @param anotherdepotid the value for jsh_depotitem.AnotherDepotId + * + * @mbggenerated + */ + public void setAnotherdepotid(Long anotherdepotid) { + this.anotherdepotid = anotherdepotid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxRate + * + * @return the value of jsh_depotitem.TaxRate + * + * @mbggenerated + */ + public Double getTaxrate() { + return taxrate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxRate + * + * @param taxrate the value for jsh_depotitem.TaxRate + * + * @mbggenerated + */ + public void setTaxrate(Double taxrate) { + this.taxrate = taxrate; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxMoney + * + * @return the value of jsh_depotitem.TaxMoney + * + * @mbggenerated + */ + public Double getTaxmoney() { + return taxmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxMoney + * + * @param taxmoney the value for jsh_depotitem.TaxMoney + * + * @mbggenerated + */ + public void setTaxmoney(Double taxmoney) { + this.taxmoney = taxmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.TaxLastMoney + * + * @return the value of jsh_depotitem.TaxLastMoney + * + * @mbggenerated + */ + public Double getTaxlastmoney() { + return taxlastmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.TaxLastMoney + * + * @param taxlastmoney the value for jsh_depotitem.TaxLastMoney + * + * @mbggenerated + */ + public void setTaxlastmoney(Double taxlastmoney) { + this.taxlastmoney = taxlastmoney; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField1 + * + * @return the value of jsh_depotitem.OtherField1 + * + * @mbggenerated + */ + public String getOtherfield1() { + return otherfield1; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField1 + * + * @param otherfield1 the value for jsh_depotitem.OtherField1 + * + * @mbggenerated + */ + public void setOtherfield1(String otherfield1) { + this.otherfield1 = otherfield1 == null ? null : otherfield1.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField2 + * + * @return the value of jsh_depotitem.OtherField2 + * + * @mbggenerated + */ + public String getOtherfield2() { + return otherfield2; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField2 + * + * @param otherfield2 the value for jsh_depotitem.OtherField2 + * + * @mbggenerated + */ + public void setOtherfield2(String otherfield2) { + this.otherfield2 = otherfield2 == null ? null : otherfield2.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField3 + * + * @return the value of jsh_depotitem.OtherField3 + * + * @mbggenerated + */ + public String getOtherfield3() { + return otherfield3; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField3 + * + * @param otherfield3 the value for jsh_depotitem.OtherField3 + * + * @mbggenerated + */ + public void setOtherfield3(String otherfield3) { + this.otherfield3 = otherfield3 == null ? null : otherfield3.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField4 + * + * @return the value of jsh_depotitem.OtherField4 + * + * @mbggenerated + */ + public String getOtherfield4() { + return otherfield4; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField4 + * + * @param otherfield4 the value for jsh_depotitem.OtherField4 + * + * @mbggenerated + */ + public void setOtherfield4(String otherfield4) { + this.otherfield4 = otherfield4 == null ? null : otherfield4.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.OtherField5 + * + * @return the value of jsh_depotitem.OtherField5 + * + * @mbggenerated + */ + public String getOtherfield5() { + return otherfield5; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.OtherField5 + * + * @param otherfield5 the value for jsh_depotitem.OtherField5 + * + * @mbggenerated + */ + public void setOtherfield5(String otherfield5) { + this.otherfield5 = otherfield5 == null ? null : otherfield5.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depotitem.MType + * + * @return the value of jsh_depotitem.MType + * + * @mbggenerated + */ + public String getMtype() { + return mtype; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depotitem.MType + * + * @param mtype the value for jsh_depotitem.MType + * + * @mbggenerated + */ + public void setMtype(String mtype) { + this.mtype = mtype == null ? null : mtype.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemExample.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemExample.java new file mode 100644 index 0000000000000000000000000000000000000000..aafd71a8262a3772491c88b9348b07ddde2efc51 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemExample.java @@ -0,0 +1,1772 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class DepotItemExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public DepotItemExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andHeaderidIsNull() { + addCriterion("HeaderId is null"); + return (Criteria) this; + } + + public Criteria andHeaderidIsNotNull() { + addCriterion("HeaderId is not null"); + return (Criteria) this; + } + + public Criteria andHeaderidEqualTo(Long value) { + addCriterion("HeaderId =", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotEqualTo(Long value) { + addCriterion("HeaderId <>", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThan(Long value) { + addCriterion("HeaderId >", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidGreaterThanOrEqualTo(Long value) { + addCriterion("HeaderId >=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThan(Long value) { + addCriterion("HeaderId <", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidLessThanOrEqualTo(Long value) { + addCriterion("HeaderId <=", value, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidIn(List values) { + addCriterion("HeaderId in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotIn(List values) { + addCriterion("HeaderId not in", values, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidBetween(Long value1, Long value2) { + addCriterion("HeaderId between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andHeaderidNotBetween(Long value1, Long value2) { + addCriterion("HeaderId not between", value1, value2, "headerid"); + return (Criteria) this; + } + + public Criteria andMaterialidIsNull() { + addCriterion("MaterialId is null"); + return (Criteria) this; + } + + public Criteria andMaterialidIsNotNull() { + addCriterion("MaterialId is not null"); + return (Criteria) this; + } + + public Criteria andMaterialidEqualTo(Long value) { + addCriterion("MaterialId =", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidNotEqualTo(Long value) { + addCriterion("MaterialId <>", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidGreaterThan(Long value) { + addCriterion("MaterialId >", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidGreaterThanOrEqualTo(Long value) { + addCriterion("MaterialId >=", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidLessThan(Long value) { + addCriterion("MaterialId <", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidLessThanOrEqualTo(Long value) { + addCriterion("MaterialId <=", value, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidIn(List values) { + addCriterion("MaterialId in", values, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidNotIn(List values) { + addCriterion("MaterialId not in", values, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidBetween(Long value1, Long value2) { + addCriterion("MaterialId between", value1, value2, "materialid"); + return (Criteria) this; + } + + public Criteria andMaterialidNotBetween(Long value1, Long value2) { + addCriterion("MaterialId not between", value1, value2, "materialid"); + return (Criteria) this; + } + + public Criteria andMunitIsNull() { + addCriterion("MUnit is null"); + return (Criteria) this; + } + + public Criteria andMunitIsNotNull() { + addCriterion("MUnit is not null"); + return (Criteria) this; + } + + public Criteria andMunitEqualTo(String value) { + addCriterion("MUnit =", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotEqualTo(String value) { + addCriterion("MUnit <>", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitGreaterThan(String value) { + addCriterion("MUnit >", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitGreaterThanOrEqualTo(String value) { + addCriterion("MUnit >=", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitLessThan(String value) { + addCriterion("MUnit <", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitLessThanOrEqualTo(String value) { + addCriterion("MUnit <=", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitLike(String value) { + addCriterion("MUnit like", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotLike(String value) { + addCriterion("MUnit not like", value, "munit"); + return (Criteria) this; + } + + public Criteria andMunitIn(List values) { + addCriterion("MUnit in", values, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotIn(List values) { + addCriterion("MUnit not in", values, "munit"); + return (Criteria) this; + } + + public Criteria andMunitBetween(String value1, String value2) { + addCriterion("MUnit between", value1, value2, "munit"); + return (Criteria) this; + } + + public Criteria andMunitNotBetween(String value1, String value2) { + addCriterion("MUnit not between", value1, value2, "munit"); + return (Criteria) this; + } + + public Criteria andOpernumberIsNull() { + addCriterion("OperNumber is null"); + return (Criteria) this; + } + + public Criteria andOpernumberIsNotNull() { + addCriterion("OperNumber is not null"); + return (Criteria) this; + } + + public Criteria andOpernumberEqualTo(Double value) { + addCriterion("OperNumber =", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberNotEqualTo(Double value) { + addCriterion("OperNumber <>", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberGreaterThan(Double value) { + addCriterion("OperNumber >", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberGreaterThanOrEqualTo(Double value) { + addCriterion("OperNumber >=", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberLessThan(Double value) { + addCriterion("OperNumber <", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberLessThanOrEqualTo(Double value) { + addCriterion("OperNumber <=", value, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberIn(List values) { + addCriterion("OperNumber in", values, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberNotIn(List values) { + addCriterion("OperNumber not in", values, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberBetween(Double value1, Double value2) { + addCriterion("OperNumber between", value1, value2, "opernumber"); + return (Criteria) this; + } + + public Criteria andOpernumberNotBetween(Double value1, Double value2) { + addCriterion("OperNumber not between", value1, value2, "opernumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberIsNull() { + addCriterion("BasicNumber is null"); + return (Criteria) this; + } + + public Criteria andBasicnumberIsNotNull() { + addCriterion("BasicNumber is not null"); + return (Criteria) this; + } + + public Criteria andBasicnumberEqualTo(Double value) { + addCriterion("BasicNumber =", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberNotEqualTo(Double value) { + addCriterion("BasicNumber <>", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberGreaterThan(Double value) { + addCriterion("BasicNumber >", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberGreaterThanOrEqualTo(Double value) { + addCriterion("BasicNumber >=", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberLessThan(Double value) { + addCriterion("BasicNumber <", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberLessThanOrEqualTo(Double value) { + addCriterion("BasicNumber <=", value, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberIn(List values) { + addCriterion("BasicNumber in", values, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberNotIn(List values) { + addCriterion("BasicNumber not in", values, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberBetween(Double value1, Double value2) { + addCriterion("BasicNumber between", value1, value2, "basicnumber"); + return (Criteria) this; + } + + public Criteria andBasicnumberNotBetween(Double value1, Double value2) { + addCriterion("BasicNumber not between", value1, value2, "basicnumber"); + return (Criteria) this; + } + + public Criteria andUnitpriceIsNull() { + addCriterion("UnitPrice is null"); + return (Criteria) this; + } + + public Criteria andUnitpriceIsNotNull() { + addCriterion("UnitPrice is not null"); + return (Criteria) this; + } + + public Criteria andUnitpriceEqualTo(Double value) { + addCriterion("UnitPrice =", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceNotEqualTo(Double value) { + addCriterion("UnitPrice <>", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceGreaterThan(Double value) { + addCriterion("UnitPrice >", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceGreaterThanOrEqualTo(Double value) { + addCriterion("UnitPrice >=", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceLessThan(Double value) { + addCriterion("UnitPrice <", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceLessThanOrEqualTo(Double value) { + addCriterion("UnitPrice <=", value, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceIn(List values) { + addCriterion("UnitPrice in", values, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceNotIn(List values) { + addCriterion("UnitPrice not in", values, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceBetween(Double value1, Double value2) { + addCriterion("UnitPrice between", value1, value2, "unitprice"); + return (Criteria) this; + } + + public Criteria andUnitpriceNotBetween(Double value1, Double value2) { + addCriterion("UnitPrice not between", value1, value2, "unitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceIsNull() { + addCriterion("TaxUnitPrice is null"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceIsNotNull() { + addCriterion("TaxUnitPrice is not null"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceEqualTo(Double value) { + addCriterion("TaxUnitPrice =", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceNotEqualTo(Double value) { + addCriterion("TaxUnitPrice <>", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceGreaterThan(Double value) { + addCriterion("TaxUnitPrice >", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceGreaterThanOrEqualTo(Double value) { + addCriterion("TaxUnitPrice >=", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceLessThan(Double value) { + addCriterion("TaxUnitPrice <", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceLessThanOrEqualTo(Double value) { + addCriterion("TaxUnitPrice <=", value, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceIn(List values) { + addCriterion("TaxUnitPrice in", values, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceNotIn(List values) { + addCriterion("TaxUnitPrice not in", values, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceBetween(Double value1, Double value2) { + addCriterion("TaxUnitPrice between", value1, value2, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andTaxunitpriceNotBetween(Double value1, Double value2) { + addCriterion("TaxUnitPrice not between", value1, value2, "taxunitprice"); + return (Criteria) this; + } + + public Criteria andAllpriceIsNull() { + addCriterion("AllPrice is null"); + return (Criteria) this; + } + + public Criteria andAllpriceIsNotNull() { + addCriterion("AllPrice is not null"); + return (Criteria) this; + } + + public Criteria andAllpriceEqualTo(Double value) { + addCriterion("AllPrice =", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceNotEqualTo(Double value) { + addCriterion("AllPrice <>", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceGreaterThan(Double value) { + addCriterion("AllPrice >", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceGreaterThanOrEqualTo(Double value) { + addCriterion("AllPrice >=", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceLessThan(Double value) { + addCriterion("AllPrice <", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceLessThanOrEqualTo(Double value) { + addCriterion("AllPrice <=", value, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceIn(List values) { + addCriterion("AllPrice in", values, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceNotIn(List values) { + addCriterion("AllPrice not in", values, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceBetween(Double value1, Double value2) { + addCriterion("AllPrice between", value1, value2, "allprice"); + return (Criteria) this; + } + + public Criteria andAllpriceNotBetween(Double value1, Double value2) { + addCriterion("AllPrice not between", value1, value2, "allprice"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andImgIsNull() { + addCriterion("Img is null"); + return (Criteria) this; + } + + public Criteria andImgIsNotNull() { + addCriterion("Img is not null"); + return (Criteria) this; + } + + public Criteria andImgEqualTo(String value) { + addCriterion("Img =", value, "img"); + return (Criteria) this; + } + + public Criteria andImgNotEqualTo(String value) { + addCriterion("Img <>", value, "img"); + return (Criteria) this; + } + + public Criteria andImgGreaterThan(String value) { + addCriterion("Img >", value, "img"); + return (Criteria) this; + } + + public Criteria andImgGreaterThanOrEqualTo(String value) { + addCriterion("Img >=", value, "img"); + return (Criteria) this; + } + + public Criteria andImgLessThan(String value) { + addCriterion("Img <", value, "img"); + return (Criteria) this; + } + + public Criteria andImgLessThanOrEqualTo(String value) { + addCriterion("Img <=", value, "img"); + return (Criteria) this; + } + + public Criteria andImgLike(String value) { + addCriterion("Img like", value, "img"); + return (Criteria) this; + } + + public Criteria andImgNotLike(String value) { + addCriterion("Img not like", value, "img"); + return (Criteria) this; + } + + public Criteria andImgIn(List values) { + addCriterion("Img in", values, "img"); + return (Criteria) this; + } + + public Criteria andImgNotIn(List values) { + addCriterion("Img not in", values, "img"); + return (Criteria) this; + } + + public Criteria andImgBetween(String value1, String value2) { + addCriterion("Img between", value1, value2, "img"); + return (Criteria) this; + } + + public Criteria andImgNotBetween(String value1, String value2) { + addCriterion("Img not between", value1, value2, "img"); + return (Criteria) this; + } + + public Criteria andIncidentalsIsNull() { + addCriterion("Incidentals is null"); + return (Criteria) this; + } + + public Criteria andIncidentalsIsNotNull() { + addCriterion("Incidentals is not null"); + return (Criteria) this; + } + + public Criteria andIncidentalsEqualTo(Double value) { + addCriterion("Incidentals =", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsNotEqualTo(Double value) { + addCriterion("Incidentals <>", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsGreaterThan(Double value) { + addCriterion("Incidentals >", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsGreaterThanOrEqualTo(Double value) { + addCriterion("Incidentals >=", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsLessThan(Double value) { + addCriterion("Incidentals <", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsLessThanOrEqualTo(Double value) { + addCriterion("Incidentals <=", value, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsIn(List values) { + addCriterion("Incidentals in", values, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsNotIn(List values) { + addCriterion("Incidentals not in", values, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsBetween(Double value1, Double value2) { + addCriterion("Incidentals between", value1, value2, "incidentals"); + return (Criteria) this; + } + + public Criteria andIncidentalsNotBetween(Double value1, Double value2) { + addCriterion("Incidentals not between", value1, value2, "incidentals"); + return (Criteria) this; + } + + public Criteria andDepotidIsNull() { + addCriterion("DepotId is null"); + return (Criteria) this; + } + + public Criteria andDepotidIsNotNull() { + addCriterion("DepotId is not null"); + return (Criteria) this; + } + + public Criteria andDepotidEqualTo(Long value) { + addCriterion("DepotId =", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidNotEqualTo(Long value) { + addCriterion("DepotId <>", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidGreaterThan(Long value) { + addCriterion("DepotId >", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidGreaterThanOrEqualTo(Long value) { + addCriterion("DepotId >=", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidLessThan(Long value) { + addCriterion("DepotId <", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidLessThanOrEqualTo(Long value) { + addCriterion("DepotId <=", value, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidIn(List values) { + addCriterion("DepotId in", values, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidNotIn(List values) { + addCriterion("DepotId not in", values, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidBetween(Long value1, Long value2) { + addCriterion("DepotId between", value1, value2, "depotid"); + return (Criteria) this; + } + + public Criteria andDepotidNotBetween(Long value1, Long value2) { + addCriterion("DepotId not between", value1, value2, "depotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidIsNull() { + addCriterion("AnotherDepotId is null"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidIsNotNull() { + addCriterion("AnotherDepotId is not null"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidEqualTo(Long value) { + addCriterion("AnotherDepotId =", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidNotEqualTo(Long value) { + addCriterion("AnotherDepotId <>", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidGreaterThan(Long value) { + addCriterion("AnotherDepotId >", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidGreaterThanOrEqualTo(Long value) { + addCriterion("AnotherDepotId >=", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidLessThan(Long value) { + addCriterion("AnotherDepotId <", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidLessThanOrEqualTo(Long value) { + addCriterion("AnotherDepotId <=", value, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidIn(List values) { + addCriterion("AnotherDepotId in", values, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidNotIn(List values) { + addCriterion("AnotherDepotId not in", values, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidBetween(Long value1, Long value2) { + addCriterion("AnotherDepotId between", value1, value2, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andAnotherdepotidNotBetween(Long value1, Long value2) { + addCriterion("AnotherDepotId not between", value1, value2, "anotherdepotid"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNull() { + addCriterion("TaxRate is null"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNotNull() { + addCriterion("TaxRate is not null"); + return (Criteria) this; + } + + public Criteria andTaxrateEqualTo(Double value) { + addCriterion("TaxRate =", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotEqualTo(Double value) { + addCriterion("TaxRate <>", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThan(Double value) { + addCriterion("TaxRate >", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThanOrEqualTo(Double value) { + addCriterion("TaxRate >=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThan(Double value) { + addCriterion("TaxRate <", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThanOrEqualTo(Double value) { + addCriterion("TaxRate <=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateIn(List values) { + addCriterion("TaxRate in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotIn(List values) { + addCriterion("TaxRate not in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateBetween(Double value1, Double value2) { + addCriterion("TaxRate between", value1, value2, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotBetween(Double value1, Double value2) { + addCriterion("TaxRate not between", value1, value2, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxmoneyIsNull() { + addCriterion("TaxMoney is null"); + return (Criteria) this; + } + + public Criteria andTaxmoneyIsNotNull() { + addCriterion("TaxMoney is not null"); + return (Criteria) this; + } + + public Criteria andTaxmoneyEqualTo(Double value) { + addCriterion("TaxMoney =", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyNotEqualTo(Double value) { + addCriterion("TaxMoney <>", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyGreaterThan(Double value) { + addCriterion("TaxMoney >", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyGreaterThanOrEqualTo(Double value) { + addCriterion("TaxMoney >=", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyLessThan(Double value) { + addCriterion("TaxMoney <", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyLessThanOrEqualTo(Double value) { + addCriterion("TaxMoney <=", value, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyIn(List values) { + addCriterion("TaxMoney in", values, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyNotIn(List values) { + addCriterion("TaxMoney not in", values, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyBetween(Double value1, Double value2) { + addCriterion("TaxMoney between", value1, value2, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxmoneyNotBetween(Double value1, Double value2) { + addCriterion("TaxMoney not between", value1, value2, "taxmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyIsNull() { + addCriterion("TaxLastMoney is null"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyIsNotNull() { + addCriterion("TaxLastMoney is not null"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyEqualTo(Double value) { + addCriterion("TaxLastMoney =", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyNotEqualTo(Double value) { + addCriterion("TaxLastMoney <>", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyGreaterThan(Double value) { + addCriterion("TaxLastMoney >", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyGreaterThanOrEqualTo(Double value) { + addCriterion("TaxLastMoney >=", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyLessThan(Double value) { + addCriterion("TaxLastMoney <", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyLessThanOrEqualTo(Double value) { + addCriterion("TaxLastMoney <=", value, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyIn(List values) { + addCriterion("TaxLastMoney in", values, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyNotIn(List values) { + addCriterion("TaxLastMoney not in", values, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyBetween(Double value1, Double value2) { + addCriterion("TaxLastMoney between", value1, value2, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andTaxlastmoneyNotBetween(Double value1, Double value2) { + addCriterion("TaxLastMoney not between", value1, value2, "taxlastmoney"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNull() { + addCriterion("OtherField1 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNotNull() { + addCriterion("OtherField1 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield1EqualTo(String value) { + addCriterion("OtherField1 =", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotEqualTo(String value) { + addCriterion("OtherField1 <>", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThan(String value) { + addCriterion("OtherField1 >", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThanOrEqualTo(String value) { + addCriterion("OtherField1 >=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThan(String value) { + addCriterion("OtherField1 <", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThanOrEqualTo(String value) { + addCriterion("OtherField1 <=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Like(String value) { + addCriterion("OtherField1 like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotLike(String value) { + addCriterion("OtherField1 not like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1In(List values) { + addCriterion("OtherField1 in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotIn(List values) { + addCriterion("OtherField1 not in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Between(String value1, String value2) { + addCriterion("OtherField1 between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotBetween(String value1, String value2) { + addCriterion("OtherField1 not between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNull() { + addCriterion("OtherField2 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNotNull() { + addCriterion("OtherField2 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield2EqualTo(String value) { + addCriterion("OtherField2 =", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotEqualTo(String value) { + addCriterion("OtherField2 <>", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThan(String value) { + addCriterion("OtherField2 >", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThanOrEqualTo(String value) { + addCriterion("OtherField2 >=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThan(String value) { + addCriterion("OtherField2 <", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThanOrEqualTo(String value) { + addCriterion("OtherField2 <=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Like(String value) { + addCriterion("OtherField2 like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotLike(String value) { + addCriterion("OtherField2 not like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2In(List values) { + addCriterion("OtherField2 in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotIn(List values) { + addCriterion("OtherField2 not in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Between(String value1, String value2) { + addCriterion("OtherField2 between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotBetween(String value1, String value2) { + addCriterion("OtherField2 not between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNull() { + addCriterion("OtherField3 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNotNull() { + addCriterion("OtherField3 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield3EqualTo(String value) { + addCriterion("OtherField3 =", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotEqualTo(String value) { + addCriterion("OtherField3 <>", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThan(String value) { + addCriterion("OtherField3 >", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThanOrEqualTo(String value) { + addCriterion("OtherField3 >=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThan(String value) { + addCriterion("OtherField3 <", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThanOrEqualTo(String value) { + addCriterion("OtherField3 <=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Like(String value) { + addCriterion("OtherField3 like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotLike(String value) { + addCriterion("OtherField3 not like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3In(List values) { + addCriterion("OtherField3 in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotIn(List values) { + addCriterion("OtherField3 not in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Between(String value1, String value2) { + addCriterion("OtherField3 between", value1, value2, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotBetween(String value1, String value2) { + addCriterion("OtherField3 not between", value1, value2, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield4IsNull() { + addCriterion("OtherField4 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield4IsNotNull() { + addCriterion("OtherField4 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield4EqualTo(String value) { + addCriterion("OtherField4 =", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotEqualTo(String value) { + addCriterion("OtherField4 <>", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4GreaterThan(String value) { + addCriterion("OtherField4 >", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4GreaterThanOrEqualTo(String value) { + addCriterion("OtherField4 >=", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4LessThan(String value) { + addCriterion("OtherField4 <", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4LessThanOrEqualTo(String value) { + addCriterion("OtherField4 <=", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4Like(String value) { + addCriterion("OtherField4 like", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotLike(String value) { + addCriterion("OtherField4 not like", value, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4In(List values) { + addCriterion("OtherField4 in", values, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotIn(List values) { + addCriterion("OtherField4 not in", values, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4Between(String value1, String value2) { + addCriterion("OtherField4 between", value1, value2, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield4NotBetween(String value1, String value2) { + addCriterion("OtherField4 not between", value1, value2, "otherfield4"); + return (Criteria) this; + } + + public Criteria andOtherfield5IsNull() { + addCriterion("OtherField5 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield5IsNotNull() { + addCriterion("OtherField5 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield5EqualTo(String value) { + addCriterion("OtherField5 =", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotEqualTo(String value) { + addCriterion("OtherField5 <>", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5GreaterThan(String value) { + addCriterion("OtherField5 >", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5GreaterThanOrEqualTo(String value) { + addCriterion("OtherField5 >=", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5LessThan(String value) { + addCriterion("OtherField5 <", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5LessThanOrEqualTo(String value) { + addCriterion("OtherField5 <=", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5Like(String value) { + addCriterion("OtherField5 like", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotLike(String value) { + addCriterion("OtherField5 not like", value, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5In(List values) { + addCriterion("OtherField5 in", values, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotIn(List values) { + addCriterion("OtherField5 not in", values, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5Between(String value1, String value2) { + addCriterion("OtherField5 between", value1, value2, "otherfield5"); + return (Criteria) this; + } + + public Criteria andOtherfield5NotBetween(String value1, String value2) { + addCriterion("OtherField5 not between", value1, value2, "otherfield5"); + return (Criteria) this; + } + + public Criteria andMtypeIsNull() { + addCriterion("MType is null"); + return (Criteria) this; + } + + public Criteria andMtypeIsNotNull() { + addCriterion("MType is not null"); + return (Criteria) this; + } + + public Criteria andMtypeEqualTo(String value) { + addCriterion("MType =", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotEqualTo(String value) { + addCriterion("MType <>", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeGreaterThan(String value) { + addCriterion("MType >", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeGreaterThanOrEqualTo(String value) { + addCriterion("MType >=", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeLessThan(String value) { + addCriterion("MType <", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeLessThanOrEqualTo(String value) { + addCriterion("MType <=", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeLike(String value) { + addCriterion("MType like", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotLike(String value) { + addCriterion("MType not like", value, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeIn(List values) { + addCriterion("MType in", values, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotIn(List values) { + addCriterion("MType not in", values, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeBetween(String value1, String value2) { + addCriterion("MType between", value1, value2, "mtype"); + return (Criteria) this; + } + + public Criteria andMtypeNotBetween(String value1, String value2) { + addCriterion("MType not between", value1, value2, "mtype"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depotitem + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4DetailByTypeAndMId.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4DetailByTypeAndMId.java new file mode 100644 index 0000000000000000000000000000000000000000..d6ad0a5897f96a3dec8713422e9f99f54b9e8a58 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4DetailByTypeAndMId.java @@ -0,0 +1,46 @@ +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class DepotItemVo4DetailByTypeAndMId { + + private String number; + + private String newtype; + + private Integer bnum; + + private Date otime; + + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + public String getNewtype() { + return newtype; + } + + public void setNewtype(String newtype) { + this.newtype = newtype; + } + + public Integer getBnum() { + return bnum; + } + + public void setBnum(Integer bnum) { + this.bnum = bnum; + } + + public Date getOtime() { + return otime; + } + + public void setOtime(Date otime) { + this.otime = otime; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4HeaderId.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4HeaderId.java new file mode 100644 index 0000000000000000000000000000000000000000..0e6eda795a4f800a55ee412690d7e066f93c7438 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4HeaderId.java @@ -0,0 +1,15 @@ +package com.jsh.erp.datasource.entities; + +public class DepotItemVo4HeaderId { + + private Long headerid; + + public Long getHeaderid() { + return headerid; + } + + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4Material.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4Material.java new file mode 100644 index 0000000000000000000000000000000000000000..dbb2b9afcfe411c4dec19d2e83cd8a13984f5b17 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4Material.java @@ -0,0 +1,256 @@ +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class DepotItemVo4Material { + + private Long id; + + private Long headerid; + + private Long materialid; + + private String munit; + + private Double opernumber; + + private Double basicnumber; + + private Double unitprice; + + private Double taxunitprice; + + private Double allprice; + + private String remark; + + private String img; + + private Double incidentals; + + private Long depotid; + + private Long anotherdepotid; + + private Double taxrate; + + private Double taxmoney; + + private Double taxlastmoney; + + private String otherfield1; + + private String otherfield2; + + private String otherfield3; + + private String otherfield4; + + private String otherfield5; + + private String mtype; + + private String mname; + + private String mmodel; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getHeaderid() { + return headerid; + } + + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + + public Long getMaterialid() { + return materialid; + } + + public void setMaterialid(Long materialid) { + this.materialid = materialid; + } + + public String getMunit() { + return munit; + } + + public void setMunit(String munit) { + this.munit = munit; + } + + public Double getOpernumber() { + return opernumber; + } + + public void setOpernumber(Double opernumber) { + this.opernumber = opernumber; + } + + public Double getBasicnumber() { + return basicnumber; + } + + public void setBasicnumber(Double basicnumber) { + this.basicnumber = basicnumber; + } + + public Double getUnitprice() { + return unitprice; + } + + public void setUnitprice(Double unitprice) { + this.unitprice = unitprice; + } + + public Double getTaxunitprice() { + return taxunitprice; + } + + public void setTaxunitprice(Double taxunitprice) { + this.taxunitprice = taxunitprice; + } + + public Double getAllprice() { + return allprice; + } + + public void setAllprice(Double allprice) { + this.allprice = allprice; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getImg() { + return img; + } + + public void setImg(String img) { + this.img = img; + } + + public Double getIncidentals() { + return incidentals; + } + + public void setIncidentals(Double incidentals) { + this.incidentals = incidentals; + } + + public Long getDepotid() { + return depotid; + } + + public void setDepotid(Long depotid) { + this.depotid = depotid; + } + + public Long getAnotherdepotid() { + return anotherdepotid; + } + + public void setAnotherdepotid(Long anotherdepotid) { + this.anotherdepotid = anotherdepotid; + } + + public Double getTaxrate() { + return taxrate; + } + + public void setTaxrate(Double taxrate) { + this.taxrate = taxrate; + } + + public Double getTaxmoney() { + return taxmoney; + } + + public void setTaxmoney(Double taxmoney) { + this.taxmoney = taxmoney; + } + + public Double getTaxlastmoney() { + return taxlastmoney; + } + + public void setTaxlastmoney(Double taxlastmoney) { + this.taxlastmoney = taxlastmoney; + } + + public String getOtherfield1() { + return otherfield1; + } + + public void setOtherfield1(String otherfield1) { + this.otherfield1 = otherfield1; + } + + public String getOtherfield2() { + return otherfield2; + } + + public void setOtherfield2(String otherfield2) { + this.otherfield2 = otherfield2; + } + + public String getOtherfield3() { + return otherfield3; + } + + public void setOtherfield3(String otherfield3) { + this.otherfield3 = otherfield3; + } + + public String getOtherfield4() { + return otherfield4; + } + + public void setOtherfield4(String otherfield4) { + this.otherfield4 = otherfield4; + } + + public String getOtherfield5() { + return otherfield5; + } + + public void setOtherfield5(String otherfield5) { + this.otherfield5 = otherfield5; + } + + public String getMtype() { + return mtype; + } + + public void setMtype(String mtype) { + this.mtype = mtype; + } + + public String getMname() { + return mname; + } + + public void setMname(String mname) { + this.mname = mname; + } + + public String getMmodel() { + return mmodel; + } + + public void setMmodel(String mmodel) { + this.mmodel = mmodel; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java new file mode 100644 index 0000000000000000000000000000000000000000..697dd3e17a01cc625269cd43d9fc0b7be76158e7 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotItemVo4WithInfoEx.java @@ -0,0 +1,364 @@ +package com.jsh.erp.datasource.entities; + +public class DepotItemVo4WithInfoEx { + + private Long id; + + private Long headerid; + + private Long materialid; + + private String munit; + + private Double opernumber; + + private Double basicnumber; + + private Double unitprice; + + private Double taxunitprice; + + private Double allprice; + + private String remark; + + private String img; + + private Double incidentals; + + private Long depotid; + + private Long anotherdepotid; + + private Double taxrate; + + private Double taxmoney; + + private Double taxlastmoney; + + private String otherfield1; + + private String otherfield2; + + private String otherfield3; + + private String otherfield4; + + private String otherfield5; + + private String mtype; + + private String MName; + + private String MModel; + + private String MaterialUnit; + + private String MColor; + + private String MStandard; + + private String MMfrs; + + private String MOtherField1; + + private String MOtherField2; + + private String MOtherField3; + + private String DepotName; + + private String AnotherDepotName; + + private Long UnitId; + + private String UName; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getHeaderid() { + return headerid; + } + + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + + public Long getMaterialid() { + return materialid; + } + + public void setMaterialid(Long materialid) { + this.materialid = materialid; + } + + public String getMunit() { + return munit; + } + + public void setMunit(String munit) { + this.munit = munit; + } + + public Double getOpernumber() { + return opernumber; + } + + public void setOpernumber(Double opernumber) { + this.opernumber = opernumber; + } + + public Double getBasicnumber() { + return basicnumber; + } + + public void setBasicnumber(Double basicnumber) { + this.basicnumber = basicnumber; + } + + public Double getUnitprice() { + return unitprice; + } + + public void setUnitprice(Double unitprice) { + this.unitprice = unitprice; + } + + public Double getTaxunitprice() { + return taxunitprice; + } + + public void setTaxunitprice(Double taxunitprice) { + this.taxunitprice = taxunitprice; + } + + public Double getAllprice() { + return allprice; + } + + public void setAllprice(Double allprice) { + this.allprice = allprice; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getImg() { + return img; + } + + public void setImg(String img) { + this.img = img; + } + + public Double getIncidentals() { + return incidentals; + } + + public void setIncidentals(Double incidentals) { + this.incidentals = incidentals; + } + + public Long getDepotid() { + return depotid; + } + + public void setDepotid(Long depotid) { + this.depotid = depotid; + } + + public Long getAnotherdepotid() { + return anotherdepotid; + } + + public void setAnotherdepotid(Long anotherdepotid) { + this.anotherdepotid = anotherdepotid; + } + + public Double getTaxrate() { + return taxrate; + } + + public void setTaxrate(Double taxrate) { + this.taxrate = taxrate; + } + + public Double getTaxmoney() { + return taxmoney; + } + + public void setTaxmoney(Double taxmoney) { + this.taxmoney = taxmoney; + } + + public Double getTaxlastmoney() { + return taxlastmoney; + } + + public void setTaxlastmoney(Double taxlastmoney) { + this.taxlastmoney = taxlastmoney; + } + + public String getOtherfield1() { + return otherfield1; + } + + public void setOtherfield1(String otherfield1) { + this.otherfield1 = otherfield1; + } + + public String getOtherfield2() { + return otherfield2; + } + + public void setOtherfield2(String otherfield2) { + this.otherfield2 = otherfield2; + } + + public String getOtherfield3() { + return otherfield3; + } + + public void setOtherfield3(String otherfield3) { + this.otherfield3 = otherfield3; + } + + public String getOtherfield4() { + return otherfield4; + } + + public void setOtherfield4(String otherfield4) { + this.otherfield4 = otherfield4; + } + + public String getOtherfield5() { + return otherfield5; + } + + public void setOtherfield5(String otherfield5) { + this.otherfield5 = otherfield5; + } + + public String getMtype() { + return mtype; + } + + public void setMtype(String mtype) { + this.mtype = mtype; + } + + public String getMName() { + return MName; + } + + public void setMName(String MName) { + this.MName = MName; + } + + public String getMModel() { + return MModel; + } + + public void setMModel(String MModel) { + this.MModel = MModel; + } + + public String getMaterialUnit() { + return MaterialUnit; + } + + public void setMaterialUnit(String materialUnit) { + MaterialUnit = materialUnit; + } + + public String getMColor() { + return MColor; + } + + public void setMColor(String MColor) { + this.MColor = MColor; + } + + public String getMStandard() { + return MStandard; + } + + public void setMStandard(String MStandard) { + this.MStandard = MStandard; + } + + public String getMMfrs() { + return MMfrs; + } + + public void setMMfrs(String MMfrs) { + this.MMfrs = MMfrs; + } + + public String getMOtherField1() { + return MOtherField1; + } + + public void setMOtherField1(String MOtherField1) { + this.MOtherField1 = MOtherField1; + } + + public String getMOtherField2() { + return MOtherField2; + } + + public void setMOtherField2(String MOtherField2) { + this.MOtherField2 = MOtherField2; + } + + public String getMOtherField3() { + return MOtherField3; + } + + public void setMOtherField3(String MOtherField3) { + this.MOtherField3 = MOtherField3; + } + + public String getDepotName() { + return DepotName; + } + + public void setDepotName(String depotName) { + DepotName = depotName; + } + + public String getAnotherDepotName() { + return AnotherDepotName; + } + + public void setAnotherDepotName(String anotherDepotName) { + AnotherDepotName = anotherDepotName; + } + + public Long getUnitId() { + return UnitId; + } + + public void setUnitId(Long unitId) { + UnitId = unitId; + } + + public String getUName() { + return UName; + } + + public void setUName(String UName) { + this.UName = UName; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Functions.java b/src/main/java/com/jsh/erp/datasource/entities/Functions.java new file mode 100644 index 0000000000000000000000000000000000000000..0bc861c7038be5dc0b4fa9f55cc97fb939198ffc --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Functions.java @@ -0,0 +1,323 @@ +package com.jsh.erp.datasource.entities; + +public class Functions { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.Number + * + * @mbggenerated + */ + private String number; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.PNumber + * + * @mbggenerated + */ + private String pnumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.URL + * + * @mbggenerated + */ + private String url; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.State + * + * @mbggenerated + */ + private Boolean state; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.Sort + * + * @mbggenerated + */ + private String sort; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.Enabled + * + * @mbggenerated + */ + private Boolean enabled; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_functions.PushBtn + * + * @mbggenerated + */ + private String pushbtn; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.Id + * + * @return the value of jsh_functions.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.Id + * + * @param id the value for jsh_functions.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.Number + * + * @return the value of jsh_functions.Number + * + * @mbggenerated + */ + public String getNumber() { + return number; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.Number + * + * @param number the value for jsh_functions.Number + * + * @mbggenerated + */ + public void setNumber(String number) { + this.number = number == null ? null : number.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.Name + * + * @return the value of jsh_functions.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.Name + * + * @param name the value for jsh_functions.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.PNumber + * + * @return the value of jsh_functions.PNumber + * + * @mbggenerated + */ + public String getPnumber() { + return pnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.PNumber + * + * @param pnumber the value for jsh_functions.PNumber + * + * @mbggenerated + */ + public void setPnumber(String pnumber) { + this.pnumber = pnumber == null ? null : pnumber.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.URL + * + * @return the value of jsh_functions.URL + * + * @mbggenerated + */ + public String getUrl() { + return url; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.URL + * + * @param url the value for jsh_functions.URL + * + * @mbggenerated + */ + public void setUrl(String url) { + this.url = url == null ? null : url.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.State + * + * @return the value of jsh_functions.State + * + * @mbggenerated + */ + public Boolean getState() { + return state; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.State + * + * @param state the value for jsh_functions.State + * + * @mbggenerated + */ + public void setState(Boolean state) { + this.state = state; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.Sort + * + * @return the value of jsh_functions.Sort + * + * @mbggenerated + */ + public String getSort() { + return sort; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.Sort + * + * @param sort the value for jsh_functions.Sort + * + * @mbggenerated + */ + public void setSort(String sort) { + this.sort = sort == null ? null : sort.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.Enabled + * + * @return the value of jsh_functions.Enabled + * + * @mbggenerated + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.Enabled + * + * @param enabled the value for jsh_functions.Enabled + * + * @mbggenerated + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.Type + * + * @return the value of jsh_functions.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.Type + * + * @param type the value for jsh_functions.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_functions.PushBtn + * + * @return the value of jsh_functions.PushBtn + * + * @mbggenerated + */ + public String getPushbtn() { + return pushbtn; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_functions.PushBtn + * + * @param pushbtn the value for jsh_functions.PushBtn + * + * @mbggenerated + */ + public void setPushbtn(String pushbtn) { + this.pushbtn = pushbtn == null ? null : pushbtn.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/FunctionsExample.java b/src/main/java/com/jsh/erp/datasource/entities/FunctionsExample.java new file mode 100644 index 0000000000000000000000000000000000000000..19e46683f5a74cad8ffcb5756c53f2cf79a13dfa --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/FunctionsExample.java @@ -0,0 +1,972 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class FunctionsExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_functions + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_functions + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_functions + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public FunctionsExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_functions + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNumberIsNull() { + addCriterion("Number is null"); + return (Criteria) this; + } + + public Criteria andNumberIsNotNull() { + addCriterion("Number is not null"); + return (Criteria) this; + } + + public Criteria andNumberEqualTo(String value) { + addCriterion("Number =", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotEqualTo(String value) { + addCriterion("Number <>", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThan(String value) { + addCriterion("Number >", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberGreaterThanOrEqualTo(String value) { + addCriterion("Number >=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThan(String value) { + addCriterion("Number <", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLessThanOrEqualTo(String value) { + addCriterion("Number <=", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberLike(String value) { + addCriterion("Number like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotLike(String value) { + addCriterion("Number not like", value, "number"); + return (Criteria) this; + } + + public Criteria andNumberIn(List values) { + addCriterion("Number in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotIn(List values) { + addCriterion("Number not in", values, "number"); + return (Criteria) this; + } + + public Criteria andNumberBetween(String value1, String value2) { + addCriterion("Number between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andNumberNotBetween(String value1, String value2) { + addCriterion("Number not between", value1, value2, "number"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andPnumberIsNull() { + addCriterion("PNumber is null"); + return (Criteria) this; + } + + public Criteria andPnumberIsNotNull() { + addCriterion("PNumber is not null"); + return (Criteria) this; + } + + public Criteria andPnumberEqualTo(String value) { + addCriterion("PNumber =", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberNotEqualTo(String value) { + addCriterion("PNumber <>", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberGreaterThan(String value) { + addCriterion("PNumber >", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberGreaterThanOrEqualTo(String value) { + addCriterion("PNumber >=", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberLessThan(String value) { + addCriterion("PNumber <", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberLessThanOrEqualTo(String value) { + addCriterion("PNumber <=", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberLike(String value) { + addCriterion("PNumber like", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberNotLike(String value) { + addCriterion("PNumber not like", value, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberIn(List values) { + addCriterion("PNumber in", values, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberNotIn(List values) { + addCriterion("PNumber not in", values, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberBetween(String value1, String value2) { + addCriterion("PNumber between", value1, value2, "pnumber"); + return (Criteria) this; + } + + public Criteria andPnumberNotBetween(String value1, String value2) { + addCriterion("PNumber not between", value1, value2, "pnumber"); + return (Criteria) this; + } + + public Criteria andUrlIsNull() { + addCriterion("URL is null"); + return (Criteria) this; + } + + public Criteria andUrlIsNotNull() { + addCriterion("URL is not null"); + return (Criteria) this; + } + + public Criteria andUrlEqualTo(String value) { + addCriterion("URL =", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotEqualTo(String value) { + addCriterion("URL <>", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThan(String value) { + addCriterion("URL >", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlGreaterThanOrEqualTo(String value) { + addCriterion("URL >=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThan(String value) { + addCriterion("URL <", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLessThanOrEqualTo(String value) { + addCriterion("URL <=", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlLike(String value) { + addCriterion("URL like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotLike(String value) { + addCriterion("URL not like", value, "url"); + return (Criteria) this; + } + + public Criteria andUrlIn(List values) { + addCriterion("URL in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotIn(List values) { + addCriterion("URL not in", values, "url"); + return (Criteria) this; + } + + public Criteria andUrlBetween(String value1, String value2) { + addCriterion("URL between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andUrlNotBetween(String value1, String value2) { + addCriterion("URL not between", value1, value2, "url"); + return (Criteria) this; + } + + public Criteria andStateIsNull() { + addCriterion("State is null"); + return (Criteria) this; + } + + public Criteria andStateIsNotNull() { + addCriterion("State is not null"); + return (Criteria) this; + } + + public Criteria andStateEqualTo(Boolean value) { + addCriterion("State =", value, "state"); + return (Criteria) this; + } + + public Criteria andStateNotEqualTo(Boolean value) { + addCriterion("State <>", value, "state"); + return (Criteria) this; + } + + public Criteria andStateGreaterThan(Boolean value) { + addCriterion("State >", value, "state"); + return (Criteria) this; + } + + public Criteria andStateGreaterThanOrEqualTo(Boolean value) { + addCriterion("State >=", value, "state"); + return (Criteria) this; + } + + public Criteria andStateLessThan(Boolean value) { + addCriterion("State <", value, "state"); + return (Criteria) this; + } + + public Criteria andStateLessThanOrEqualTo(Boolean value) { + addCriterion("State <=", value, "state"); + return (Criteria) this; + } + + public Criteria andStateIn(List values) { + addCriterion("State in", values, "state"); + return (Criteria) this; + } + + public Criteria andStateNotIn(List values) { + addCriterion("State not in", values, "state"); + return (Criteria) this; + } + + public Criteria andStateBetween(Boolean value1, Boolean value2) { + addCriterion("State between", value1, value2, "state"); + return (Criteria) this; + } + + public Criteria andStateNotBetween(Boolean value1, Boolean value2) { + addCriterion("State not between", value1, value2, "state"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("Sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("Sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(String value) { + addCriterion("Sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(String value) { + addCriterion("Sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(String value) { + addCriterion("Sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(String value) { + addCriterion("Sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(String value) { + addCriterion("Sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(String value) { + addCriterion("Sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLike(String value) { + addCriterion("Sort like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotLike(String value) { + addCriterion("Sort not like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("Sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("Sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(String value1, String value2) { + addCriterion("Sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(String value1, String value2) { + addCriterion("Sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andEnabledIsNull() { + addCriterion("Enabled is null"); + return (Criteria) this; + } + + public Criteria andEnabledIsNotNull() { + addCriterion("Enabled is not null"); + return (Criteria) this; + } + + public Criteria andEnabledEqualTo(Boolean value) { + addCriterion("Enabled =", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotEqualTo(Boolean value) { + addCriterion("Enabled <>", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThan(Boolean value) { + addCriterion("Enabled >", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { + addCriterion("Enabled >=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThan(Boolean value) { + addCriterion("Enabled <", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThanOrEqualTo(Boolean value) { + addCriterion("Enabled <=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledIn(List values) { + addCriterion("Enabled in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotIn(List values) { + addCriterion("Enabled not in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled not between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andPushbtnIsNull() { + addCriterion("PushBtn is null"); + return (Criteria) this; + } + + public Criteria andPushbtnIsNotNull() { + addCriterion("PushBtn is not null"); + return (Criteria) this; + } + + public Criteria andPushbtnEqualTo(String value) { + addCriterion("PushBtn =", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnNotEqualTo(String value) { + addCriterion("PushBtn <>", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnGreaterThan(String value) { + addCriterion("PushBtn >", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnGreaterThanOrEqualTo(String value) { + addCriterion("PushBtn >=", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnLessThan(String value) { + addCriterion("PushBtn <", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnLessThanOrEqualTo(String value) { + addCriterion("PushBtn <=", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnLike(String value) { + addCriterion("PushBtn like", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnNotLike(String value) { + addCriterion("PushBtn not like", value, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnIn(List values) { + addCriterion("PushBtn in", values, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnNotIn(List values) { + addCriterion("PushBtn not in", values, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnBetween(String value1, String value2) { + addCriterion("PushBtn between", value1, value2, "pushbtn"); + return (Criteria) this; + } + + public Criteria andPushbtnNotBetween(String value1, String value2) { + addCriterion("PushBtn not between", value1, value2, "pushbtn"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_functions + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_functions + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/InOutItem.java b/src/main/java/com/jsh/erp/datasource/entities/InOutItem.java new file mode 100644 index 0000000000000000000000000000000000000000..f38bf4fe45a6236b96e349ed94e2cc1c0d50e2ac --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/InOutItem.java @@ -0,0 +1,131 @@ +package com.jsh.erp.datasource.entities; + +public class InOutItem { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_inoutitem.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_inoutitem.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_inoutitem.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_inoutitem.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_inoutitem.Id + * + * @return the value of jsh_inoutitem.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_inoutitem.Id + * + * @param id the value for jsh_inoutitem.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_inoutitem.Name + * + * @return the value of jsh_inoutitem.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_inoutitem.Name + * + * @param name the value for jsh_inoutitem.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_inoutitem.Type + * + * @return the value of jsh_inoutitem.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_inoutitem.Type + * + * @param type the value for jsh_inoutitem.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_inoutitem.Remark + * + * @return the value of jsh_inoutitem.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_inoutitem.Remark + * + * @param remark the value for jsh_inoutitem.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java b/src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java new file mode 100644 index 0000000000000000000000000000000000000000..af5bf8242b75e567bf2c711bcf957464328feb83 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/InOutItemExample.java @@ -0,0 +1,572 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class InOutItemExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public InOutItemExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_inoutitem + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Log.java b/src/main/java/com/jsh/erp/datasource/entities/Log.java new file mode 100644 index 0000000000000000000000000000000000000000..103f397576c6252a756a796cfa2ef04ef4765141 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Log.java @@ -0,0 +1,261 @@ +package com.jsh.erp.datasource.entities; + +import java.util.Date; + +public class Log { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.userID + * + * @mbggenerated + */ + private Long userid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.operation + * + * @mbggenerated + */ + private String operation; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.clientIP + * + * @mbggenerated + */ + private String clientip; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.createtime + * + * @mbggenerated + */ + private Date createtime; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.status + * + * @mbggenerated + */ + private Byte status; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.contentdetails + * + * @mbggenerated + */ + private String contentdetails; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_log.remark + * + * @mbggenerated + */ + private String remark; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.id + * + * @return the value of jsh_log.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.id + * + * @param id the value for jsh_log.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.userID + * + * @return the value of jsh_log.userID + * + * @mbggenerated + */ + public Long getUserid() { + return userid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.userID + * + * @param userid the value for jsh_log.userID + * + * @mbggenerated + */ + public void setUserid(Long userid) { + this.userid = userid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.operation + * + * @return the value of jsh_log.operation + * + * @mbggenerated + */ + public String getOperation() { + return operation; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.operation + * + * @param operation the value for jsh_log.operation + * + * @mbggenerated + */ + public void setOperation(String operation) { + this.operation = operation == null ? null : operation.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.clientIP + * + * @return the value of jsh_log.clientIP + * + * @mbggenerated + */ + public String getClientip() { + return clientip; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.clientIP + * + * @param clientip the value for jsh_log.clientIP + * + * @mbggenerated + */ + public void setClientip(String clientip) { + this.clientip = clientip == null ? null : clientip.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.createtime + * + * @return the value of jsh_log.createtime + * + * @mbggenerated + */ + public Date getCreatetime() { + return createtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.createtime + * + * @param createtime the value for jsh_log.createtime + * + * @mbggenerated + */ + public void setCreatetime(Date createtime) { + this.createtime = createtime; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.status + * + * @return the value of jsh_log.status + * + * @mbggenerated + */ + public Byte getStatus() { + return status; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.status + * + * @param status the value for jsh_log.status + * + * @mbggenerated + */ + public void setStatus(Byte status) { + this.status = status; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.contentdetails + * + * @return the value of jsh_log.contentdetails + * + * @mbggenerated + */ + public String getContentdetails() { + return contentdetails; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.contentdetails + * + * @param contentdetails the value for jsh_log.contentdetails + * + * @mbggenerated + */ + public void setContentdetails(String contentdetails) { + this.contentdetails = contentdetails == null ? null : contentdetails.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_log.remark + * + * @return the value of jsh_log.remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_log.remark + * + * @param remark the value for jsh_log.remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/LogExample.java b/src/main/java/com/jsh/erp/datasource/entities/LogExample.java new file mode 100644 index 0000000000000000000000000000000000000000..00b7687eda63b6ef202900c6b738305130585f84 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/LogExample.java @@ -0,0 +1,823 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +public class LogExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_log + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_log + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_log + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public LogExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_log + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUseridIsNull() { + addCriterion("userID is null"); + return (Criteria) this; + } + + public Criteria andUseridIsNotNull() { + addCriterion("userID is not null"); + return (Criteria) this; + } + + public Criteria andUseridEqualTo(Long value) { + addCriterion("userID =", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotEqualTo(Long value) { + addCriterion("userID <>", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridGreaterThan(Long value) { + addCriterion("userID >", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridGreaterThanOrEqualTo(Long value) { + addCriterion("userID >=", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridLessThan(Long value) { + addCriterion("userID <", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridLessThanOrEqualTo(Long value) { + addCriterion("userID <=", value, "userid"); + return (Criteria) this; + } + + public Criteria andUseridIn(List values) { + addCriterion("userID in", values, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotIn(List values) { + addCriterion("userID not in", values, "userid"); + return (Criteria) this; + } + + public Criteria andUseridBetween(Long value1, Long value2) { + addCriterion("userID between", value1, value2, "userid"); + return (Criteria) this; + } + + public Criteria andUseridNotBetween(Long value1, Long value2) { + addCriterion("userID not between", value1, value2, "userid"); + return (Criteria) this; + } + + public Criteria andOperationIsNull() { + addCriterion("operation is null"); + return (Criteria) this; + } + + public Criteria andOperationIsNotNull() { + addCriterion("operation is not null"); + return (Criteria) this; + } + + public Criteria andOperationEqualTo(String value) { + addCriterion("operation =", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationNotEqualTo(String value) { + addCriterion("operation <>", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationGreaterThan(String value) { + addCriterion("operation >", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationGreaterThanOrEqualTo(String value) { + addCriterion("operation >=", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationLessThan(String value) { + addCriterion("operation <", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationLessThanOrEqualTo(String value) { + addCriterion("operation <=", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationLike(String value) { + addCriterion("operation like", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationNotLike(String value) { + addCriterion("operation not like", value, "operation"); + return (Criteria) this; + } + + public Criteria andOperationIn(List values) { + addCriterion("operation in", values, "operation"); + return (Criteria) this; + } + + public Criteria andOperationNotIn(List values) { + addCriterion("operation not in", values, "operation"); + return (Criteria) this; + } + + public Criteria andOperationBetween(String value1, String value2) { + addCriterion("operation between", value1, value2, "operation"); + return (Criteria) this; + } + + public Criteria andOperationNotBetween(String value1, String value2) { + addCriterion("operation not between", value1, value2, "operation"); + return (Criteria) this; + } + + public Criteria andClientipIsNull() { + addCriterion("clientIP is null"); + return (Criteria) this; + } + + public Criteria andClientipIsNotNull() { + addCriterion("clientIP is not null"); + return (Criteria) this; + } + + public Criteria andClientipEqualTo(String value) { + addCriterion("clientIP =", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipNotEqualTo(String value) { + addCriterion("clientIP <>", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipGreaterThan(String value) { + addCriterion("clientIP >", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipGreaterThanOrEqualTo(String value) { + addCriterion("clientIP >=", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipLessThan(String value) { + addCriterion("clientIP <", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipLessThanOrEqualTo(String value) { + addCriterion("clientIP <=", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipLike(String value) { + addCriterion("clientIP like", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipNotLike(String value) { + addCriterion("clientIP not like", value, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipIn(List values) { + addCriterion("clientIP in", values, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipNotIn(List values) { + addCriterion("clientIP not in", values, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipBetween(String value1, String value2) { + addCriterion("clientIP between", value1, value2, "clientip"); + return (Criteria) this; + } + + public Criteria andClientipNotBetween(String value1, String value2) { + addCriterion("clientIP not between", value1, value2, "clientip"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNull() { + addCriterion("createtime is null"); + return (Criteria) this; + } + + public Criteria andCreatetimeIsNotNull() { + addCriterion("createtime is not null"); + return (Criteria) this; + } + + public Criteria andCreatetimeEqualTo(Date value) { + addCriterion("createtime =", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotEqualTo(Date value) { + addCriterion("createtime <>", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThan(Date value) { + addCriterion("createtime >", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeGreaterThanOrEqualTo(Date value) { + addCriterion("createtime >=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThan(Date value) { + addCriterion("createtime <", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeLessThanOrEqualTo(Date value) { + addCriterion("createtime <=", value, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeIn(List values) { + addCriterion("createtime in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotIn(List values) { + addCriterion("createtime not in", values, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeBetween(Date value1, Date value2) { + addCriterion("createtime between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andCreatetimeNotBetween(Date value1, Date value2) { + addCriterion("createtime not between", value1, value2, "createtime"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Byte value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Byte value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Byte value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Byte value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Byte value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Byte value1, Byte value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Byte value1, Byte value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andContentdetailsIsNull() { + addCriterion("contentdetails is null"); + return (Criteria) this; + } + + public Criteria andContentdetailsIsNotNull() { + addCriterion("contentdetails is not null"); + return (Criteria) this; + } + + public Criteria andContentdetailsEqualTo(String value) { + addCriterion("contentdetails =", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsNotEqualTo(String value) { + addCriterion("contentdetails <>", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsGreaterThan(String value) { + addCriterion("contentdetails >", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsGreaterThanOrEqualTo(String value) { + addCriterion("contentdetails >=", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsLessThan(String value) { + addCriterion("contentdetails <", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsLessThanOrEqualTo(String value) { + addCriterion("contentdetails <=", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsLike(String value) { + addCriterion("contentdetails like", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsNotLike(String value) { + addCriterion("contentdetails not like", value, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsIn(List values) { + addCriterion("contentdetails in", values, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsNotIn(List values) { + addCriterion("contentdetails not in", values, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsBetween(String value1, String value2) { + addCriterion("contentdetails between", value1, value2, "contentdetails"); + return (Criteria) this; + } + + public Criteria andContentdetailsNotBetween(String value1, String value2) { + addCriterion("contentdetails not between", value1, value2, "contentdetails"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_log + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_log + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Material.java b/src/main/java/com/jsh/erp/datasource/entities/Material.java new file mode 100644 index 0000000000000000000000000000000000000000..946262e7ee01a3da05d14c5dd238c007e87b3f84 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Material.java @@ -0,0 +1,739 @@ +package com.jsh.erp.datasource.entities; + +public class Material { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.CategoryId + * + * @mbggenerated + */ + private Long categoryid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Mfrs + * + * @mbggenerated + */ + private String mfrs; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Packing + * + * @mbggenerated + */ + private Double packing; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.SafetyStock + * + * @mbggenerated + */ + private Double safetystock; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Model + * + * @mbggenerated + */ + private String model; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Standard + * + * @mbggenerated + */ + private String standard; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Color + * + * @mbggenerated + */ + private String color; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Unit + * + * @mbggenerated + */ + private String unit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Remark + * + * @mbggenerated + */ + private String remark; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.RetailPrice + * + * @mbggenerated + */ + private Double retailprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.LowPrice + * + * @mbggenerated + */ + private Double lowprice; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.PresetPriceOne + * + * @mbggenerated + */ + private Double presetpriceone; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.PresetPriceTwo + * + * @mbggenerated + */ + private Double presetpricetwo; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.UnitId + * + * @mbggenerated + */ + private Long unitid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.FirstOutUnit + * + * @mbggenerated + */ + private String firstoutunit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.FirstInUnit + * + * @mbggenerated + */ + private String firstinunit; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.PriceStrategy + * + * @mbggenerated + */ + private String pricestrategy; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.Enabled + * + * @mbggenerated + */ + private Boolean enabled; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.OtherField1 + * + * @mbggenerated + */ + private String otherfield1; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.OtherField2 + * + * @mbggenerated + */ + private String otherfield2; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_material.OtherField3 + * + * @mbggenerated + */ + private String otherfield3; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Id + * + * @return the value of jsh_material.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Id + * + * @param id the value for jsh_material.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.CategoryId + * + * @return the value of jsh_material.CategoryId + * + * @mbggenerated + */ + public Long getCategoryid() { + return categoryid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.CategoryId + * + * @param categoryid the value for jsh_material.CategoryId + * + * @mbggenerated + */ + public void setCategoryid(Long categoryid) { + this.categoryid = categoryid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Name + * + * @return the value of jsh_material.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Name + * + * @param name the value for jsh_material.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Mfrs + * + * @return the value of jsh_material.Mfrs + * + * @mbggenerated + */ + public String getMfrs() { + return mfrs; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Mfrs + * + * @param mfrs the value for jsh_material.Mfrs + * + * @mbggenerated + */ + public void setMfrs(String mfrs) { + this.mfrs = mfrs == null ? null : mfrs.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Packing + * + * @return the value of jsh_material.Packing + * + * @mbggenerated + */ + public Double getPacking() { + return packing; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Packing + * + * @param packing the value for jsh_material.Packing + * + * @mbggenerated + */ + public void setPacking(Double packing) { + this.packing = packing; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.SafetyStock + * + * @return the value of jsh_material.SafetyStock + * + * @mbggenerated + */ + public Double getSafetystock() { + return safetystock; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.SafetyStock + * + * @param safetystock the value for jsh_material.SafetyStock + * + * @mbggenerated + */ + public void setSafetystock(Double safetystock) { + this.safetystock = safetystock; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Model + * + * @return the value of jsh_material.Model + * + * @mbggenerated + */ + public String getModel() { + return model; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Model + * + * @param model the value for jsh_material.Model + * + * @mbggenerated + */ + public void setModel(String model) { + this.model = model == null ? null : model.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Standard + * + * @return the value of jsh_material.Standard + * + * @mbggenerated + */ + public String getStandard() { + return standard; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Standard + * + * @param standard the value for jsh_material.Standard + * + * @mbggenerated + */ + public void setStandard(String standard) { + this.standard = standard == null ? null : standard.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Color + * + * @return the value of jsh_material.Color + * + * @mbggenerated + */ + public String getColor() { + return color; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Color + * + * @param color the value for jsh_material.Color + * + * @mbggenerated + */ + public void setColor(String color) { + this.color = color == null ? null : color.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Unit + * + * @return the value of jsh_material.Unit + * + * @mbggenerated + */ + public String getUnit() { + return unit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Unit + * + * @param unit the value for jsh_material.Unit + * + * @mbggenerated + */ + public void setUnit(String unit) { + this.unit = unit == null ? null : unit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Remark + * + * @return the value of jsh_material.Remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Remark + * + * @param remark the value for jsh_material.Remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.RetailPrice + * + * @return the value of jsh_material.RetailPrice + * + * @mbggenerated + */ + public Double getRetailprice() { + return retailprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.RetailPrice + * + * @param retailprice the value for jsh_material.RetailPrice + * + * @mbggenerated + */ + public void setRetailprice(Double retailprice) { + this.retailprice = retailprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.LowPrice + * + * @return the value of jsh_material.LowPrice + * + * @mbggenerated + */ + public Double getLowprice() { + return lowprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.LowPrice + * + * @param lowprice the value for jsh_material.LowPrice + * + * @mbggenerated + */ + public void setLowprice(Double lowprice) { + this.lowprice = lowprice; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.PresetPriceOne + * + * @return the value of jsh_material.PresetPriceOne + * + * @mbggenerated + */ + public Double getPresetpriceone() { + return presetpriceone; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.PresetPriceOne + * + * @param presetpriceone the value for jsh_material.PresetPriceOne + * + * @mbggenerated + */ + public void setPresetpriceone(Double presetpriceone) { + this.presetpriceone = presetpriceone; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.PresetPriceTwo + * + * @return the value of jsh_material.PresetPriceTwo + * + * @mbggenerated + */ + public Double getPresetpricetwo() { + return presetpricetwo; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.PresetPriceTwo + * + * @param presetpricetwo the value for jsh_material.PresetPriceTwo + * + * @mbggenerated + */ + public void setPresetpricetwo(Double presetpricetwo) { + this.presetpricetwo = presetpricetwo; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.UnitId + * + * @return the value of jsh_material.UnitId + * + * @mbggenerated + */ + public Long getUnitid() { + return unitid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.UnitId + * + * @param unitid the value for jsh_material.UnitId + * + * @mbggenerated + */ + public void setUnitid(Long unitid) { + this.unitid = unitid; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.FirstOutUnit + * + * @return the value of jsh_material.FirstOutUnit + * + * @mbggenerated + */ + public String getFirstoutunit() { + return firstoutunit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.FirstOutUnit + * + * @param firstoutunit the value for jsh_material.FirstOutUnit + * + * @mbggenerated + */ + public void setFirstoutunit(String firstoutunit) { + this.firstoutunit = firstoutunit == null ? null : firstoutunit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.FirstInUnit + * + * @return the value of jsh_material.FirstInUnit + * + * @mbggenerated + */ + public String getFirstinunit() { + return firstinunit; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.FirstInUnit + * + * @param firstinunit the value for jsh_material.FirstInUnit + * + * @mbggenerated + */ + public void setFirstinunit(String firstinunit) { + this.firstinunit = firstinunit == null ? null : firstinunit.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.PriceStrategy + * + * @return the value of jsh_material.PriceStrategy + * + * @mbggenerated + */ + public String getPricestrategy() { + return pricestrategy; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.PriceStrategy + * + * @param pricestrategy the value for jsh_material.PriceStrategy + * + * @mbggenerated + */ + public void setPricestrategy(String pricestrategy) { + this.pricestrategy = pricestrategy == null ? null : pricestrategy.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.Enabled + * + * @return the value of jsh_material.Enabled + * + * @mbggenerated + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.Enabled + * + * @param enabled the value for jsh_material.Enabled + * + * @mbggenerated + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.OtherField1 + * + * @return the value of jsh_material.OtherField1 + * + * @mbggenerated + */ + public String getOtherfield1() { + return otherfield1; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.OtherField1 + * + * @param otherfield1 the value for jsh_material.OtherField1 + * + * @mbggenerated + */ + public void setOtherfield1(String otherfield1) { + this.otherfield1 = otherfield1 == null ? null : otherfield1.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.OtherField2 + * + * @return the value of jsh_material.OtherField2 + * + * @mbggenerated + */ + public String getOtherfield2() { + return otherfield2; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.OtherField2 + * + * @param otherfield2 the value for jsh_material.OtherField2 + * + * @mbggenerated + */ + public void setOtherfield2(String otherfield2) { + this.otherfield2 = otherfield2 == null ? null : otherfield2.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_material.OtherField3 + * + * @return the value of jsh_material.OtherField3 + * + * @mbggenerated + */ + public String getOtherfield3() { + return otherfield3; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_material.OtherField3 + * + * @param otherfield3 the value for jsh_material.OtherField3 + * + * @mbggenerated + */ + public void setOtherfield3(String otherfield3) { + this.otherfield3 = otherfield3 == null ? null : otherfield3.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java new file mode 100644 index 0000000000000000000000000000000000000000..fe948130a7a529e6c693e17db71ea6dadd68da6a --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategory.java @@ -0,0 +1,131 @@ +package com.jsh.erp.datasource.entities; + +public class MaterialCategory { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.CategoryLevel + * + * @mbggenerated + */ + private Short categorylevel; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialcategory.ParentId + * + * @mbggenerated + */ + private Long parentid; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.Id + * + * @return the value of jsh_materialcategory.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.Id + * + * @param id the value for jsh_materialcategory.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.Name + * + * @return the value of jsh_materialcategory.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.Name + * + * @param name the value for jsh_materialcategory.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.CategoryLevel + * + * @return the value of jsh_materialcategory.CategoryLevel + * + * @mbggenerated + */ + public Short getCategorylevel() { + return categorylevel; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.CategoryLevel + * + * @param categorylevel the value for jsh_materialcategory.CategoryLevel + * + * @mbggenerated + */ + public void setCategorylevel(Short categorylevel) { + this.categorylevel = categorylevel; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialcategory.ParentId + * + * @return the value of jsh_materialcategory.ParentId + * + * @mbggenerated + */ + public Long getParentid() { + return parentid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialcategory.ParentId + * + * @param parentid the value for jsh_materialcategory.ParentId + * + * @mbggenerated + */ + public void setParentid(Long parentid) { + this.parentid = parentid; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java new file mode 100644 index 0000000000000000000000000000000000000000..3c7fe5b3ae818fc5a5ceaf8a998a83b1830e2824 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialCategoryExample.java @@ -0,0 +1,552 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class MaterialCategoryExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public MaterialCategoryExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andCategorylevelIsNull() { + addCriterion("CategoryLevel is null"); + return (Criteria) this; + } + + public Criteria andCategorylevelIsNotNull() { + addCriterion("CategoryLevel is not null"); + return (Criteria) this; + } + + public Criteria andCategorylevelEqualTo(Short value) { + addCriterion("CategoryLevel =", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelNotEqualTo(Short value) { + addCriterion("CategoryLevel <>", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelGreaterThan(Short value) { + addCriterion("CategoryLevel >", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelGreaterThanOrEqualTo(Short value) { + addCriterion("CategoryLevel >=", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelLessThan(Short value) { + addCriterion("CategoryLevel <", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelLessThanOrEqualTo(Short value) { + addCriterion("CategoryLevel <=", value, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelIn(List values) { + addCriterion("CategoryLevel in", values, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelNotIn(List values) { + addCriterion("CategoryLevel not in", values, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelBetween(Short value1, Short value2) { + addCriterion("CategoryLevel between", value1, value2, "categorylevel"); + return (Criteria) this; + } + + public Criteria andCategorylevelNotBetween(Short value1, Short value2) { + addCriterion("CategoryLevel not between", value1, value2, "categorylevel"); + return (Criteria) this; + } + + public Criteria andParentidIsNull() { + addCriterion("ParentId is null"); + return (Criteria) this; + } + + public Criteria andParentidIsNotNull() { + addCriterion("ParentId is not null"); + return (Criteria) this; + } + + public Criteria andParentidEqualTo(Long value) { + addCriterion("ParentId =", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidNotEqualTo(Long value) { + addCriterion("ParentId <>", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidGreaterThan(Long value) { + addCriterion("ParentId >", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidGreaterThanOrEqualTo(Long value) { + addCriterion("ParentId >=", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidLessThan(Long value) { + addCriterion("ParentId <", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidLessThanOrEqualTo(Long value) { + addCriterion("ParentId <=", value, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidIn(List values) { + addCriterion("ParentId in", values, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidNotIn(List values) { + addCriterion("ParentId not in", values, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidBetween(Long value1, Long value2) { + addCriterion("ParentId between", value1, value2, "parentid"); + return (Criteria) this; + } + + public Criteria andParentidNotBetween(Long value1, Long value2) { + addCriterion("ParentId not between", value1, value2, "parentid"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_materialcategory + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialExample.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialExample.java new file mode 100644 index 0000000000000000000000000000000000000000..c3adc6a7d6e0e92be5df511a645edbe898b0bcc7 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialExample.java @@ -0,0 +1,1812 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class MaterialExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public MaterialExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_material + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andCategoryidIsNull() { + addCriterion("CategoryId is null"); + return (Criteria) this; + } + + public Criteria andCategoryidIsNotNull() { + addCriterion("CategoryId is not null"); + return (Criteria) this; + } + + public Criteria andCategoryidEqualTo(Long value) { + addCriterion("CategoryId =", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidNotEqualTo(Long value) { + addCriterion("CategoryId <>", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidGreaterThan(Long value) { + addCriterion("CategoryId >", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidGreaterThanOrEqualTo(Long value) { + addCriterion("CategoryId >=", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidLessThan(Long value) { + addCriterion("CategoryId <", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidLessThanOrEqualTo(Long value) { + addCriterion("CategoryId <=", value, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidIn(List values) { + addCriterion("CategoryId in", values, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidNotIn(List values) { + addCriterion("CategoryId not in", values, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidBetween(Long value1, Long value2) { + addCriterion("CategoryId between", value1, value2, "categoryid"); + return (Criteria) this; + } + + public Criteria andCategoryidNotBetween(Long value1, Long value2) { + addCriterion("CategoryId not between", value1, value2, "categoryid"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andMfrsIsNull() { + addCriterion("Mfrs is null"); + return (Criteria) this; + } + + public Criteria andMfrsIsNotNull() { + addCriterion("Mfrs is not null"); + return (Criteria) this; + } + + public Criteria andMfrsEqualTo(String value) { + addCriterion("Mfrs =", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotEqualTo(String value) { + addCriterion("Mfrs <>", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsGreaterThan(String value) { + addCriterion("Mfrs >", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsGreaterThanOrEqualTo(String value) { + addCriterion("Mfrs >=", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsLessThan(String value) { + addCriterion("Mfrs <", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsLessThanOrEqualTo(String value) { + addCriterion("Mfrs <=", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsLike(String value) { + addCriterion("Mfrs like", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotLike(String value) { + addCriterion("Mfrs not like", value, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsIn(List values) { + addCriterion("Mfrs in", values, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotIn(List values) { + addCriterion("Mfrs not in", values, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsBetween(String value1, String value2) { + addCriterion("Mfrs between", value1, value2, "mfrs"); + return (Criteria) this; + } + + public Criteria andMfrsNotBetween(String value1, String value2) { + addCriterion("Mfrs not between", value1, value2, "mfrs"); + return (Criteria) this; + } + + public Criteria andPackingIsNull() { + addCriterion("Packing is null"); + return (Criteria) this; + } + + public Criteria andPackingIsNotNull() { + addCriterion("Packing is not null"); + return (Criteria) this; + } + + public Criteria andPackingEqualTo(Double value) { + addCriterion("Packing =", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingNotEqualTo(Double value) { + addCriterion("Packing <>", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingGreaterThan(Double value) { + addCriterion("Packing >", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingGreaterThanOrEqualTo(Double value) { + addCriterion("Packing >=", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingLessThan(Double value) { + addCriterion("Packing <", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingLessThanOrEqualTo(Double value) { + addCriterion("Packing <=", value, "packing"); + return (Criteria) this; + } + + public Criteria andPackingIn(List values) { + addCriterion("Packing in", values, "packing"); + return (Criteria) this; + } + + public Criteria andPackingNotIn(List values) { + addCriterion("Packing not in", values, "packing"); + return (Criteria) this; + } + + public Criteria andPackingBetween(Double value1, Double value2) { + addCriterion("Packing between", value1, value2, "packing"); + return (Criteria) this; + } + + public Criteria andPackingNotBetween(Double value1, Double value2) { + addCriterion("Packing not between", value1, value2, "packing"); + return (Criteria) this; + } + + public Criteria andSafetystockIsNull() { + addCriterion("SafetyStock is null"); + return (Criteria) this; + } + + public Criteria andSafetystockIsNotNull() { + addCriterion("SafetyStock is not null"); + return (Criteria) this; + } + + public Criteria andSafetystockEqualTo(Double value) { + addCriterion("SafetyStock =", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockNotEqualTo(Double value) { + addCriterion("SafetyStock <>", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockGreaterThan(Double value) { + addCriterion("SafetyStock >", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockGreaterThanOrEqualTo(Double value) { + addCriterion("SafetyStock >=", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockLessThan(Double value) { + addCriterion("SafetyStock <", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockLessThanOrEqualTo(Double value) { + addCriterion("SafetyStock <=", value, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockIn(List values) { + addCriterion("SafetyStock in", values, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockNotIn(List values) { + addCriterion("SafetyStock not in", values, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockBetween(Double value1, Double value2) { + addCriterion("SafetyStock between", value1, value2, "safetystock"); + return (Criteria) this; + } + + public Criteria andSafetystockNotBetween(Double value1, Double value2) { + addCriterion("SafetyStock not between", value1, value2, "safetystock"); + return (Criteria) this; + } + + public Criteria andModelIsNull() { + addCriterion("Model is null"); + return (Criteria) this; + } + + public Criteria andModelIsNotNull() { + addCriterion("Model is not null"); + return (Criteria) this; + } + + public Criteria andModelEqualTo(String value) { + addCriterion("Model =", value, "model"); + return (Criteria) this; + } + + public Criteria andModelNotEqualTo(String value) { + addCriterion("Model <>", value, "model"); + return (Criteria) this; + } + + public Criteria andModelGreaterThan(String value) { + addCriterion("Model >", value, "model"); + return (Criteria) this; + } + + public Criteria andModelGreaterThanOrEqualTo(String value) { + addCriterion("Model >=", value, "model"); + return (Criteria) this; + } + + public Criteria andModelLessThan(String value) { + addCriterion("Model <", value, "model"); + return (Criteria) this; + } + + public Criteria andModelLessThanOrEqualTo(String value) { + addCriterion("Model <=", value, "model"); + return (Criteria) this; + } + + public Criteria andModelLike(String value) { + addCriterion("Model like", value, "model"); + return (Criteria) this; + } + + public Criteria andModelNotLike(String value) { + addCriterion("Model not like", value, "model"); + return (Criteria) this; + } + + public Criteria andModelIn(List values) { + addCriterion("Model in", values, "model"); + return (Criteria) this; + } + + public Criteria andModelNotIn(List values) { + addCriterion("Model not in", values, "model"); + return (Criteria) this; + } + + public Criteria andModelBetween(String value1, String value2) { + addCriterion("Model between", value1, value2, "model"); + return (Criteria) this; + } + + public Criteria andModelNotBetween(String value1, String value2) { + addCriterion("Model not between", value1, value2, "model"); + return (Criteria) this; + } + + public Criteria andStandardIsNull() { + addCriterion("Standard is null"); + return (Criteria) this; + } + + public Criteria andStandardIsNotNull() { + addCriterion("Standard is not null"); + return (Criteria) this; + } + + public Criteria andStandardEqualTo(String value) { + addCriterion("Standard =", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotEqualTo(String value) { + addCriterion("Standard <>", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardGreaterThan(String value) { + addCriterion("Standard >", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardGreaterThanOrEqualTo(String value) { + addCriterion("Standard >=", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardLessThan(String value) { + addCriterion("Standard <", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardLessThanOrEqualTo(String value) { + addCriterion("Standard <=", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardLike(String value) { + addCriterion("Standard like", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotLike(String value) { + addCriterion("Standard not like", value, "standard"); + return (Criteria) this; + } + + public Criteria andStandardIn(List values) { + addCriterion("Standard in", values, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotIn(List values) { + addCriterion("Standard not in", values, "standard"); + return (Criteria) this; + } + + public Criteria andStandardBetween(String value1, String value2) { + addCriterion("Standard between", value1, value2, "standard"); + return (Criteria) this; + } + + public Criteria andStandardNotBetween(String value1, String value2) { + addCriterion("Standard not between", value1, value2, "standard"); + return (Criteria) this; + } + + public Criteria andColorIsNull() { + addCriterion("Color is null"); + return (Criteria) this; + } + + public Criteria andColorIsNotNull() { + addCriterion("Color is not null"); + return (Criteria) this; + } + + public Criteria andColorEqualTo(String value) { + addCriterion("Color =", value, "color"); + return (Criteria) this; + } + + public Criteria andColorNotEqualTo(String value) { + addCriterion("Color <>", value, "color"); + return (Criteria) this; + } + + public Criteria andColorGreaterThan(String value) { + addCriterion("Color >", value, "color"); + return (Criteria) this; + } + + public Criteria andColorGreaterThanOrEqualTo(String value) { + addCriterion("Color >=", value, "color"); + return (Criteria) this; + } + + public Criteria andColorLessThan(String value) { + addCriterion("Color <", value, "color"); + return (Criteria) this; + } + + public Criteria andColorLessThanOrEqualTo(String value) { + addCriterion("Color <=", value, "color"); + return (Criteria) this; + } + + public Criteria andColorLike(String value) { + addCriterion("Color like", value, "color"); + return (Criteria) this; + } + + public Criteria andColorNotLike(String value) { + addCriterion("Color not like", value, "color"); + return (Criteria) this; + } + + public Criteria andColorIn(List values) { + addCriterion("Color in", values, "color"); + return (Criteria) this; + } + + public Criteria andColorNotIn(List values) { + addCriterion("Color not in", values, "color"); + return (Criteria) this; + } + + public Criteria andColorBetween(String value1, String value2) { + addCriterion("Color between", value1, value2, "color"); + return (Criteria) this; + } + + public Criteria andColorNotBetween(String value1, String value2) { + addCriterion("Color not between", value1, value2, "color"); + return (Criteria) this; + } + + public Criteria andUnitIsNull() { + addCriterion("Unit is null"); + return (Criteria) this; + } + + public Criteria andUnitIsNotNull() { + addCriterion("Unit is not null"); + return (Criteria) this; + } + + public Criteria andUnitEqualTo(String value) { + addCriterion("Unit =", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotEqualTo(String value) { + addCriterion("Unit <>", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitGreaterThan(String value) { + addCriterion("Unit >", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitGreaterThanOrEqualTo(String value) { + addCriterion("Unit >=", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLessThan(String value) { + addCriterion("Unit <", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLessThanOrEqualTo(String value) { + addCriterion("Unit <=", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitLike(String value) { + addCriterion("Unit like", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotLike(String value) { + addCriterion("Unit not like", value, "unit"); + return (Criteria) this; + } + + public Criteria andUnitIn(List values) { + addCriterion("Unit in", values, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotIn(List values) { + addCriterion("Unit not in", values, "unit"); + return (Criteria) this; + } + + public Criteria andUnitBetween(String value1, String value2) { + addCriterion("Unit between", value1, value2, "unit"); + return (Criteria) this; + } + + public Criteria andUnitNotBetween(String value1, String value2) { + addCriterion("Unit not between", value1, value2, "unit"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("Remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("Remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("Remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("Remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("Remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("Remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("Remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("Remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("Remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("Remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("Remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("Remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("Remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("Remark not between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRetailpriceIsNull() { + addCriterion("RetailPrice is null"); + return (Criteria) this; + } + + public Criteria andRetailpriceIsNotNull() { + addCriterion("RetailPrice is not null"); + return (Criteria) this; + } + + public Criteria andRetailpriceEqualTo(Double value) { + addCriterion("RetailPrice =", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceNotEqualTo(Double value) { + addCriterion("RetailPrice <>", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceGreaterThan(Double value) { + addCriterion("RetailPrice >", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceGreaterThanOrEqualTo(Double value) { + addCriterion("RetailPrice >=", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceLessThan(Double value) { + addCriterion("RetailPrice <", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceLessThanOrEqualTo(Double value) { + addCriterion("RetailPrice <=", value, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceIn(List values) { + addCriterion("RetailPrice in", values, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceNotIn(List values) { + addCriterion("RetailPrice not in", values, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceBetween(Double value1, Double value2) { + addCriterion("RetailPrice between", value1, value2, "retailprice"); + return (Criteria) this; + } + + public Criteria andRetailpriceNotBetween(Double value1, Double value2) { + addCriterion("RetailPrice not between", value1, value2, "retailprice"); + return (Criteria) this; + } + + public Criteria andLowpriceIsNull() { + addCriterion("LowPrice is null"); + return (Criteria) this; + } + + public Criteria andLowpriceIsNotNull() { + addCriterion("LowPrice is not null"); + return (Criteria) this; + } + + public Criteria andLowpriceEqualTo(Double value) { + addCriterion("LowPrice =", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceNotEqualTo(Double value) { + addCriterion("LowPrice <>", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceGreaterThan(Double value) { + addCriterion("LowPrice >", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceGreaterThanOrEqualTo(Double value) { + addCriterion("LowPrice >=", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceLessThan(Double value) { + addCriterion("LowPrice <", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceLessThanOrEqualTo(Double value) { + addCriterion("LowPrice <=", value, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceIn(List values) { + addCriterion("LowPrice in", values, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceNotIn(List values) { + addCriterion("LowPrice not in", values, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceBetween(Double value1, Double value2) { + addCriterion("LowPrice between", value1, value2, "lowprice"); + return (Criteria) this; + } + + public Criteria andLowpriceNotBetween(Double value1, Double value2) { + addCriterion("LowPrice not between", value1, value2, "lowprice"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneIsNull() { + addCriterion("PresetPriceOne is null"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneIsNotNull() { + addCriterion("PresetPriceOne is not null"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneEqualTo(Double value) { + addCriterion("PresetPriceOne =", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneNotEqualTo(Double value) { + addCriterion("PresetPriceOne <>", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneGreaterThan(Double value) { + addCriterion("PresetPriceOne >", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneGreaterThanOrEqualTo(Double value) { + addCriterion("PresetPriceOne >=", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneLessThan(Double value) { + addCriterion("PresetPriceOne <", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneLessThanOrEqualTo(Double value) { + addCriterion("PresetPriceOne <=", value, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneIn(List values) { + addCriterion("PresetPriceOne in", values, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneNotIn(List values) { + addCriterion("PresetPriceOne not in", values, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneBetween(Double value1, Double value2) { + addCriterion("PresetPriceOne between", value1, value2, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpriceoneNotBetween(Double value1, Double value2) { + addCriterion("PresetPriceOne not between", value1, value2, "presetpriceone"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoIsNull() { + addCriterion("PresetPriceTwo is null"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoIsNotNull() { + addCriterion("PresetPriceTwo is not null"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoEqualTo(Double value) { + addCriterion("PresetPriceTwo =", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoNotEqualTo(Double value) { + addCriterion("PresetPriceTwo <>", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoGreaterThan(Double value) { + addCriterion("PresetPriceTwo >", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoGreaterThanOrEqualTo(Double value) { + addCriterion("PresetPriceTwo >=", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoLessThan(Double value) { + addCriterion("PresetPriceTwo <", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoLessThanOrEqualTo(Double value) { + addCriterion("PresetPriceTwo <=", value, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoIn(List values) { + addCriterion("PresetPriceTwo in", values, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoNotIn(List values) { + addCriterion("PresetPriceTwo not in", values, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoBetween(Double value1, Double value2) { + addCriterion("PresetPriceTwo between", value1, value2, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andPresetpricetwoNotBetween(Double value1, Double value2) { + addCriterion("PresetPriceTwo not between", value1, value2, "presetpricetwo"); + return (Criteria) this; + } + + public Criteria andUnitidIsNull() { + addCriterion("UnitId is null"); + return (Criteria) this; + } + + public Criteria andUnitidIsNotNull() { + addCriterion("UnitId is not null"); + return (Criteria) this; + } + + public Criteria andUnitidEqualTo(Long value) { + addCriterion("UnitId =", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidNotEqualTo(Long value) { + addCriterion("UnitId <>", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidGreaterThan(Long value) { + addCriterion("UnitId >", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidGreaterThanOrEqualTo(Long value) { + addCriterion("UnitId >=", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidLessThan(Long value) { + addCriterion("UnitId <", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidLessThanOrEqualTo(Long value) { + addCriterion("UnitId <=", value, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidIn(List values) { + addCriterion("UnitId in", values, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidNotIn(List values) { + addCriterion("UnitId not in", values, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidBetween(Long value1, Long value2) { + addCriterion("UnitId between", value1, value2, "unitid"); + return (Criteria) this; + } + + public Criteria andUnitidNotBetween(Long value1, Long value2) { + addCriterion("UnitId not between", value1, value2, "unitid"); + return (Criteria) this; + } + + public Criteria andFirstoutunitIsNull() { + addCriterion("FirstOutUnit is null"); + return (Criteria) this; + } + + public Criteria andFirstoutunitIsNotNull() { + addCriterion("FirstOutUnit is not null"); + return (Criteria) this; + } + + public Criteria andFirstoutunitEqualTo(String value) { + addCriterion("FirstOutUnit =", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotEqualTo(String value) { + addCriterion("FirstOutUnit <>", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitGreaterThan(String value) { + addCriterion("FirstOutUnit >", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitGreaterThanOrEqualTo(String value) { + addCriterion("FirstOutUnit >=", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitLessThan(String value) { + addCriterion("FirstOutUnit <", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitLessThanOrEqualTo(String value) { + addCriterion("FirstOutUnit <=", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitLike(String value) { + addCriterion("FirstOutUnit like", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotLike(String value) { + addCriterion("FirstOutUnit not like", value, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitIn(List values) { + addCriterion("FirstOutUnit in", values, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotIn(List values) { + addCriterion("FirstOutUnit not in", values, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitBetween(String value1, String value2) { + addCriterion("FirstOutUnit between", value1, value2, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstoutunitNotBetween(String value1, String value2) { + addCriterion("FirstOutUnit not between", value1, value2, "firstoutunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitIsNull() { + addCriterion("FirstInUnit is null"); + return (Criteria) this; + } + + public Criteria andFirstinunitIsNotNull() { + addCriterion("FirstInUnit is not null"); + return (Criteria) this; + } + + public Criteria andFirstinunitEqualTo(String value) { + addCriterion("FirstInUnit =", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotEqualTo(String value) { + addCriterion("FirstInUnit <>", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitGreaterThan(String value) { + addCriterion("FirstInUnit >", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitGreaterThanOrEqualTo(String value) { + addCriterion("FirstInUnit >=", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitLessThan(String value) { + addCriterion("FirstInUnit <", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitLessThanOrEqualTo(String value) { + addCriterion("FirstInUnit <=", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitLike(String value) { + addCriterion("FirstInUnit like", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotLike(String value) { + addCriterion("FirstInUnit not like", value, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitIn(List values) { + addCriterion("FirstInUnit in", values, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotIn(List values) { + addCriterion("FirstInUnit not in", values, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitBetween(String value1, String value2) { + addCriterion("FirstInUnit between", value1, value2, "firstinunit"); + return (Criteria) this; + } + + public Criteria andFirstinunitNotBetween(String value1, String value2) { + addCriterion("FirstInUnit not between", value1, value2, "firstinunit"); + return (Criteria) this; + } + + public Criteria andPricestrategyIsNull() { + addCriterion("PriceStrategy is null"); + return (Criteria) this; + } + + public Criteria andPricestrategyIsNotNull() { + addCriterion("PriceStrategy is not null"); + return (Criteria) this; + } + + public Criteria andPricestrategyEqualTo(String value) { + addCriterion("PriceStrategy =", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotEqualTo(String value) { + addCriterion("PriceStrategy <>", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyGreaterThan(String value) { + addCriterion("PriceStrategy >", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyGreaterThanOrEqualTo(String value) { + addCriterion("PriceStrategy >=", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyLessThan(String value) { + addCriterion("PriceStrategy <", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyLessThanOrEqualTo(String value) { + addCriterion("PriceStrategy <=", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyLike(String value) { + addCriterion("PriceStrategy like", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotLike(String value) { + addCriterion("PriceStrategy not like", value, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyIn(List values) { + addCriterion("PriceStrategy in", values, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotIn(List values) { + addCriterion("PriceStrategy not in", values, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyBetween(String value1, String value2) { + addCriterion("PriceStrategy between", value1, value2, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andPricestrategyNotBetween(String value1, String value2) { + addCriterion("PriceStrategy not between", value1, value2, "pricestrategy"); + return (Criteria) this; + } + + public Criteria andEnabledIsNull() { + addCriterion("Enabled is null"); + return (Criteria) this; + } + + public Criteria andEnabledIsNotNull() { + addCriterion("Enabled is not null"); + return (Criteria) this; + } + + public Criteria andEnabledEqualTo(Boolean value) { + addCriterion("Enabled =", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotEqualTo(Boolean value) { + addCriterion("Enabled <>", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThan(Boolean value) { + addCriterion("Enabled >", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { + addCriterion("Enabled >=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThan(Boolean value) { + addCriterion("Enabled <", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThanOrEqualTo(Boolean value) { + addCriterion("Enabled <=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledIn(List values) { + addCriterion("Enabled in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotIn(List values) { + addCriterion("Enabled not in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { + addCriterion("Enabled not between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNull() { + addCriterion("OtherField1 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield1IsNotNull() { + addCriterion("OtherField1 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield1EqualTo(String value) { + addCriterion("OtherField1 =", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotEqualTo(String value) { + addCriterion("OtherField1 <>", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThan(String value) { + addCriterion("OtherField1 >", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1GreaterThanOrEqualTo(String value) { + addCriterion("OtherField1 >=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThan(String value) { + addCriterion("OtherField1 <", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1LessThanOrEqualTo(String value) { + addCriterion("OtherField1 <=", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Like(String value) { + addCriterion("OtherField1 like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotLike(String value) { + addCriterion("OtherField1 not like", value, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1In(List values) { + addCriterion("OtherField1 in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotIn(List values) { + addCriterion("OtherField1 not in", values, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1Between(String value1, String value2) { + addCriterion("OtherField1 between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield1NotBetween(String value1, String value2) { + addCriterion("OtherField1 not between", value1, value2, "otherfield1"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNull() { + addCriterion("OtherField2 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield2IsNotNull() { + addCriterion("OtherField2 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield2EqualTo(String value) { + addCriterion("OtherField2 =", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotEqualTo(String value) { + addCriterion("OtherField2 <>", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThan(String value) { + addCriterion("OtherField2 >", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2GreaterThanOrEqualTo(String value) { + addCriterion("OtherField2 >=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThan(String value) { + addCriterion("OtherField2 <", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2LessThanOrEqualTo(String value) { + addCriterion("OtherField2 <=", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Like(String value) { + addCriterion("OtherField2 like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotLike(String value) { + addCriterion("OtherField2 not like", value, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2In(List values) { + addCriterion("OtherField2 in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotIn(List values) { + addCriterion("OtherField2 not in", values, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2Between(String value1, String value2) { + addCriterion("OtherField2 between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield2NotBetween(String value1, String value2) { + addCriterion("OtherField2 not between", value1, value2, "otherfield2"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNull() { + addCriterion("OtherField3 is null"); + return (Criteria) this; + } + + public Criteria andOtherfield3IsNotNull() { + addCriterion("OtherField3 is not null"); + return (Criteria) this; + } + + public Criteria andOtherfield3EqualTo(String value) { + addCriterion("OtherField3 =", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotEqualTo(String value) { + addCriterion("OtherField3 <>", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThan(String value) { + addCriterion("OtherField3 >", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3GreaterThanOrEqualTo(String value) { + addCriterion("OtherField3 >=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThan(String value) { + addCriterion("OtherField3 <", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3LessThanOrEqualTo(String value) { + addCriterion("OtherField3 <=", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Like(String value) { + addCriterion("OtherField3 like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotLike(String value) { + addCriterion("OtherField3 not like", value, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3In(List values) { + addCriterion("OtherField3 in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotIn(List values) { + addCriterion("OtherField3 not in", values, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3Between(String value1, String value2) { + addCriterion("OtherField3 between", value1, value2, "otherfield3"); + return (Criteria) this; + } + + public Criteria andOtherfield3NotBetween(String value1, String value2) { + addCriterion("OtherField3 not between", value1, value2, "otherfield3"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_material + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_material + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialProperty.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialProperty.java new file mode 100644 index 0000000000000000000000000000000000000000..dc075f267af2fc354a9d23d9ab99a6ee3d25063e --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialProperty.java @@ -0,0 +1,163 @@ +package com.jsh.erp.datasource.entities; + +public class MaterialProperty { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialproperty.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialproperty.nativeName + * + * @mbggenerated + */ + private String nativename; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialproperty.enabled + * + * @mbggenerated + */ + private Boolean enabled; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialproperty.sort + * + * @mbggenerated + */ + private String sort; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_materialproperty.anotherName + * + * @mbggenerated + */ + private String anothername; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialproperty.id + * + * @return the value of jsh_materialproperty.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialproperty.id + * + * @param id the value for jsh_materialproperty.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialproperty.nativeName + * + * @return the value of jsh_materialproperty.nativeName + * + * @mbggenerated + */ + public String getNativename() { + return nativename; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialproperty.nativeName + * + * @param nativename the value for jsh_materialproperty.nativeName + * + * @mbggenerated + */ + public void setNativename(String nativename) { + this.nativename = nativename == null ? null : nativename.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialproperty.enabled + * + * @return the value of jsh_materialproperty.enabled + * + * @mbggenerated + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialproperty.enabled + * + * @param enabled the value for jsh_materialproperty.enabled + * + * @mbggenerated + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialproperty.sort + * + * @return the value of jsh_materialproperty.sort + * + * @mbggenerated + */ + public String getSort() { + return sort; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialproperty.sort + * + * @param sort the value for jsh_materialproperty.sort + * + * @mbggenerated + */ + public void setSort(String sort) { + this.sort = sort == null ? null : sort.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_materialproperty.anotherName + * + * @return the value of jsh_materialproperty.anotherName + * + * @mbggenerated + */ + public String getAnothername() { + return anothername; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_materialproperty.anotherName + * + * @param anothername the value for jsh_materialproperty.anotherName + * + * @mbggenerated + */ + public void setAnothername(String anothername) { + this.anothername = anothername == null ? null : anothername.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialPropertyExample.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialPropertyExample.java new file mode 100644 index 0000000000000000000000000000000000000000..298e65165fb131aed829c438de43265d3ec5ac19 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialPropertyExample.java @@ -0,0 +1,632 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class MaterialPropertyExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public MaterialPropertyExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNativenameIsNull() { + addCriterion("nativeName is null"); + return (Criteria) this; + } + + public Criteria andNativenameIsNotNull() { + addCriterion("nativeName is not null"); + return (Criteria) this; + } + + public Criteria andNativenameEqualTo(String value) { + addCriterion("nativeName =", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameNotEqualTo(String value) { + addCriterion("nativeName <>", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameGreaterThan(String value) { + addCriterion("nativeName >", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameGreaterThanOrEqualTo(String value) { + addCriterion("nativeName >=", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameLessThan(String value) { + addCriterion("nativeName <", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameLessThanOrEqualTo(String value) { + addCriterion("nativeName <=", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameLike(String value) { + addCriterion("nativeName like", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameNotLike(String value) { + addCriterion("nativeName not like", value, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameIn(List values) { + addCriterion("nativeName in", values, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameNotIn(List values) { + addCriterion("nativeName not in", values, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameBetween(String value1, String value2) { + addCriterion("nativeName between", value1, value2, "nativename"); + return (Criteria) this; + } + + public Criteria andNativenameNotBetween(String value1, String value2) { + addCriterion("nativeName not between", value1, value2, "nativename"); + return (Criteria) this; + } + + public Criteria andEnabledIsNull() { + addCriterion("enabled is null"); + return (Criteria) this; + } + + public Criteria andEnabledIsNotNull() { + addCriterion("enabled is not null"); + return (Criteria) this; + } + + public Criteria andEnabledEqualTo(Boolean value) { + addCriterion("enabled =", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotEqualTo(Boolean value) { + addCriterion("enabled <>", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThan(Boolean value) { + addCriterion("enabled >", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { + addCriterion("enabled >=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThan(Boolean value) { + addCriterion("enabled <", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThanOrEqualTo(Boolean value) { + addCriterion("enabled <=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledIn(List values) { + addCriterion("enabled in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotIn(List values) { + addCriterion("enabled not in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledBetween(Boolean value1, Boolean value2) { + addCriterion("enabled between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { + addCriterion("enabled not between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andSortIsNull() { + addCriterion("sort is null"); + return (Criteria) this; + } + + public Criteria andSortIsNotNull() { + addCriterion("sort is not null"); + return (Criteria) this; + } + + public Criteria andSortEqualTo(String value) { + addCriterion("sort =", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotEqualTo(String value) { + addCriterion("sort <>", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThan(String value) { + addCriterion("sort >", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortGreaterThanOrEqualTo(String value) { + addCriterion("sort >=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThan(String value) { + addCriterion("sort <", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLessThanOrEqualTo(String value) { + addCriterion("sort <=", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortLike(String value) { + addCriterion("sort like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotLike(String value) { + addCriterion("sort not like", value, "sort"); + return (Criteria) this; + } + + public Criteria andSortIn(List values) { + addCriterion("sort in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotIn(List values) { + addCriterion("sort not in", values, "sort"); + return (Criteria) this; + } + + public Criteria andSortBetween(String value1, String value2) { + addCriterion("sort between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andSortNotBetween(String value1, String value2) { + addCriterion("sort not between", value1, value2, "sort"); + return (Criteria) this; + } + + public Criteria andAnothernameIsNull() { + addCriterion("anotherName is null"); + return (Criteria) this; + } + + public Criteria andAnothernameIsNotNull() { + addCriterion("anotherName is not null"); + return (Criteria) this; + } + + public Criteria andAnothernameEqualTo(String value) { + addCriterion("anotherName =", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameNotEqualTo(String value) { + addCriterion("anotherName <>", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameGreaterThan(String value) { + addCriterion("anotherName >", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameGreaterThanOrEqualTo(String value) { + addCriterion("anotherName >=", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameLessThan(String value) { + addCriterion("anotherName <", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameLessThanOrEqualTo(String value) { + addCriterion("anotherName <=", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameLike(String value) { + addCriterion("anotherName like", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameNotLike(String value) { + addCriterion("anotherName not like", value, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameIn(List values) { + addCriterion("anotherName in", values, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameNotIn(List values) { + addCriterion("anotherName not in", values, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameBetween(String value1, String value2) { + addCriterion("anotherName between", value1, value2, "anothername"); + return (Criteria) this; + } + + public Criteria andAnothernameNotBetween(String value1, String value2) { + addCriterion("anotherName not between", value1, value2, "anothername"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_materialproperty + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/MaterialVo4Unit.java b/src/main/java/com/jsh/erp/datasource/entities/MaterialVo4Unit.java new file mode 100644 index 0000000000000000000000000000000000000000..1855fdf17989d39d56789711f2e1e7668fcff141 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/MaterialVo4Unit.java @@ -0,0 +1,244 @@ +package com.jsh.erp.datasource.entities; + +public class MaterialVo4Unit { + + private Long id; + + private Long categoryid; + + private String name; + + private String mfrs; + + private Double packing; + + private Double safetystock; + + private String model; + + private String standard; + + private String color; + + private String unit; + + private String remark; + + private Double retailprice; + + private Double lowprice; + + private Double presetpriceone; + + private Double presetpricetwo; + + private Long unitid; + + private String firstoutunit; + + private String firstinunit; + + private String pricestrategy; + + private Boolean enabled; + + private String otherfield1; + + private String otherfield2; + + private String otherfield3; + + private String unitName; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getCategoryid() { + return categoryid; + } + + public void setCategoryid(Long categoryid) { + this.categoryid = categoryid; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getMfrs() { + return mfrs; + } + + public void setMfrs(String mfrs) { + this.mfrs = mfrs; + } + + public Double getPacking() { + return packing; + } + + public void setPacking(Double packing) { + this.packing = packing; + } + + public Double getSafetystock() { + return safetystock; + } + + public void setSafetystock(Double safetystock) { + this.safetystock = safetystock; + } + + public String getModel() { + return model; + } + + public void setModel(String model) { + this.model = model; + } + + public String getStandard() { + return standard; + } + + public void setStandard(String standard) { + this.standard = standard; + } + + public String getColor() { + return color; + } + + public void setColor(String color) { + this.color = color; + } + + public String getUnit() { + return unit; + } + + public void setUnit(String unit) { + this.unit = unit; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public Double getRetailprice() { + return retailprice; + } + + public void setRetailprice(Double retailprice) { + this.retailprice = retailprice; + } + + public Double getLowprice() { + return lowprice; + } + + public void setLowprice(Double lowprice) { + this.lowprice = lowprice; + } + + public Double getPresetpriceone() { + return presetpriceone; + } + + public void setPresetpriceone(Double presetpriceone) { + this.presetpriceone = presetpriceone; + } + + public Double getPresetpricetwo() { + return presetpricetwo; + } + + public void setPresetpricetwo(Double presetpricetwo) { + this.presetpricetwo = presetpricetwo; + } + + public Long getUnitid() { + return unitid; + } + + public void setUnitid(Long unitid) { + this.unitid = unitid; + } + + public String getFirstoutunit() { + return firstoutunit; + } + + public void setFirstoutunit(String firstoutunit) { + this.firstoutunit = firstoutunit; + } + + public String getFirstinunit() { + return firstinunit; + } + + public void setFirstinunit(String firstinunit) { + this.firstinunit = firstinunit; + } + + public String getPricestrategy() { + return pricestrategy; + } + + public void setPricestrategy(String pricestrategy) { + this.pricestrategy = pricestrategy; + } + + public Boolean getEnabled() { + return enabled; + } + + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + public String getOtherfield1() { + return otherfield1; + } + + public void setOtherfield1(String otherfield1) { + this.otherfield1 = otherfield1; + } + + public String getOtherfield2() { + return otherfield2; + } + + public void setOtherfield2(String otherfield2) { + this.otherfield2 = otherfield2; + } + + public String getOtherfield3() { + return otherfield3; + } + + public void setOtherfield3(String otherfield3) { + this.otherfield3 = otherfield3; + } + + public String getUnitName() { + return unitName; + } + + public void setUnitName(String unitName) { + this.unitName = unitName; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Person.java b/src/main/java/com/jsh/erp/datasource/entities/Person.java new file mode 100644 index 0000000000000000000000000000000000000000..03052d6fd0df26ffa75cb32d4f2047bb1f49fdc9 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Person.java @@ -0,0 +1,99 @@ +package com.jsh.erp.datasource.entities; + +public class Person { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_person.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_person.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_person.Name + * + * @mbggenerated + */ + private String name; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_person.Id + * + * @return the value of jsh_person.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_person.Id + * + * @param id the value for jsh_person.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_person.Type + * + * @return the value of jsh_person.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_person.Type + * + * @param type the value for jsh_person.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_person.Name + * + * @return the value of jsh_person.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_person.Name + * + * @param name the value for jsh_person.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/PersonExample.java b/src/main/java/com/jsh/erp/datasource/entities/PersonExample.java new file mode 100644 index 0000000000000000000000000000000000000000..dfd19780e61d035c89df73a2a1819d233559370b --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/PersonExample.java @@ -0,0 +1,502 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class PersonExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_person + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_person + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_person + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public PersonExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_person + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_person + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_person + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Role.java b/src/main/java/com/jsh/erp/datasource/entities/Role.java new file mode 100644 index 0000000000000000000000000000000000000000..0f2d70ba7a26615560f4ba725038355f7833e031 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Role.java @@ -0,0 +1,163 @@ +package com.jsh.erp.datasource.entities; + +public class Role { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_role.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_role.Name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_role.type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_role.value + * + * @mbggenerated + */ + private String value; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_role.description + * + * @mbggenerated + */ + private String description; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_role.Id + * + * @return the value of jsh_role.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_role.Id + * + * @param id the value for jsh_role.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_role.Name + * + * @return the value of jsh_role.Name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_role.Name + * + * @param name the value for jsh_role.Name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_role.type + * + * @return the value of jsh_role.type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_role.type + * + * @param type the value for jsh_role.type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_role.value + * + * @return the value of jsh_role.value + * + * @mbggenerated + */ + public String getValue() { + return value; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_role.value + * + * @param value the value for jsh_role.value + * + * @mbggenerated + */ + public void setValue(String value) { + this.value = value == null ? null : value.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_role.description + * + * @return the value of jsh_role.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_role.description + * + * @param description the value for jsh_role.description + * + * @mbggenerated + */ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/RoleExample.java b/src/main/java/com/jsh/erp/datasource/entities/RoleExample.java new file mode 100644 index 0000000000000000000000000000000000000000..e41faabecaa8bbd819eb74388b38ad89378a1ad8 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/RoleExample.java @@ -0,0 +1,642 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class RoleExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_role + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_role + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_role + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public RoleExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_role + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("Name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("Name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("Name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("Name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("Name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("Name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("Name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("Name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("Name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("Name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("Name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("Name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("Name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("Name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andValueIsNull() { + addCriterion("value is null"); + return (Criteria) this; + } + + public Criteria andValueIsNotNull() { + addCriterion("value is not null"); + return (Criteria) this; + } + + public Criteria andValueEqualTo(String value) { + addCriterion("value =", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotEqualTo(String value) { + addCriterion("value <>", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThan(String value) { + addCriterion("value >", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThanOrEqualTo(String value) { + addCriterion("value >=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThan(String value) { + addCriterion("value <", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThanOrEqualTo(String value) { + addCriterion("value <=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLike(String value) { + addCriterion("value like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotLike(String value) { + addCriterion("value not like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueIn(List values) { + addCriterion("value in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueNotIn(List values) { + addCriterion("value not in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueBetween(String value1, String value2) { + addCriterion("value between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andValueNotBetween(String value1, String value2) { + addCriterion("value not between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_role + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_role + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Supplier.java b/src/main/java/com/jsh/erp/datasource/entities/Supplier.java new file mode 100644 index 0000000000000000000000000000000000000000..6ce1a054d40353316fa6db1a6c8606e81ee06008 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Supplier.java @@ -0,0 +1,675 @@ +package com.jsh.erp.datasource.entities; + +public class Supplier { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.supplier + * + * @mbggenerated + */ + private String supplier; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.contacts + * + * @mbggenerated + */ + private String contacts; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.phonenum + * + * @mbggenerated + */ + private String phonenum; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.email + * + * @mbggenerated + */ + private String email; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.description + * + * @mbggenerated + */ + private String description; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.isystem + * + * @mbggenerated + */ + private Byte isystem; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.enabled + * + * @mbggenerated + */ + private Boolean enabled; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.AdvanceIn + * + * @mbggenerated + */ + private Double advancein; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.BeginNeedGet + * + * @mbggenerated + */ + private Double beginneedget; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.BeginNeedPay + * + * @mbggenerated + */ + private Double beginneedpay; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.AllNeedGet + * + * @mbggenerated + */ + private Double allneedget; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.AllNeedPay + * + * @mbggenerated + */ + private Double allneedpay; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.fax + * + * @mbggenerated + */ + private String fax; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.telephone + * + * @mbggenerated + */ + private String telephone; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.address + * + * @mbggenerated + */ + private String address; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.taxNum + * + * @mbggenerated + */ + private String taxnum; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.bankName + * + * @mbggenerated + */ + private String bankname; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.accountNumber + * + * @mbggenerated + */ + private String accountnumber; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_supplier.taxRate + * + * @mbggenerated + */ + private Double taxrate; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.id + * + * @return the value of jsh_supplier.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.id + * + * @param id the value for jsh_supplier.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.supplier + * + * @return the value of jsh_supplier.supplier + * + * @mbggenerated + */ + public String getSupplier() { + return supplier; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.supplier + * + * @param supplier the value for jsh_supplier.supplier + * + * @mbggenerated + */ + public void setSupplier(String supplier) { + this.supplier = supplier == null ? null : supplier.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.contacts + * + * @return the value of jsh_supplier.contacts + * + * @mbggenerated + */ + public String getContacts() { + return contacts; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.contacts + * + * @param contacts the value for jsh_supplier.contacts + * + * @mbggenerated + */ + public void setContacts(String contacts) { + this.contacts = contacts == null ? null : contacts.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.phonenum + * + * @return the value of jsh_supplier.phonenum + * + * @mbggenerated + */ + public String getPhonenum() { + return phonenum; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.phonenum + * + * @param phonenum the value for jsh_supplier.phonenum + * + * @mbggenerated + */ + public void setPhonenum(String phonenum) { + this.phonenum = phonenum == null ? null : phonenum.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.email + * + * @return the value of jsh_supplier.email + * + * @mbggenerated + */ + public String getEmail() { + return email; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.email + * + * @param email the value for jsh_supplier.email + * + * @mbggenerated + */ + public void setEmail(String email) { + this.email = email == null ? null : email.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.description + * + * @return the value of jsh_supplier.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.description + * + * @param description the value for jsh_supplier.description + * + * @mbggenerated + */ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.isystem + * + * @return the value of jsh_supplier.isystem + * + * @mbggenerated + */ + public Byte getIsystem() { + return isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.isystem + * + * @param isystem the value for jsh_supplier.isystem + * + * @mbggenerated + */ + public void setIsystem(Byte isystem) { + this.isystem = isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.type + * + * @return the value of jsh_supplier.type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.type + * + * @param type the value for jsh_supplier.type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.enabled + * + * @return the value of jsh_supplier.enabled + * + * @mbggenerated + */ + public Boolean getEnabled() { + return enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.enabled + * + * @param enabled the value for jsh_supplier.enabled + * + * @mbggenerated + */ + public void setEnabled(Boolean enabled) { + this.enabled = enabled; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.AdvanceIn + * + * @return the value of jsh_supplier.AdvanceIn + * + * @mbggenerated + */ + public Double getAdvancein() { + return advancein; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.AdvanceIn + * + * @param advancein the value for jsh_supplier.AdvanceIn + * + * @mbggenerated + */ + public void setAdvancein(Double advancein) { + this.advancein = advancein; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.BeginNeedGet + * + * @return the value of jsh_supplier.BeginNeedGet + * + * @mbggenerated + */ + public Double getBeginneedget() { + return beginneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.BeginNeedGet + * + * @param beginneedget the value for jsh_supplier.BeginNeedGet + * + * @mbggenerated + */ + public void setBeginneedget(Double beginneedget) { + this.beginneedget = beginneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.BeginNeedPay + * + * @return the value of jsh_supplier.BeginNeedPay + * + * @mbggenerated + */ + public Double getBeginneedpay() { + return beginneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.BeginNeedPay + * + * @param beginneedpay the value for jsh_supplier.BeginNeedPay + * + * @mbggenerated + */ + public void setBeginneedpay(Double beginneedpay) { + this.beginneedpay = beginneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.AllNeedGet + * + * @return the value of jsh_supplier.AllNeedGet + * + * @mbggenerated + */ + public Double getAllneedget() { + return allneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.AllNeedGet + * + * @param allneedget the value for jsh_supplier.AllNeedGet + * + * @mbggenerated + */ + public void setAllneedget(Double allneedget) { + this.allneedget = allneedget; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.AllNeedPay + * + * @return the value of jsh_supplier.AllNeedPay + * + * @mbggenerated + */ + public Double getAllneedpay() { + return allneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.AllNeedPay + * + * @param allneedpay the value for jsh_supplier.AllNeedPay + * + * @mbggenerated + */ + public void setAllneedpay(Double allneedpay) { + this.allneedpay = allneedpay; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.fax + * + * @return the value of jsh_supplier.fax + * + * @mbggenerated + */ + public String getFax() { + return fax; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.fax + * + * @param fax the value for jsh_supplier.fax + * + * @mbggenerated + */ + public void setFax(String fax) { + this.fax = fax == null ? null : fax.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.telephone + * + * @return the value of jsh_supplier.telephone + * + * @mbggenerated + */ + public String getTelephone() { + return telephone; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.telephone + * + * @param telephone the value for jsh_supplier.telephone + * + * @mbggenerated + */ + public void setTelephone(String telephone) { + this.telephone = telephone == null ? null : telephone.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.address + * + * @return the value of jsh_supplier.address + * + * @mbggenerated + */ + public String getAddress() { + return address; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.address + * + * @param address the value for jsh_supplier.address + * + * @mbggenerated + */ + public void setAddress(String address) { + this.address = address == null ? null : address.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.taxNum + * + * @return the value of jsh_supplier.taxNum + * + * @mbggenerated + */ + public String getTaxnum() { + return taxnum; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.taxNum + * + * @param taxnum the value for jsh_supplier.taxNum + * + * @mbggenerated + */ + public void setTaxnum(String taxnum) { + this.taxnum = taxnum == null ? null : taxnum.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.bankName + * + * @return the value of jsh_supplier.bankName + * + * @mbggenerated + */ + public String getBankname() { + return bankname; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.bankName + * + * @param bankname the value for jsh_supplier.bankName + * + * @mbggenerated + */ + public void setBankname(String bankname) { + this.bankname = bankname == null ? null : bankname.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.accountNumber + * + * @return the value of jsh_supplier.accountNumber + * + * @mbggenerated + */ + public String getAccountnumber() { + return accountnumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.accountNumber + * + * @param accountnumber the value for jsh_supplier.accountNumber + * + * @mbggenerated + */ + public void setAccountnumber(String accountnumber) { + this.accountnumber = accountnumber == null ? null : accountnumber.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_supplier.taxRate + * + * @return the value of jsh_supplier.taxRate + * + * @mbggenerated + */ + public Double getTaxrate() { + return taxrate; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_supplier.taxRate + * + * @param taxrate the value for jsh_supplier.taxRate + * + * @mbggenerated + */ + public void setTaxrate(Double taxrate) { + this.taxrate = taxrate; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java b/src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java new file mode 100644 index 0000000000000000000000000000000000000000..1c78563533391c99be8cf0d6bd223700f1dd4197 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/SupplierExample.java @@ -0,0 +1,1682 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class SupplierExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public SupplierExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andSupplierIsNull() { + addCriterion("supplier is null"); + return (Criteria) this; + } + + public Criteria andSupplierIsNotNull() { + addCriterion("supplier is not null"); + return (Criteria) this; + } + + public Criteria andSupplierEqualTo(String value) { + addCriterion("supplier =", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotEqualTo(String value) { + addCriterion("supplier <>", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThan(String value) { + addCriterion("supplier >", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierGreaterThanOrEqualTo(String value) { + addCriterion("supplier >=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThan(String value) { + addCriterion("supplier <", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLessThanOrEqualTo(String value) { + addCriterion("supplier <=", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierLike(String value) { + addCriterion("supplier like", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotLike(String value) { + addCriterion("supplier not like", value, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierIn(List values) { + addCriterion("supplier in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotIn(List values) { + addCriterion("supplier not in", values, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierBetween(String value1, String value2) { + addCriterion("supplier between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andSupplierNotBetween(String value1, String value2) { + addCriterion("supplier not between", value1, value2, "supplier"); + return (Criteria) this; + } + + public Criteria andContactsIsNull() { + addCriterion("contacts is null"); + return (Criteria) this; + } + + public Criteria andContactsIsNotNull() { + addCriterion("contacts is not null"); + return (Criteria) this; + } + + public Criteria andContactsEqualTo(String value) { + addCriterion("contacts =", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotEqualTo(String value) { + addCriterion("contacts <>", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsGreaterThan(String value) { + addCriterion("contacts >", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsGreaterThanOrEqualTo(String value) { + addCriterion("contacts >=", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsLessThan(String value) { + addCriterion("contacts <", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsLessThanOrEqualTo(String value) { + addCriterion("contacts <=", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsLike(String value) { + addCriterion("contacts like", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotLike(String value) { + addCriterion("contacts not like", value, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsIn(List values) { + addCriterion("contacts in", values, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotIn(List values) { + addCriterion("contacts not in", values, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsBetween(String value1, String value2) { + addCriterion("contacts between", value1, value2, "contacts"); + return (Criteria) this; + } + + public Criteria andContactsNotBetween(String value1, String value2) { + addCriterion("contacts not between", value1, value2, "contacts"); + return (Criteria) this; + } + + public Criteria andPhonenumIsNull() { + addCriterion("phonenum is null"); + return (Criteria) this; + } + + public Criteria andPhonenumIsNotNull() { + addCriterion("phonenum is not null"); + return (Criteria) this; + } + + public Criteria andPhonenumEqualTo(String value) { + addCriterion("phonenum =", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotEqualTo(String value) { + addCriterion("phonenum <>", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumGreaterThan(String value) { + addCriterion("phonenum >", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumGreaterThanOrEqualTo(String value) { + addCriterion("phonenum >=", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLessThan(String value) { + addCriterion("phonenum <", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLessThanOrEqualTo(String value) { + addCriterion("phonenum <=", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLike(String value) { + addCriterion("phonenum like", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotLike(String value) { + addCriterion("phonenum not like", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumIn(List values) { + addCriterion("phonenum in", values, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotIn(List values) { + addCriterion("phonenum not in", values, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumBetween(String value1, String value2) { + addCriterion("phonenum between", value1, value2, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotBetween(String value1, String value2) { + addCriterion("phonenum not between", value1, value2, "phonenum"); + return (Criteria) this; + } + + public Criteria andEmailIsNull() { + addCriterion("email is null"); + return (Criteria) this; + } + + public Criteria andEmailIsNotNull() { + addCriterion("email is not null"); + return (Criteria) this; + } + + public Criteria andEmailEqualTo(String value) { + addCriterion("email =", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotEqualTo(String value) { + addCriterion("email <>", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThan(String value) { + addCriterion("email >", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThanOrEqualTo(String value) { + addCriterion("email >=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThan(String value) { + addCriterion("email <", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThanOrEqualTo(String value) { + addCriterion("email <=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLike(String value) { + addCriterion("email like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotLike(String value) { + addCriterion("email not like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailIn(List values) { + addCriterion("email in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotIn(List values) { + addCriterion("email not in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailBetween(String value1, String value2) { + addCriterion("email between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotBetween(String value1, String value2) { + addCriterion("email not between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andIsystemIsNull() { + addCriterion("isystem is null"); + return (Criteria) this; + } + + public Criteria andIsystemIsNotNull() { + addCriterion("isystem is not null"); + return (Criteria) this; + } + + public Criteria andIsystemEqualTo(Byte value) { + addCriterion("isystem =", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotEqualTo(Byte value) { + addCriterion("isystem <>", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThan(Byte value) { + addCriterion("isystem >", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThanOrEqualTo(Byte value) { + addCriterion("isystem >=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThan(Byte value) { + addCriterion("isystem <", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThanOrEqualTo(Byte value) { + addCriterion("isystem <=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemIn(List values) { + addCriterion("isystem in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotIn(List values) { + addCriterion("isystem not in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemBetween(Byte value1, Byte value2) { + addCriterion("isystem between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotBetween(Byte value1, Byte value2) { + addCriterion("isystem not between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andEnabledIsNull() { + addCriterion("enabled is null"); + return (Criteria) this; + } + + public Criteria andEnabledIsNotNull() { + addCriterion("enabled is not null"); + return (Criteria) this; + } + + public Criteria andEnabledEqualTo(Boolean value) { + addCriterion("enabled =", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotEqualTo(Boolean value) { + addCriterion("enabled <>", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThan(Boolean value) { + addCriterion("enabled >", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledGreaterThanOrEqualTo(Boolean value) { + addCriterion("enabled >=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThan(Boolean value) { + addCriterion("enabled <", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledLessThanOrEqualTo(Boolean value) { + addCriterion("enabled <=", value, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledIn(List values) { + addCriterion("enabled in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotIn(List values) { + addCriterion("enabled not in", values, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledBetween(Boolean value1, Boolean value2) { + addCriterion("enabled between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andEnabledNotBetween(Boolean value1, Boolean value2) { + addCriterion("enabled not between", value1, value2, "enabled"); + return (Criteria) this; + } + + public Criteria andAdvanceinIsNull() { + addCriterion("AdvanceIn is null"); + return (Criteria) this; + } + + public Criteria andAdvanceinIsNotNull() { + addCriterion("AdvanceIn is not null"); + return (Criteria) this; + } + + public Criteria andAdvanceinEqualTo(Double value) { + addCriterion("AdvanceIn =", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinNotEqualTo(Double value) { + addCriterion("AdvanceIn <>", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinGreaterThan(Double value) { + addCriterion("AdvanceIn >", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinGreaterThanOrEqualTo(Double value) { + addCriterion("AdvanceIn >=", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinLessThan(Double value) { + addCriterion("AdvanceIn <", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinLessThanOrEqualTo(Double value) { + addCriterion("AdvanceIn <=", value, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinIn(List values) { + addCriterion("AdvanceIn in", values, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinNotIn(List values) { + addCriterion("AdvanceIn not in", values, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinBetween(Double value1, Double value2) { + addCriterion("AdvanceIn between", value1, value2, "advancein"); + return (Criteria) this; + } + + public Criteria andAdvanceinNotBetween(Double value1, Double value2) { + addCriterion("AdvanceIn not between", value1, value2, "advancein"); + return (Criteria) this; + } + + public Criteria andBeginneedgetIsNull() { + addCriterion("BeginNeedGet is null"); + return (Criteria) this; + } + + public Criteria andBeginneedgetIsNotNull() { + addCriterion("BeginNeedGet is not null"); + return (Criteria) this; + } + + public Criteria andBeginneedgetEqualTo(Double value) { + addCriterion("BeginNeedGet =", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetNotEqualTo(Double value) { + addCriterion("BeginNeedGet <>", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetGreaterThan(Double value) { + addCriterion("BeginNeedGet >", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetGreaterThanOrEqualTo(Double value) { + addCriterion("BeginNeedGet >=", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetLessThan(Double value) { + addCriterion("BeginNeedGet <", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetLessThanOrEqualTo(Double value) { + addCriterion("BeginNeedGet <=", value, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetIn(List values) { + addCriterion("BeginNeedGet in", values, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetNotIn(List values) { + addCriterion("BeginNeedGet not in", values, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetBetween(Double value1, Double value2) { + addCriterion("BeginNeedGet between", value1, value2, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedgetNotBetween(Double value1, Double value2) { + addCriterion("BeginNeedGet not between", value1, value2, "beginneedget"); + return (Criteria) this; + } + + public Criteria andBeginneedpayIsNull() { + addCriterion("BeginNeedPay is null"); + return (Criteria) this; + } + + public Criteria andBeginneedpayIsNotNull() { + addCriterion("BeginNeedPay is not null"); + return (Criteria) this; + } + + public Criteria andBeginneedpayEqualTo(Double value) { + addCriterion("BeginNeedPay =", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayNotEqualTo(Double value) { + addCriterion("BeginNeedPay <>", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayGreaterThan(Double value) { + addCriterion("BeginNeedPay >", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayGreaterThanOrEqualTo(Double value) { + addCriterion("BeginNeedPay >=", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayLessThan(Double value) { + addCriterion("BeginNeedPay <", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayLessThanOrEqualTo(Double value) { + addCriterion("BeginNeedPay <=", value, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayIn(List values) { + addCriterion("BeginNeedPay in", values, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayNotIn(List values) { + addCriterion("BeginNeedPay not in", values, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayBetween(Double value1, Double value2) { + addCriterion("BeginNeedPay between", value1, value2, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andBeginneedpayNotBetween(Double value1, Double value2) { + addCriterion("BeginNeedPay not between", value1, value2, "beginneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedgetIsNull() { + addCriterion("AllNeedGet is null"); + return (Criteria) this; + } + + public Criteria andAllneedgetIsNotNull() { + addCriterion("AllNeedGet is not null"); + return (Criteria) this; + } + + public Criteria andAllneedgetEqualTo(Double value) { + addCriterion("AllNeedGet =", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetNotEqualTo(Double value) { + addCriterion("AllNeedGet <>", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetGreaterThan(Double value) { + addCriterion("AllNeedGet >", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetGreaterThanOrEqualTo(Double value) { + addCriterion("AllNeedGet >=", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetLessThan(Double value) { + addCriterion("AllNeedGet <", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetLessThanOrEqualTo(Double value) { + addCriterion("AllNeedGet <=", value, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetIn(List values) { + addCriterion("AllNeedGet in", values, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetNotIn(List values) { + addCriterion("AllNeedGet not in", values, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetBetween(Double value1, Double value2) { + addCriterion("AllNeedGet between", value1, value2, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedgetNotBetween(Double value1, Double value2) { + addCriterion("AllNeedGet not between", value1, value2, "allneedget"); + return (Criteria) this; + } + + public Criteria andAllneedpayIsNull() { + addCriterion("AllNeedPay is null"); + return (Criteria) this; + } + + public Criteria andAllneedpayIsNotNull() { + addCriterion("AllNeedPay is not null"); + return (Criteria) this; + } + + public Criteria andAllneedpayEqualTo(Double value) { + addCriterion("AllNeedPay =", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayNotEqualTo(Double value) { + addCriterion("AllNeedPay <>", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayGreaterThan(Double value) { + addCriterion("AllNeedPay >", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayGreaterThanOrEqualTo(Double value) { + addCriterion("AllNeedPay >=", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayLessThan(Double value) { + addCriterion("AllNeedPay <", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayLessThanOrEqualTo(Double value) { + addCriterion("AllNeedPay <=", value, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayIn(List values) { + addCriterion("AllNeedPay in", values, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayNotIn(List values) { + addCriterion("AllNeedPay not in", values, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayBetween(Double value1, Double value2) { + addCriterion("AllNeedPay between", value1, value2, "allneedpay"); + return (Criteria) this; + } + + public Criteria andAllneedpayNotBetween(Double value1, Double value2) { + addCriterion("AllNeedPay not between", value1, value2, "allneedpay"); + return (Criteria) this; + } + + public Criteria andFaxIsNull() { + addCriterion("fax is null"); + return (Criteria) this; + } + + public Criteria andFaxIsNotNull() { + addCriterion("fax is not null"); + return (Criteria) this; + } + + public Criteria andFaxEqualTo(String value) { + addCriterion("fax =", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotEqualTo(String value) { + addCriterion("fax <>", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxGreaterThan(String value) { + addCriterion("fax >", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxGreaterThanOrEqualTo(String value) { + addCriterion("fax >=", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxLessThan(String value) { + addCriterion("fax <", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxLessThanOrEqualTo(String value) { + addCriterion("fax <=", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxLike(String value) { + addCriterion("fax like", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotLike(String value) { + addCriterion("fax not like", value, "fax"); + return (Criteria) this; + } + + public Criteria andFaxIn(List values) { + addCriterion("fax in", values, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotIn(List values) { + addCriterion("fax not in", values, "fax"); + return (Criteria) this; + } + + public Criteria andFaxBetween(String value1, String value2) { + addCriterion("fax between", value1, value2, "fax"); + return (Criteria) this; + } + + public Criteria andFaxNotBetween(String value1, String value2) { + addCriterion("fax not between", value1, value2, "fax"); + return (Criteria) this; + } + + public Criteria andTelephoneIsNull() { + addCriterion("telephone is null"); + return (Criteria) this; + } + + public Criteria andTelephoneIsNotNull() { + addCriterion("telephone is not null"); + return (Criteria) this; + } + + public Criteria andTelephoneEqualTo(String value) { + addCriterion("telephone =", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotEqualTo(String value) { + addCriterion("telephone <>", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneGreaterThan(String value) { + addCriterion("telephone >", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneGreaterThanOrEqualTo(String value) { + addCriterion("telephone >=", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneLessThan(String value) { + addCriterion("telephone <", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneLessThanOrEqualTo(String value) { + addCriterion("telephone <=", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneLike(String value) { + addCriterion("telephone like", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotLike(String value) { + addCriterion("telephone not like", value, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneIn(List values) { + addCriterion("telephone in", values, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotIn(List values) { + addCriterion("telephone not in", values, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneBetween(String value1, String value2) { + addCriterion("telephone between", value1, value2, "telephone"); + return (Criteria) this; + } + + public Criteria andTelephoneNotBetween(String value1, String value2) { + addCriterion("telephone not between", value1, value2, "telephone"); + return (Criteria) this; + } + + public Criteria andAddressIsNull() { + addCriterion("address is null"); + return (Criteria) this; + } + + public Criteria andAddressIsNotNull() { + addCriterion("address is not null"); + return (Criteria) this; + } + + public Criteria andAddressEqualTo(String value) { + addCriterion("address =", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotEqualTo(String value) { + addCriterion("address <>", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThan(String value) { + addCriterion("address >", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressGreaterThanOrEqualTo(String value) { + addCriterion("address >=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThan(String value) { + addCriterion("address <", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLessThanOrEqualTo(String value) { + addCriterion("address <=", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressLike(String value) { + addCriterion("address like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotLike(String value) { + addCriterion("address not like", value, "address"); + return (Criteria) this; + } + + public Criteria andAddressIn(List values) { + addCriterion("address in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotIn(List values) { + addCriterion("address not in", values, "address"); + return (Criteria) this; + } + + public Criteria andAddressBetween(String value1, String value2) { + addCriterion("address between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andAddressNotBetween(String value1, String value2) { + addCriterion("address not between", value1, value2, "address"); + return (Criteria) this; + } + + public Criteria andTaxnumIsNull() { + addCriterion("taxNum is null"); + return (Criteria) this; + } + + public Criteria andTaxnumIsNotNull() { + addCriterion("taxNum is not null"); + return (Criteria) this; + } + + public Criteria andTaxnumEqualTo(String value) { + addCriterion("taxNum =", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotEqualTo(String value) { + addCriterion("taxNum <>", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumGreaterThan(String value) { + addCriterion("taxNum >", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumGreaterThanOrEqualTo(String value) { + addCriterion("taxNum >=", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumLessThan(String value) { + addCriterion("taxNum <", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumLessThanOrEqualTo(String value) { + addCriterion("taxNum <=", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumLike(String value) { + addCriterion("taxNum like", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotLike(String value) { + addCriterion("taxNum not like", value, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumIn(List values) { + addCriterion("taxNum in", values, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotIn(List values) { + addCriterion("taxNum not in", values, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumBetween(String value1, String value2) { + addCriterion("taxNum between", value1, value2, "taxnum"); + return (Criteria) this; + } + + public Criteria andTaxnumNotBetween(String value1, String value2) { + addCriterion("taxNum not between", value1, value2, "taxnum"); + return (Criteria) this; + } + + public Criteria andBanknameIsNull() { + addCriterion("bankName is null"); + return (Criteria) this; + } + + public Criteria andBanknameIsNotNull() { + addCriterion("bankName is not null"); + return (Criteria) this; + } + + public Criteria andBanknameEqualTo(String value) { + addCriterion("bankName =", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotEqualTo(String value) { + addCriterion("bankName <>", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameGreaterThan(String value) { + addCriterion("bankName >", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameGreaterThanOrEqualTo(String value) { + addCriterion("bankName >=", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameLessThan(String value) { + addCriterion("bankName <", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameLessThanOrEqualTo(String value) { + addCriterion("bankName <=", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameLike(String value) { + addCriterion("bankName like", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotLike(String value) { + addCriterion("bankName not like", value, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameIn(List values) { + addCriterion("bankName in", values, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotIn(List values) { + addCriterion("bankName not in", values, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameBetween(String value1, String value2) { + addCriterion("bankName between", value1, value2, "bankname"); + return (Criteria) this; + } + + public Criteria andBanknameNotBetween(String value1, String value2) { + addCriterion("bankName not between", value1, value2, "bankname"); + return (Criteria) this; + } + + public Criteria andAccountnumberIsNull() { + addCriterion("accountNumber is null"); + return (Criteria) this; + } + + public Criteria andAccountnumberIsNotNull() { + addCriterion("accountNumber is not null"); + return (Criteria) this; + } + + public Criteria andAccountnumberEqualTo(String value) { + addCriterion("accountNumber =", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotEqualTo(String value) { + addCriterion("accountNumber <>", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberGreaterThan(String value) { + addCriterion("accountNumber >", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberGreaterThanOrEqualTo(String value) { + addCriterion("accountNumber >=", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberLessThan(String value) { + addCriterion("accountNumber <", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberLessThanOrEqualTo(String value) { + addCriterion("accountNumber <=", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberLike(String value) { + addCriterion("accountNumber like", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotLike(String value) { + addCriterion("accountNumber not like", value, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberIn(List values) { + addCriterion("accountNumber in", values, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotIn(List values) { + addCriterion("accountNumber not in", values, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberBetween(String value1, String value2) { + addCriterion("accountNumber between", value1, value2, "accountnumber"); + return (Criteria) this; + } + + public Criteria andAccountnumberNotBetween(String value1, String value2) { + addCriterion("accountNumber not between", value1, value2, "accountnumber"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNull() { + addCriterion("taxRate is null"); + return (Criteria) this; + } + + public Criteria andTaxrateIsNotNull() { + addCriterion("taxRate is not null"); + return (Criteria) this; + } + + public Criteria andTaxrateEqualTo(Double value) { + addCriterion("taxRate =", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotEqualTo(Double value) { + addCriterion("taxRate <>", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThan(Double value) { + addCriterion("taxRate >", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateGreaterThanOrEqualTo(Double value) { + addCriterion("taxRate >=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThan(Double value) { + addCriterion("taxRate <", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateLessThanOrEqualTo(Double value) { + addCriterion("taxRate <=", value, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateIn(List values) { + addCriterion("taxRate in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotIn(List values) { + addCriterion("taxRate not in", values, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateBetween(Double value1, Double value2) { + addCriterion("taxRate between", value1, value2, "taxrate"); + return (Criteria) this; + } + + public Criteria andTaxrateNotBetween(Double value1, Double value2) { + addCriterion("taxRate not between", value1, value2, "taxrate"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_supplier + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java b/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java new file mode 100644 index 0000000000000000000000000000000000000000..177a515300d9279b06bb678be9ecf116552cdb06 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java @@ -0,0 +1,163 @@ +package com.jsh.erp.datasource.entities; + +public class SystemConfig { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.name + * + * @mbggenerated + */ + private String name; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.value + * + * @mbggenerated + */ + private String value; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.description + * + * @mbggenerated + */ + private String description; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.id + * + * @return the value of jsh_systemconfig.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_systemconfig.id + * + * @param id the value for jsh_systemconfig.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.type + * + * @return the value of jsh_systemconfig.type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_systemconfig.type + * + * @param type the value for jsh_systemconfig.type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.name + * + * @return the value of jsh_systemconfig.name + * + * @mbggenerated + */ + public String getName() { + return name; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_systemconfig.name + * + * @param name the value for jsh_systemconfig.name + * + * @mbggenerated + */ + public void setName(String name) { + this.name = name == null ? null : name.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.value + * + * @return the value of jsh_systemconfig.value + * + * @mbggenerated + */ + public String getValue() { + return value; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_systemconfig.value + * + * @param value the value for jsh_systemconfig.value + * + * @mbggenerated + */ + public void setValue(String value) { + this.value = value == null ? null : value.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.description + * + * @return the value of jsh_systemconfig.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_systemconfig.description + * + * @param description the value for jsh_systemconfig.description + * + * @mbggenerated + */ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java b/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java new file mode 100644 index 0000000000000000000000000000000000000000..bf71a761e03ab2787b04d687ab4343a96c2d82a7 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java @@ -0,0 +1,642 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class SystemConfigExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public SystemConfigExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andNameIsNull() { + addCriterion("name is null"); + return (Criteria) this; + } + + public Criteria andNameIsNotNull() { + addCriterion("name is not null"); + return (Criteria) this; + } + + public Criteria andNameEqualTo(String value) { + addCriterion("name =", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotEqualTo(String value) { + addCriterion("name <>", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThan(String value) { + addCriterion("name >", value, "name"); + return (Criteria) this; + } + + public Criteria andNameGreaterThanOrEqualTo(String value) { + addCriterion("name >=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThan(String value) { + addCriterion("name <", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLessThanOrEqualTo(String value) { + addCriterion("name <=", value, "name"); + return (Criteria) this; + } + + public Criteria andNameLike(String value) { + addCriterion("name like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameNotLike(String value) { + addCriterion("name not like", value, "name"); + return (Criteria) this; + } + + public Criteria andNameIn(List values) { + addCriterion("name in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameNotIn(List values) { + addCriterion("name not in", values, "name"); + return (Criteria) this; + } + + public Criteria andNameBetween(String value1, String value2) { + addCriterion("name between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andNameNotBetween(String value1, String value2) { + addCriterion("name not between", value1, value2, "name"); + return (Criteria) this; + } + + public Criteria andValueIsNull() { + addCriterion("value is null"); + return (Criteria) this; + } + + public Criteria andValueIsNotNull() { + addCriterion("value is not null"); + return (Criteria) this; + } + + public Criteria andValueEqualTo(String value) { + addCriterion("value =", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotEqualTo(String value) { + addCriterion("value <>", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThan(String value) { + addCriterion("value >", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThanOrEqualTo(String value) { + addCriterion("value >=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThan(String value) { + addCriterion("value <", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThanOrEqualTo(String value) { + addCriterion("value <=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLike(String value) { + addCriterion("value like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotLike(String value) { + addCriterion("value not like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueIn(List values) { + addCriterion("value in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueNotIn(List values) { + addCriterion("value not in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueBetween(String value1, String value2) { + addCriterion("value between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andValueNotBetween(String value1, String value2) { + addCriterion("value not between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_systemconfig + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/Unit.java b/src/main/java/com/jsh/erp/datasource/entities/Unit.java new file mode 100644 index 0000000000000000000000000000000000000000..8fef693156bac21943cda655cf4c61b9ed20b730 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/Unit.java @@ -0,0 +1,67 @@ +package com.jsh.erp.datasource.entities; + +public class Unit { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_unit.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_unit.UName + * + * @mbggenerated + */ + private String uname; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_unit.id + * + * @return the value of jsh_unit.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_unit.id + * + * @param id the value for jsh_unit.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_unit.UName + * + * @return the value of jsh_unit.UName + * + * @mbggenerated + */ + public String getUname() { + return uname; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_unit.UName + * + * @param uname the value for jsh_unit.UName + * + * @mbggenerated + */ + public void setUname(String uname) { + this.uname = uname == null ? null : uname.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/UnitExample.java b/src/main/java/com/jsh/erp/datasource/entities/UnitExample.java new file mode 100644 index 0000000000000000000000000000000000000000..089d41b05ea74e515a002c4cbe780afcd6269044 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/UnitExample.java @@ -0,0 +1,432 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class UnitExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_unit + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_unit + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_unit + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public UnitExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_unit + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUnameIsNull() { + addCriterion("UName is null"); + return (Criteria) this; + } + + public Criteria andUnameIsNotNull() { + addCriterion("UName is not null"); + return (Criteria) this; + } + + public Criteria andUnameEqualTo(String value) { + addCriterion("UName =", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameNotEqualTo(String value) { + addCriterion("UName <>", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameGreaterThan(String value) { + addCriterion("UName >", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameGreaterThanOrEqualTo(String value) { + addCriterion("UName >=", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameLessThan(String value) { + addCriterion("UName <", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameLessThanOrEqualTo(String value) { + addCriterion("UName <=", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameLike(String value) { + addCriterion("UName like", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameNotLike(String value) { + addCriterion("UName not like", value, "uname"); + return (Criteria) this; + } + + public Criteria andUnameIn(List values) { + addCriterion("UName in", values, "uname"); + return (Criteria) this; + } + + public Criteria andUnameNotIn(List values) { + addCriterion("UName not in", values, "uname"); + return (Criteria) this; + } + + public Criteria andUnameBetween(String value1, String value2) { + addCriterion("UName between", value1, value2, "uname"); + return (Criteria) this; + } + + public Criteria andUnameNotBetween(String value1, String value2) { + addCriterion("UName not between", value1, value2, "uname"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_unit + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_unit + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/User.java b/src/main/java/com/jsh/erp/datasource/entities/User.java new file mode 100644 index 0000000000000000000000000000000000000000..a283516be8d4e1cfb4ddc282c24ea09c465aaa17 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/User.java @@ -0,0 +1,419 @@ +package com.jsh.erp.datasource.entities; + +public class User { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.username + * + * @mbggenerated + */ + private String username; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.loginame + * + * @mbggenerated + */ + private String loginame; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.password + * + * @mbggenerated + */ + private String password; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.position + * + * @mbggenerated + */ + private String position; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.department + * + * @mbggenerated + */ + private String department; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.email + * + * @mbggenerated + */ + private String email; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.phonenum + * + * @mbggenerated + */ + private String phonenum; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.ismanager + * + * @mbggenerated + */ + private Byte ismanager; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.isystem + * + * @mbggenerated + */ + private Byte isystem; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.status + * + * @mbggenerated + */ + private Byte status; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.description + * + * @mbggenerated + */ + private String description; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_user.remark + * + * @mbggenerated + */ + private String remark; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.id + * + * @return the value of jsh_user.id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.id + * + * @param id the value for jsh_user.id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.username + * + * @return the value of jsh_user.username + * + * @mbggenerated + */ + public String getUsername() { + return username; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.username + * + * @param username the value for jsh_user.username + * + * @mbggenerated + */ + public void setUsername(String username) { + this.username = username == null ? null : username.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.loginame + * + * @return the value of jsh_user.loginame + * + * @mbggenerated + */ + public String getLoginame() { + return loginame; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.loginame + * + * @param loginame the value for jsh_user.loginame + * + * @mbggenerated + */ + public void setLoginame(String loginame) { + this.loginame = loginame == null ? null : loginame.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.password + * + * @return the value of jsh_user.password + * + * @mbggenerated + */ + public String getPassword() { + return password; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.password + * + * @param password the value for jsh_user.password + * + * @mbggenerated + */ + public void setPassword(String password) { + this.password = password == null ? null : password.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.position + * + * @return the value of jsh_user.position + * + * @mbggenerated + */ + public String getPosition() { + return position; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.position + * + * @param position the value for jsh_user.position + * + * @mbggenerated + */ + public void setPosition(String position) { + this.position = position == null ? null : position.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.department + * + * @return the value of jsh_user.department + * + * @mbggenerated + */ + public String getDepartment() { + return department; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.department + * + * @param department the value for jsh_user.department + * + * @mbggenerated + */ + public void setDepartment(String department) { + this.department = department == null ? null : department.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.email + * + * @return the value of jsh_user.email + * + * @mbggenerated + */ + public String getEmail() { + return email; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.email + * + * @param email the value for jsh_user.email + * + * @mbggenerated + */ + public void setEmail(String email) { + this.email = email == null ? null : email.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.phonenum + * + * @return the value of jsh_user.phonenum + * + * @mbggenerated + */ + public String getPhonenum() { + return phonenum; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.phonenum + * + * @param phonenum the value for jsh_user.phonenum + * + * @mbggenerated + */ + public void setPhonenum(String phonenum) { + this.phonenum = phonenum == null ? null : phonenum.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.ismanager + * + * @return the value of jsh_user.ismanager + * + * @mbggenerated + */ + public Byte getIsmanager() { + return ismanager; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.ismanager + * + * @param ismanager the value for jsh_user.ismanager + * + * @mbggenerated + */ + public void setIsmanager(Byte ismanager) { + this.ismanager = ismanager; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.isystem + * + * @return the value of jsh_user.isystem + * + * @mbggenerated + */ + public Byte getIsystem() { + return isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.isystem + * + * @param isystem the value for jsh_user.isystem + * + * @mbggenerated + */ + public void setIsystem(Byte isystem) { + this.isystem = isystem; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.status + * + * @return the value of jsh_user.status + * + * @mbggenerated + */ + public Byte getStatus() { + return status; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.status + * + * @param status the value for jsh_user.status + * + * @mbggenerated + */ + public void setStatus(Byte status) { + this.status = status; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.description + * + * @return the value of jsh_user.description + * + * @mbggenerated + */ + public String getDescription() { + return description; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.description + * + * @param description the value for jsh_user.description + * + * @mbggenerated + */ + public void setDescription(String description) { + this.description = description == null ? null : description.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_user.remark + * + * @return the value of jsh_user.remark + * + * @mbggenerated + */ + public String getRemark() { + return remark; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_user.remark + * + * @param remark the value for jsh_user.remark + * + * @mbggenerated + */ + public void setRemark(String remark) { + this.remark = remark == null ? null : remark.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/UserBusiness.java b/src/main/java/com/jsh/erp/datasource/entities/UserBusiness.java new file mode 100644 index 0000000000000000000000000000000000000000..efc031eef052964391a92c641e1b8d55d234ae49 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/UserBusiness.java @@ -0,0 +1,163 @@ +package com.jsh.erp.datasource.entities; + +public class UserBusiness { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_userbusiness.Id + * + * @mbggenerated + */ + private Long id; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_userbusiness.Type + * + * @mbggenerated + */ + private String type; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_userbusiness.KeyId + * + * @mbggenerated + */ + private String keyid; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_userbusiness.Value + * + * @mbggenerated + */ + private String value; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_userbusiness.BtnStr + * + * @mbggenerated + */ + private String btnstr; + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_userbusiness.Id + * + * @return the value of jsh_userbusiness.Id + * + * @mbggenerated + */ + public Long getId() { + return id; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_userbusiness.Id + * + * @param id the value for jsh_userbusiness.Id + * + * @mbggenerated + */ + public void setId(Long id) { + this.id = id; + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_userbusiness.Type + * + * @return the value of jsh_userbusiness.Type + * + * @mbggenerated + */ + public String getType() { + return type; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_userbusiness.Type + * + * @param type the value for jsh_userbusiness.Type + * + * @mbggenerated + */ + public void setType(String type) { + this.type = type == null ? null : type.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_userbusiness.KeyId + * + * @return the value of jsh_userbusiness.KeyId + * + * @mbggenerated + */ + public String getKeyid() { + return keyid; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_userbusiness.KeyId + * + * @param keyid the value for jsh_userbusiness.KeyId + * + * @mbggenerated + */ + public void setKeyid(String keyid) { + this.keyid = keyid == null ? null : keyid.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_userbusiness.Value + * + * @return the value of jsh_userbusiness.Value + * + * @mbggenerated + */ + public String getValue() { + return value; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_userbusiness.Value + * + * @param value the value for jsh_userbusiness.Value + * + * @mbggenerated + */ + public void setValue(String value) { + this.value = value == null ? null : value.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_userbusiness.BtnStr + * + * @return the value of jsh_userbusiness.BtnStr + * + * @mbggenerated + */ + public String getBtnstr() { + return btnstr; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_userbusiness.BtnStr + * + * @param btnstr the value for jsh_userbusiness.BtnStr + * + * @mbggenerated + */ + public void setBtnstr(String btnstr) { + this.btnstr = btnstr == null ? null : btnstr.trim(); + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/UserBusinessExample.java b/src/main/java/com/jsh/erp/datasource/entities/UserBusinessExample.java new file mode 100644 index 0000000000000000000000000000000000000000..535b52515acf15a212e1bb25f1db8ded9b4e97b1 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/UserBusinessExample.java @@ -0,0 +1,642 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class UserBusinessExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public UserBusinessExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("Id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("Id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("Id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("Id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("Id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("Id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("Id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("Id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("Id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("Id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("Id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("Id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andTypeIsNull() { + addCriterion("Type is null"); + return (Criteria) this; + } + + public Criteria andTypeIsNotNull() { + addCriterion("Type is not null"); + return (Criteria) this; + } + + public Criteria andTypeEqualTo(String value) { + addCriterion("Type =", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotEqualTo(String value) { + addCriterion("Type <>", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThan(String value) { + addCriterion("Type >", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeGreaterThanOrEqualTo(String value) { + addCriterion("Type >=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThan(String value) { + addCriterion("Type <", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLessThanOrEqualTo(String value) { + addCriterion("Type <=", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeLike(String value) { + addCriterion("Type like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotLike(String value) { + addCriterion("Type not like", value, "type"); + return (Criteria) this; + } + + public Criteria andTypeIn(List values) { + addCriterion("Type in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotIn(List values) { + addCriterion("Type not in", values, "type"); + return (Criteria) this; + } + + public Criteria andTypeBetween(String value1, String value2) { + addCriterion("Type between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andTypeNotBetween(String value1, String value2) { + addCriterion("Type not between", value1, value2, "type"); + return (Criteria) this; + } + + public Criteria andKeyidIsNull() { + addCriterion("KeyId is null"); + return (Criteria) this; + } + + public Criteria andKeyidIsNotNull() { + addCriterion("KeyId is not null"); + return (Criteria) this; + } + + public Criteria andKeyidEqualTo(String value) { + addCriterion("KeyId =", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidNotEqualTo(String value) { + addCriterion("KeyId <>", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidGreaterThan(String value) { + addCriterion("KeyId >", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidGreaterThanOrEqualTo(String value) { + addCriterion("KeyId >=", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidLessThan(String value) { + addCriterion("KeyId <", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidLessThanOrEqualTo(String value) { + addCriterion("KeyId <=", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidLike(String value) { + addCriterion("KeyId like", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidNotLike(String value) { + addCriterion("KeyId not like", value, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidIn(List values) { + addCriterion("KeyId in", values, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidNotIn(List values) { + addCriterion("KeyId not in", values, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidBetween(String value1, String value2) { + addCriterion("KeyId between", value1, value2, "keyid"); + return (Criteria) this; + } + + public Criteria andKeyidNotBetween(String value1, String value2) { + addCriterion("KeyId not between", value1, value2, "keyid"); + return (Criteria) this; + } + + public Criteria andValueIsNull() { + addCriterion("Value is null"); + return (Criteria) this; + } + + public Criteria andValueIsNotNull() { + addCriterion("Value is not null"); + return (Criteria) this; + } + + public Criteria andValueEqualTo(String value) { + addCriterion("Value =", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotEqualTo(String value) { + addCriterion("Value <>", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThan(String value) { + addCriterion("Value >", value, "value"); + return (Criteria) this; + } + + public Criteria andValueGreaterThanOrEqualTo(String value) { + addCriterion("Value >=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThan(String value) { + addCriterion("Value <", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLessThanOrEqualTo(String value) { + addCriterion("Value <=", value, "value"); + return (Criteria) this; + } + + public Criteria andValueLike(String value) { + addCriterion("Value like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueNotLike(String value) { + addCriterion("Value not like", value, "value"); + return (Criteria) this; + } + + public Criteria andValueIn(List values) { + addCriterion("Value in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueNotIn(List values) { + addCriterion("Value not in", values, "value"); + return (Criteria) this; + } + + public Criteria andValueBetween(String value1, String value2) { + addCriterion("Value between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andValueNotBetween(String value1, String value2) { + addCriterion("Value not between", value1, value2, "value"); + return (Criteria) this; + } + + public Criteria andBtnstrIsNull() { + addCriterion("BtnStr is null"); + return (Criteria) this; + } + + public Criteria andBtnstrIsNotNull() { + addCriterion("BtnStr is not null"); + return (Criteria) this; + } + + public Criteria andBtnstrEqualTo(String value) { + addCriterion("BtnStr =", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrNotEqualTo(String value) { + addCriterion("BtnStr <>", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrGreaterThan(String value) { + addCriterion("BtnStr >", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrGreaterThanOrEqualTo(String value) { + addCriterion("BtnStr >=", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrLessThan(String value) { + addCriterion("BtnStr <", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrLessThanOrEqualTo(String value) { + addCriterion("BtnStr <=", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrLike(String value) { + addCriterion("BtnStr like", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrNotLike(String value) { + addCriterion("BtnStr not like", value, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrIn(List values) { + addCriterion("BtnStr in", values, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrNotIn(List values) { + addCriterion("BtnStr not in", values, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrBetween(String value1, String value2) { + addCriterion("BtnStr between", value1, value2, "btnstr"); + return (Criteria) this; + } + + public Criteria andBtnstrNotBetween(String value1, String value2) { + addCriterion("BtnStr not between", value1, value2, "btnstr"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_userbusiness + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/entities/UserExample.java b/src/main/java/com/jsh/erp/datasource/entities/UserExample.java new file mode 100644 index 0000000000000000000000000000000000000000..e4412b6ace5fa2533e30f254a370292eea0278e3 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/entities/UserExample.java @@ -0,0 +1,1172 @@ +package com.jsh.erp.datasource.entities; + +import java.util.ArrayList; +import java.util.List; + +public class UserExample { + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_user + * + * @mbggenerated + */ + protected String orderByClause; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_user + * + * @mbggenerated + */ + protected boolean distinct; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database table jsh_user + * + * @mbggenerated + */ + protected List oredCriteria; + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public UserExample() { + oredCriteria = new ArrayList(); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public void setOrderByClause(String orderByClause) { + this.orderByClause = orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public String getOrderByClause() { + return orderByClause; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public void setDistinct(boolean distinct) { + this.distinct = distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public boolean isDistinct() { + return distinct; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public List getOredCriteria() { + return oredCriteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public void or(Criteria criteria) { + oredCriteria.add(criteria); + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public Criteria or() { + Criteria criteria = createCriteriaInternal(); + oredCriteria.add(criteria); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public Criteria createCriteria() { + Criteria criteria = createCriteriaInternal(); + if (oredCriteria.size() == 0) { + oredCriteria.add(criteria); + } + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + protected Criteria createCriteriaInternal() { + Criteria criteria = new Criteria(); + return criteria; + } + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + public void clear() { + oredCriteria.clear(); + orderByClause = null; + distinct = false; + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_user + * + * @mbggenerated + */ + protected abstract static class GeneratedCriteria { + protected List criteria; + + protected GeneratedCriteria() { + super(); + criteria = new ArrayList(); + } + + public boolean isValid() { + return criteria.size() > 0; + } + + public List getAllCriteria() { + return criteria; + } + + public List getCriteria() { + return criteria; + } + + protected void addCriterion(String condition) { + if (condition == null) { + throw new RuntimeException("Value for condition cannot be null"); + } + criteria.add(new Criterion(condition)); + } + + protected void addCriterion(String condition, Object value, String property) { + if (value == null) { + throw new RuntimeException("Value for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value)); + } + + protected void addCriterion(String condition, Object value1, Object value2, String property) { + if (value1 == null || value2 == null) { + throw new RuntimeException("Between values for " + property + " cannot be null"); + } + criteria.add(new Criterion(condition, value1, value2)); + } + + public Criteria andIdIsNull() { + addCriterion("id is null"); + return (Criteria) this; + } + + public Criteria andIdIsNotNull() { + addCriterion("id is not null"); + return (Criteria) this; + } + + public Criteria andIdEqualTo(Long value) { + addCriterion("id =", value, "id"); + return (Criteria) this; + } + + public Criteria andIdNotEqualTo(Long value) { + addCriterion("id <>", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThan(Long value) { + addCriterion("id >", value, "id"); + return (Criteria) this; + } + + public Criteria andIdGreaterThanOrEqualTo(Long value) { + addCriterion("id >=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThan(Long value) { + addCriterion("id <", value, "id"); + return (Criteria) this; + } + + public Criteria andIdLessThanOrEqualTo(Long value) { + addCriterion("id <=", value, "id"); + return (Criteria) this; + } + + public Criteria andIdIn(List values) { + addCriterion("id in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdNotIn(List values) { + addCriterion("id not in", values, "id"); + return (Criteria) this; + } + + public Criteria andIdBetween(Long value1, Long value2) { + addCriterion("id between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andIdNotBetween(Long value1, Long value2) { + addCriterion("id not between", value1, value2, "id"); + return (Criteria) this; + } + + public Criteria andUsernameIsNull() { + addCriterion("username is null"); + return (Criteria) this; + } + + public Criteria andUsernameIsNotNull() { + addCriterion("username is not null"); + return (Criteria) this; + } + + public Criteria andUsernameEqualTo(String value) { + addCriterion("username =", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotEqualTo(String value) { + addCriterion("username <>", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThan(String value) { + addCriterion("username >", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameGreaterThanOrEqualTo(String value) { + addCriterion("username >=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThan(String value) { + addCriterion("username <", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLessThanOrEqualTo(String value) { + addCriterion("username <=", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameLike(String value) { + addCriterion("username like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotLike(String value) { + addCriterion("username not like", value, "username"); + return (Criteria) this; + } + + public Criteria andUsernameIn(List values) { + addCriterion("username in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotIn(List values) { + addCriterion("username not in", values, "username"); + return (Criteria) this; + } + + public Criteria andUsernameBetween(String value1, String value2) { + addCriterion("username between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andUsernameNotBetween(String value1, String value2) { + addCriterion("username not between", value1, value2, "username"); + return (Criteria) this; + } + + public Criteria andLoginameIsNull() { + addCriterion("loginame is null"); + return (Criteria) this; + } + + public Criteria andLoginameIsNotNull() { + addCriterion("loginame is not null"); + return (Criteria) this; + } + + public Criteria andLoginameEqualTo(String value) { + addCriterion("loginame =", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameNotEqualTo(String value) { + addCriterion("loginame <>", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameGreaterThan(String value) { + addCriterion("loginame >", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameGreaterThanOrEqualTo(String value) { + addCriterion("loginame >=", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameLessThan(String value) { + addCriterion("loginame <", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameLessThanOrEqualTo(String value) { + addCriterion("loginame <=", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameLike(String value) { + addCriterion("loginame like", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameNotLike(String value) { + addCriterion("loginame not like", value, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameIn(List values) { + addCriterion("loginame in", values, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameNotIn(List values) { + addCriterion("loginame not in", values, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameBetween(String value1, String value2) { + addCriterion("loginame between", value1, value2, "loginame"); + return (Criteria) this; + } + + public Criteria andLoginameNotBetween(String value1, String value2) { + addCriterion("loginame not between", value1, value2, "loginame"); + return (Criteria) this; + } + + public Criteria andPasswordIsNull() { + addCriterion("password is null"); + return (Criteria) this; + } + + public Criteria andPasswordIsNotNull() { + addCriterion("password is not null"); + return (Criteria) this; + } + + public Criteria andPasswordEqualTo(String value) { + addCriterion("password =", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotEqualTo(String value) { + addCriterion("password <>", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThan(String value) { + addCriterion("password >", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordGreaterThanOrEqualTo(String value) { + addCriterion("password >=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThan(String value) { + addCriterion("password <", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLessThanOrEqualTo(String value) { + addCriterion("password <=", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordLike(String value) { + addCriterion("password like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotLike(String value) { + addCriterion("password not like", value, "password"); + return (Criteria) this; + } + + public Criteria andPasswordIn(List values) { + addCriterion("password in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotIn(List values) { + addCriterion("password not in", values, "password"); + return (Criteria) this; + } + + public Criteria andPasswordBetween(String value1, String value2) { + addCriterion("password between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPasswordNotBetween(String value1, String value2) { + addCriterion("password not between", value1, value2, "password"); + return (Criteria) this; + } + + public Criteria andPositionIsNull() { + addCriterion("position is null"); + return (Criteria) this; + } + + public Criteria andPositionIsNotNull() { + addCriterion("position is not null"); + return (Criteria) this; + } + + public Criteria andPositionEqualTo(String value) { + addCriterion("position =", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionNotEqualTo(String value) { + addCriterion("position <>", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionGreaterThan(String value) { + addCriterion("position >", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionGreaterThanOrEqualTo(String value) { + addCriterion("position >=", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionLessThan(String value) { + addCriterion("position <", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionLessThanOrEqualTo(String value) { + addCriterion("position <=", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionLike(String value) { + addCriterion("position like", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionNotLike(String value) { + addCriterion("position not like", value, "position"); + return (Criteria) this; + } + + public Criteria andPositionIn(List values) { + addCriterion("position in", values, "position"); + return (Criteria) this; + } + + public Criteria andPositionNotIn(List values) { + addCriterion("position not in", values, "position"); + return (Criteria) this; + } + + public Criteria andPositionBetween(String value1, String value2) { + addCriterion("position between", value1, value2, "position"); + return (Criteria) this; + } + + public Criteria andPositionNotBetween(String value1, String value2) { + addCriterion("position not between", value1, value2, "position"); + return (Criteria) this; + } + + public Criteria andDepartmentIsNull() { + addCriterion("department is null"); + return (Criteria) this; + } + + public Criteria andDepartmentIsNotNull() { + addCriterion("department is not null"); + return (Criteria) this; + } + + public Criteria andDepartmentEqualTo(String value) { + addCriterion("department =", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentNotEqualTo(String value) { + addCriterion("department <>", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentGreaterThan(String value) { + addCriterion("department >", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentGreaterThanOrEqualTo(String value) { + addCriterion("department >=", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentLessThan(String value) { + addCriterion("department <", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentLessThanOrEqualTo(String value) { + addCriterion("department <=", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentLike(String value) { + addCriterion("department like", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentNotLike(String value) { + addCriterion("department not like", value, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentIn(List values) { + addCriterion("department in", values, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentNotIn(List values) { + addCriterion("department not in", values, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentBetween(String value1, String value2) { + addCriterion("department between", value1, value2, "department"); + return (Criteria) this; + } + + public Criteria andDepartmentNotBetween(String value1, String value2) { + addCriterion("department not between", value1, value2, "department"); + return (Criteria) this; + } + + public Criteria andEmailIsNull() { + addCriterion("email is null"); + return (Criteria) this; + } + + public Criteria andEmailIsNotNull() { + addCriterion("email is not null"); + return (Criteria) this; + } + + public Criteria andEmailEqualTo(String value) { + addCriterion("email =", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotEqualTo(String value) { + addCriterion("email <>", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThan(String value) { + addCriterion("email >", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailGreaterThanOrEqualTo(String value) { + addCriterion("email >=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThan(String value) { + addCriterion("email <", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLessThanOrEqualTo(String value) { + addCriterion("email <=", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailLike(String value) { + addCriterion("email like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotLike(String value) { + addCriterion("email not like", value, "email"); + return (Criteria) this; + } + + public Criteria andEmailIn(List values) { + addCriterion("email in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotIn(List values) { + addCriterion("email not in", values, "email"); + return (Criteria) this; + } + + public Criteria andEmailBetween(String value1, String value2) { + addCriterion("email between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andEmailNotBetween(String value1, String value2) { + addCriterion("email not between", value1, value2, "email"); + return (Criteria) this; + } + + public Criteria andPhonenumIsNull() { + addCriterion("phonenum is null"); + return (Criteria) this; + } + + public Criteria andPhonenumIsNotNull() { + addCriterion("phonenum is not null"); + return (Criteria) this; + } + + public Criteria andPhonenumEqualTo(String value) { + addCriterion("phonenum =", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotEqualTo(String value) { + addCriterion("phonenum <>", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumGreaterThan(String value) { + addCriterion("phonenum >", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumGreaterThanOrEqualTo(String value) { + addCriterion("phonenum >=", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLessThan(String value) { + addCriterion("phonenum <", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLessThanOrEqualTo(String value) { + addCriterion("phonenum <=", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumLike(String value) { + addCriterion("phonenum like", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotLike(String value) { + addCriterion("phonenum not like", value, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumIn(List values) { + addCriterion("phonenum in", values, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotIn(List values) { + addCriterion("phonenum not in", values, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumBetween(String value1, String value2) { + addCriterion("phonenum between", value1, value2, "phonenum"); + return (Criteria) this; + } + + public Criteria andPhonenumNotBetween(String value1, String value2) { + addCriterion("phonenum not between", value1, value2, "phonenum"); + return (Criteria) this; + } + + public Criteria andIsmanagerIsNull() { + addCriterion("ismanager is null"); + return (Criteria) this; + } + + public Criteria andIsmanagerIsNotNull() { + addCriterion("ismanager is not null"); + return (Criteria) this; + } + + public Criteria andIsmanagerEqualTo(Byte value) { + addCriterion("ismanager =", value, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerNotEqualTo(Byte value) { + addCriterion("ismanager <>", value, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerGreaterThan(Byte value) { + addCriterion("ismanager >", value, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerGreaterThanOrEqualTo(Byte value) { + addCriterion("ismanager >=", value, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerLessThan(Byte value) { + addCriterion("ismanager <", value, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerLessThanOrEqualTo(Byte value) { + addCriterion("ismanager <=", value, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerIn(List values) { + addCriterion("ismanager in", values, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerNotIn(List values) { + addCriterion("ismanager not in", values, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerBetween(Byte value1, Byte value2) { + addCriterion("ismanager between", value1, value2, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsmanagerNotBetween(Byte value1, Byte value2) { + addCriterion("ismanager not between", value1, value2, "ismanager"); + return (Criteria) this; + } + + public Criteria andIsystemIsNull() { + addCriterion("isystem is null"); + return (Criteria) this; + } + + public Criteria andIsystemIsNotNull() { + addCriterion("isystem is not null"); + return (Criteria) this; + } + + public Criteria andIsystemEqualTo(Byte value) { + addCriterion("isystem =", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotEqualTo(Byte value) { + addCriterion("isystem <>", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThan(Byte value) { + addCriterion("isystem >", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemGreaterThanOrEqualTo(Byte value) { + addCriterion("isystem >=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThan(Byte value) { + addCriterion("isystem <", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemLessThanOrEqualTo(Byte value) { + addCriterion("isystem <=", value, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemIn(List values) { + addCriterion("isystem in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotIn(List values) { + addCriterion("isystem not in", values, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemBetween(Byte value1, Byte value2) { + addCriterion("isystem between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andIsystemNotBetween(Byte value1, Byte value2) { + addCriterion("isystem not between", value1, value2, "isystem"); + return (Criteria) this; + } + + public Criteria andStatusIsNull() { + addCriterion("status is null"); + return (Criteria) this; + } + + public Criteria andStatusIsNotNull() { + addCriterion("status is not null"); + return (Criteria) this; + } + + public Criteria andStatusEqualTo(Byte value) { + addCriterion("status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(Byte value) { + addCriterion("status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(Byte value) { + addCriterion("status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(Byte value) { + addCriterion("status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(Byte value) { + addCriterion("status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(Byte value) { + addCriterion("status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusIn(List values) { + addCriterion("status in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotIn(List values) { + addCriterion("status not in", values, "status"); + return (Criteria) this; + } + + public Criteria andStatusBetween(Byte value1, Byte value2) { + addCriterion("status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(Byte value1, Byte value2) { + addCriterion("status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNull() { + addCriterion("description is null"); + return (Criteria) this; + } + + public Criteria andDescriptionIsNotNull() { + addCriterion("description is not null"); + return (Criteria) this; + } + + public Criteria andDescriptionEqualTo(String value) { + addCriterion("description =", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotEqualTo(String value) { + addCriterion("description <>", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThan(String value) { + addCriterion("description >", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionGreaterThanOrEqualTo(String value) { + addCriterion("description >=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThan(String value) { + addCriterion("description <", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLessThanOrEqualTo(String value) { + addCriterion("description <=", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionLike(String value) { + addCriterion("description like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotLike(String value) { + addCriterion("description not like", value, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionIn(List values) { + addCriterion("description in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotIn(List values) { + addCriterion("description not in", values, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionBetween(String value1, String value2) { + addCriterion("description between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andDescriptionNotBetween(String value1, String value2) { + addCriterion("description not between", value1, value2, "description"); + return (Criteria) this; + } + + public Criteria andRemarkIsNull() { + addCriterion("remark is null"); + return (Criteria) this; + } + + public Criteria andRemarkIsNotNull() { + addCriterion("remark is not null"); + return (Criteria) this; + } + + public Criteria andRemarkEqualTo(String value) { + addCriterion("remark =", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotEqualTo(String value) { + addCriterion("remark <>", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThan(String value) { + addCriterion("remark >", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkGreaterThanOrEqualTo(String value) { + addCriterion("remark >=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThan(String value) { + addCriterion("remark <", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLessThanOrEqualTo(String value) { + addCriterion("remark <=", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkLike(String value) { + addCriterion("remark like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotLike(String value) { + addCriterion("remark not like", value, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkIn(List values) { + addCriterion("remark in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotIn(List values) { + addCriterion("remark not in", values, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkBetween(String value1, String value2) { + addCriterion("remark between", value1, value2, "remark"); + return (Criteria) this; + } + + public Criteria andRemarkNotBetween(String value1, String value2) { + addCriterion("remark not between", value1, value2, "remark"); + return (Criteria) this; + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_user + * + * @mbggenerated do_not_delete_during_merge + */ + public static class Criteria extends GeneratedCriteria { + + protected Criteria() { + super(); + } + } + + /** + * This class was generated by MyBatis Generator. + * This class corresponds to the database table jsh_user + * + * @mbggenerated + */ + public static class Criterion { + private String condition; + + private Object value; + + private Object secondValue; + + private boolean noValue; + + private boolean singleValue; + + private boolean betweenValue; + + private boolean listValue; + + private String typeHandler; + + public String getCondition() { + return condition; + } + + public Object getValue() { + return value; + } + + public Object getSecondValue() { + return secondValue; + } + + public boolean isNoValue() { + return noValue; + } + + public boolean isSingleValue() { + return singleValue; + } + + public boolean isBetweenValue() { + return betweenValue; + } + + public boolean isListValue() { + return listValue; + } + + public String getTypeHandler() { + return typeHandler; + } + + protected Criterion(String condition) { + super(); + this.condition = condition; + this.typeHandler = null; + this.noValue = true; + } + + protected Criterion(String condition, Object value, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.typeHandler = typeHandler; + if (value instanceof List) { + this.listValue = true; + } else { + this.singleValue = true; + } + } + + protected Criterion(String condition, Object value) { + this(condition, value, null); + } + + protected Criterion(String condition, Object value, Object secondValue, String typeHandler) { + super(); + this.condition = condition; + this.value = value; + this.secondValue = secondValue; + this.typeHandler = typeHandler; + this.betweenValue = true; + } + + protected Criterion(String condition, Object value, Object secondValue) { + this(condition, value, secondValue, null); + } + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..ed3f03a61d95fc21abb489ecc49471c4961616a6 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/AccountHeadMapper.java @@ -0,0 +1,123 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.AccountHead; +import com.jsh.erp.datasource.entities.AccountHeadExample; +import java.util.List; + +import com.jsh.erp.datasource.entities.AccountHeadVo4ListEx; +import org.apache.ibatis.annotations.Param; + +public interface AccountHeadMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int countByExample(AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int deleteByExample(AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int insert(AccountHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int insertSelective(AccountHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + List selectByExample(AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + AccountHead selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") AccountHead record, @Param("example") AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByExample(@Param("record") AccountHead record, @Param("example") AccountHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(AccountHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accounthead + * + * @mbggenerated + */ + int updateByPrimaryKey(AccountHead record); + + List selectByConditionAccountHead( + @Param("type") String type, + @Param("billNo") String billNo, + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByAccountHead( + @Param("type") String type, + @Param("billNo") String billNo, + @Param("beginTime") String beginTime, + @Param("endTime") String endTime); + + Long getMaxId(); + + Double findAllMoney( + @Param("supplierId") Integer supplierId, + @Param("type") String type, + @Param("modeName") String modeName, + @Param("endTime") String endTime); + + List getDetailByNumber( + @Param("billNo") String billNo); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..8ac893bedae70fb28a1a84f290ddd765c9a0b40c --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/AccountItemMapper.java @@ -0,0 +1,114 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.AccountItem; +import com.jsh.erp.datasource.entities.AccountItemExample; +import java.util.List; + +import com.jsh.erp.datasource.vo.AccountItemVo4List; +import org.apache.ibatis.annotations.Param; + +public interface AccountItemMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int countByExample(AccountItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int deleteByExample(AccountItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int insert(AccountItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int insertSelective(AccountItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + List selectByExample(AccountItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + AccountItem selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") AccountItem record, @Param("example") AccountItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int updateByExample(@Param("record") AccountItem record, @Param("example") AccountItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(AccountItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_accountitem + * + * @mbggenerated + */ + int updateByPrimaryKey(AccountItem record); + + List selectByConditionAccountItem( + @Param("name") String name, + @Param("type") Integer type, + @Param("remark") String remark, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByAccountItem( + @Param("name") String name, + @Param("type") Integer type, + @Param("remark") String remark); + + List getDetailList( + @Param("headerId") Long headerId); + +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..2df74bdecc78b04fb2d9636be69d9457f7ccb5ca --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/AccountMapper.java @@ -0,0 +1,119 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Account; +import com.jsh.erp.datasource.entities.AccountExample; +import java.util.List; + +import com.jsh.erp.datasource.vo.AccountVo4InOutList; +import com.jsh.erp.datasource.vo.AccountVo4List; +import org.apache.ibatis.annotations.Param; + +public interface AccountMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int countByExample(AccountExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int deleteByExample(AccountExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int insert(Account record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int insertSelective(Account record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + List selectByExample(AccountExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + Account selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Account record, @Param("example") AccountExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int updateByExample(@Param("record") Account record, @Param("example") AccountExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Account record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_account + * + * @mbggenerated + */ + int updateByPrimaryKey(Account record); + + List selectByConditionAccount( + @Param("name") String name, + @Param("serialNo") String serialNo, + @Param("remark") String remark, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByAccount( + @Param("name") String name, + @Param("serialNo") String serialNo, + @Param("remark") String remark); + + List findAccountInOutList( + @Param("accountId") Long accountId, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int findAccountInOutListCount( + @Param("accountId") Long accountId); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..d0abdd909f3f8404473bb72297f8d510af09581f --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/AppMapper.java @@ -0,0 +1,106 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.App; +import com.jsh.erp.datasource.entities.AppExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface AppMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int countByExample(AppExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int deleteByExample(AppExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int insert(App record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int insertSelective(App record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + List selectByExample(AppExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + App selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") App record, @Param("example") AppExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int updateByExample(@Param("record") App record, @Param("example") AppExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(App record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_app + * + * @mbggenerated + */ + int updateByPrimaryKey(App record); + + List selectByConditionApp( + @Param("name") String name, + @Param("type") String type, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByApp( + @Param("name") String name, + @Param("type") String type); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AssetCategoryMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AssetCategoryMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..e3900fc344b0da63404f08abd6060538a265ec2d --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/AssetCategoryMapper.java @@ -0,0 +1,96 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.AssetCategory; +import com.jsh.erp.datasource.entities.AssetCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface AssetCategoryMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int countByExample(AssetCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int deleteByExample(AssetCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int insert(AssetCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int insertSelective(AssetCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + List selectByExample(AssetCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + AssetCategory selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") AssetCategory record, @Param("example") AssetCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int updateByExample(@Param("record") AssetCategory record, @Param("example") AssetCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(AssetCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetcategory + * + * @mbggenerated + */ + int updateByPrimaryKey(AssetCategory record); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AssetMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AssetMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..a20a17233a750f6c106536c2933d1ce1bd936dcc --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/AssetMapper.java @@ -0,0 +1,120 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Asset; +import com.jsh.erp.datasource.entities.AssetExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface AssetMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int countByExample(AssetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int deleteByExample(AssetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int insert(Asset record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int insertSelective(Asset record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + List selectByExampleWithBLOBs(AssetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + List selectByExample(AssetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + Asset selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Asset record, @Param("example") AssetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int updateByExampleWithBLOBs(@Param("record") Asset record, @Param("example") AssetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int updateByExample(@Param("record") Asset record, @Param("example") AssetExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Asset record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int updateByPrimaryKeyWithBLOBs(Asset record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_asset + * + * @mbggenerated + */ + int updateByPrimaryKey(Asset record); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/AssetNameMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/AssetNameMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..e473f3bbd22f7cbf611e29270554074a79e89c6c --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/AssetNameMapper.java @@ -0,0 +1,120 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.AssetName; +import com.jsh.erp.datasource.entities.AssetNameExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface AssetNameMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int countByExample(AssetNameExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int deleteByExample(AssetNameExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int insert(AssetName record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int insertSelective(AssetName record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + List selectByExampleWithBLOBs(AssetNameExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + List selectByExample(AssetNameExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + AssetName selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") AssetName record, @Param("example") AssetNameExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int updateByExampleWithBLOBs(@Param("record") AssetName record, @Param("example") AssetNameExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int updateByExample(@Param("record") AssetName record, @Param("example") AssetNameExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(AssetName record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int updateByPrimaryKeyWithBLOBs(AssetName record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_assetname + * + * @mbggenerated + */ + int updateByPrimaryKey(AssetName record); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..ad895ee94670b6fef8017abe7cb2e42f16074832 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java @@ -0,0 +1,185 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.DepotHead; +import com.jsh.erp.datasource.entities.DepotHeadExample; +import java.util.List; + +import com.jsh.erp.datasource.vo.DepotHeadVo4InDetail; +import com.jsh.erp.datasource.vo.DepotHeadVo4InOutMCount; +import com.jsh.erp.datasource.vo.DepotHeadVo4List; +import com.jsh.erp.datasource.vo.DepotHeadVo4StatementAccount; +import org.apache.ibatis.annotations.Param; + +public interface DepotHeadMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int countByExample(DepotHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int deleteByExample(DepotHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int insert(DepotHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int insertSelective(DepotHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + List selectByExample(DepotHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + DepotHead selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") DepotHead record, @Param("example") DepotHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int updateByExample(@Param("record") DepotHead record, @Param("example") DepotHeadExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(DepotHead record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depothead + * + * @mbggenerated + */ + int updateByPrimaryKey(DepotHead record); + + List selectByConditionDepotHead( + @Param("type") String type, + @Param("subType") String subType, + @Param("number") String number, + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("dhIds") String dhIds, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByDepotHead( + @Param("type") String type, + @Param("subType") String subType, + @Param("number") String number, + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("dhIds") String dhIds); + + Long getMaxId(); + + String findMaterialsListByHeaderId( + @Param("id") Long id); + + List findByAll( + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("type") String type, + @Param("pid") Integer pid, + @Param("dids") String dids, + @Param("oId") Integer oId, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int findByAllCount( + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("type") String type, + @Param("pid") Integer pid, + @Param("dids") String dids, + @Param("oId") Integer oId); + + List findInOutMaterialCount( + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("type") String type, + @Param("pid") Integer pid, + @Param("dids") String dids, + @Param("oId") Integer oId, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int findInOutMaterialCountTotal( + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("type") String type, + @Param("pid") Integer pid, + @Param("dids") String dids, + @Param("oId") Integer oId); + + List findStatementAccount( + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("organId") Integer organId, + @Param("supType") String supType, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int findStatementAccountCount( + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("organId") Integer organId, + @Param("supType") String supType); + + Double findAllMoney( + @Param("supplierId") Integer supplierId, + @Param("type") String type, + @Param("subType") String subType, + @Param("modeName") String modeName, + @Param("endTime") String endTime); + + List getDetailByNumber( + @Param("number") String number); + +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..ae53d0d964d66e3ea5ae41b8c10a9a933cf3ca27 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/DepotItemMapper.java @@ -0,0 +1,217 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.*; + +import java.util.List; + +import org.apache.ibatis.annotations.Param; + +public interface DepotItemMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int countByExample(DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int deleteByExample(DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int insert(DepotItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int insertSelective(DepotItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + List selectByExample(DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + DepotItem selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") DepotItem record, @Param("example") DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByExample(@Param("record") DepotItem record, @Param("example") DepotItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(DepotItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depotitem + * + * @mbggenerated + */ + int updateByPrimaryKey(DepotItem record); + + List selectByConditionDepotItem( + @Param("name") String name, + @Param("type") Integer type, + @Param("remark") String remark, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByDepotItem( + @Param("name") String name, + @Param("type") Integer type, + @Param("remark") String remark); + + List getHeaderIdByMaterial( + @Param("materialParam") String materialParam, + @Param("depotIds") String depotIds); + + List findDetailByTypeAndMaterialIdList( + @Param("mId") Long mId, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int findDetailByTypeAndMaterialIdCounts( + @Param("mId") Long mId); + + List findStockNumByMaterialIdList( + @Param("mId") Long mId, + @Param("monthTime") String monthTime, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int findStockNumByMaterialIdCounts( + @Param("mId") Long mId, + @Param("monthTime") String monthTime); + + int findByTypeAndMaterialIdIn( + @Param("mId") Long mId); + + int findByTypeAndMaterialIdOut( + @Param("mId") Long mId); + + List getDetailList( + @Param("headerId") Long headerId); + + List findByAll( + @Param("headIds") String headIds, + @Param("materialIds") String materialIds, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int findByAllCount( + @Param("headIds") String headIds, + @Param("materialIds") String materialIds); + + Double findByTypeInIsPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + Double findByTypeInIsNotPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + Double findByTypeOutIsPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + Double findByTypeOutIsNotPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + + + Double findPriceByTypeInIsPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + Double findPriceByTypeInIsNotPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + Double findPriceByTypeOutIsPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + Double findPriceByTypeOutIsNotPrev( + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime); + + Double buyOrSaleNumber( + @Param("type") String type, + @Param("subType") String subType, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime, + @Param("sumType") String sumType); + + Double buyOrSalePrice( + @Param("type") String type, + @Param("subType") String subType, + @Param("MId") Long MId, + @Param("MonthTime") String MonthTime, + @Param("sumType") String sumType); + + Double findGiftByTypeIn( + @Param("subType") String subType, + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId); + + Double findGiftByTypeOut( + @Param("subType") String subType, + @Param("ProjectId") Integer ProjectId, + @Param("MId") Long MId); + +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/DepotMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/DepotMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..6c754c20e4ff173c64462ed8d886a75826a32938 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/DepotMapper.java @@ -0,0 +1,108 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Depot; +import com.jsh.erp.datasource.entities.DepotExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface DepotMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int countByExample(DepotExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int deleteByExample(DepotExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int insert(Depot record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int insertSelective(Depot record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + List selectByExample(DepotExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + Depot selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Depot record, @Param("example") DepotExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int updateByExample(@Param("record") Depot record, @Param("example") DepotExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Depot record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_depot + * + * @mbggenerated + */ + int updateByPrimaryKey(Depot record); + + List selectByConditionDepot( + @Param("name") String name, + @Param("type") Integer type, + @Param("remark") String remark, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByDepot( + @Param("name") String name, + @Param("type") Integer type, + @Param("remark") String remark); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/FunctionsMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/FunctionsMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..f80c6a2bd2660b5f52bcf5f48bd52e595de5d9fb --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/FunctionsMapper.java @@ -0,0 +1,106 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Functions; +import com.jsh.erp.datasource.entities.FunctionsExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface FunctionsMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int countByExample(FunctionsExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int deleteByExample(FunctionsExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int insert(Functions record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int insertSelective(Functions record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + List selectByExample(FunctionsExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + Functions selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Functions record, @Param("example") FunctionsExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int updateByExample(@Param("record") Functions record, @Param("example") FunctionsExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Functions record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_functions + * + * @mbggenerated + */ + int updateByPrimaryKey(Functions record); + + List selectByConditionFunctions( + @Param("name") String name, + @Param("type") String type, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByFunctions( + @Param("name") String name, + @Param("type") String type); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/InOutItemMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/InOutItemMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..b53009957ed230723f0c7587f6e3624ac8f040ec --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/InOutItemMapper.java @@ -0,0 +1,108 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.InOutItem; +import com.jsh.erp.datasource.entities.InOutItemExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface InOutItemMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int countByExample(InOutItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int deleteByExample(InOutItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int insert(InOutItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int insertSelective(InOutItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + List selectByExample(InOutItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + InOutItem selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") InOutItem record, @Param("example") InOutItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int updateByExample(@Param("record") InOutItem record, @Param("example") InOutItemExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(InOutItem record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_inoutitem + * + * @mbggenerated + */ + int updateByPrimaryKey(InOutItem record); + + List selectByConditionInOutItem( + @Param("name") String name, + @Param("type") String type, + @Param("remark") String remark, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByInOutItem( + @Param("name") String name, + @Param("type") String type, + @Param("remark") String remark); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..5dc679e17b9f2954b580448ea53394af5017f974 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/LogMapper.java @@ -0,0 +1,116 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Log; +import com.jsh.erp.datasource.entities.LogExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface LogMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int countByExample(LogExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int deleteByExample(LogExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int insert(Log record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int insertSelective(Log record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + List selectByExample(LogExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + Log selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Log record, @Param("example") LogExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int updateByExample(@Param("record") Log record, @Param("example") LogExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Log record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_log + * + * @mbggenerated + */ + int updateByPrimaryKey(Log record); + + List selectByConditionLog( + @Param("operation") String operation, + @Param("usernameID") Integer usernameID, + @Param("clientIp") String clientIp, + @Param("status") Integer status, + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("contentdetails") String contentdetails, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByLog( + @Param("operation") String operation, + @Param("usernameID") Integer usernameID, + @Param("clientIp") String clientIp, + @Param("status") Integer status, + @Param("beginTime") String beginTime, + @Param("endTime") String endTime, + @Param("contentdetails") String contentdetails); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..9a25dd1be47cca3f6d6ef17630d435f8583e5f52 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/MaterialCategoryMapper.java @@ -0,0 +1,106 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.MaterialCategory; +import com.jsh.erp.datasource.entities.MaterialCategoryExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface MaterialCategoryMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int countByExample(MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int deleteByExample(MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int insert(MaterialCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int insertSelective(MaterialCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + List selectByExample(MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + MaterialCategory selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByExample(@Param("record") MaterialCategory record, @Param("example") MaterialCategoryExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(MaterialCategory record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialcategory + * + * @mbggenerated + */ + int updateByPrimaryKey(MaterialCategory record); + + List selectByConditionMaterialCategory( + @Param("name") String name, + @Param("parentId") Integer parentId, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByMaterialCategory( + @Param("name") String name, + @Param("parentId") Integer parentId); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/MaterialMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/MaterialMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..85867077d6de880f2257e7568b6da06f3bedfaf3 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/MaterialMapper.java @@ -0,0 +1,115 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Material; +import com.jsh.erp.datasource.entities.MaterialExample; +import java.util.List; + +import com.jsh.erp.datasource.entities.MaterialVo4Unit; +import org.apache.ibatis.annotations.Param; + +public interface MaterialMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int countByExample(MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int deleteByExample(MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int insert(Material record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int insertSelective(Material record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + List selectByExample(MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + Material selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Material record, @Param("example") MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByExample(@Param("record") Material record, @Param("example") MaterialExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Material record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_material + * + * @mbggenerated + */ + int updateByPrimaryKey(Material record); + + List selectByConditionMaterial( + @Param("name") String name, + @Param("model") String model, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByMaterial( + @Param("name") String name, + @Param("model") String model); + + String findUnitName(@Param("mId") Long mId); + + List findById(@Param("id") Long id); + + List findBySelect(); + +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/MaterialPropertyMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/MaterialPropertyMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..4fff13f9e15cc56f0fecb9a858270a6410fac7c9 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/MaterialPropertyMapper.java @@ -0,0 +1,103 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.MaterialProperty; +import com.jsh.erp.datasource.entities.MaterialPropertyExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface MaterialPropertyMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int countByExample(MaterialPropertyExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int deleteByExample(MaterialPropertyExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int insert(MaterialProperty record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int insertSelective(MaterialProperty record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + List selectByExample(MaterialPropertyExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + MaterialProperty selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") MaterialProperty record, @Param("example") MaterialPropertyExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int updateByExample(@Param("record") MaterialProperty record, @Param("example") MaterialPropertyExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(MaterialProperty record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_materialproperty + * + * @mbggenerated + */ + int updateByPrimaryKey(MaterialProperty record); + + List selectByConditionMaterialProperty( + @Param("name") String name, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByMaterialProperty(@Param("name") String name); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/PersonMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/PersonMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..c6111b6c21223e822a0b46eb37852fbe8a9b3631 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/PersonMapper.java @@ -0,0 +1,106 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Person; +import com.jsh.erp.datasource.entities.PersonExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface PersonMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int countByExample(PersonExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int deleteByExample(PersonExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int insert(Person record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int insertSelective(Person record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + List selectByExample(PersonExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + Person selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Person record, @Param("example") PersonExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int updateByExample(@Param("record") Person record, @Param("example") PersonExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Person record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_person + * + * @mbggenerated + */ + int updateByPrimaryKey(Person record); + + List selectByConditionPerson( + @Param("name") String name, + @Param("type") String type, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByPerson( + @Param("name") String name, + @Param("type") String type); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/RoleMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/RoleMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..f5805ee004c8673749566ddf36bef637a55ac889 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/RoleMapper.java @@ -0,0 +1,104 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Role; +import com.jsh.erp.datasource.entities.RoleExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface RoleMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int countByExample(RoleExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int deleteByExample(RoleExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int insert(Role record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int insertSelective(Role record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + List selectByExample(RoleExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + Role selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Role record, @Param("example") RoleExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int updateByExample(@Param("record") Role record, @Param("example") RoleExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Role record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_role + * + * @mbggenerated + */ + int updateByPrimaryKey(Role record); + + List selectByConditionRole( + @Param("name") String name, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByRole( + @Param("name") String name); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/SupplierMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/SupplierMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..d06df131efe9897686215eb83f18d6e6272e51b9 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/SupplierMapper.java @@ -0,0 +1,112 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Supplier; +import com.jsh.erp.datasource.entities.SupplierExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SupplierMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int countByExample(SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int deleteByExample(SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int insert(Supplier record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int insertSelective(Supplier record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + List selectByExample(SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + Supplier selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Supplier record, @Param("example") SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByExample(@Param("record") Supplier record, @Param("example") SupplierExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Supplier record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_supplier + * + * @mbggenerated + */ + int updateByPrimaryKey(Supplier record); + + List selectByConditionSupplier( + @Param("supplier") String supplier, + @Param("type") String type, + @Param("phonenum") String phonenum, + @Param("telephone") String telephone, + @Param("description") String description, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsBySupplier( + @Param("supplier") String supplier, + @Param("type") String type, + @Param("phonenum") String phonenum, + @Param("telephone") String telephone, + @Param("description") String description); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/SystemConfigMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/SystemConfigMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..12edffb07fc29a735770a62bd1ed62dec0d8e301 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/SystemConfigMapper.java @@ -0,0 +1,102 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.SystemConfig; +import com.jsh.erp.datasource.entities.SystemConfigExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface SystemConfigMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int countByExample(SystemConfigExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int deleteByExample(SystemConfigExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int insert(SystemConfig record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int insertSelective(SystemConfig record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + List selectByExample(SystemConfigExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + SystemConfig selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int updateByExample(@Param("record") SystemConfig record, @Param("example") SystemConfigExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(SystemConfig record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_systemconfig + * + * @mbggenerated + */ + int updateByPrimaryKey(SystemConfig record); + + List selectByConditionSystemConfig( + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsBySystemConfig(); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/UnitMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/UnitMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..4983727a39426bb6879882d0630039e915bc3e8d --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/UnitMapper.java @@ -0,0 +1,104 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.Unit; +import com.jsh.erp.datasource.entities.UnitExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UnitMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int countByExample(UnitExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int deleteByExample(UnitExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int insert(Unit record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int insertSelective(Unit record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + List selectByExample(UnitExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + Unit selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") Unit record, @Param("example") UnitExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int updateByExample(@Param("record") Unit record, @Param("example") UnitExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(Unit record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_unit + * + * @mbggenerated + */ + int updateByPrimaryKey(Unit record); + + List selectByConditionUnit( + @Param("name") String name, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByUnit( + @Param("name") String name); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/UserBusinessMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/UserBusinessMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..ad6238efeecde50f881f7b291bdf21daf28c9894 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/UserBusinessMapper.java @@ -0,0 +1,96 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.UserBusiness; +import com.jsh.erp.datasource.entities.UserBusinessExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UserBusinessMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int countByExample(UserBusinessExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int deleteByExample(UserBusinessExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int insert(UserBusiness record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int insertSelective(UserBusiness record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + List selectByExample(UserBusinessExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + UserBusiness selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int updateByExample(@Param("record") UserBusiness record, @Param("example") UserBusinessExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(UserBusiness record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_userbusiness + * + * @mbggenerated + */ + int updateByPrimaryKey(UserBusiness record); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/UserMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/UserMapper.java new file mode 100644 index 0000000000000000000000000000000000000000..4671e309bd3a90676ca054eb5788108e466b5bbb --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/mappers/UserMapper.java @@ -0,0 +1,106 @@ +package com.jsh.erp.datasource.mappers; + +import com.jsh.erp.datasource.entities.User; +import com.jsh.erp.datasource.entities.UserExample; +import java.util.List; +import org.apache.ibatis.annotations.Param; + +public interface UserMapper { + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int countByExample(UserExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int deleteByExample(UserExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int deleteByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int insert(User record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int insertSelective(User record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + List selectByExample(UserExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + User selectByPrimaryKey(Long id); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int updateByExampleSelective(@Param("record") User record, @Param("example") UserExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int updateByExample(@Param("record") User record, @Param("example") UserExample example); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int updateByPrimaryKeySelective(User record); + + /** + * This method was generated by MyBatis Generator. + * This method corresponds to the database table jsh_user + * + * @mbggenerated + */ + int updateByPrimaryKey(User record); + + List selectByConditionUser( + @Param("userName") String userName, + @Param("loginName") String loginName, + @Param("offset") Integer offset, + @Param("rows") Integer rows); + + int countsByUser( + @Param("userName") String userName, + @Param("loginName") String loginName); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/AccountItemVo4List.java b/src/main/java/com/jsh/erp/datasource/vo/AccountItemVo4List.java new file mode 100644 index 0000000000000000000000000000000000000000..54b1177442d912b2f69ac98d185c6ea767d6e3d7 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/vo/AccountItemVo4List.java @@ -0,0 +1,84 @@ +package com.jsh.erp.datasource.vo; + +public class AccountItemVo4List { + + private Long id; + + private Long headerid; + + private Long accountid; + + private Long inoutitemid; + + private Double eachamount; + + private String remark; + + private String accountName; + + private String inOutItemName; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public Long getHeaderid() { + return headerid; + } + + public void setHeaderid(Long headerid) { + this.headerid = headerid; + } + + public Long getAccountid() { + return accountid; + } + + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + public Long getInoutitemid() { + return inoutitemid; + } + + public void setInoutitemid(Long inoutitemid) { + this.inoutitemid = inoutitemid; + } + + public Double getEachamount() { + return eachamount; + } + + public void setEachamount(Double eachamount) { + this.eachamount = eachamount; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getInOutItemName() { + return inOutItemName; + } + + public void setInOutItemName(String inOutItemName) { + this.inOutItemName = inOutItemName; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/AccountVo4InOutList.java b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4InOutList.java new file mode 100644 index 0000000000000000000000000000000000000000..8f00881f8b2e58f80058559bff0281bb4ec1a923 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4InOutList.java @@ -0,0 +1,84 @@ +package com.jsh.erp.datasource.vo; + +public class AccountVo4InOutList { + + private String number; + + private String type; + + private String supplierName; + + private Double changeAmount; + + private Double balance; + + private String operTime; + + private String aList; + + private String amList; + + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getSupplierName() { + return supplierName; + } + + public void setSupplierName(String supplierName) { + this.supplierName = supplierName; + } + + public Double getChangeAmount() { + return changeAmount; + } + + public void setChangeAmount(Double changeAmount) { + this.changeAmount = changeAmount; + } + + public Double getBalance() { + return balance; + } + + public void setBalance(Double balance) { + this.balance = balance; + } + + public String getOperTime() { + return operTime; + } + + public void setOperTime(String operTime) { + this.operTime = operTime; + } + + public String getaList() { + return aList; + } + + public void setaList(String aList) { + this.aList = aList; + } + + public String getAmList() { + return amList; + } + + public void setAmList(String amList) { + this.amList = amList; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/AccountVo4List.java b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4List.java new file mode 100644 index 0000000000000000000000000000000000000000..2a66bbbd4eadbdb9c8ba49c09016e11a06ff7035 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/vo/AccountVo4List.java @@ -0,0 +1,84 @@ +package com.jsh.erp.datasource.vo; + +public class AccountVo4List { + + private Long id; + + private String name; + + private String serialno; + + private Double initialamount; + + private Double currentamount; + + private String remark; + + private Boolean isdefault; + + private String thismonthamount; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSerialno() { + return serialno; + } + + public void setSerialno(String serialno) { + this.serialno = serialno; + } + + public Double getInitialamount() { + return initialamount; + } + + public void setInitialamount(Double initialamount) { + this.initialamount = initialamount; + } + + public Double getCurrentamount() { + return currentamount; + } + + public void setCurrentamount(Double currentamount) { + this.currentamount = currentamount; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public Boolean getIsdefault() { + return isdefault; + } + + public void setIsdefault(Boolean isdefault) { + this.isdefault = isdefault; + } + + public String getThismonthamount() { + return thismonthamount; + } + + public void setThismonthamount(String thismonthamount) { + this.thismonthamount = thismonthamount; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InDetail.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InDetail.java new file mode 100644 index 0000000000000000000000000000000000000000..19a5ec161bd7a163ccf4b60660b253058ae0bcc3 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InDetail.java @@ -0,0 +1,107 @@ +package com.jsh.erp.datasource.vo; + + +import java.util.Date; + +public class DepotHeadVo4InDetail { + + private String Number; + + private String MName; + + private String Model; + + private Double UnitPrice; + + private Double OperNumber; + + private Double AllPrice; + + private String SName; + + private String DName; + + private String OperTime; + + private String NewType; + + public String getNumber() { + return Number; + } + + public void setNumber(String number) { + Number = number; + } + + public String getMName() { + return MName; + } + + public void setMName(String MName) { + this.MName = MName; + } + + public String getModel() { + return Model; + } + + public void setModel(String model) { + Model = model; + } + + public Double getUnitPrice() { + return UnitPrice; + } + + public void setUnitPrice(Double unitPrice) { + UnitPrice = unitPrice; + } + + public Double getOperNumber() { + return OperNumber; + } + + public void setOperNumber(Double operNumber) { + OperNumber = operNumber; + } + + public Double getAllPrice() { + return AllPrice; + } + + public void setAllPrice(Double allPrice) { + AllPrice = allPrice; + } + + public String getSName() { + return SName; + } + + public void setSName(String SName) { + this.SName = SName; + } + + public String getDName() { + return DName; + } + + public void setDName(String DName) { + this.DName = DName; + } + + public String getOperTime() { + return OperTime; + } + + public void setOperTime(String operTime) { + OperTime = operTime; + } + + public String getNewType() { + return NewType; + } + + public void setNewType(String newType) { + NewType = newType; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InOutMCount.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InOutMCount.java new file mode 100644 index 0000000000000000000000000000000000000000..442b7fb26ba71fc36e91a9f51f19b68c4867fad7 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4InOutMCount.java @@ -0,0 +1,65 @@ +package com.jsh.erp.datasource.vo; + + +public class DepotHeadVo4InOutMCount { + + private Long MaterialId; + + private String mName; + + private String Model; + + private String categoryName; + + private Double numSum; + + private Double priceSum; + + public Long getMaterialId() { + return MaterialId; + } + + public void setMaterialId(Long materialId) { + MaterialId = materialId; + } + + public String getmName() { + return mName; + } + + public void setmName(String mName) { + this.mName = mName; + } + + public String getModel() { + return Model; + } + + public void setModel(String model) { + Model = model; + } + + public String getCategoryName() { + return categoryName; + } + + public void setCategoryName(String categoryName) { + this.categoryName = categoryName; + } + + public Double getNumSum() { + return numSum; + } + + public void setNumSum(Double numSum) { + this.numSum = numSum; + } + + public Double getPriceSum() { + return priceSum; + } + + public void setPriceSum(Double priceSum) { + this.priceSum = priceSum; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java new file mode 100644 index 0000000000000000000000000000000000000000..fed3e2c0ccbdbac441cc72d1ce39a7dc5984906e --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java @@ -0,0 +1,346 @@ +package com.jsh.erp.datasource.vo; + +import java.util.Date; + +public class DepotHeadVo4List { + + private Long id; + + private String type; + + private String subtype; + + private Long projectid; + + private String defaultnumber; + + private String number; + + private String operpersonname; + + private Date createtime; + + private Date opertime; + + private Long organid; + + private Long handspersonid; + + private Long accountid; + + private Double changeamount; + + private Long allocationprojectid; + + private Double totalprice; + + private String paytype; + + private String remark; + + private String salesman; + + private String accountidlist; + + private String accountmoneylist; + + private Double discount; + + private Double discountmoney; + + private Double discountlastmoney; + + private Double othermoney; + + private String othermoneylist; + + private String othermoneyitem; + + private Integer accountday; + + private Boolean status; + + private String projectName; + + private String organName; + + private String handsPersonName; + + private String accountName; + + private String allocationProjectName; + + private String materialsList; + + public Long getId() { + return id; + } + + public void setId(Long id) { + this.id = id; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public String getSubtype() { + return subtype; + } + + public void setSubtype(String subtype) { + this.subtype = subtype; + } + + public Long getProjectid() { + return projectid; + } + + public void setProjectid(Long projectid) { + this.projectid = projectid; + } + + public String getDefaultnumber() { + return defaultnumber; + } + + public void setDefaultnumber(String defaultnumber) { + this.defaultnumber = defaultnumber; + } + + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + public String getOperpersonname() { + return operpersonname; + } + + public void setOperpersonname(String operpersonname) { + this.operpersonname = operpersonname; + } + + public Date getCreatetime() { + return createtime; + } + + public void setCreatetime(Date createtime) { + this.createtime = createtime; + } + + public Date getOpertime() { + return opertime; + } + + public void setOpertime(Date opertime) { + this.opertime = opertime; + } + + public Long getOrganid() { + return organid; + } + + public void setOrganid(Long organid) { + this.organid = organid; + } + + public Long getHandspersonid() { + return handspersonid; + } + + public void setHandspersonid(Long handspersonid) { + this.handspersonid = handspersonid; + } + + public Long getAccountid() { + return accountid; + } + + public void setAccountid(Long accountid) { + this.accountid = accountid; + } + + public Double getChangeamount() { + return changeamount; + } + + public void setChangeamount(Double changeamount) { + this.changeamount = changeamount; + } + + public Long getAllocationprojectid() { + return allocationprojectid; + } + + public void setAllocationprojectid(Long allocationprojectid) { + this.allocationprojectid = allocationprojectid; + } + + public Double getTotalprice() { + return totalprice; + } + + public void setTotalprice(Double totalprice) { + this.totalprice = totalprice; + } + + public String getPaytype() { + return paytype; + } + + public void setPaytype(String paytype) { + this.paytype = paytype; + } + + public String getRemark() { + return remark; + } + + public void setRemark(String remark) { + this.remark = remark; + } + + public String getSalesman() { + return salesman; + } + + public void setSalesman(String salesman) { + this.salesman = salesman; + } + + public String getAccountidlist() { + return accountidlist; + } + + public void setAccountidlist(String accountidlist) { + this.accountidlist = accountidlist; + } + + public String getAccountmoneylist() { + return accountmoneylist; + } + + public void setAccountmoneylist(String accountmoneylist) { + this.accountmoneylist = accountmoneylist; + } + + public Double getDiscount() { + return discount; + } + + public void setDiscount(Double discount) { + this.discount = discount; + } + + public Double getDiscountmoney() { + return discountmoney; + } + + public void setDiscountmoney(Double discountmoney) { + this.discountmoney = discountmoney; + } + + public Double getDiscountlastmoney() { + return discountlastmoney; + } + + public void setDiscountlastmoney(Double discountlastmoney) { + this.discountlastmoney = discountlastmoney; + } + + public Double getOthermoney() { + return othermoney; + } + + public void setOthermoney(Double othermoney) { + this.othermoney = othermoney; + } + + public String getOthermoneylist() { + return othermoneylist; + } + + public void setOthermoneylist(String othermoneylist) { + this.othermoneylist = othermoneylist; + } + + public String getOthermoneyitem() { + return othermoneyitem; + } + + public void setOthermoneyitem(String othermoneyitem) { + this.othermoneyitem = othermoneyitem; + } + + public Integer getAccountday() { + return accountday; + } + + public void setAccountday(Integer accountday) { + this.accountday = accountday; + } + + public Boolean getStatus() { + return status; + } + + public void setStatus(Boolean status) { + this.status = status; + } + + public String getProjectName() { + return projectName; + } + + public void setProjectName(String projectName) { + this.projectName = projectName; + } + + public String getOrganName() { + return organName; + } + + public void setOrganName(String organName) { + this.organName = organName; + } + + public String getHandsPersonName() { + return handsPersonName; + } + + public void setHandsPersonName(String handsPersonName) { + this.handsPersonName = handsPersonName; + } + + public String getAccountName() { + return accountName; + } + + public void setAccountName(String accountName) { + this.accountName = accountName; + } + + public String getAllocationProjectName() { + return allocationProjectName; + } + + public void setAllocationProjectName(String allocationProjectName) { + this.allocationProjectName = allocationProjectName; + } + + public String getMaterialsList() { + return materialsList; + } + + public void setMaterialsList(String materialsList) { + this.materialsList = materialsList; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4StatementAccount.java b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4StatementAccount.java new file mode 100644 index 0000000000000000000000000000000000000000..327f334bf0110bda8a910a77567346e7844362c4 --- /dev/null +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4StatementAccount.java @@ -0,0 +1,75 @@ +package com.jsh.erp.datasource.vo; + + +public class DepotHeadVo4StatementAccount { + + private String number; + + private String type; + + private Double discountLastMoney; + + private Double changeAmount; + + private Double allPrice; + + private String supplierName; + + private String oTime; + + public String getNumber() { + return number; + } + + public void setNumber(String number) { + this.number = number; + } + + public String getType() { + return type; + } + + public void setType(String type) { + this.type = type; + } + + public Double getDiscountLastMoney() { + return discountLastMoney; + } + + public void setDiscountLastMoney(Double discountLastMoney) { + this.discountLastMoney = discountLastMoney; + } + + public Double getChangeAmount() { + return changeAmount; + } + + public void setChangeAmount(Double changeAmount) { + this.changeAmount = changeAmount; + } + + public Double getAllPrice() { + return allPrice; + } + + public void setAllPrice(Double allPrice) { + this.allPrice = allPrice; + } + + public String getSupplierName() { + return supplierName; + } + + public void setSupplierName(String supplierName) { + this.supplierName = supplierName; + } + + public String getoTime() { + return oTime; + } + + public void setoTime(String oTime) { + this.oTime = oTime; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/service/CommonQueryManager.java b/src/main/java/com/jsh/erp/service/CommonQueryManager.java new file mode 100644 index 0000000000000000000000000000000000000000..a12e8969f14a316efc9627e75207720eb315a7e8 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/CommonQueryManager.java @@ -0,0 +1,127 @@ +package com.jsh.erp.service; + +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.ArrayList; +import java.util.List; +import java.util.Map; + +/** + * @author jishenghua 752718920 2018-10-7 15:25:58 + */ +@Service +public class CommonQueryManager { + + @Resource + private InterfaceContainer container; + + /** + * 查询单条 + * + * @param apiName 接口名称 + * @param id ID + */ + public Object selectOne(String apiName, String id) { + if (StringUtil.isNotEmpty(apiName) && StringUtil.isNotEmpty(id)) { + return container.getCommonQuery(apiName).selectOne(id); + } + return null; + } + + /** + * 查询 + * @param apiName + * @param parameterMap + * @return + */ + public List select(String apiName, Map parameterMap) { + if (StringUtil.isNotEmpty(apiName)) { + return container.getCommonQuery(apiName).select(parameterMap); + } + return new ArrayList(); + } + + /** + * 计数 + * @param apiName + * @param parameterMap + * @return + */ + public int counts(String apiName, Map parameterMap) { + if (StringUtil.isNotEmpty(apiName)) { + return container.getCommonQuery(apiName).counts(parameterMap); + } + return 0; + } + + /** + * 插入 + * @param apiName + * @param beanJson + * @return + */ + public int insert(String apiName, String beanJson, HttpServletRequest request) { + if (StringUtil.isNotEmpty(apiName)) { + return container.getCommonQuery(apiName).insert(beanJson, request); + } + return 0; + } + + /** + * 更新 + * @param apiName + * @param beanJson + * @param id + * @return + */ + public int update(String apiName, String beanJson, Long id) { + if (StringUtil.isNotEmpty(apiName)) { + return container.getCommonQuery(apiName).update(beanJson, id); + } + return 0; + } + + /** + * 删除 + * @param apiName + * @param id + * @return + */ + public int delete(String apiName, Long id) { + if (StringUtil.isNotEmpty(apiName)) { + return container.getCommonQuery(apiName).delete(id); + } + return 0; + } + + /** + * 批量删除 + * @param apiName + * @param ids + * @return + */ + public int batchDelete(String apiName, String ids) { + if (StringUtil.isNotEmpty(apiName)) { + return container.getCommonQuery(apiName).batchDelete(ids); + } + return 0; + } + + /** + * 判断是否存在 + * @param apiName + * @param id + * @param name + * @return + */ + public int checkIsNameExist(String apiName, Long id, String name) { + if (StringUtil.isNotEmpty(apiName)) { + return container.getCommonQuery(apiName).checkIsNameExist(id, name); + } + return 0; + } + +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/service/ICommonQuery.java b/src/main/java/com/jsh/erp/service/ICommonQuery.java new file mode 100644 index 0000000000000000000000000000000000000000..62f635c02c0213f977155833a5a943df81d5b2aa --- /dev/null +++ b/src/main/java/com/jsh/erp/service/ICommonQuery.java @@ -0,0 +1,78 @@ +package com.jsh.erp.service; + +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +/** + * 通用查询接口 + * 功能:1、单条查询 2、分页+搜索 3、查询数量 + * + * @author jishenghua + * @version 1.0 + */ +public interface ICommonQuery { + /** + * 查询:解析JSON,查询资源。 + * + * @param condition 资源id + * @return 资源 + */ + Object selectOne(String condition); + + /** + * 自定义查询 + * + * @param parameterMap 查询参数 + * @return 查询结果 + */ + List select(Map parameterMap); + + /** + * 查询数量 + * + * @param parameterMap 查询参数 + * @return 查询结果 + */ + int counts(Map parameterMap); + + /** + * 新增数据 + * + * @param beanJson + * @return + */ + int insert(String beanJson, HttpServletRequest request); + + /** + * 更新数据 + * + * @param beanJson + * @return + */ + int update(String beanJson, Long id); + + /** + * 删除数据 + * + * @param id + * @return + */ + int delete(Long id); + + /** + * 批量删除数据 + * + * @param ids + * @return + */ + int batchDelete(String ids); + + /** + * 查询名称是否存在 + * + * @param id + * @return + */ + int checkIsNameExist(Long id, String name); +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/service/InterfaceContainer.java b/src/main/java/com/jsh/erp/service/InterfaceContainer.java new file mode 100644 index 0000000000000000000000000000000000000000..5102bf38bd5dba1ac77823ba65f864f70295124f --- /dev/null +++ b/src/main/java/com/jsh/erp/service/InterfaceContainer.java @@ -0,0 +1,59 @@ +package com.jsh.erp.service; + +import com.jsh.erp.utils.AnnotationUtils; +import org.springframework.beans.factory.annotation.Autowired; +import org.springframework.stereotype.Service; +import org.springframework.util.Assert; + +import java.util.HashMap; +import java.util.Map; + +/** + * @author jishenghua 2018-10-7 15:25:09 + */ +@Service +public class InterfaceContainer { + private final Map nameTypeMap; + private final Map configComponentMap; + + public InterfaceContainer() { + nameTypeMap = new HashMap<>(); + configComponentMap = new HashMap<>(); + } + + + @Autowired(required = false) + private void init(ICommonQuery[] configComponents) { + for (ICommonQuery configComponent : configComponents) { + ResourceInfo info = AnnotationUtils.getAnnotation(configComponent, ResourceInfo.class); + if (info != null) { + initResourceInfo(info); + configComponentMap.put(info.type(), configComponent); + } + } + } + + public int getResourceType(String apiName) { + if (!nameTypeMap.containsKey(apiName)) + throw new RuntimeException("资源:" + apiName + "的组件不存在"); + return nameTypeMap.get(apiName); + } + + public ICommonQuery getCommonQuery(String apiName) { + return getCommonQuery(this.getResourceType(apiName)); + } + + private ICommonQuery getCommonQuery(int resourceType) { + Assert.isTrue(configComponentMap.containsKey(resourceType)); + return configComponentMap.get(resourceType); + } + + private synchronized void initResourceInfo(ResourceInfo info) { + if (nameTypeMap.containsKey(info.value())) { + Assert.isTrue(nameTypeMap.get(info.value()).equals(info.type())); + } else { + nameTypeMap.put(info.value(), info.type()); + } + } + +} diff --git a/src/main/java/com/jsh/erp/service/ResourceInfo.java b/src/main/java/com/jsh/erp/service/ResourceInfo.java new file mode 100644 index 0000000000000000000000000000000000000000..70d85eda799f671551aafb59d292ffe317f31500 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/ResourceInfo.java @@ -0,0 +1,35 @@ +package com.jsh.erp.service; + +import java.lang.annotation.*; + +/** + * @author jishenghua 2018-10-7 15:25:39 + * user-5 + * role-10 + * app-15 + * depot-20 + * log-25 + * functions-30 + * inOutItem-35 + * unit-40 + * person-45 + * userBusiness-50 + * systemConfig-55 + * materialProperty-60 + * account-65 + * supplier-70 + * materialCategory-75 + * material-80 + * depotHead-85 + * depotItem-90 + * accountHead-95 + * accountItem-100 + */ +@Target({ElementType.TYPE, ElementType.ANNOTATION_TYPE}) +@Retention(RetentionPolicy.RUNTIME) +@Inherited +@Documented +public @interface ResourceInfo { + String value(); + int type(); +} diff --git a/src/main/java/com/jsh/erp/service/account/AccountComponent.java b/src/main/java/com/jsh/erp/service/account/AccountComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..63704589a95052d0ffaf0dcff9aa4105363d6e66 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/account/AccountComponent.java @@ -0,0 +1,76 @@ +package com.jsh.erp.service.account; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.depot.DepotResource; +import com.jsh.erp.service.depot.DepotService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "account_component") +@AccountResource +public class AccountComponent implements ICommonQuery { + + @Resource + private AccountService accountService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getAccountList(map); + } + + private List getAccountList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String serialNo = StringUtil.getInfo(search, "serialNo"); + String remark = StringUtil.getInfo(search, "remark"); + String order = QueryUtils.order(map); + return accountService.select(name, serialNo, remark, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String serialNo = StringUtil.getInfo(search, "serialNo"); + String remark = StringUtil.getInfo(search, "remark"); + return accountService.countAccount(name, serialNo, remark); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return accountService.insertAccount(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return accountService.updateAccount(beanJson, id); + } + + @Override + public int delete(Long id) { + return accountService.deleteAccount(id); + } + + @Override + public int batchDelete(String ids) { + return accountService.batchDeleteAccount(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return accountService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/account/AccountResource.java b/src/main/java/com/jsh/erp/service/account/AccountResource.java new file mode 100644 index 0000000000000000000000000000000000000000..962174bd7b47b62668dd7002943e9d9695518876 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/account/AccountResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.account; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "account", type = 65) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface AccountResource { +} diff --git a/src/main/java/com/jsh/erp/service/account/AccountService.java b/src/main/java/com/jsh/erp/service/account/AccountService.java new file mode 100644 index 0000000000000000000000000000000000000000..18b424f8b62191cacde4b47d16702cfd231e0ba4 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/account/AccountService.java @@ -0,0 +1,295 @@ +package com.jsh.erp.service.account; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.*; +import com.jsh.erp.datasource.mappers.AccountHeadMapper; +import com.jsh.erp.datasource.mappers.AccountItemMapper; +import com.jsh.erp.datasource.mappers.AccountMapper; +import com.jsh.erp.datasource.mappers.DepotHeadMapper; +import com.jsh.erp.datasource.vo.AccountVo4InOutList; +import com.jsh.erp.datasource.vo.AccountVo4List; +import com.jsh.erp.utils.StringUtil; +import com.jsh.erp.utils.Tools; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DataAccessException; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.text.DecimalFormat; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +@Service +public class AccountService { + private Logger logger = LoggerFactory.getLogger(AccountService.class); + + @Resource + private AccountMapper accountMapper; + + @Resource + private DepotHeadMapper depotHeadMapper; + + @Resource + private AccountHeadMapper accountHeadMapper; + + @Resource + private AccountItemMapper accountItemMapper; + + public Account getAccount(long id) { + return accountMapper.selectByPrimaryKey(id); + } + + public List getAccount() { + AccountExample example = new AccountExample(); + return accountMapper.selectByExample(example); + } + + public List select(String name, String serialNo, String remark, int offset, int rows) { + List resList = new ArrayList(); + List list = accountMapper.selectByConditionAccount(name, serialNo, remark, offset, rows); + String timeStr = Tools.getCurrentMonth(); + if (null != list && null !=timeStr) { + for (AccountVo4List al : list) { + DecimalFormat df = new DecimalFormat(".##"); + Double thisMonthAmount = getAccountSum(al.getId(), timeStr, "month") + getAccountSumByHead(al.getId(), timeStr, "month") + getAccountSumByDetail(al.getId(), timeStr, "month") + getManyAccountSum(al.getId(), timeStr, "month"); + String thisMonthAmountFmt = "0"; + if (thisMonthAmount != 0) { + thisMonthAmountFmt = df.format(thisMonthAmount); + } + al.setThismonthamount(thisMonthAmountFmt); //本月发生额 + Double currentAmount = getAccountSum(al.getId(), "", "month") + getAccountSumByHead(al.getId(), "", "month") + getAccountSumByDetail(al.getId(), "", "month") + getManyAccountSum(al.getId(), "", "month") + al.getInitialamount(); + al.setCurrentamount(currentAmount); + resList.add(al); + } + } + return resList; + } + + public int countAccount(String name, String serialNo, String remark) { + return accountMapper.countsByAccount(name, serialNo, remark); + } + + public int insertAccount(String beanJson, HttpServletRequest request) { + Account account = JSONObject.parseObject(beanJson, Account.class); + return accountMapper.insertSelective(account); + } + + public int updateAccount(String beanJson, Long id) { + Account account = JSONObject.parseObject(beanJson, Account.class); + account.setId(id); + return accountMapper.updateByPrimaryKeySelective(account); + } + + public int deleteAccount(Long id) { + return accountMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteAccount(String ids) { + List idList = StringUtil.strToLongList(ids); + AccountExample example = new AccountExample(); + example.createCriteria().andIdIn(idList); + return accountMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + AccountExample example = new AccountExample(); + example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + List list = accountMapper.selectByExample(example); + return list.size(); + } + + public List findBySelect() { + AccountExample example = new AccountExample(); + example.setOrderByClause("id desc"); + return accountMapper.selectByExample(example); + } + + /** + * 单个账户的金额求和-入库和出库 + * + * @param id + * @return + */ + public Double getAccountSum(Long id, String timeStr, String type) { + Double accountSum = 0.0; + try { + DepotHeadExample example = new DepotHeadExample(); + if (!timeStr.equals("")) { + Date bTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + Date eTime = StringUtil.getDateByString(timeStr + "-31 00:00:00", null); + Date mTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + if (type.equals("month")) { + example.createCriteria().andAccountidEqualTo(id).andPaytypeNotEqualTo("预付款") + .andOpertimeGreaterThanOrEqualTo(bTime).andOpertimeLessThanOrEqualTo(eTime); + } else if (type.equals("date")) { + example.createCriteria().andAccountidEqualTo(id).andPaytypeNotEqualTo("预付款") + .andOpertimeLessThanOrEqualTo(mTime); + } + } else { + example.createCriteria().andAccountidEqualTo(id).andPaytypeNotEqualTo("预付款"); + } + List dataList = depotHeadMapper.selectByExample(example); + if (dataList != null) { + for (DepotHead depotHead : dataList) { + if(depotHead.getChangeamount()!=null) { + accountSum = accountSum + depotHead.getChangeamount(); + } + } + } + } catch (DataAccessException e) { + logger.error(">>>>>>>>>查找进销存信息异常", e); + } + return accountSum; + } + + /** + * 单个账户的金额求和-收入、支出、转账的单据表头的合计 + * + * @param id + * @return + */ + public Double getAccountSumByHead(Long id, String timeStr, String type) { + Double accountSum = 0.0; + try { + AccountHeadExample example = new AccountHeadExample(); + if (!timeStr.equals("")) { + Date bTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + Date eTime = StringUtil.getDateByString(timeStr + "-31 00:00:00", null); + Date mTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + if (type.equals("month")) { + example.createCriteria().andAccountidEqualTo(id) + .andBilltimeGreaterThanOrEqualTo(bTime).andBilltimeLessThanOrEqualTo(eTime); + } else if (type.equals("date")) { + example.createCriteria().andAccountidEqualTo(id) + .andBilltimeLessThanOrEqualTo(mTime); + } + } else { + example.createCriteria().andAccountidEqualTo(id); + } + List dataList = accountHeadMapper.selectByExample(example); + if (dataList != null) { + for (AccountHead accountHead : dataList) { + if(accountHead.getChangeamount()!=null) { + accountSum = accountSum + accountHead.getChangeamount(); + } + } + } + } catch (DataAccessException e) { + logger.error(">>>>>>>>>查找进销存信息异常", e); + } + return accountSum; + } + + /** + * 单个账户的金额求和-收款、付款、转账、收预付款的单据明细的合计 + * + * @param id + * @return + */ + public Double getAccountSumByDetail(Long id, String timeStr, String type) { + Double accountSum = 0.0; + try { + AccountHeadExample example = new AccountHeadExample(); + if (!timeStr.equals("")) { + Date bTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + Date eTime = StringUtil.getDateByString(timeStr + "-31 00:00:00", null); + Date mTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + if (type.equals("month")) { + example.createCriteria().andBilltimeGreaterThanOrEqualTo(bTime).andBilltimeLessThanOrEqualTo(eTime); + } else if (type.equals("date")) { + example.createCriteria().andBilltimeLessThanOrEqualTo(mTime); + } + } + List dataList = accountHeadMapper.selectByExample(example); + if (dataList != null) { + String ids = ""; + for (AccountHead accountHead : dataList) { + ids = ids + accountHead.getId() + ","; + } + if (!ids.equals("")) { + ids = ids.substring(0, ids.length() - 1); + } + + AccountItemExample exampleAi = new AccountItemExample(); + if (!ids.equals("")) { + List idList = StringUtil.strToLongList(ids); + exampleAi.createCriteria().andAccountidEqualTo(id).andHeaderidIn(idList); + } else { + exampleAi.createCriteria().andAccountidEqualTo(id); + } + List dataListOne = accountItemMapper.selectByExample(exampleAi); + if (dataListOne != null) { + for (AccountItem accountItem : dataListOne) { + if(accountItem.getEachamount()!=null) { + accountSum = accountSum + accountItem.getEachamount(); + } + } + } + } + } catch (DataAccessException e) { + logger.error(">>>>>>>>>查找进销存信息异常", e); + } catch (Exception e) { + logger.error(">>>>>>>>>异常信息:", e); + } + return accountSum; + } + + /** + * 单个账户的金额求和-多账户的明细合计 + * + * @param id + * @return + */ + public Double getManyAccountSum(Long id, String timeStr, String type) { + Double accountSum = 0.0; + try { + DepotHeadExample example = new DepotHeadExample(); + if (!timeStr.equals("")) { + Date bTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + Date eTime = StringUtil.getDateByString(timeStr + "-31 00:00:00", null); + Date mTime = StringUtil.getDateByString(timeStr + "-01 00:00:00", null); + if (type.equals("month")) { + example.createCriteria().andAccountidlistLike("%" +id.toString() + "%") + .andOpertimeGreaterThanOrEqualTo(bTime).andOpertimeLessThanOrEqualTo(eTime); + } else if (type.equals("date")) { + example.createCriteria().andAccountidlistLike("%" +id.toString() + "%") + .andOpertimeLessThanOrEqualTo(mTime); + } + } else { + example.createCriteria().andAccountidlistLike("%" +id.toString() + "%"); + } + List dataList = depotHeadMapper.selectByExample(example); + if (dataList != null) { + for (DepotHead depotHead : dataList) { + String accountIdList = depotHead.getAccountidlist(); + String accountMoneyList = depotHead.getAccountmoneylist(); + accountIdList = accountIdList.replace("[", "").replace("]", "").replace("\"", ""); + accountMoneyList = accountMoneyList.replace("[", "").replace("]", "").replace("\"", ""); + String[] aList = accountIdList.split(","); + String[] amList = accountMoneyList.split(","); + for (int i = 0; i < aList.length; i++) { + if (aList[i].toString().equals(id.toString())) { + accountSum = accountSum + Double.parseDouble(amList[i].toString()); + } + } + } + } + } catch (DataAccessException e) { + logger.error(">>>>>>>>>查找信息异常", e); + } + return accountSum; + } + + public List findAccountInOutList(Long accountId, Integer offset, Integer rows) { + return accountMapper.findAccountInOutList(accountId, offset, rows); + } + + public int findAccountInOutListCount(Long accountId) { + return accountMapper.findAccountInOutListCount(accountId); + } + +} diff --git a/src/main/java/com/jsh/erp/service/accountHead/AccountHeadComponent.java b/src/main/java/com/jsh/erp/service/accountHead/AccountHeadComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..5d03d19d32cb55696560fb1a2422825edc51f1df --- /dev/null +++ b/src/main/java/com/jsh/erp/service/accountHead/AccountHeadComponent.java @@ -0,0 +1,76 @@ +package com.jsh.erp.service.accountHead; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "accountHead_component") +@AccountHeadResource +public class AccountHeadComponent implements ICommonQuery { + + @Resource + private AccountHeadService accountHeadService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getAccountHeadList(map); + } + + private List getAccountHeadList(Map map) { + String search = map.get(Constants.SEARCH); + String type = StringUtil.getInfo(search, "type"); + String billNo = StringUtil.getInfo(search, "billNo"); + String beginTime = StringUtil.getInfo(search, "beginTime"); + String endTime = StringUtil.getInfo(search, "endTime"); + String order = QueryUtils.order(map); + return accountHeadService.select(type, billNo, beginTime, endTime, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String type = StringUtil.getInfo(search, "type"); + String billNo = StringUtil.getInfo(search, "billNo"); + String beginTime = StringUtil.getInfo(search, "beginTime"); + String endTime = StringUtil.getInfo(search, "endTime"); + return accountHeadService.countAccountHead(type, billNo, beginTime, endTime); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return accountHeadService.insertAccountHead(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return accountHeadService.updateAccountHead(beanJson, id); + } + + @Override + public int delete(Long id) { + return accountHeadService.deleteAccountHead(id); + } + + @Override + public int batchDelete(String ids) { + return accountHeadService.batchDeleteAccountHead(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return accountHeadService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/accountHead/AccountHeadResource.java b/src/main/java/com/jsh/erp/service/accountHead/AccountHeadResource.java new file mode 100644 index 0000000000000000000000000000000000000000..7e27fd9421cda9fcc94e3fdca9f47c7242d3fe9f --- /dev/null +++ b/src/main/java/com/jsh/erp/service/accountHead/AccountHeadResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.accountHead; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "accountHead", type = 95) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface AccountHeadResource { +} diff --git a/src/main/java/com/jsh/erp/service/accountHead/AccountHeadService.java b/src/main/java/com/jsh/erp/service/accountHead/AccountHeadService.java new file mode 100644 index 0000000000000000000000000000000000000000..58527b9d21f4c26fbcd33242dc0922d87526deef --- /dev/null +++ b/src/main/java/com/jsh/erp/service/accountHead/AccountHeadService.java @@ -0,0 +1,116 @@ +package com.jsh.erp.service.accountHead; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.AccountHead; +import com.jsh.erp.datasource.entities.AccountHeadExample; +import com.jsh.erp.datasource.entities.AccountHeadVo4ListEx; +import com.jsh.erp.datasource.mappers.AccountHeadMapper; +import com.jsh.erp.utils.StringUtil; +import com.jsh.erp.utils.Tools; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.ArrayList; +import java.util.List; + +@Service +public class AccountHeadService { + private Logger logger = LoggerFactory.getLogger(AccountHeadService.class); + + @Resource + private AccountHeadMapper accountHeadMapper; + + public AccountHead getAccountHead(long id) { + return accountHeadMapper.selectByPrimaryKey(id); + } + + public List getAccountHead() { + AccountHeadExample example = new AccountHeadExample(); + return accountHeadMapper.selectByExample(example); + } + + public List select(String type, String billNo, String beginTime, String endTime, int offset, int rows) { + List resList = new ArrayList(); + List list = accountHeadMapper.selectByConditionAccountHead(type, billNo, beginTime, endTime, offset, rows); + if (null != list) { + for (AccountHeadVo4ListEx ah : list) { + if(ah.getChangeamount() != null) { + ah.setChangeamount(Math.abs(ah.getChangeamount())); + } + if(ah.getTotalprice() != null) { + ah.setTotalprice(Math.abs(ah.getTotalprice())); + } + resList.add(ah); + } + } + return resList; + } + + public int countAccountHead(String type, String billNo, String beginTime, String endTime) { + return accountHeadMapper.countsByAccountHead(type, billNo, beginTime, endTime); + } + + public int insertAccountHead(String beanJson, HttpServletRequest request) { + AccountHead accountHead = JSONObject.parseObject(beanJson, AccountHead.class); + return accountHeadMapper.insertSelective(accountHead); + } + + public int updateAccountHead(String beanJson, Long id) { + AccountHead accountHead = JSONObject.parseObject(beanJson, AccountHead.class); + accountHead.setId(id); + return accountHeadMapper.updateByPrimaryKeySelective(accountHead); + } + + public int deleteAccountHead(Long id) { + return accountHeadMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteAccountHead(String ids) { + List idList = StringUtil.strToLongList(ids); + AccountHeadExample example = new AccountHeadExample(); + example.createCriteria().andIdIn(idList); + return accountHeadMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + AccountHeadExample example = new AccountHeadExample(); + example.createCriteria().andIdNotEqualTo(id); + List list = accountHeadMapper.selectByExample(example); + return list.size(); + } + + public Long getMaxId() { + return accountHeadMapper.getMaxId(); + } + + public Double findAllMoney(Integer supplierId, String type, String mode, String endTime) { + String modeName = ""; + if (mode.equals("实际")) { + modeName = "ChangeAmount"; + } else if (mode.equals("合计")) { + modeName = "TotalPrice"; + } + return accountHeadMapper.findAllMoney(supplierId, type, modeName, endTime); + } + + public List getDetailByNumber(String billNo) { + List resList = new ArrayList(); + List list = accountHeadMapper.getDetailByNumber(billNo); + if (null != list) { + for (AccountHeadVo4ListEx ah : list) { + if(ah.getChangeamount() != null) { + ah.setChangeamount(Math.abs(ah.getChangeamount())); + } + if(ah.getTotalprice() != null) { + ah.setTotalprice(Math.abs(ah.getTotalprice())); + } + resList.add(ah); + } + } + return resList; + } + +} diff --git a/src/main/java/com/jsh/erp/service/accountItem/AccountItemComponent.java b/src/main/java/com/jsh/erp/service/accountItem/AccountItemComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..c6f5345a37b9289a9e2c9215fbce1ef8a1d0530f --- /dev/null +++ b/src/main/java/com/jsh/erp/service/accountItem/AccountItemComponent.java @@ -0,0 +1,74 @@ +package com.jsh.erp.service.accountItem; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "accountItem_component") +@AccountItemResource +public class AccountItemComponent implements ICommonQuery { + + @Resource + private AccountItemService accountItemService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getAccountItemList(map); + } + + private List getAccountItemList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer type = StringUtil.parseInteger(StringUtil.getInfo(search, "type")); + String remark = StringUtil.getInfo(search, "remark"); + String order = QueryUtils.order(map); + return accountItemService.select(name, type, remark, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer type = StringUtil.parseInteger(StringUtil.getInfo(search, "type")); + String remark = StringUtil.getInfo(search, "remark"); + return accountItemService.countAccountItem(name, type, remark); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return accountItemService.insertAccountItem(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return accountItemService.updateAccountItem(beanJson, id); + } + + @Override + public int delete(Long id) { + return accountItemService.deleteAccountItem(id); + } + + @Override + public int batchDelete(String ids) { + return accountItemService.batchDeleteAccountItem(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return accountItemService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/accountItem/AccountItemResource.java b/src/main/java/com/jsh/erp/service/accountItem/AccountItemResource.java new file mode 100644 index 0000000000000000000000000000000000000000..84abd37c2c82b6d8114bde5c749314561af1ec1c --- /dev/null +++ b/src/main/java/com/jsh/erp/service/accountItem/AccountItemResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.accountItem; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "accountItem", type = 100) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface AccountItemResource { +} diff --git a/src/main/java/com/jsh/erp/service/accountItem/AccountItemService.java b/src/main/java/com/jsh/erp/service/accountItem/AccountItemService.java new file mode 100644 index 0000000000000000000000000000000000000000..3ed08bfb0ecbaaeea23f507134356aafc732f2d7 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/accountItem/AccountItemService.java @@ -0,0 +1,81 @@ +package com.jsh.erp.service.accountItem; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.AccountItem; +import com.jsh.erp.datasource.entities.AccountItemExample; +import com.jsh.erp.datasource.mappers.AccountItemMapper; +import com.jsh.erp.datasource.vo.AccountItemVo4List; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class AccountItemService { + private Logger logger = LoggerFactory.getLogger(AccountItemService.class); + + @Resource + private AccountItemMapper accountItemMapper; + + public AccountItem getAccountItem(long id) { + return accountItemMapper.selectByPrimaryKey(id); + } + + public List getAccountItem() { + AccountItemExample example = new AccountItemExample(); + return accountItemMapper.selectByExample(example); + } + + public List select(String name, Integer type, String remark, int offset, int rows) { + return accountItemMapper.selectByConditionAccountItem(name, type, remark, offset, rows); + } + + public int countAccountItem(String name, Integer type, String remark) { + return accountItemMapper.countsByAccountItem(name, type, remark); + } + + public int insertAccountItem(String beanJson, HttpServletRequest request) { + AccountItem accountItem = JSONObject.parseObject(beanJson, AccountItem.class); + return accountItemMapper.insertSelective(accountItem); + } + + public int updateAccountItem(String beanJson, Long id) { + AccountItem accountItem = JSONObject.parseObject(beanJson, AccountItem.class); + accountItem.setId(id); + return accountItemMapper.updateByPrimaryKeySelective(accountItem); + } + + public int deleteAccountItem(Long id) { + return accountItemMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteAccountItem(String ids) { + List idList = StringUtil.strToLongList(ids); + AccountItemExample example = new AccountItemExample(); + example.createCriteria().andIdIn(idList); + return accountItemMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + AccountItemExample example = new AccountItemExample(); + example.createCriteria().andIdNotEqualTo(id); + List list = accountItemMapper.selectByExample(example); + return list.size(); + } + + public int insertAccountItemWithObj(AccountItem accountItem) { + return accountItemMapper.insertSelective(accountItem); + } + + public int updateAccountItemWithObj(AccountItem accountItem) { + return accountItemMapper.updateByPrimaryKeySelective(accountItem); + } + + public List getDetailList(Long headerId) { + return accountItemMapper.getDetailList(headerId); + } +} diff --git a/src/main/java/com/jsh/erp/service/app/AppComponent.java b/src/main/java/com/jsh/erp/service/app/AppComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..f264b56545873d81cab1d6821cf621ccb92c27df --- /dev/null +++ b/src/main/java/com/jsh/erp/service/app/AppComponent.java @@ -0,0 +1,72 @@ +package com.jsh.erp.service.app; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "app_component") +@AppResource +public class AppComponent implements ICommonQuery { + + @Resource + private AppService appService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getAppList(map); + } + + private List getAppList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + String order = QueryUtils.order(map); + return appService.select(name, type, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + return appService.countApp(name, type); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return appService.insertApp(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return appService.updateApp(beanJson, id); + } + + @Override + public int delete(Long id) { + return appService.deleteApp(id); + } + + @Override + public int batchDelete(String ids) { + return appService.batchDeleteApp(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return 0; + } + +} diff --git a/src/main/java/com/jsh/erp/service/app/AppResource.java b/src/main/java/com/jsh/erp/service/app/AppResource.java new file mode 100644 index 0000000000000000000000000000000000000000..c5d3d56b47f53bf1e9f1a1b3db62451fc6cfe5fc --- /dev/null +++ b/src/main/java/com/jsh/erp/service/app/AppResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.app; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "app", type = 15) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface AppResource { +} diff --git a/src/main/java/com/jsh/erp/service/app/AppService.java b/src/main/java/com/jsh/erp/service/app/AppService.java new file mode 100644 index 0000000000000000000000000000000000000000..833a0311b21373bba550cb34a8a82e4258848527 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/app/AppService.java @@ -0,0 +1,85 @@ +package com.jsh.erp.service.app; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.App; +import com.jsh.erp.datasource.entities.AppExample; +import com.jsh.erp.datasource.mappers.AppMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class AppService { + private Logger logger = LoggerFactory.getLogger(AppService.class); + + @Resource + private AppMapper appMapper; + + public List findDock(){ + AppExample example = new AppExample(); + example.createCriteria().andZlEqualTo("dock").andEnabledEqualTo(true); + example.setOrderByClause("Sort"); + List list = appMapper.selectByExample(example); + return list; + } + + public List findDesk(){ + AppExample example = new AppExample(); + example.createCriteria().andZlEqualTo("desk").andEnabledEqualTo(true); + example.setOrderByClause("Sort"); + List list = appMapper.selectByExample(example); + return list; + } + + public App getApp(long id) { + return appMapper.selectByPrimaryKey(id); + } + + public List getApp() { + AppExample example = new AppExample(); + return appMapper.selectByExample(example); + } + + public List select(String name, String type, int offset, int rows) { + return appMapper.selectByConditionApp(name, type, offset, rows); + } + + public int countApp(String name, String type) { + return appMapper.countsByApp(name, type); + } + + public int insertApp(String beanJson, HttpServletRequest request) { + App app = JSONObject.parseObject(beanJson, App.class); + return appMapper.insertSelective(app); + } + + public int updateApp(String beanJson, Long id) { + App app = JSONObject.parseObject(beanJson, App.class); + app.setId(id); + return appMapper.updateByPrimaryKeySelective(app); + } + + public int deleteApp(Long id) { + return appMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteApp(String ids) { + List idList = StringUtil.strToLongList(ids); + AppExample example = new AppExample(); + example.createCriteria().andIdIn(idList); + return appMapper.deleteByExample(example); + } + + public List findRoleAPP(){ + AppExample example = new AppExample(); + example.createCriteria().andEnabledEqualTo(true); + example.setOrderByClause("Sort"); + List list = appMapper.selectByExample(example); + return list; + } +} diff --git a/src/main/java/com/jsh/erp/service/depot/DepotComponent.java b/src/main/java/com/jsh/erp/service/depot/DepotComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..56a0516cb916cd0937893dd5ae591350a3bfac08 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depot/DepotComponent.java @@ -0,0 +1,75 @@ +package com.jsh.erp.service.depot; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.app.AppResource; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "depot_component") +@DepotResource +public class DepotComponent implements ICommonQuery { + + @Resource + private DepotService depotService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getDepotList(map); + } + + private List getDepotList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer type = StringUtil.parseInteger(StringUtil.getInfo(search, "type")); + String remark = StringUtil.getInfo(search, "remark"); + String order = QueryUtils.order(map); + return depotService.select(name, type, remark, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer type = StringUtil.parseInteger(StringUtil.getInfo(search, "type")); + String remark = StringUtil.getInfo(search, "remark"); + return depotService.countDepot(name, type, remark); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return depotService.insertDepot(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return depotService.updateDepot(beanJson, id); + } + + @Override + public int delete(Long id) { + return depotService.deleteDepot(id); + } + + @Override + public int batchDelete(String ids) { + return depotService.batchDeleteDepot(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return depotService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/depot/DepotResource.java b/src/main/java/com/jsh/erp/service/depot/DepotResource.java new file mode 100644 index 0000000000000000000000000000000000000000..4d7d0f1e945679e518972098c47289b449c45d93 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depot/DepotResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.depot; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "depot", type = 20) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface DepotResource { +} diff --git a/src/main/java/com/jsh/erp/service/depot/DepotService.java b/src/main/java/com/jsh/erp/service/depot/DepotService.java new file mode 100644 index 0000000000000000000000000000000000000000..fdba9a565b5b67aa25a51352f87e593eb22268ee --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depot/DepotService.java @@ -0,0 +1,91 @@ +package com.jsh.erp.service.depot; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Depot; +import com.jsh.erp.datasource.entities.DepotExample; +import com.jsh.erp.datasource.mappers.DepotMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class DepotService { + private Logger logger = LoggerFactory.getLogger(DepotService.class); + + @Resource + private DepotMapper depotMapper; + + public Depot getDepot(long id) { + return depotMapper.selectByPrimaryKey(id); + } + + public List getDepot() { + DepotExample example = new DepotExample(); + return depotMapper.selectByExample(example); + } + + public List getAllList() { + DepotExample example = new DepotExample(); + example.setOrderByClause("sort"); + return depotMapper.selectByExample(example); + } + + public List select(String name, Integer type, String remark, int offset, int rows) { + return depotMapper.selectByConditionDepot(name, type, remark, offset, rows); + } + + public int countDepot(String name, Integer type, String remark) { + return depotMapper.countsByDepot(name, type, remark); + } + + public int insertDepot(String beanJson, HttpServletRequest request) { + Depot depot = JSONObject.parseObject(beanJson, Depot.class); + return depotMapper.insertSelective(depot); + } + + public int updateDepot(String beanJson, Long id) { + Depot depot = JSONObject.parseObject(beanJson, Depot.class); + depot.setId(id); + return depotMapper.updateByPrimaryKeySelective(depot); + } + + public int deleteDepot(Long id) { + return depotMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteDepot(String ids) { + List idList = StringUtil.strToLongList(ids); + DepotExample example = new DepotExample(); + example.createCriteria().andIdIn(idList); + return depotMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + DepotExample example = new DepotExample(); + example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + List list = depotMapper.selectByExample(example); + return list.size(); + } + + public List findUserDepot(){ + DepotExample example = new DepotExample(); + example.createCriteria().andTypeEqualTo(0); + example.setOrderByClause("Sort"); + List list = depotMapper.selectByExample(example); + return list; + } + + public List findGiftByType(Integer type){ + DepotExample example = new DepotExample(); + example.createCriteria().andTypeEqualTo(type); + example.setOrderByClause("Sort"); + List list = depotMapper.selectByExample(example); + return list; + } + +} diff --git a/src/main/java/com/jsh/erp/service/depotHead/DepotHeadComponent.java b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..eec25de3646327460c01711eb9ca3701bf210938 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadComponent.java @@ -0,0 +1,80 @@ +package com.jsh.erp.service.depotHead; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "depotHead_component") +@DepotHeadResource +public class DepotHeadComponent implements ICommonQuery { + + @Resource + private DepotHeadService depotHeadService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getDepotHeadList(map); + } + + private List getDepotHeadList(Map map) { + String search = map.get(Constants.SEARCH); + String type = StringUtil.getInfo(search, "type"); + String subType = StringUtil.getInfo(search, "subType"); + String number = StringUtil.getInfo(search, "number"); + String beginTime = StringUtil.getInfo(search, "beginTime"); + String endTime = StringUtil.getInfo(search, "endTime"); + String dhIds = StringUtil.getInfo(search, "dhIds"); + String order = QueryUtils.order(map); + return depotHeadService.select(type, subType, number, beginTime, endTime, dhIds, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String type = StringUtil.getInfo(search, "type"); + String subType = StringUtil.getInfo(search, "subType"); + String number = StringUtil.getInfo(search, "number"); + String beginTime = StringUtil.getInfo(search, "beginTime"); + String endTime = StringUtil.getInfo(search, "endTime"); + String dhIds = StringUtil.getInfo(search, "dhIds"); + return depotHeadService.countDepotHead(type, subType, number, beginTime, endTime, dhIds); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return depotHeadService.insertDepotHead(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return depotHeadService.updateDepotHead(beanJson, id); + } + + @Override + public int delete(Long id) { + return depotHeadService.deleteDepotHead(id); + } + + @Override + public int batchDelete(String ids) { + return depotHeadService.batchDeleteDepotHead(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return depotHeadService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/depotHead/DepotHeadResource.java b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadResource.java new file mode 100644 index 0000000000000000000000000000000000000000..1548cf30fa5871e3f361d72a54d4b2a0d3f23043 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.depotHead; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "depotHead", type = 85) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface DepotHeadResource { +} diff --git a/src/main/java/com/jsh/erp/service/depotHead/DepotHeadService.java b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadService.java new file mode 100644 index 0000000000000000000000000000000000000000..d4c7f96f2436efc8036fcdc0a13ebc3e0a1b85d3 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadService.java @@ -0,0 +1,242 @@ +package com.jsh.erp.service.depotHead; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.DepotHead; +import com.jsh.erp.datasource.entities.DepotHeadExample; +import com.jsh.erp.datasource.entities.User; +import com.jsh.erp.datasource.mappers.DepotHeadMapper; +import com.jsh.erp.datasource.vo.DepotHeadVo4InDetail; +import com.jsh.erp.datasource.vo.DepotHeadVo4InOutMCount; +import com.jsh.erp.datasource.vo.DepotHeadVo4List; +import com.jsh.erp.datasource.vo.DepotHeadVo4StatementAccount; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.dao.DataAccessException; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.sql.Timestamp; +import java.util.ArrayList; +import java.util.Date; +import java.util.List; + +@Service +public class DepotHeadService { + private Logger logger = LoggerFactory.getLogger(DepotHeadService.class); + + @Resource + private DepotHeadMapper depotHeadMapper; + + public DepotHead getDepotHead(long id) { + return depotHeadMapper.selectByPrimaryKey(id); + } + + public List getDepotHead() { + DepotHeadExample example = new DepotHeadExample(); + return depotHeadMapper.selectByExample(example); + } + + public List select(String type, String subType, String number, String beginTime, String endTime, String dhIds, int offset, int rows) { + List resList = new ArrayList(); + List list = depotHeadMapper.selectByConditionDepotHead(type, subType, number, beginTime, endTime, dhIds, offset, rows); + if (null != list) { + for (DepotHeadVo4List dh : list) { + if(dh.getOthermoneylist() != null) { + String otherMoneyListStr = dh.getOthermoneylist().replace("[", "").replace("]", "").replaceAll("\"", ""); + dh.setOthermoneylist(otherMoneyListStr); + } + if(dh.getOthermoneyitem() != null) { + String otherMoneyItemStr = dh.getOthermoneyitem().replace("[", "").replace("]", "").replaceAll("\"", ""); + dh.setOthermoneyitem(otherMoneyItemStr); + } + if(dh.getChangeamount() != null) { + dh.setChangeamount(Math.abs(dh.getChangeamount())); + } + if(dh.getTotalprice() != null) { + dh.setTotalprice(Math.abs(dh.getTotalprice())); + } + dh.setMaterialsList(findMaterialsListByHeaderId(dh.getId())); + resList.add(dh); + } + } + return resList; + } + + + + public int countDepotHead(String type, String subType, String number, String beginTime, String endTime, String dhIds) { + return depotHeadMapper.countsByDepotHead(type, subType, number, beginTime, endTime, dhIds); + } + + public int insertDepotHead(String beanJson, HttpServletRequest request) { + DepotHead depotHead = JSONObject.parseObject(beanJson, DepotHead.class); + //判断用户是否已经登录过,登录过不再处理 + Object userInfo = request.getSession().getAttribute("user"); + if (userInfo != null) { + User sessionUser = (User) userInfo; + String uName = sessionUser.getUsername(); + depotHead.setOperpersonname(uName); + } + depotHead.setCreatetime(new Timestamp(System.currentTimeMillis())); + depotHead.setStatus(false); + return depotHeadMapper.insertSelective(depotHead); + } + + public int updateDepotHead(String beanJson, Long id) { + DepotHead depotHead = JSONObject.parseObject(beanJson, DepotHead.class); + depotHead.setId(id); + return depotHeadMapper.updateByPrimaryKeySelective(depotHead); + } + + public int deleteDepotHead(Long id) { + return depotHeadMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteDepotHead(String ids) { + List idList = StringUtil.strToLongList(ids); + DepotHeadExample example = new DepotHeadExample(); + example.createCriteria().andIdIn(idList); + return depotHeadMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + DepotHeadExample example = new DepotHeadExample(); + example.createCriteria().andIdNotEqualTo(id); + List list = depotHeadMapper.selectByExample(example); + return list.size(); + } + + public int batchSetStatus(Boolean status, String depotHeadIDs) { + List ids = StringUtil.strToLongList(depotHeadIDs); + DepotHead depotHead = new DepotHead(); + depotHead.setStatus(status); + DepotHeadExample example = new DepotHeadExample(); + example.createCriteria().andIdIn(ids); + return depotHeadMapper.updateByExampleSelective(depotHead, example); + } + + public String buildNumber(String type, String subType, String beginTime, String endTime) { + String newNumber = "0001"; //新编号 + try { + DepotHeadExample example = new DepotHeadExample(); + example.createCriteria().andTypeEqualTo(type).andSubtypeEqualTo(subType) + .andOpertimeGreaterThanOrEqualTo(StringUtil.getDateByString(beginTime,null)) + .andOpertimeLessThanOrEqualTo(StringUtil.getDateByString(endTime,null)); + example.setOrderByClause("Id desc"); + List dataList = depotHeadMapper.selectByExample(example); + //存放数据json数组 + if (null != dataList && dataList.size() > 0) { + DepotHead depotHead = dataList.get(0); + if (depotHead != null) { + String number = depotHead.getDefaultnumber(); //最大的单据编号 + if (number != null) { + Integer lastNumber = Integer.parseInt(number.substring(12, 16)); //末四尾 + lastNumber = lastNumber + 1; + Integer nLen = lastNumber.toString().length(); + if (nLen == 1) { + newNumber = "000" + lastNumber.toString(); + } else if (nLen == 2) { + newNumber = "00" + lastNumber.toString(); + } else if (nLen == 3) { + newNumber = "0" + lastNumber.toString(); + } else if (nLen == 4) { + newNumber = lastNumber.toString(); + } + } + } + } + } catch (DataAccessException e) { + logger.error(">>>>>>>>>>>>>>>>>>>单据编号生成异常", e); + } + return newNumber; + } + + public Long getMaxId() { + return depotHeadMapper.getMaxId(); + } + + public String findMaterialsListByHeaderId(Long id) { + String allReturn = depotHeadMapper.findMaterialsListByHeaderId(id); + return allReturn; + } + + public List findByMonth(String monthTime) { + DepotHeadExample example = new DepotHeadExample(); + monthTime = monthTime + "-31 00:00:00"; + Date month = StringUtil.getDateByString(monthTime, null); + example.createCriteria().andOpertimeLessThanOrEqualTo(month); + return depotHeadMapper.selectByExample(example); + } + + public List getDepotHeadGiftOut(String projectId) { + DepotHeadExample example = new DepotHeadExample(); + if (projectId != null) { + example.createCriteria().andProjectidEqualTo(Long.parseLong(projectId)); + } + return depotHeadMapper.selectByExample(example); + } + + public List findByAll(String beginTime, String endTime, String type, Integer pid, String dids, Integer oId, Integer offset, Integer rows) { + return depotHeadMapper.findByAll(beginTime, endTime, type, pid, dids, oId, offset, rows); + } + + public int findByAllCount(String beginTime, String endTime, String type, Integer pid, String dids, Integer oId) { + return depotHeadMapper.findByAllCount(beginTime, endTime, type, pid, dids, oId); + } + + public List findInOutMaterialCount(String beginTime, String endTime, String type, Integer pid, String dids, Integer oId, Integer offset, Integer rows) { + return depotHeadMapper.findInOutMaterialCount(beginTime, endTime, type, pid, dids, oId, offset, rows); + } + + public int findInOutMaterialCountTotal(String beginTime, String endTime, String type, Integer pid, String dids, Integer oId) { + return depotHeadMapper.findInOutMaterialCountTotal(beginTime, endTime, type, pid, dids, oId); + } + + public List findStatementAccount(String beginTime, String endTime, Integer organId, String supType, Integer offset, Integer rows) { + return depotHeadMapper.findStatementAccount(beginTime, endTime, organId, supType, offset, rows); + } + + public int findStatementAccountCount(String beginTime, String endTime, Integer organId, String supType) { + return depotHeadMapper.findStatementAccountCount(beginTime, endTime, organId, supType); + } + + public Double findAllMoney(Integer supplierId, String type, String subType, String mode, String endTime) { + String modeName = ""; + if (mode.equals("实际")) { + modeName = "ChangeAmount"; + } else if (mode.equals("合计")) { + modeName = "DiscountLastMoney"; + } + return depotHeadMapper.findAllMoney(supplierId, type, subType, modeName, endTime); + } + + public List getDetailByNumber(String number) { + List resList = new ArrayList(); + List list = depotHeadMapper.getDetailByNumber(number); + if (null != list) { + for (DepotHeadVo4List dh : list) { + if(dh.getOthermoneylist() != null) { + String otherMoneyListStr = dh.getOthermoneylist().replace("[", "").replace("]", "").replaceAll("\"", ""); + dh.setOthermoneylist(otherMoneyListStr); + } + if(dh.getOthermoneyitem() != null) { + String otherMoneyItemStr = dh.getOthermoneyitem().replace("[", "").replace("]", "").replaceAll("\"", ""); + dh.setOthermoneyitem(otherMoneyItemStr); + } + if(dh.getChangeamount() != null) { + dh.setChangeamount(Math.abs(dh.getChangeamount())); + } + if(dh.getTotalprice() != null) { + dh.setTotalprice(Math.abs(dh.getTotalprice())); + } + dh.setMaterialsList(findMaterialsListByHeaderId(dh.getId())); + resList.add(dh); + } + } + return resList; + } + +} diff --git a/src/main/java/com/jsh/erp/service/depotItem/DepotItemComponent.java b/src/main/java/com/jsh/erp/service/depotItem/DepotItemComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..78309adcfa7381d20e73d88f1c290b60d6c5f031 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depotItem/DepotItemComponent.java @@ -0,0 +1,74 @@ +package com.jsh.erp.service.depotItem; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "depotItem_component") +@DepotItemResource +public class DepotItemComponent implements ICommonQuery { + + @Resource + private DepotItemService depotItemService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getDepotItemList(map); + } + + private List getDepotItemList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer type = StringUtil.parseInteger(StringUtil.getInfo(search, "type")); + String remark = StringUtil.getInfo(search, "remark"); + String order = QueryUtils.order(map); + return depotItemService.select(name, type, remark, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer type = StringUtil.parseInteger(StringUtil.getInfo(search, "type")); + String remark = StringUtil.getInfo(search, "remark"); + return depotItemService.countDepotItem(name, type, remark); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return depotItemService.insertDepotItem(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return depotItemService.updateDepotItem(beanJson, id); + } + + @Override + public int delete(Long id) { + return depotItemService.deleteDepotItem(id); + } + + @Override + public int batchDelete(String ids) { + return depotItemService.batchDeleteDepotItem(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return depotItemService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/depotItem/DepotItemResource.java b/src/main/java/com/jsh/erp/service/depotItem/DepotItemResource.java new file mode 100644 index 0000000000000000000000000000000000000000..4f3057817a20d861d04c4a95ee6e3106cf2ee133 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depotItem/DepotItemResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.depotItem; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "depotItem", type = 90) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface DepotItemResource { +} diff --git a/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java b/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java new file mode 100644 index 0000000000000000000000000000000000000000..42f8c6252dc4f1605e84be8985cd226f5caa1f56 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/depotItem/DepotItemService.java @@ -0,0 +1,194 @@ +package com.jsh.erp.service.depotItem; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.*; +import com.jsh.erp.datasource.mappers.DepotItemMapper; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service +public class DepotItemService { + private Logger logger = LoggerFactory.getLogger(DepotItemService.class); + + private final static String TYPE = "入库"; + private final static String SUM_TYPE = "Number"; + private final static String IN = "in"; + private final static String OUT = "out"; + + @Resource + private DepotItemMapper depotItemMapper; + + public DepotItem getDepotItem(long id) { + return depotItemMapper.selectByPrimaryKey(id); + } + + public List getDepotItem() { + DepotItemExample example = new DepotItemExample(); + return depotItemMapper.selectByExample(example); + } + + public List select(String name, Integer type, String remark, int offset, int rows) { + return depotItemMapper.selectByConditionDepotItem(name, type, remark, offset, rows); + } + + public int countDepotItem(String name, Integer type, String remark) { + return depotItemMapper.countsByDepotItem(name, type, remark); + } + + public int insertDepotItem(String beanJson, HttpServletRequest request) { + DepotItem depotItem = JSONObject.parseObject(beanJson, DepotItem.class); + return depotItemMapper.insertSelective(depotItem); + } + + public int updateDepotItem(String beanJson, Long id) { + DepotItem depotItem = JSONObject.parseObject(beanJson, DepotItem.class); + depotItem.setId(id); + return depotItemMapper.updateByPrimaryKeySelective(depotItem); + } + + public int deleteDepotItem(Long id) { + return depotItemMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteDepotItem(String ids) { + List idList = StringUtil.strToLongList(ids); + DepotItemExample example = new DepotItemExample(); + example.createCriteria().andIdIn(idList); + return depotItemMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + DepotItemExample example = new DepotItemExample(); + example.createCriteria().andIdNotEqualTo(id); + List list = depotItemMapper.selectByExample(example); + return list.size(); + } + + public List getHeaderIdByMaterial(String materialParam, String depotIds) { + return depotItemMapper.getHeaderIdByMaterial(materialParam, depotIds); + } + + public List findDetailByTypeAndMaterialIdList(Map map) { + String mIdStr = map.get("mId"); + Long mId = null; + if(!StringUtil.isEmpty(mIdStr)) { + mId = Long.parseLong(mIdStr); + } + return depotItemMapper.findDetailByTypeAndMaterialIdList(mId, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + public int findDetailByTypeAndMaterialIdCounts(Map map) { + String mIdStr = map.get("mId"); + Long mId = null; + if(!StringUtil.isEmpty(mIdStr)) { + mId = Long.parseLong(mIdStr); + } + return depotItemMapper.findDetailByTypeAndMaterialIdCounts(mId); + } + + public List findStockNumByMaterialIdList(Map map) { + String mIdStr = map.get("mId"); + Long mId = null; + if(!StringUtil.isEmpty(mIdStr)) { + mId = Long.parseLong(mIdStr); + } + String monthTime = map.get("monthTime"); + return depotItemMapper.findStockNumByMaterialIdList(mId, monthTime, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + public int findStockNumByMaterialIdCounts(Map map) { + String mIdStr = map.get("mId"); + Long mId = null; + if(!StringUtil.isEmpty(mIdStr)) { + mId = Long.parseLong(mIdStr); + } + String monthTime = map.get("monthTime"); + return depotItemMapper.findStockNumByMaterialIdCounts(mId, monthTime); + } + + public int insertDepotItemWithObj(DepotItem depotItem) { + return depotItemMapper.insertSelective(depotItem); + } + + public int updateDepotItemWithObj(DepotItem depotItem) { + return depotItemMapper.updateByPrimaryKeySelective(depotItem); + } + + public int findByTypeAndMaterialId(String type, Long mId) { + if(type.equals(TYPE)) { + return depotItemMapper.findByTypeAndMaterialIdIn(mId); + } else { + return depotItemMapper.findByTypeAndMaterialIdOut(mId); + } + } + + public List getDetailList(Long headerId) { + return depotItemMapper.getDetailList(headerId); + } + + public List findByAll(String headIds, String materialIds, Integer offset, Integer rows) { + return depotItemMapper.findByAll(headIds, materialIds, offset, rows); + } + + public int findByAllCount(String headIds, String materialIds) { + return depotItemMapper.findByAllCount(headIds, materialIds); + } + + public Double findByType(String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) { + if (TYPE.equals(type)) { + if (isPrev) { + return depotItemMapper.findByTypeInIsPrev(ProjectId, MId, MonthTime); + } else { + return depotItemMapper.findByTypeInIsNotPrev(ProjectId, MId, MonthTime); + } + } else { + if (isPrev) { + return depotItemMapper.findByTypeOutIsPrev(ProjectId, MId, MonthTime); + } else { + return depotItemMapper.findByTypeOutIsNotPrev(ProjectId, MId, MonthTime); + } + } + } + + public Double findPriceByType(String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) { + if (TYPE.equals(type)) { + if (isPrev) { + return depotItemMapper.findPriceByTypeInIsPrev(ProjectId, MId, MonthTime); + } else { + return depotItemMapper.findPriceByTypeInIsNotPrev(ProjectId, MId, MonthTime); + } + } else { + if (isPrev) { + return depotItemMapper.findPriceByTypeOutIsPrev(ProjectId, MId, MonthTime); + } else { + return depotItemMapper.findPriceByTypeOutIsNotPrev(ProjectId, MId, MonthTime); + } + } + } + + public Double buyOrSale(String type, String subType, Long MId, String MonthTime, String sumType) { + if (SUM_TYPE.equals(sumType)) { + return depotItemMapper.buyOrSaleNumber(type, subType, MId, MonthTime, sumType); + } else { + return depotItemMapper.buyOrSalePrice(type, subType, MId, MonthTime, sumType); + } + } + + public Double findGiftByType(String subType, Integer ProjectId, Long MId, String type) { + if (IN.equals(type)) { + return depotItemMapper.findGiftByTypeIn(subType, ProjectId, MId); + } else { + return depotItemMapper.findGiftByTypeOut(subType, ProjectId, MId); + } + } + + +} diff --git a/src/main/java/com/jsh/erp/service/functions/FunctionsComponent.java b/src/main/java/com/jsh/erp/service/functions/FunctionsComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..3e5d05046478319aff374d04ee1df6c5aee0f44b --- /dev/null +++ b/src/main/java/com/jsh/erp/service/functions/FunctionsComponent.java @@ -0,0 +1,74 @@ +package com.jsh.erp.service.functions; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.app.AppResource; +import com.jsh.erp.service.functions.FunctionsService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "functions_component") +@FunctionsResource +public class FunctionsComponent implements ICommonQuery { + + @Resource + private FunctionsService functionsService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getFunctionsList(map); + } + + private List getFunctionsList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + String order = QueryUtils.order(map); + return functionsService.select(name, type, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + return functionsService.countFunctions(name, type); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return functionsService.insertFunctions(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return functionsService.updateFunctions(beanJson, id); + } + + @Override + public int delete(Long id) { + return functionsService.deleteFunctions(id); + } + + @Override + public int batchDelete(String ids) { + return functionsService.batchDeleteFunctions(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return functionsService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/functions/FunctionsResource.java b/src/main/java/com/jsh/erp/service/functions/FunctionsResource.java new file mode 100644 index 0000000000000000000000000000000000000000..b2938b6a43ce38b4d14054259b16301cb433f72b --- /dev/null +++ b/src/main/java/com/jsh/erp/service/functions/FunctionsResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.functions; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "functions", type = 30) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface FunctionsResource { +} diff --git a/src/main/java/com/jsh/erp/service/functions/FunctionsService.java b/src/main/java/com/jsh/erp/service/functions/FunctionsService.java new file mode 100644 index 0000000000000000000000000000000000000000..e625c2afb6b6a3c456533cad040f2dbc1331a693 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/functions/FunctionsService.java @@ -0,0 +1,84 @@ +package com.jsh.erp.service.functions; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Functions; +import com.jsh.erp.datasource.entities.FunctionsExample; +import com.jsh.erp.datasource.mappers.FunctionsMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class FunctionsService { + private Logger logger = LoggerFactory.getLogger(FunctionsService.class); + + @Resource + private FunctionsMapper functionsMapper; + + public Functions getFunctions(long id) { + return functionsMapper.selectByPrimaryKey(id); + } + + public List getFunctions() { + FunctionsExample example = new FunctionsExample(); + return functionsMapper.selectByExample(example); + } + + public List select(String name, String type, int offset, int rows) { + return functionsMapper.selectByConditionFunctions(name, type, offset, rows); + } + + public int countFunctions(String name, String type) { + return functionsMapper.countsByFunctions(name, type); + } + + public int insertFunctions(String beanJson, HttpServletRequest request) { + Functions depot = JSONObject.parseObject(beanJson, Functions.class); + return functionsMapper.insertSelective(depot); + } + + public int updateFunctions(String beanJson, Long id) { + Functions depot = JSONObject.parseObject(beanJson, Functions.class); + depot.setId(id); + return functionsMapper.updateByPrimaryKeySelective(depot); + } + + public int deleteFunctions(Long id) { + return functionsMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteFunctions(String ids) { + List idList = StringUtil.strToLongList(ids); + FunctionsExample example = new FunctionsExample(); + example.createCriteria().andIdIn(idList); + return functionsMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + FunctionsExample example = new FunctionsExample(); + example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + List list = functionsMapper.selectByExample(example); + return list.size(); + } + + public List getRoleFunctions(String pNumber) { + FunctionsExample example = new FunctionsExample(); + example.createCriteria().andEnabledEqualTo(true).andPnumberEqualTo(pNumber); + example.setOrderByClause("Sort"); + List list = functionsMapper.selectByExample(example); + return list; + } + + public List findRoleFunctions(String pnumber){ + FunctionsExample example = new FunctionsExample(); + example.createCriteria().andEnabledEqualTo(true).andPnumberEqualTo(pnumber); + example.setOrderByClause("Sort"); + List list = functionsMapper.selectByExample(example); + return list; + } +} diff --git a/src/main/java/com/jsh/erp/service/inOutItem/InOutItemComponent.java b/src/main/java/com/jsh/erp/service/inOutItem/InOutItemComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..90705a98f94db7f8c6852b5f1ae62e971937321d --- /dev/null +++ b/src/main/java/com/jsh/erp/service/inOutItem/InOutItemComponent.java @@ -0,0 +1,74 @@ +package com.jsh.erp.service.inOutItem; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "inOutItem_component") +@InOutItemResource +public class InOutItemComponent implements ICommonQuery { + + @Resource + private InOutItemService inOutItemService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getFunctionsList(map); + } + + private List getFunctionsList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + String remark = StringUtil.getInfo(search, "remark"); + String order = QueryUtils.order(map); + return inOutItemService.select(name, type, remark, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + String remark = StringUtil.getInfo(search, "remark"); + return inOutItemService.countInOutItem(name, type, remark); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return inOutItemService.insertInOutItem(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return inOutItemService.updateInOutItem(beanJson, id); + } + + @Override + public int delete(Long id) { + return inOutItemService.deleteInOutItem(id); + } + + @Override + public int batchDelete(String ids) { + return inOutItemService.batchDeleteInOutItem(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return inOutItemService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/inOutItem/InOutItemResource.java b/src/main/java/com/jsh/erp/service/inOutItem/InOutItemResource.java new file mode 100644 index 0000000000000000000000000000000000000000..6869a16c24a8ad330b882eb96e3c7960303b9c3d --- /dev/null +++ b/src/main/java/com/jsh/erp/service/inOutItem/InOutItemResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.inOutItem; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "inOutItem", type = 35) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface InOutItemResource { +} diff --git a/src/main/java/com/jsh/erp/service/inOutItem/InOutItemService.java b/src/main/java/com/jsh/erp/service/inOutItem/InOutItemService.java new file mode 100644 index 0000000000000000000000000000000000000000..9bd964d7793fae2fe18a3ced257caba61e122f61 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/inOutItem/InOutItemService.java @@ -0,0 +1,79 @@ +package com.jsh.erp.service.inOutItem; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.InOutItem; +import com.jsh.erp.datasource.entities.InOutItemExample; +import com.jsh.erp.datasource.mappers.InOutItemMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class InOutItemService { + private Logger logger = LoggerFactory.getLogger(InOutItemService.class); + + @Resource + private InOutItemMapper inOutItemMapper; + + public InOutItem getInOutItem(long id) { + return inOutItemMapper.selectByPrimaryKey(id); + } + + public List getInOutItem() { + InOutItemExample example = new InOutItemExample(); + return inOutItemMapper.selectByExample(example); + } + + public List select(String name, String type, String remark, int offset, int rows) { + return inOutItemMapper.selectByConditionInOutItem(name, type, remark, offset, rows); + } + + public int countInOutItem(String name, String type, String remark) { + return inOutItemMapper.countsByInOutItem(name, type, remark); + } + + public int insertInOutItem(String beanJson, HttpServletRequest request) { + InOutItem depot = JSONObject.parseObject(beanJson, InOutItem.class); + return inOutItemMapper.insertSelective(depot); + } + + public int updateInOutItem(String beanJson, Long id) { + InOutItem depot = JSONObject.parseObject(beanJson, InOutItem.class); + depot.setId(id); + return inOutItemMapper.updateByPrimaryKeySelective(depot); + } + + public int deleteInOutItem(Long id) { + return inOutItemMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteInOutItem(String ids) { + List idList = StringUtil.strToLongList(ids); + InOutItemExample example = new InOutItemExample(); + example.createCriteria().andIdIn(idList); + return inOutItemMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + InOutItemExample example = new InOutItemExample(); + example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + List list = inOutItemMapper.selectByExample(example); + return list.size(); + } + + public List findBySelect(String type) { + InOutItemExample example = new InOutItemExample(); + if (type.equals("in")) { + example.createCriteria().andTypeEqualTo("收入"); + } else if (type.equals("out")) { + example.createCriteria().andTypeEqualTo("支出"); + } + example.setOrderByClause("id desc"); + return inOutItemMapper.selectByExample(example); + } +} diff --git a/src/main/java/com/jsh/erp/service/log/LogComponent.java b/src/main/java/com/jsh/erp/service/log/LogComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..aaf3680c8d6c48c2dff99cd874c7c9188f127e8c --- /dev/null +++ b/src/main/java/com/jsh/erp/service/log/LogComponent.java @@ -0,0 +1,83 @@ +package com.jsh.erp.service.log; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "log_component") +@LogResource +public class LogComponent implements ICommonQuery { + + @Resource + private LogService logService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getUserList(map); + } + + private List getUserList(Map map) { + String search = map.get(Constants.SEARCH); + String operation = StringUtil.getInfo(search, "operation"); + Integer usernameID = StringUtil.parseInteger(StringUtil.getInfo(search, "usernameID")); + String clientIp = StringUtil.getInfo(search, "clientIp"); + Integer status = StringUtil.parseInteger(StringUtil.getInfo(search, "status")); + String beginTime = StringUtil.getInfo(search, "beginTime"); + String endTime = StringUtil.getInfo(search, "endTime"); + String contentdetails = StringUtil.getInfo(search, "contentdetails"); + String order = QueryUtils.order(map); + return logService.select(operation, usernameID, clientIp, status, beginTime, endTime, contentdetails, + QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String operation = StringUtil.getInfo(search, "operation"); + Integer usernameID = StringUtil.parseInteger(StringUtil.getInfo(search, "usernameID")); + String clientIp = StringUtil.getInfo(search, "clientIp"); + Integer status = StringUtil.parseInteger(StringUtil.getInfo(search, "status")); + String beginTime = StringUtil.getInfo(search, "beginTime"); + String endTime = StringUtil.getInfo(search, "endTime"); + String contentdetails = StringUtil.getInfo(search, "contentdetails"); + return logService.countLog(operation, usernameID, clientIp, status, beginTime, endTime, contentdetails); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return logService.insertLog(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return logService.updateLog(beanJson, id); + } + + @Override + public int delete(Long id) { + return logService.deleteLog(id); + } + + @Override + public int batchDelete(String ids) { + return logService.batchDeleteLog(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return 0; + } + +} diff --git a/src/main/java/com/jsh/erp/service/log/LogResource.java b/src/main/java/com/jsh/erp/service/log/LogResource.java new file mode 100644 index 0000000000000000000000000000000000000000..2c02ffa3b52cf1aab1c0d8f54eec57529896c648 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/log/LogResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.log; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "log", type = 25) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface LogResource { +} diff --git a/src/main/java/com/jsh/erp/service/log/LogService.java b/src/main/java/com/jsh/erp/service/log/LogService.java new file mode 100644 index 0000000000000000000000000000000000000000..538d8229938478c9601858e63ac2607d97507ce8 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/log/LogService.java @@ -0,0 +1,68 @@ +package com.jsh.erp.service.log; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Log; +import com.jsh.erp.datasource.entities.LogExample; +import com.jsh.erp.datasource.mappers.LogMapper; +import com.jsh.erp.utils.ExceptionCodeConstants; +import com.jsh.erp.utils.JshException; +import com.jsh.erp.utils.StringUtil; +import com.jsh.erp.utils.Tools; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.security.NoSuchAlgorithmException; +import java.util.List; + +@Service +public class LogService { + private Logger logger = LoggerFactory.getLogger(LogService.class); + @Resource + private LogMapper logMapper; + + public Log getLog(long id) { + return logMapper.selectByPrimaryKey(id); + } + + public List getLog() { + LogExample example = new LogExample(); + return logMapper.selectByExample(example); + } + + public List select(String operation, Integer usernameID, String clientIp, Integer status, String beginTime, String endTime, + String contentdetails, int offset, int rows) { + return logMapper.selectByConditionLog(operation, usernameID, clientIp, status, beginTime, endTime, + contentdetails, offset, rows); + } + + public int countLog(String operation, Integer usernameID, String clientIp, Integer status, String beginTime, String endTime, + String contentdetails) { + return logMapper.countsByLog(operation, usernameID, clientIp, status, beginTime, endTime, contentdetails); + } + + public int insertLog(String beanJson, HttpServletRequest request) { + Log log = JSONObject.parseObject(beanJson, Log.class); + return logMapper.insertSelective(log); + } + + public int updateLog(String beanJson, Long id) { + Log log = JSONObject.parseObject(beanJson, Log.class); + log.setId(id); + return logMapper.updateByPrimaryKeySelective(log); + } + + public int deleteLog(Long id) { + return logMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteLog(String ids) { + List idList = StringUtil.strToLongList(ids); + LogExample example = new LogExample(); + example.createCriteria().andIdIn(idList); + return logMapper.deleteByExample(example); + } + +} diff --git a/src/main/java/com/jsh/erp/service/material/MaterialComponent.java b/src/main/java/com/jsh/erp/service/material/MaterialComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..7d986cf1713fd1a6044b24475e97936c1a9e4f6f --- /dev/null +++ b/src/main/java/com/jsh/erp/service/material/MaterialComponent.java @@ -0,0 +1,74 @@ +package com.jsh.erp.service.material; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.depot.DepotResource; +import com.jsh.erp.service.depot.DepotService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "material_component") +@MaterialResource +public class MaterialComponent implements ICommonQuery { + + @Resource + private MaterialService materialService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getMaterialList(map); + } + + private List getMaterialList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String model = StringUtil.getInfo(search, "model"); + String order = QueryUtils.order(map); + return materialService.select(name, model, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String model = StringUtil.getInfo(search, "model"); + return materialService.countMaterial(name, model); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return materialService.insertMaterial(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return materialService.updateMaterial(beanJson, id); + } + + @Override + public int delete(Long id) { + return materialService.deleteMaterial(id); + } + + @Override + public int batchDelete(String ids) { + return materialService.batchDeleteMaterial(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return materialService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/material/MaterialResource.java b/src/main/java/com/jsh/erp/service/material/MaterialResource.java new file mode 100644 index 0000000000000000000000000000000000000000..507df1b0d7f794884b4867ea73b6ac7bf3bd14b9 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/material/MaterialResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.material; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "material", type = 80) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface MaterialResource { +} diff --git a/src/main/java/com/jsh/erp/service/material/MaterialService.java b/src/main/java/com/jsh/erp/service/material/MaterialService.java new file mode 100644 index 0000000000000000000000000000000000000000..650c3ee82e2cb367e3b4b2ef2a0ce7a9f674515f --- /dev/null +++ b/src/main/java/com/jsh/erp/service/material/MaterialService.java @@ -0,0 +1,117 @@ +package com.jsh.erp.service.material; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Material; +import com.jsh.erp.datasource.entities.MaterialExample; +import com.jsh.erp.datasource.entities.MaterialVo4Unit; +import com.jsh.erp.datasource.mappers.MaterialMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.ArrayList; +import java.util.List; + +@Service +public class MaterialService { + private Logger logger = LoggerFactory.getLogger(MaterialService.class); + + @Resource + private MaterialMapper materialMapper; + + public Material getMaterial(long id) { + return materialMapper.selectByPrimaryKey(id); + } + + public List getMaterial() { + MaterialExample example = new MaterialExample(); + return materialMapper.selectByExample(example); + } + + public List select(String name, String model, int offset, int rows) { + return materialMapper.selectByConditionMaterial(name, model, offset, rows); + } + + public int countMaterial(String name, String model) { + return materialMapper.countsByMaterial(name, model); + } + + public int insertMaterial(String beanJson, HttpServletRequest request) { + Material material = JSONObject.parseObject(beanJson, Material.class); + return materialMapper.insertSelective(material); + } + + public int updateMaterial(String beanJson, Long id) { + Material material = JSONObject.parseObject(beanJson, Material.class); + material.setId(id); + return materialMapper.updateByPrimaryKeySelective(material); + } + + public int deleteMaterial(Long id) { + return materialMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteMaterial(String ids) { + List idList = StringUtil.strToLongList(ids); + MaterialExample example = new MaterialExample(); + example.createCriteria().andIdIn(idList); + return materialMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + MaterialExample example = new MaterialExample(); + example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + List list = materialMapper.selectByExample(example); + return list.size(); + } + + public int checkIsExist(Long id, String name, String model, String color, String standard, String mfrs, + String otherField1, String otherField2, String otherField3, String unit, Long unitId) { + MaterialExample example = new MaterialExample(); + if (id > 0) { + example.createCriteria().andIdNotEqualTo(id); + } + example.createCriteria().andNameEqualTo(name).andModelEqualTo(model).andColorEqualTo(color) + .andStandardEqualTo(standard).andMfrsEqualTo(mfrs) + .andOtherfield1EqualTo(otherField1).andOtherfield2EqualTo(otherField2).andOtherfield2EqualTo(otherField3); + if (unit !=null) { + example.createCriteria().andUnitEqualTo(unit); + } + if (unitId !=null) { + example.createCriteria().andUnitidEqualTo(unitId); + } + List list = materialMapper.selectByExample(example); + return list.size(); + } + + public int batchSetEnable(Boolean enabled, String materialIDs) { + List ids = StringUtil.strToLongList(materialIDs); + Material material = new Material(); + material.setEnabled(enabled); + MaterialExample example = new MaterialExample(); + example.createCriteria().andIdIn(ids); + return materialMapper.updateByExampleSelective(material, example); + } + + public String findUnitName(Long mId){ + return materialMapper.findUnitName(mId); + } + + public List findById(Long id){ + return materialMapper.findById(id); + } + + public List findBySelect(){ + return materialMapper.findBySelect(); + } + + public List findByOrder(){ + MaterialExample example = new MaterialExample(); + example.setOrderByClause("Name,Model asc"); + return materialMapper.selectByExample(example); + } + +} diff --git a/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryComponent.java b/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..2e3f15b2765a27d57048db3d9646d85be61c1fb7 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryComponent.java @@ -0,0 +1,74 @@ +package com.jsh.erp.service.materialCategory; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.materialProperty.MaterialPropertyResource; +import com.jsh.erp.service.materialProperty.MaterialPropertyService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "materialCategory_component") +@MaterialCategoryResource +public class MaterialCategoryComponent implements ICommonQuery { + + @Resource + private MaterialCategoryService materialCategoryService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getMaterialCategoryList(map); + } + + private List getMaterialCategoryList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer parentId = StringUtil.parseInteger(StringUtil.getInfo(search, "parentId")); + String order = QueryUtils.order(map); + return materialCategoryService.select(name, parentId, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + Integer parentId = StringUtil.parseInteger(StringUtil.getInfo(search, "parentId")); + return materialCategoryService.countMaterialCategory(name, parentId); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return materialCategoryService.insertMaterialCategory(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return materialCategoryService.updateMaterialCategory(beanJson, id); + } + + @Override + public int delete(Long id) { + return materialCategoryService.deleteMaterialCategory(id); + } + + @Override + public int batchDelete(String ids) { + return materialCategoryService.batchDeleteMaterialCategory(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return materialCategoryService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryResource.java b/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryResource.java new file mode 100644 index 0000000000000000000000000000000000000000..9ba1b8c9392c0128c0663059002cdd9a97a00a6a --- /dev/null +++ b/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.materialCategory; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "materialCategory", type = 75) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface MaterialCategoryResource { +} diff --git a/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryService.java b/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryService.java new file mode 100644 index 0000000000000000000000000000000000000000..a814af2543d57399f0533bf4abd8843951b873b9 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/materialCategory/MaterialCategoryService.java @@ -0,0 +1,78 @@ +package com.jsh.erp.service.materialCategory; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.MaterialCategory; +import com.jsh.erp.datasource.entities.MaterialCategoryExample; +import com.jsh.erp.datasource.mappers.MaterialCategoryMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class MaterialCategoryService { + private Logger logger = LoggerFactory.getLogger(MaterialCategoryService.class); + + @Resource + private MaterialCategoryMapper materialCategoryMapper; + + public MaterialCategory getMaterialCategory(long id) { + return materialCategoryMapper.selectByPrimaryKey(id); + } + + public List getMaterialCategory() { + MaterialCategoryExample example = new MaterialCategoryExample(); + return materialCategoryMapper.selectByExample(example); + } + + public List getAllList(Long parentId) { + MaterialCategoryExample example = new MaterialCategoryExample(); + example.createCriteria().andParentidEqualTo(parentId); + example.setOrderByClause("id"); + return materialCategoryMapper.selectByExample(example); + } + + public List select(String name, Integer parentId, int offset, int rows) { + return materialCategoryMapper.selectByConditionMaterialCategory(name, parentId, offset, rows); + } + + public int countMaterialCategory(String name, Integer parentId) { + return materialCategoryMapper.countsByMaterialCategory(name, parentId); + } + + public int insertMaterialCategory(String beanJson, HttpServletRequest request) { + MaterialCategory materialCategory = JSONObject.parseObject(beanJson, MaterialCategory.class); + return materialCategoryMapper.insertSelective(materialCategory); + } + + public int updateMaterialCategory(String beanJson, Long id) { + MaterialCategory materialCategory = JSONObject.parseObject(beanJson, MaterialCategory.class); + materialCategory.setId(id); + return materialCategoryMapper.updateByPrimaryKeySelective(materialCategory); + } + + public int deleteMaterialCategory(Long id) { + return materialCategoryMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteMaterialCategory(String ids) { + List idList = StringUtil.strToLongList(ids); + MaterialCategoryExample example = new MaterialCategoryExample(); + example.createCriteria().andIdIn(idList); + return materialCategoryMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + return 0; + } + + public List findById(Long id) { + MaterialCategoryExample example = new MaterialCategoryExample(); + example.createCriteria().andIdEqualTo(id); + return materialCategoryMapper.selectByExample(example); + } +} diff --git a/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyComponent.java b/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..f562a79874c2cc4b3e4abcabc206a70ade94bc7c --- /dev/null +++ b/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyComponent.java @@ -0,0 +1,70 @@ +package com.jsh.erp.service.materialProperty; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "materialProperty_component") +@MaterialPropertyResource +public class MaterialPropertyComponent implements ICommonQuery { + + @Resource + private MaterialPropertyService materialPropertyService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getMaterialPropertyList(map); + } + + private List getMaterialPropertyList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String order = QueryUtils.order(map); + return materialPropertyService.select(name, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + return materialPropertyService.countMaterialProperty(name); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return materialPropertyService.insertMaterialProperty(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return materialPropertyService.updateMaterialProperty(beanJson, id); + } + + @Override + public int delete(Long id) { + return materialPropertyService.deleteMaterialProperty(id); + } + + @Override + public int batchDelete(String ids) { + return materialPropertyService.batchDeleteMaterialProperty(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return materialPropertyService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyResource.java b/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyResource.java new file mode 100644 index 0000000000000000000000000000000000000000..b4837b3023ba88b8bc7b73de9f6d6d996c6c3b95 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.materialProperty; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "materialProperty", type = 60) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface MaterialPropertyResource { +} diff --git a/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyService.java b/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyService.java new file mode 100644 index 0000000000000000000000000000000000000000..7d9f09801864412b2b869260e43eeeac2fb7709d --- /dev/null +++ b/src/main/java/com/jsh/erp/service/materialProperty/MaterialPropertyService.java @@ -0,0 +1,64 @@ +package com.jsh.erp.service.materialProperty; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.MaterialProperty; +import com.jsh.erp.datasource.entities.MaterialPropertyExample; +import com.jsh.erp.datasource.mappers.MaterialPropertyMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class MaterialPropertyService { + private Logger logger = LoggerFactory.getLogger(MaterialPropertyService.class); + + @Resource + private MaterialPropertyMapper materialPropertyMapper; + + public MaterialProperty getMaterialProperty(long id) { + return materialPropertyMapper.selectByPrimaryKey(id); + } + + public List getMaterialProperty() { + MaterialPropertyExample example = new MaterialPropertyExample(); + return materialPropertyMapper.selectByExample(example); + } + public List select(String name, int offset, int rows) { + return materialPropertyMapper.selectByConditionMaterialProperty(name, offset, rows); + } + + public int countMaterialProperty(String name) { + return materialPropertyMapper.countsByMaterialProperty(name); + } + + public int insertMaterialProperty(String beanJson, HttpServletRequest request) { + MaterialProperty materialProperty = JSONObject.parseObject(beanJson, MaterialProperty.class); + return materialPropertyMapper.insertSelective(materialProperty); + } + + public int updateMaterialProperty(String beanJson, Long id) { + MaterialProperty materialProperty = JSONObject.parseObject(beanJson, MaterialProperty.class); + materialProperty.setId(id); + return materialPropertyMapper.updateByPrimaryKeySelective(materialProperty); + } + + public int deleteMaterialProperty(Long id) { + return materialPropertyMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteMaterialProperty(String ids) { + List idList = StringUtil.strToLongList(ids); + MaterialPropertyExample example = new MaterialPropertyExample(); + example.createCriteria().andIdIn(idList); + return materialPropertyMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + return 0; + } +} diff --git a/src/main/java/com/jsh/erp/service/person/PersonComponent.java b/src/main/java/com/jsh/erp/service/person/PersonComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..3b1dd7ef63c8b5788ff535129477b372dc47e79e --- /dev/null +++ b/src/main/java/com/jsh/erp/service/person/PersonComponent.java @@ -0,0 +1,74 @@ +package com.jsh.erp.service.person; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.depot.DepotResource; +import com.jsh.erp.service.depot.DepotService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "person_component") +@PersonResource +public class PersonComponent implements ICommonQuery { + + @Resource + private PersonService personService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getPersonList(map); + } + + private List getPersonList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + String order = QueryUtils.order(map); + return personService.select(name, type, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String type = StringUtil.getInfo(search, "type"); + return personService.countPerson(name, type); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return personService.insertPerson(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return personService.updatePerson(beanJson, id); + } + + @Override + public int delete(Long id) { + return personService.deletePerson(id); + } + + @Override + public int batchDelete(String ids) { + return personService.batchDeletePerson(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return personService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/person/PersonResource.java b/src/main/java/com/jsh/erp/service/person/PersonResource.java new file mode 100644 index 0000000000000000000000000000000000000000..ca82fcd8659b3ab02060980d031a47a4d5f59134 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/person/PersonResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.person; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "person", type = 45) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface PersonResource { +} diff --git a/src/main/java/com/jsh/erp/service/person/PersonService.java b/src/main/java/com/jsh/erp/service/person/PersonService.java new file mode 100644 index 0000000000000000000000000000000000000000..2acd9eef880ce35560ea1768942fe674cc2f5282 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/person/PersonService.java @@ -0,0 +1,93 @@ +package com.jsh.erp.service.person; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Person; +import com.jsh.erp.datasource.entities.PersonExample; +import com.jsh.erp.datasource.mappers.PersonMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class PersonService { + private Logger logger = LoggerFactory.getLogger(PersonService.class); + + @Resource + private PersonMapper personMapper; + + public Person getPerson(long id) { + return personMapper.selectByPrimaryKey(id); + } + + public List getPerson() { + PersonExample example = new PersonExample(); + return personMapper.selectByExample(example); + } + + public List select(String name, String type, int offset, int rows) { + return personMapper.selectByConditionPerson(name, type, offset, rows); + } + + public int countPerson(String name, String type) { + return personMapper.countsByPerson(name, type); + } + + public int insertPerson(String beanJson, HttpServletRequest request) { + Person person = JSONObject.parseObject(beanJson, Person.class); + return personMapper.insertSelective(person); + } + + public int updatePerson(String beanJson, Long id) { + Person person = JSONObject.parseObject(beanJson, Person.class); + person.setId(id); + return personMapper.updateByPrimaryKeySelective(person); + } + + public int deletePerson(Long id) { + return personMapper.deleteByPrimaryKey(id); + } + + public int batchDeletePerson(String ids) { + List idList = StringUtil.strToLongList(ids); + PersonExample example = new PersonExample(); + example.createCriteria().andIdIn(idList); + return personMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + PersonExample example = new PersonExample(); + example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + List list = personMapper.selectByExample(example); + return list.size(); + } + + public String getPersonByIds(String personIDs) { + List ids = StringUtil.strToLongList(personIDs); + PersonExample example = new PersonExample(); + example.createCriteria().andIdIn(ids); + example.setOrderByClause("Id asc"); + List list = personMapper.selectByExample(example); + StringBuffer sb = new StringBuffer(); + if (null != list) { + for (Person person : list) { + sb.append(person.getName() + " "); + } + } + return sb.toString(); + } + + public List getPersonByType(String type) { + PersonExample example = new PersonExample(); + example.createCriteria().andTypeEqualTo(type); + example.setOrderByClause("Id asc"); + return personMapper.selectByExample(example); + } + + + +} diff --git a/src/main/java/com/jsh/erp/service/role/RoleComponent.java b/src/main/java/com/jsh/erp/service/role/RoleComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..0e5e1728743c22d06853c1dd0ce4c0ef295d6fc8 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/role/RoleComponent.java @@ -0,0 +1,71 @@ +package com.jsh.erp.service.role; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "role_component") +@RoleResource +public class RoleComponent implements ICommonQuery { + + @Resource + private RoleService roleService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getRoleList(map); + } + + private List getRoleList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String order = QueryUtils.order(map); + String filter = QueryUtils.filter(map); + return roleService.select(name, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + return roleService.countRole(name); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return roleService.insertRole(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return roleService.updateRole(beanJson, id); + } + + @Override + public int delete(Long id) { + return roleService.deleteRole(id); + } + + @Override + public int batchDelete(String ids) { + return roleService.batchDeleteRole(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return 0; + } + +} diff --git a/src/main/java/com/jsh/erp/service/role/RoleResource.java b/src/main/java/com/jsh/erp/service/role/RoleResource.java new file mode 100644 index 0000000000000000000000000000000000000000..b9aa0c5ce001acd1ca75ef908be9947018bb4535 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/role/RoleResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.role; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "role", type = 10) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface RoleResource { +} diff --git a/src/main/java/com/jsh/erp/service/role/RoleService.java b/src/main/java/com/jsh/erp/service/role/RoleService.java new file mode 100644 index 0000000000000000000000000000000000000000..c82be221467c5561a02cef35d4f8bf3729aab75e --- /dev/null +++ b/src/main/java/com/jsh/erp/service/role/RoleService.java @@ -0,0 +1,71 @@ +package com.jsh.erp.service.role; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Role; +import com.jsh.erp.datasource.entities.RoleExample; +import com.jsh.erp.datasource.entities.User; +import com.jsh.erp.datasource.entities.UserExample; +import com.jsh.erp.datasource.mappers.RoleMapper; +import com.jsh.erp.datasource.mappers.UserMapper; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.RegExpTools; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; +import org.springframework.transaction.annotation.Transactional; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service +public class RoleService { + @Resource + private RoleMapper roleMapper; + + public Role getRole(long id) { + return roleMapper.selectByPrimaryKey(id); + } + + public List getRole() { + RoleExample example = new RoleExample(); + return roleMapper.selectByExample(example); + } + + public List select(String name, int offset, int rows) { + return roleMapper.selectByConditionRole(name, offset, rows); + } + + public int countRole(String name) { + return roleMapper.countsByRole(name); + } + + public int insertRole(String beanJson, HttpServletRequest request) { + Role role = JSONObject.parseObject(beanJson, Role.class); + return roleMapper.insertSelective(role); + } + + public int updateRole(String beanJson, Long id) { + Role role = JSONObject.parseObject(beanJson, Role.class); + role.setId(id); + return roleMapper.updateByPrimaryKeySelective(role); + } + + public int deleteRole(Long id) { + return roleMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteRole(String ids) { + List idList = StringUtil.strToLongList(ids); + RoleExample example = new RoleExample(); + example.createCriteria().andIdIn(idList); + return roleMapper.deleteByExample(example); + } + + public List findUserRole(){ + RoleExample example = new RoleExample(); + example.setOrderByClause("Id"); + List list = roleMapper.selectByExample(example); + return list; + } +} diff --git a/src/main/java/com/jsh/erp/service/supplier/SupplierComponent.java b/src/main/java/com/jsh/erp/service/supplier/SupplierComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..9b032df8183f37ddf63d1568db178e2e626b7db5 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/supplier/SupplierComponent.java @@ -0,0 +1,80 @@ +package com.jsh.erp.service.supplier; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.depot.DepotResource; +import com.jsh.erp.service.depot.DepotService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "supplier_component") +@SupplierResource +public class SupplierComponent implements ICommonQuery { + + @Resource + private SupplierService supplierService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getSupplierList(map); + } + + private List getSupplierList(Map map) { + String search = map.get(Constants.SEARCH); + String supplier = StringUtil.getInfo(search, "supplier"); + String type = StringUtil.getInfo(search, "type"); + String phonenum = StringUtil.getInfo(search, "phonenum"); + String telephone = StringUtil.getInfo(search, "telephone"); + String description = StringUtil.getInfo(search, "description"); + String order = QueryUtils.order(map); + return supplierService.select(supplier, type, phonenum, telephone, description, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String supplier = StringUtil.getInfo(search, "supplier"); + String type = StringUtil.getInfo(search, "type"); + String phonenum = StringUtil.getInfo(search, "phonenum"); + String telephone = StringUtil.getInfo(search, "telephone"); + String description = StringUtil.getInfo(search, "description"); + return supplierService.countSupplier(supplier, type, phonenum, telephone, description); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return supplierService.insertSupplier(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return supplierService.updateSupplier(beanJson, id); + } + + @Override + public int delete(Long id) { + return supplierService.deleteSupplier(id); + } + + @Override + public int batchDelete(String ids) { + return supplierService.batchDeleteSupplier(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return supplierService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/supplier/SupplierResource.java b/src/main/java/com/jsh/erp/service/supplier/SupplierResource.java new file mode 100644 index 0000000000000000000000000000000000000000..e9d709185f5d4cb5eb3cf344ef2cab23aeb55ab5 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/supplier/SupplierResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.supplier; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "supplier", type = 70) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface SupplierResource { +} diff --git a/src/main/java/com/jsh/erp/service/supplier/SupplierService.java b/src/main/java/com/jsh/erp/service/supplier/SupplierService.java new file mode 100644 index 0000000000000000000000000000000000000000..b077086605a3c92292607820f8b8a9d49e44dca9 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/supplier/SupplierService.java @@ -0,0 +1,102 @@ +package com.jsh.erp.service.supplier; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Supplier; +import com.jsh.erp.datasource.entities.SupplierExample; +import com.jsh.erp.datasource.mappers.SupplierMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class SupplierService { + private Logger logger = LoggerFactory.getLogger(SupplierService.class); + + @Resource + private SupplierMapper supplierMapper; + + public Supplier getSupplier(long id) { + return supplierMapper.selectByPrimaryKey(id); + } + + public List getSupplier() { + SupplierExample example = new SupplierExample(); + return supplierMapper.selectByExample(example); + } + + public List select(String supplier, String type, String phonenum, String telephone, String description, int offset, int rows) { + return supplierMapper.selectByConditionSupplier(supplier, type, phonenum, telephone, description, offset, rows); + } + + public int countSupplier(String supplier, String type, String phonenum, String telephone, String description) { + return supplierMapper.countsBySupplier(supplier, type, phonenum, telephone, description); + } + + public int insertSupplier(String beanJson, HttpServletRequest request) { + Supplier supplier = JSONObject.parseObject(beanJson, Supplier.class); + return supplierMapper.insertSelective(supplier); + } + + public int updateSupplier(String beanJson, Long id) { + Supplier supplier = JSONObject.parseObject(beanJson, Supplier.class); + supplier.setId(id); + return supplierMapper.updateByPrimaryKeySelective(supplier); + } + + public int deleteSupplier(Long id) { + return supplierMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteSupplier(String ids) { + List idList = StringUtil.strToLongList(ids); + SupplierExample example = new SupplierExample(); + example.createCriteria().andIdIn(idList); + return supplierMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + SupplierExample example = new SupplierExample(); + example.createCriteria().andIdNotEqualTo(id).andSupplierEqualTo(name); + List list = supplierMapper.selectByExample(example); + return list.size(); + } + + public int updateAdvanceIn(Long supplierId, Double advanceIn){ + Supplier supplier = supplierMapper.selectByPrimaryKey(supplierId); + supplier.setAdvancein(supplier.getAdvancein() + advanceIn); //增加预收款的金额,可能增加的是负值 + return supplierMapper.updateByPrimaryKeySelective(supplier); + } + + public List findBySelectCus() { + SupplierExample example = new SupplierExample(); + example.createCriteria().andTypeLike("客户").andEnabledEqualTo(true); + example.setOrderByClause("id desc"); + return supplierMapper.selectByExample(example); + } + + public List findBySelectSup() { + SupplierExample example = new SupplierExample(); + example.createCriteria().andTypeLike("供应商").andEnabledEqualTo(true); + example.setOrderByClause("id desc"); + return supplierMapper.selectByExample(example); + } + + public List findBySelectRetail() { + SupplierExample example = new SupplierExample(); + example.createCriteria().andTypeLike("会员").andEnabledEqualTo(true); + example.setOrderByClause("id desc"); + return supplierMapper.selectByExample(example); + } + + public List findById(Long supplierId) { + SupplierExample example = new SupplierExample(); + example.createCriteria().andIdEqualTo(supplierId); + example.setOrderByClause("id desc"); + return supplierMapper.selectByExample(example); + } +} diff --git a/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigComponent.java b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..5f8227618ec3c444816d3ea93139dd4fbf5038ec --- /dev/null +++ b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigComponent.java @@ -0,0 +1,68 @@ +package com.jsh.erp.service.systemConfig; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.systemConfig.SystemConfigResource; +import com.jsh.erp.service.systemConfig.SystemConfigService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "systemConfig_component") +@SystemConfigResource +public class SystemConfigComponent implements ICommonQuery { + + @Resource + private SystemConfigService systemConfigService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getSystemConfigList(map); + } + + private List getSystemConfigList(Map map) { + String order = QueryUtils.order(map); + return systemConfigService.select(QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + return systemConfigService.countSystemConfig(); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return systemConfigService.insertSystemConfig(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return systemConfigService.updateSystemConfig(beanJson, id); + } + + @Override + public int delete(Long id) { + return systemConfigService.deleteSystemConfig(id); + } + + @Override + public int batchDelete(String ids) { + return systemConfigService.batchDeleteSystemConfig(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return systemConfigService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigResource.java b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigResource.java new file mode 100644 index 0000000000000000000000000000000000000000..30cf8deb77b14be4bd6e61005d33cd249a52fe71 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.systemConfig; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "systemConfig", type = 55) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface SystemConfigResource { +} diff --git a/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigService.java b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigService.java new file mode 100644 index 0000000000000000000000000000000000000000..b3b3bed1cd585cef49b9074f0cfbc551de8eb299 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigService.java @@ -0,0 +1,67 @@ +package com.jsh.erp.service.systemConfig; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.SystemConfig; +import com.jsh.erp.datasource.entities.SystemConfigExample; +import com.jsh.erp.datasource.mappers.SystemConfigMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class SystemConfigService { + private Logger logger = LoggerFactory.getLogger(SystemConfigService.class); + + @Resource + private SystemConfigMapper systemConfigMapper; + + public SystemConfig getSystemConfig(long id) { + return systemConfigMapper.selectByPrimaryKey(id); + } + + public List getSystemConfig() { + SystemConfigExample example = new SystemConfigExample(); + return systemConfigMapper.selectByExample(example); + } + public List select(int offset, int rows) { + return systemConfigMapper.selectByConditionSystemConfig(offset, rows); + } + + public int countSystemConfig() { + return systemConfigMapper.countsBySystemConfig(); + } + + public int insertSystemConfig(String beanJson, HttpServletRequest request) { + SystemConfig systemConfig = JSONObject.parseObject(beanJson, SystemConfig.class); + return systemConfigMapper.insertSelective(systemConfig); + } + + public int updateSystemConfig(String beanJson, Long id) { + SystemConfig systemConfig = JSONObject.parseObject(beanJson, SystemConfig.class); + systemConfig.setId(id); + return systemConfigMapper.updateByPrimaryKeySelective(systemConfig); + } + + public int deleteSystemConfig(Long id) { + return systemConfigMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteSystemConfig(String ids) { + List idList = StringUtil.strToLongList(ids); + SystemConfigExample example = new SystemConfigExample(); + example.createCriteria().andIdIn(idList); + return systemConfigMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + SystemConfigExample example = new SystemConfigExample(); + example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + List list = systemConfigMapper.selectByExample(example); + return list.size(); + } +} diff --git a/src/main/java/com/jsh/erp/service/unit/UnitComponent.java b/src/main/java/com/jsh/erp/service/unit/UnitComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..b1cfdbd7d62fd7dd082d1bda4545628f9169ceab --- /dev/null +++ b/src/main/java/com/jsh/erp/service/unit/UnitComponent.java @@ -0,0 +1,71 @@ +package com.jsh.erp.service.unit; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.app.AppResource; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "unit_component") +@UnitResource +public class UnitComponent implements ICommonQuery { + + @Resource + private UnitService unitService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getUnitList(map); + } + + private List getUnitList(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + String order = QueryUtils.order(map); + return unitService.select(name, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String name = StringUtil.getInfo(search, "name"); + return unitService.countUnit(name); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return unitService.insertUnit(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return unitService.updateUnit(beanJson, id); + } + + @Override + public int delete(Long id) { + return unitService.deleteUnit(id); + } + + @Override + public int batchDelete(String ids) { + return unitService.batchDeleteUnit(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return unitService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/unit/UnitResource.java b/src/main/java/com/jsh/erp/service/unit/UnitResource.java new file mode 100644 index 0000000000000000000000000000000000000000..316119930fd7c0246914bad15cd2b48667fe8964 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/unit/UnitResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.unit; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "unit", type = 40) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface UnitResource { +} diff --git a/src/main/java/com/jsh/erp/service/unit/UnitService.java b/src/main/java/com/jsh/erp/service/unit/UnitService.java new file mode 100644 index 0000000000000000000000000000000000000000..eb9ef1fd5d2ad1278eb0dff7579454adb3410a24 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/unit/UnitService.java @@ -0,0 +1,68 @@ +package com.jsh.erp.service.unit; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.Unit; +import com.jsh.erp.datasource.entities.UnitExample; +import com.jsh.erp.datasource.mappers.UnitMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class UnitService { + private Logger logger = LoggerFactory.getLogger(UnitService.class); + + @Resource + private UnitMapper unitMapper; + + public Unit getUnit(long id) { + return unitMapper.selectByPrimaryKey(id); + } + + public List getUnit() { + UnitExample example = new UnitExample(); + return unitMapper.selectByExample(example); + } + + public List select(String name, int offset, int rows) { + return unitMapper.selectByConditionUnit(name, offset, rows); + } + + public int countUnit(String name) { + return unitMapper.countsByUnit(name); + } + + public int insertUnit(String beanJson, HttpServletRequest request) { + Unit unit = JSONObject.parseObject(beanJson, Unit.class); + return unitMapper.insertSelective(unit); + } + + public int updateUnit(String beanJson, Long id) { + Unit unit = JSONObject.parseObject(beanJson, Unit.class); + unit.setId(id); + return unitMapper.updateByPrimaryKeySelective(unit); + } + + public int deleteUnit(Long id) { + return unitMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteUnit(String ids) { + List idList = StringUtil.strToLongList(ids); + UnitExample example = new UnitExample(); + example.createCriteria().andIdIn(idList); + return unitMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + UnitExample example = new UnitExample(); + example.createCriteria().andIdNotEqualTo(id).andUnameEqualTo(name); + List list = unitMapper.selectByExample(example); + return list.size(); + } +} diff --git a/src/main/java/com/jsh/erp/service/user/UserComponent.java b/src/main/java/com/jsh/erp/service/user/UserComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..aecd03002f79b17dbbe3f35664183d4299c36db6 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/user/UserComponent.java @@ -0,0 +1,72 @@ +package com.jsh.erp.service.user; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.*; + +@Service(value = "user_component") +@UserResource +public class UserComponent implements ICommonQuery { + + @Resource + private UserService userService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getUserList(map); + } + + private List getUserList(Map map) { + String search = map.get(Constants.SEARCH); + String userName = StringUtil.getInfo(search, "userName"); + String loginName = StringUtil.getInfo(search, "loginName"); + String order = QueryUtils.order(map); + String filter = QueryUtils.filter(map); + return userService.select(userName, loginName, QueryUtils.offset(map), QueryUtils.rows(map)); + } + + @Override + public int counts(Map map) { + String search = map.get(Constants.SEARCH); + String userName = StringUtil.getInfo(search, "userName"); + String loginName = StringUtil.getInfo(search, "loginName"); + return userService.countUser(userName, loginName); + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return userService.insertUser(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return userService.updateUser(beanJson, id); + } + + @Override + public int delete(Long id) { + return userService.deleteUser(id); + } + + @Override + public int batchDelete(String ids) { + return userService.batchDeleteUser(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return userService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/user/UserResource.java b/src/main/java/com/jsh/erp/service/user/UserResource.java new file mode 100644 index 0000000000000000000000000000000000000000..9b0fb611e20715800dfa4e4302c84d7f15733188 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/user/UserResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.user; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "user", type = 5) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface UserResource { +} diff --git a/src/main/java/com/jsh/erp/service/user/UserService.java b/src/main/java/com/jsh/erp/service/user/UserService.java new file mode 100644 index 0000000000000000000000000000000000000000..cb6c7f7831ce46a816b14e61657b06670201beb8 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/user/UserService.java @@ -0,0 +1,133 @@ +package com.jsh.erp.service.user; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.User; +import com.jsh.erp.datasource.entities.UserExample; +import com.jsh.erp.datasource.mappers.UserMapper; +import com.jsh.erp.utils.*; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.security.NoSuchAlgorithmException; +import java.util.List; +import java.util.Map; + +@Service +public class UserService { + private Logger logger = LoggerFactory.getLogger(UserService.class); + @Resource + private UserMapper userMapper; + + public User getUser(long id) { + return userMapper.selectByPrimaryKey(id); + } + + public List getUser() { + UserExample example = new UserExample(); + return userMapper.selectByExample(example); + } + + public List select(String userName, String loginName, int offset, int rows) { + return userMapper.selectByConditionUser(userName, loginName, offset, rows); + } + + public int countUser(String userName, String loginName) { + return userMapper.countsByUser(userName, loginName); + } + + public int insertUser(String beanJson, HttpServletRequest request) { + User user = JSONObject.parseObject(beanJson, User.class); + String password = "123456"; + //因密码用MD5加密,需要对密码进行转化 + try { + password = Tools.md5Encryp(password); + user.setPassword(password); + } catch (NoSuchAlgorithmException e) { + e.printStackTrace(); + logger.error(">>>>>>>>>>>>>>转化MD5字符串错误 :" + e.getMessage()); + } + return userMapper.insertSelective(user); + } + + public int updateUser(String beanJson, Long id) { + User user = JSONObject.parseObject(beanJson, User.class); + user.setId(id); + return userMapper.updateByPrimaryKeySelective(user); + } + + public int updateUserByObj(User user) { + return userMapper.updateByPrimaryKeySelective(user); + } + + public int resetPwd(String md5Pwd, Long id) { + User user = new User(); + user.setId(id); + user.setPassword(md5Pwd); + return userMapper.updateByPrimaryKeySelective(user); + } + + public int deleteUser(Long id) { + return userMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteUser(String ids) { + List idList = StringUtil.strToLongList(ids); + UserExample example = new UserExample(); + example.createCriteria().andIdIn(idList); + return userMapper.deleteByExample(example); + } + + public int validateUser(String username, String password) throws JshException { + try { + /**默认是可以登录的*/ + List list = null; + try { + UserExample example = new UserExample(); + example.createCriteria().andLoginameEqualTo(username); + list = userMapper.selectByExample(example); + } catch (Exception e) { + logger.error(">>>>>>>>访问验证用户姓名是否存在后台信息异常", e); + return ExceptionCodeConstants.UserExceptionCode.USER_ACCESS_EXCEPTION; + } + + if (null != list && list.size() == 0) { + return ExceptionCodeConstants.UserExceptionCode.USER_NOT_EXIST; + } + + try { + UserExample example = new UserExample(); + example.createCriteria().andLoginameEqualTo(username).andPasswordEqualTo(password); + list = userMapper.selectByExample(example); + } catch (Exception e) { + logger.error(">>>>>>>>>>访问验证用户密码后台信息异常", e); + return ExceptionCodeConstants.UserExceptionCode.USER_ACCESS_EXCEPTION; + } + + if (null != list && list.size() == 0) { + return ExceptionCodeConstants.UserExceptionCode.USER_PASSWORD_ERROR; + } + return ExceptionCodeConstants.UserExceptionCode.USER_CONDITION_FIT; + } catch (Exception e) { + throw new JshException("unknown exception", e); + } + } + + public User getUserByUserName(String username) { + UserExample example = new UserExample(); + example.createCriteria().andLoginameEqualTo(username); + List list = userMapper.selectByExample(example); + User user = list.get(0); + return user; + } + + public int checkIsNameExist(Long id, String name) { + UserExample example = new UserExample(); + example.createCriteria().andIdNotEqualTo(id).andLoginameEqualTo(name); + List list = userMapper.selectByExample(example); + return list.size(); + } +} diff --git a/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessComponent.java b/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessComponent.java new file mode 100644 index 0000000000000000000000000000000000000000..dedbccf9d86617125e9efe82f989a893ae67eb13 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessComponent.java @@ -0,0 +1,67 @@ +package com.jsh.erp.service.userBusiness; + +import com.jsh.erp.service.ICommonQuery; +import com.jsh.erp.service.depot.DepotResource; +import com.jsh.erp.service.depot.DepotService; +import com.jsh.erp.utils.Constants; +import com.jsh.erp.utils.QueryUtils; +import com.jsh.erp.utils.StringUtil; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; +import java.util.Map; + +@Service(value = "userBusiness_component") +@UserBusinessResource +public class UserBusinessComponent implements ICommonQuery { + + @Resource + private UserBusinessService userBusinessService; + + @Override + public Object selectOne(String condition) { + return null; + } + + @Override + public List select(Map map) { + return getUserBusinessList(map); + } + + private List getUserBusinessList(Map map) { + return null; + } + + @Override + public int counts(Map map) { + return 0; + } + + @Override + public int insert(String beanJson, HttpServletRequest request) { + return userBusinessService.insertUserBusiness(beanJson, request); + } + + @Override + public int update(String beanJson, Long id) { + return userBusinessService.updateUserBusiness(beanJson, id); + } + + @Override + public int delete(Long id) { + return userBusinessService.deleteUserBusiness(id); + } + + @Override + public int batchDelete(String ids) { + return userBusinessService.batchDeleteUserBusiness(ids); + } + + @Override + public int checkIsNameExist(Long id, String name) { + return userBusinessService.checkIsNameExist(id, name); + } + +} diff --git a/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessResource.java b/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessResource.java new file mode 100644 index 0000000000000000000000000000000000000000..d3e4f96d48e57afcec257dd7309999a665bd4183 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessResource.java @@ -0,0 +1,15 @@ +package com.jsh.erp.service.userBusiness; + +import com.jsh.erp.service.ResourceInfo; + +import java.lang.annotation.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +@ResourceInfo(value = "userBusiness", type = 50) +@Inherited +@Target(ElementType.TYPE) +@Retention(RetentionPolicy.RUNTIME) +public @interface UserBusinessResource { +} diff --git a/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessService.java b/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessService.java new file mode 100644 index 0000000000000000000000000000000000000000..865f791ed809ccd65cee9b9be5502c6b1a358cd9 --- /dev/null +++ b/src/main/java/com/jsh/erp/service/userBusiness/UserBusinessService.java @@ -0,0 +1,92 @@ +package com.jsh.erp.service.userBusiness; + +import com.alibaba.fastjson.JSONObject; +import com.jsh.erp.datasource.entities.UserBusiness; +import com.jsh.erp.datasource.entities.UserBusinessExample; +import com.jsh.erp.datasource.mappers.UserBusinessMapper; +import com.jsh.erp.utils.StringUtil; +import org.slf4j.Logger; +import org.slf4j.LoggerFactory; +import org.springframework.stereotype.Service; + +import javax.annotation.Resource; +import javax.servlet.http.HttpServletRequest; +import java.util.List; + +@Service +public class UserBusinessService { + private Logger logger = LoggerFactory.getLogger(UserBusinessService.class); + + @Resource + private UserBusinessMapper userBusinessMapper; + + public UserBusiness getUserBusiness(long id) { + return userBusinessMapper.selectByPrimaryKey(id); + } + + public List getUserBusiness() { + UserBusinessExample example = new UserBusinessExample(); + return userBusinessMapper.selectByExample(example); + } + + public int insertUserBusiness(String beanJson, HttpServletRequest request) { + UserBusiness userBusiness = JSONObject.parseObject(beanJson, UserBusiness.class); + return userBusinessMapper.insertSelective(userBusiness); + } + + public int updateUserBusiness(String beanJson, Long id) { + UserBusiness userBusiness = JSONObject.parseObject(beanJson, UserBusiness.class); + userBusiness.setId(id); + return userBusinessMapper.updateByPrimaryKeySelective(userBusiness); + } + + public int deleteUserBusiness(Long id) { + return userBusinessMapper.deleteByPrimaryKey(id); + } + + public int batchDeleteUserBusiness(String ids) { + List idList = StringUtil.strToLongList(ids); + UserBusinessExample example = new UserBusinessExample(); + example.createCriteria().andIdIn(idList); + return userBusinessMapper.deleteByExample(example); + } + + public int checkIsNameExist(Long id, String name) { + return 1; + } + + public List getBasicData(String keyId, String type){ + UserBusinessExample example = new UserBusinessExample(); + example.createCriteria().andKeyidEqualTo(keyId).andTypeEqualTo(type); + List list = userBusinessMapper.selectByExample(example); + return list; + } + + public Long checkIsValueExist(String type, String keyId) { + UserBusinessExample example = new UserBusinessExample(); + example.createCriteria().andTypeEqualTo(type).andKeyidEqualTo(keyId); + List list = userBusinessMapper.selectByExample(example); + Long id = null; + if(list.size() > 0) { + id = list.get(0).getId(); + } + return id; + } + + public Boolean checkIsUserBusinessExist(String TypeVale, String KeyIdValue, String UBValue) { + UserBusinessExample example = new UserBusinessExample(); + String newVaule = "%" + UBValue + "%"; + if(TypeVale !=null && KeyIdValue !=null) { + example.createCriteria().andTypeEqualTo(TypeVale).andKeyidEqualTo(KeyIdValue).andValueLike(newVaule); + } else { + example.createCriteria().andValueLike(newVaule); + } + List list = userBusinessMapper.selectByExample(example); + if(list.size() > 0) { + return true; + } else { + return false; + } + } + +} diff --git a/src/main/java/com/jsh/erp/utils/AnnotationUtils.java b/src/main/java/com/jsh/erp/utils/AnnotationUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..f3b5a80be677288e1b43c36244df4e983008f03d --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/AnnotationUtils.java @@ -0,0 +1,28 @@ +package com.jsh.erp.utils; + +import java.lang.annotation.Annotation; +import java.lang.annotation.Documented; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class AnnotationUtils { + public static A getAnnotation(Class cls, Class annotationClass) { + A res = cls.getAnnotation(annotationClass); + if (res == null) { + for (Annotation annotation : cls.getAnnotations()) { + if (annotation instanceof Documented) { + break; + } + res = getAnnotation(annotation.annotationType(), annotationClass); + if (res != null) + break; + } + } + return res; + } + + public static A getAnnotation(T obj, Class annotationClass) { + return getAnnotation(obj.getClass(), annotationClass); + } +} diff --git a/src/main/java/com/jsh/erp/utils/BaseResponseInfo.java b/src/main/java/com/jsh/erp/utils/BaseResponseInfo.java new file mode 100644 index 0000000000000000000000000000000000000000..f27deb829f2348a2ba2f6290bcd3675c5f039e5c --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/BaseResponseInfo.java @@ -0,0 +1,11 @@ +package com.jsh.erp.utils; + +public class BaseResponseInfo { + public int code; + public Object data; + + public BaseResponseInfo() { + code = 400; + data = null; + } +} diff --git a/src/main/java/com/jsh/erp/utils/ColumnPropertyUtil.java b/src/main/java/com/jsh/erp/utils/ColumnPropertyUtil.java new file mode 100644 index 0000000000000000000000000000000000000000..f3e7ad24a97e0572a40981f6325159ba8985aa95 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/ColumnPropertyUtil.java @@ -0,0 +1,65 @@ +package com.jsh.erp.utils; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class ColumnPropertyUtil { + + /** + * 将数据库字段转换成属性 + */ + public static String columnToProperty(String column) { + StringBuilder result = new StringBuilder(); + // 快速检查 + if (StringUtil.isEmpty(column)) { + // 没必要转换 + return ""; + } else if (!column.contains("_")) { + // 不做转换 + return column; + } else { + // 用下划线将原始字符串分割 + String[] columns = column.split("_"); + for (String columnSplit : columns) { + // 跳过原始字符串中开头、结尾的下换线或双重下划线 + if (StringUtil.isEmpty(columnSplit)) { + continue; + } + // 处理真正的驼峰片段 + if (result.length() == 0) { + // 第一个驼峰片段,全部字母都小写 + result.append(columnSplit.toLowerCase()); + } else { + // 其他的驼峰片段,首字母大写 + result.append(columnSplit.substring(0, 1).toUpperCase()).append(columnSplit.substring(1).toLowerCase()); + } + } + return result.toString(); + } + + } + + + /** + * 驼峰转换下划线 + */ + public static String propertyToColumn(String property) { + if (StringUtil.isEmpty(property)) { + return ""; + } + StringBuilder column = new StringBuilder(); + column.append(property.substring(0, 1).toLowerCase()); + for (int i = 1; i < property.length(); i++) { + String s = property.substring(i, i + 1); + // 在小写字母前添加下划线 + if (!Character.isDigit(s.charAt(0)) && s.equals(s.toUpperCase())) { + column.append("_"); + } + // 其他字符直接转成小写 + column.append(s.toLowerCase()); + } + + return column.toString(); + } + +} diff --git a/src/main/java/com/jsh/erp/utils/Constants.java b/src/main/java/com/jsh/erp/utils/Constants.java new file mode 100644 index 0000000000000000000000000000000000000000..f3a4026659b0685edf308bf5f7c42174c7926430 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/Constants.java @@ -0,0 +1,33 @@ +package com.jsh.erp.utils; + +import java.util.UUID; + +/** + * by jishenghua qq-752718920 2018-10-7 12:01:36 + */ +public class Constants { + + //查询参数 + public final static String PAGE_SIZE = "pageSize"; + public final static String CURRENT_PAGE = "currentPage"; + public final static String ORDER = "order"; + public final static String FILTER = "filter"; + public final static String SPLIT = ","; + public final static String SEARCH = "search"; + public final static String DEVICE_ID = "deviceId"; + public final static String OFFSET = "offset"; + public final static String IS_RECURSION = "isRecursion"; + public final static String IS_RECURSION_VALUE = "1"; + public final static String IS_QUERYBYNODEID = "isquerybyid"; + public final static String IS_QUERYBYNODEID_VALUE = "1"; + + //级联类别 + public final static String TYPE = "type"; + + //转发 + public final static String TEAM = "team"; + + //增加了角色等级常量 + public final static String LEVEL="level"; + +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/utils/ErpInfo.java b/src/main/java/com/jsh/erp/utils/ErpInfo.java new file mode 100644 index 0000000000000000000000000000000000000000..f83db5a2e7b57e51e72373b9f2883480f4a2fc3a --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/ErpInfo.java @@ -0,0 +1,36 @@ +package com.jsh.erp.utils; + +/** + * + */ +public enum ErpInfo { + //通过构造传递参数 + OK(200, "成功"), + BAD_REQUEST(400, "请求错误或参数错误"), + UNAUTHORIZED(401, "未认证用户"), + INVALID_VERIFY_CODE(461, "错误的验证码"), + ERROR(500, "服务内部错误"), + WARING_MSG(201, "提醒信息"), + REDIRECT(301, "session失效,重定向"), + FORWARD_REDIRECT(302, "转发请求session失效"), + FORWARD_FAILED(303, "转发请求失败!"); + + public final int code; + public final String name; + + public int getCode() { + return code; + } + + public String getName() { + return name; + } + + /** + * 定义枚举构造函数 + */ + ErpInfo(int code, String name) { + this.code = code; + this.name = name; + } +} diff --git a/src/main/java/com/jsh/util/ExceptionCodeConstants.java b/src/main/java/com/jsh/erp/utils/ExceptionCodeConstants.java similarity index 96% rename from src/main/java/com/jsh/util/ExceptionCodeConstants.java rename to src/main/java/com/jsh/erp/utils/ExceptionCodeConstants.java index db4afcade87ff0d57370d58e8a636f2f0174b567..9c235d8ce2de62ba24c885087b4089c65650db78 100644 --- a/src/main/java/com/jsh/util/ExceptionCodeConstants.java +++ b/src/main/java/com/jsh/erp/utils/ExceptionCodeConstants.java @@ -1,4 +1,4 @@ -package com.jsh.util; +package com.jsh.erp.utils; public interface ExceptionCodeConstants { /** diff --git a/src/main/java/com/jsh/erp/utils/ExtJsonUtils.java b/src/main/java/com/jsh/erp/utils/ExtJsonUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..a1c67a57d12a1d83b03031a3ed212b8e8c48ed0b --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/ExtJsonUtils.java @@ -0,0 +1,195 @@ +package com.jsh.erp.utils; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; +import com.alibaba.fastjson.parser.ParserConfig; +import com.alibaba.fastjson.parser.deserializer.ExtraProcessor; +import com.alibaba.fastjson.parser.deserializer.FieldDeserializer; +import com.alibaba.fastjson.serializer.*; + +import java.io.IOException; +import java.lang.reflect.Type; +import java.util.HashMap; +import java.util.HashSet; +import java.util.Map; +import java.util.Set; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class ExtJsonUtils { + private static class NPFloatCodec extends FloatCodec { + public void write(JSONSerializer serializer, Object object, Object fieldName, Type fieldType) throws IOException { + SerializeWriter out = serializer.getWriter(); + + if (object == null) { + if (serializer.isEnabled(SerializerFeature.WriteNullNumberAsZero)) { + out.write('0'); + } else { + out.writeNull(); + } + return; + } + + float floatValue = (Float) object; + + if (Float.isNaN(floatValue)) { + out.writeNull(); + } else if (Float.isInfinite(floatValue)) { + out.writeNull(); + } else { + String floatText = Float.toString(floatValue); + out.write(floatText); + + if (serializer.isEnabled(SerializerFeature.WriteClassName)) { + out.write('F'); + } + } + } + } + + private static class NPDoubleSerializer extends DoubleSerializer { + public void write(JSONSerializer serializer, Object object, Object fieldName, Type fieldType) throws IOException { + SerializeWriter out = serializer.getWriter(); + + if (object == null) { + if (!serializer.isEnabled(SerializerFeature.WriteNullNumberAsZero)) { + out.writeNull(); + } else { + out.write('0'); + } + return; + } + + double doubleValue = (Double) object; + + if (Double.isNaN(doubleValue)) { + out.writeNull(); + } else if (Double.isInfinite(doubleValue)) { + out.writeNull(); + } else { + String doubleText; + doubleText = Double.toString(doubleValue); + out.append(doubleText); + + if (serializer.isEnabled(SerializerFeature.WriteClassName)) { + out.write('D'); + } + } + } + } + + private static final String EXT_NAME = "ext"; + + static class ExtFilter extends AfterFilter implements PropertyFilter { + static { + SerializeConfig.getGlobalInstance().put(Float.class, new NPFloatCodec()); + SerializeConfig.getGlobalInstance().put(float.class, new NPFloatCodec()); + SerializeConfig.getGlobalInstance().put(Double.class, new NPDoubleSerializer()); + SerializeConfig.getGlobalInstance().put(double.class, new NPDoubleSerializer()); + } + + private Map map = new HashMap<>(); + + private Map> ignoredKey = new HashMap<>(); + + @Override + public boolean apply(Object object, String name, Object value) { + if (name.equals(EXT_NAME) && value instanceof String) { + map.put(object, JSON.parseObject((String) value)); + return false; + } + if (!map.containsKey(object)) { + ignoredKey.put(object, new HashSet()); + } + ignoredKey.get(object).add(name); +// if (value instanceof Float || value instanceof Double) { +// if (!floatMap.containsKey(object)) { +// floatMap.put(object, new HashMap()); +// } +// floatMap.get(object).put(name, value); +// return false; +// } + return true; + } + + @Override + public void writeAfter(Object object) { + if (map.containsKey(object)) { + Set ignoredKeys; + if (ignoredKey.containsKey(object)) { + ignoredKeys = ignoredKey.get(object); + } else { + ignoredKeys = new HashSet<>(); + } + for (Map.Entry entry : map.get(object).entrySet()) { + if (!ignoredKeys.contains(entry.getKey())) { + writeKeyValue(entry.getKey(), entry.getValue()); + } + } + } + } + } + + public static String toJSONString(Object object) { + return JSON.toJSONString(object, new ExtFilter()); + } + + public interface ExtExtractor { + String getExt(Object bean); + } + + private static class MetaInfo { + private final static ParserConfig INSTANCE = ParserConfig.getGlobalInstance(); + + private final Object object; + private final Map map; + private final JSONObject ext = new JSONObject(); + + private MetaInfo(Object object) { + this.object = object; + this.map = INSTANCE.getFieldDeserializers(object.getClass()); + } + + void gather(String key, Object value) { + if (!map.containsKey(key)) { + ext.put(key, value); + } + } + + public void update(ExtExtractor extractor) { + JSONObject old = JSON.parseObject(extractor.getExt(object)); + if (old == null) { + old = new JSONObject(); + } + old.putAll(ext); + map.get(EXT_NAME).setValue(object, old.toJSONString()); + } + + static boolean hasExt(Class clazz) { + return INSTANCE.getFieldDeserializers(clazz).containsKey(EXT_NAME); + } + } + + public static T parseObject(String text, final Class clazz, ExtExtractor extractor) { + final Map map = new HashMap<>(); + + T object = JSON.parseObject(text, clazz, new ExtraProcessor() { + @Override + public void processExtra(Object object, String key, Object value) { + if (!map.containsKey(object) && MetaInfo.hasExt(object.getClass())) { + map.put(object, new MetaInfo(object)); + } + if (map.containsKey(object)) { + map.get(object).gather(key, value); + } + } + }); + + for (Map.Entry entry : map.entrySet()) { + entry.getValue().update(extractor); + } + + return object; + } +} diff --git a/src/main/java/com/jsh/util/JshException.java b/src/main/java/com/jsh/erp/utils/JshException.java similarity index 98% rename from src/main/java/com/jsh/util/JshException.java rename to src/main/java/com/jsh/erp/utils/JshException.java index d7b2a0d36f6e2241394ac91fe1b9e6a9cfc2e331..9b189114cb6b9557fba983a4d54ca3cdbe675790 100644 --- a/src/main/java/com/jsh/util/JshException.java +++ b/src/main/java/com/jsh/erp/utils/JshException.java @@ -1,4 +1,4 @@ -package com.jsh.util; +package com.jsh.erp.utils; /** * @author jishenghua diff --git a/src/main/java/com/jsh/erp/utils/JsonUtils.java b/src/main/java/com/jsh/erp/utils/JsonUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..d990ccb278967da2804f9196cdc472e9b83d79b3 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/JsonUtils.java @@ -0,0 +1,21 @@ +package com.jsh.erp.utils; + +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; + +/** + * Created by jishenghua 2018-5-11 09:48:08 + * + * @author jishenghua + */ +public class JsonUtils { + + public static JSONObject ok(){ + JSONObject obj = new JSONObject(); + JSONObject tmp = new JSONObject(); + tmp.put("message", "成功"); + obj.put("code", 200); + obj.put("data", tmp); + return obj; + } +} diff --git a/src/main/java/com/jsh/erp/utils/OrderUtils.java b/src/main/java/com/jsh/erp/utils/OrderUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..38a312ca6911868219524143932211ff0b114600 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/OrderUtils.java @@ -0,0 +1,69 @@ +package com.jsh.erp.utils; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class OrderUtils { + + /** + * 将指定字段排序 + * + * @param orders 格式 属性名,排序方式 例如( name,asc或ip,desc) + * @return 排序字符串 例如:(name asc 或 ip desc) + */ + public static String getOrderString(String orders) { + if (StringUtil.isNotEmpty(orders)) { + String[] splits = orders.split(Constants.SPLIT); + if (splits.length == 2) { + String column = ColumnPropertyUtil.propertyToColumn(splits[0]); + if (column.equals("audit_status")) { + // TODO: 2015/12/24 这么处理不好,得相伴办法调整 + return "IF(`audit_status`=3,-1,`audit_status`) " + splits[1]; + } else if (column.equals("create_time") || column.equals("modify_time")) { + // TODO: 2015/12/24 这么处理不好,得相伴办法调整 + return column + " " + splits[1]; + } else { + return "convert(" + column + " using gbk) " + splits[1]; + } + } + } + return ""; + } + + public static String getJoinTablesOrderString(String orders, String tableName) { + if (StringUtil.isNotEmpty(orders)) { + String[] splits = orders.split(Constants.SPLIT); + if (splits.length == 2) { + return "convert(" + tableName + "." + ColumnPropertyUtil.propertyToColumn(splits[0]) + " using gbk) " + splits[1]; + } + } + return ""; + } + + + /** + * 将指定字段排序 + * inet_aton:mysql将IP 转成 long类别函数 + * + * @param orders 格式 属性名,排序方式 例如( name,asc或ip,desc) + * @param ipPropertyName 如果需要按IP属性排序,需要将属性名传入(可不传) + * @return 排序字符串 例如:(name asc 或 ip desc) + */ + public static String getOrderString(String orders, String... ipPropertyName) { + if (StringUtil.isNotEmpty(orders)) { + String[] splits = orders.split(Constants.SPLIT); + if (splits.length == 2) { + String column = ColumnPropertyUtil.propertyToColumn(splits[0]); + if (ipPropertyName != null && ipPropertyName.length > 0) { + for (String ip : ipPropertyName) { + if (ip.equals(column)) { + return "inet_aton(" + column + ") " + splits[1]; + } + } + } + return column + " " + splits[1]; + } + } + return ""; + } +} diff --git a/src/main/java/com/jsh/erp/utils/PageQueryInfo.java b/src/main/java/com/jsh/erp/utils/PageQueryInfo.java new file mode 100644 index 0000000000000000000000000000000000000000..8cb143ac653f3a738fe98b249eecb963c9c83534 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/PageQueryInfo.java @@ -0,0 +1,30 @@ +package com.jsh.erp.utils; + +import java.util.List; + +/** + * 分页查询结果 + * + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class PageQueryInfo { + + private Integer total; + private List rows; + + public Integer getTotal() { + return total; + } + + public void setTotal(Integer total) { + this.total = total; + } + + public List getRows() { + return rows; + } + + public void setRows(List rows) { + this.rows = rows; + } +} diff --git a/src/main/java/com/jsh/erp/utils/ParamUtils.java b/src/main/java/com/jsh/erp/utils/ParamUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..9e38f4cdad46e88b289dde45195210bd578cac2f --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/ParamUtils.java @@ -0,0 +1,40 @@ +package com.jsh.erp.utils; + +import javax.servlet.http.HttpServletRequest; +import java.util.Collections; +import java.util.Enumeration; +import java.util.HashMap; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class ParamUtils { + public static String getPageOffset(Integer currentPage, Integer pageSize) { + if (currentPage != null && pageSize != null) { + int offset = (currentPage - 1) * pageSize; + if (offset < 0) { + return 0 + ""; + } else { + return offset + ""; + } + } + return null; + } + + public static HashMap requestToMap(HttpServletRequest request) { + + HashMap parameterMap = new HashMap(); + Enumeration names = request.getParameterNames(); + if (names != null) { + for (String name : Collections.list(names)) { + parameterMap.put(name, request.getParameter(name)); + /*HttpMethod method = HttpMethod.valueOf(request.getMethod()); + if (method == GET || method == DELETE) + parameterMap.put(name, transcoding(request.getParameter(name))); + else + parameterMap.put(name, request.getParameter(name));*/ + } + } + return parameterMap; + } +} diff --git a/src/main/java/com/jsh/erp/utils/QueryUtils.java b/src/main/java/com/jsh/erp/utils/QueryUtils.java new file mode 100644 index 0000000000000000000000000000000000000000..3d7c1cc0d2d6c66c79b20912d8f9d7b7ffb76fd6 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/QueryUtils.java @@ -0,0 +1,142 @@ +package com.jsh.erp.utils; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONArray; +import com.alibaba.fastjson.JSONObject; +import org.springframework.util.Assert; + +import java.util.List; +import java.util.Map; + +import static com.jsh.erp.utils.Constants.CURRENT_PAGE; +import static com.jsh.erp.utils.Constants.PAGE_SIZE; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class QueryUtils { + public static String filterSqlSpecialChar(String search) { + return search != null ? search + .replaceAll("_", "\\\\_") + .replaceAll("!", "\\\\!") + .replaceAll("\\[", "\\\\[") + .replaceAll("\\]", "\\\\]") + .replaceAll("\\^", "\\\\^") : null; + } + + public static T list2One(List list, String label) { + Assert.notNull(label); + Assert.notEmpty(list, label + "对应的记录不存在"); + Assert.isTrue(list.size() == 1, label + "对应的记录不止一个"); + return list.get(0); + } + + public static T list2One(List list, String label, T defaultValue) { + Assert.notNull(list); + Assert.notNull(label); + if (list.isEmpty()) + return defaultValue; + else { + Assert.isTrue(list.size() == 1, label + "对应的记录不止一个"); + return list.get(0); + } + } + + public static List search(Map map) { + List search = null; + + String str = map.get(Constants.SEARCH); + if (StringUtil.isNotEmpty(str)) { + search = StringUtil.searchCondition(str); + } + return search; + } + + public static int rows(Map map) { + return Integer.parseInt(map.get(PAGE_SIZE)); + } + + public static int offset(Map map) { + return (currentPage(map) - 1) * pageSize(map); + } + + public static int pageSize(Map map) { + return Integer.parseInt(map.get(PAGE_SIZE)); + } + + public static int currentPage(Map map) { + int val = Integer.parseInt(map.get(CURRENT_PAGE)); + if (val < 1) + throw new RuntimeException("当前页数目:" + val + " 必须大于0"); + return val; + } + + public static String order(Map map) { + String orderString = OrderUtils.getOrderString(map.get(Constants.ORDER)); + return orderString.trim().isEmpty() ? null : orderString; + } + + public static Integer level(Map map) { + String levelString = map.get(Constants.LEVEL); + return StringUtil.isEmpty(levelString) ? null : Integer.parseInt(levelString); + } + + public static boolean isRecursion(Map map) { + String isRecursion = map.get(Constants.IS_RECURSION); + return StringUtil.isNotEmpty(isRecursion) && Constants.IS_RECURSION_VALUE.equals(isRecursion); + } + + public static int type(Map map) { + return Integer.parseInt(map.get(Constants.TYPE)); + } + + public static String filter(Map map) { + if (map.containsKey(Constants.FILTER)) { + JSONArray array = JSON.parseArray(map.get(Constants.FILTER)); + if (array.isEmpty()) { + return null; + } else { + boolean first = true; + StringBuilder builder = new StringBuilder(); + for (int idx = 0; idx < array.size(); ++idx) { + JSONObject object = array.getJSONObject(idx); + if (object.get("value") instanceof JSONArray) { + + JSONArray value = object.getJSONArray("value"); + + if (!value.isEmpty()) { + if (!first) { + builder.append(" AND "); + } else { + first = false; + } + + String key = object.getString("name"); + + builder.append("("); + + builder.append("`").append(key).append("`"); + + builder.append(" IN "); + + builder.append("("); + + for (int vidx = 0; vidx < value.size(); ++vidx) { + if (vidx != 0) { + builder.append(","); + } + builder.append(value.getString(vidx)); + } + builder.append(")"); + + builder.append(")"); + } + } + } + return builder.toString(); + } + } else { + return null; + } + } +} diff --git a/src/main/java/com/jsh/erp/utils/RegExpTools.java b/src/main/java/com/jsh/erp/utils/RegExpTools.java new file mode 100644 index 0000000000000000000000000000000000000000..56d0f9a1000f41674c4c5566dfd96b5bb0fbfe55 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/RegExpTools.java @@ -0,0 +1,154 @@ +package com.jsh.erp.utils; + +import org.springframework.util.Assert; + +import java.util.ArrayList; +import java.util.List; + +/** + * Created by Adm on 2015/12/14. + * + * @author yubiao + *

+ * mysql匹配正则表达式 + */ +public class RegExpTools { + /** + * @param search 模糊匹配字符串数组 + */ + public static String regexp(List search) { + if (search == null || search.isEmpty()) + return null; + String regexp = ""; + for (String s : search) { + if (!regexp.isEmpty()) { + regexp = regexp + "|"; + } + regexp = regexp + ".*"; + regexp = regexp + s.replaceAll("\\.", "\\\\."); + regexp = regexp + ".*"; + } + return regexp; + } + + /** + * @param key json字段key + * @param search 模糊匹配字符串数组 + * json的mysql匹配正则表达式 + */ + public static String regexp(String key, List search) { + if (search == null || search.isEmpty()) + return null; + StringBuilder sb = new StringBuilder(); + for (String s : search) { + if (sb.length() == 0) { + sb.append(".*\\\"").append(key).append("\\\":\\\"[a-zA-Z0-9]*("); + } else { + sb.append("|"); + } + sb.append(s); + } + sb.append(")[a-zA-Z0-9]*\\\".*"); + return sb.toString(); + } + + public static class RegExp { + public static final String ANY = ".*"; + public static final String QUOTE = "\\\""; + public static final String LFT_PAREN = "("; + public static final String RHT_PAREN = ")"; + public static final String COLON = ":"; + public static final String OR = "|"; + + private final StringBuilder builder = new StringBuilder(); + + public RegExp any() { + builder.append(ANY); + return this; + } + + public RegExp lftParen() { + builder.append(LFT_PAREN); + return this; + } + + public RegExp rhtParen() { + builder.append(RHT_PAREN); + return this; + } + + public RegExp colon() { + builder.append(COLON); + return this; + + } + + public RegExp quote() { + builder.append(QUOTE); + return this; + } + + public RegExp quote(String str) { + Assert.notNull(str, "str为空"); + builder.append(QUOTE).append(str).append(QUOTE); + return this; + } + + public RegExp value(String str) { + Assert.notNull(str, "str为空"); + builder.append(str); + return this; + } + + public RegExp or() { + builder.append(OR); + return this; + } + + public RegExp or(List values) { + Assert.notEmpty(values, "values必须非空"); + lftParen(); + boolean first = true; + for (String value : values) { + if (first) { + builder.append(value); + first = false; + } else { + builder.append(OR).append(value); + } + } + rhtParen(); + return this; + } + + @Override + public String toString() { + return builder.toString(); + } + + public static void main(String[] args) { + List values = new ArrayList(); + + values.add("310"); + values.add(String.valueOf(2)); + values.add(String.valueOf(3)); + + RegExp exp = new RegExp(); + + exp.any(); + exp.quote("fullKbNum").colon() + .quote() + .value("[a-zA-Z0-9]*").or(values).value("[a-zA-Z0-9]*") + .quote(); + exp.or(); + exp.quote("gbId[a-f0-9-]{36}").colon() + .quote() + .value("[0-9]*").or(values).value("[0-9]*") + .quote(); + exp.any(); + + System.out.println(exp); + } + + } +} diff --git a/src/main/java/com/jsh/erp/utils/ResponseCode.java b/src/main/java/com/jsh/erp/utils/ResponseCode.java new file mode 100644 index 0000000000000000000000000000000000000000..b7072ac68ecad69eee9c687323e49e201630e701 --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/ResponseCode.java @@ -0,0 +1,24 @@ +package com.jsh.erp.utils; + +import com.alibaba.fastjson.annotation.JSONCreator; +import com.alibaba.fastjson.annotation.JSONField; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class ResponseCode { + + public final int code; + public final Object data; + + /** + * + * @param code + * @param data + */ + @JSONCreator + public ResponseCode(@JSONField(name = "code") int code, @JSONField(name = "data")Object data) { + this.code = code; + this.data = data; + } +} \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/utils/ResponseJsonUtil.java b/src/main/java/com/jsh/erp/utils/ResponseJsonUtil.java new file mode 100644 index 0000000000000000000000000000000000000000..953cc8d67ef341dff6255b1f83ee803f0df2019a --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/ResponseJsonUtil.java @@ -0,0 +1,83 @@ +package com.jsh.erp.utils; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.serializer.SerializerFeature; +import com.alibaba.fastjson.serializer.ValueFilter; + +import java.text.SimpleDateFormat; +import java.util.Date; +import java.util.HashMap; +import java.util.Map; +import java.util.TimeZone; + +public class ResponseJsonUtil { + public static final SimpleDateFormat FORMAT = new SimpleDateFormat("yyyy-MM-dd"); + + static { + FORMAT.setTimeZone(TimeZone.getTimeZone("GMT+8")); + } + + /** + * 响应过滤器 + */ + public static final class ResponseFilter extends ExtJsonUtils.ExtFilter implements ValueFilter { + @Override + public Object process(Object object, String name, Object value) { + if (name.equals("createTime") || name.equals("modifyTime")) { + return value; + } else if (value instanceof Date) { + return FORMAT.format(value); + } else { + return value; + } + } + } + + /** + * + * @param responseCode + * @return + */ + public static String backJson4HttpApi(ResponseCode responseCode) { + if (responseCode != null) { + String result = JSON.toJSONString(responseCode, new ResponseFilter(), + SerializerFeature.DisableCircularReferenceDetect, + SerializerFeature.WriteNonStringKeyAsString); + result = result.replaceFirst("\"data\":\\{", ""); + return result.substring(0, result.length() - 1); + } + return null; + } + + /** + * 验证失败的json串 + * @param code + * @return + */ + public static String backJson4VerifyFailure(int code) { + Map map = new HashMap(); + map.put("message", "未通过验证"); + return JSON.toJSONString(new ResponseCode(code, map), new ResponseFilter(), + SerializerFeature.DisableCircularReferenceDetect, + SerializerFeature.WriteNonStringKeyAsString); + } + + /** + * 成功的json串 + * @param responseCode + * @return + */ + public static String backJson(ResponseCode responseCode) { + if (responseCode != null) { + return JSON.toJSONString(responseCode, new ResponseFilter(), + SerializerFeature.DisableCircularReferenceDetect, + SerializerFeature.WriteNonStringKeyAsString); + } + return null; + } + + public static String returnJson(Map map, String message, int code) { + map.put("message", message); + return backJson(new ResponseCode(code, map)); + } +} diff --git a/src/main/java/com/jsh/erp/utils/StringUtil.java b/src/main/java/com/jsh/erp/utils/StringUtil.java new file mode 100644 index 0000000000000000000000000000000000000000..0e712dcdff43c77af09e8945ba61295e4fb657af --- /dev/null +++ b/src/main/java/com/jsh/erp/utils/StringUtil.java @@ -0,0 +1,196 @@ +package com.jsh.erp.utils; + +import com.alibaba.fastjson.JSON; +import com.alibaba.fastjson.JSONObject; + +import java.text.ParseException; +import java.text.SimpleDateFormat; +import java.util.*; + +/** + * @author jishenghua qq752718920 2018-10-7 15:26:27 + */ +public class StringUtil { + + private StringUtil() { + + } + + private static String DEFAULT_FORMAT = "yyyy-MM-dd HH:mm:ss"; + + public static String filterNull(String str) { + if (str == null) { + return ""; + } else { + return str.trim(); + } + } + + public static boolean stringEquels(String source,String target) { + if(isEmpty(source)||isEmpty(target)){ + return false; + }else{ + return source.equals(target); + } + } + + public static boolean isEmpty(String str) { + return str == null || "".equals(str.trim()); + } + + public static boolean isNotEmpty(String str) { + return !isEmpty(str); + } + + public static String getSysDate(String format) { + if (StringUtil.isEmpty(format)) { + format = DEFAULT_FORMAT; + } + SimpleDateFormat df = new SimpleDateFormat(format); + return df.format(new Date()); + } + + public static Date getDateByString(String date, String format) { + if (StringUtil.isEmpty(format)) { + format = DEFAULT_FORMAT; + } + if (StringUtil.isNotEmpty(date)) { + SimpleDateFormat sdf = new SimpleDateFormat(format); + try { + return sdf.parse(date); + } catch (ParseException e) { + throw new RuntimeException("转换为日期类型错误:DATE:" + date + " FORMAT:" + format); + } + } else { + return null; + } + } + + public static Date getDateByLongDate(Long millis) { + if (millis == null) { + return new Date(); + } + Calendar cal = Calendar.getInstance(); + cal.setTimeInMillis(millis); + return cal.getTime(); + + } + + public static UUID stringToUUID(String id) { + if (StringUtil.isNotEmpty(id)) { + return UUID.fromString(id); + } else { + return null; + } + } + + public static Integer parseInteger(String str) { + if (StringUtil.isNotEmpty(str)) { + return Integer.parseInt(str); + } else { + return null; + } + } + + public static List listToUUID(List listStrs) { + if (listStrs != null && listStrs.size() > 0) { + List uuidList = new ArrayList(); + for (String str : listStrs) { + uuidList.add(UUID.fromString(str)); + } + return uuidList; + } else { + return null; + } + } + + public static List arrayToUUIDList(String[] uuids) { + if (uuids != null && uuids.length > 0) { + List uuidList = new ArrayList(); + for (String str : uuids) { + uuidList.add(UUID.fromString(str)); + } + return uuidList; + } else { + return null; + } + } + + //是否是JSON + public static boolean containsAny(String str, String... flag) { + if (str != null) { + if (flag == null || flag.length == 0) { + flag = "[-{-}-]-,".split("-"); + } + for (String s : flag) { + if (str.contains(s)) { + return true; + } + } + } + return false; + } + + public static String getModifyOrgOperateData(UUID resourceId, UUID orgId) { + if (resourceId != null && orgId != null) { + Map map = new HashMap(); + map.put(resourceId, orgId); + return JSON.toJSONString(map); + } + return ""; + } + + public static String[] listToStringArray(List list) { + if (list != null && !list.isEmpty()) { + return list.toArray(new String[list.size()]); + } + return new String[0]; + } + + public static List stringToListArray(String[] strings) { + if (strings != null && strings.length > 0) { + return Arrays.asList(strings); + } + return new ArrayList(); + } + + /** + * String字符串转成List数据格式 + * String str = "1,2,3,4,5,6" -> List listLong [1,2,3,4,5,6]; + * + * @param strArr + * @return + */ + public static List strToLongList(String strArr) { + List idList=new ArrayList(); + String[] d=strArr.split(","); + for (int i = 0, size = d.length; i < size; i++) { + if(d[i]!=null) { + idList.add(Long.parseLong(d[i])); + } + } + return idList; + } + + public static List searchCondition(String search) { + if (isEmpty(search)) { + return new ArrayList(); + }else{ + //String[] split = search.split(" "); + String[] split = search.split("#"); + return stringToListArray(split); + } + } + + public static String getInfo(String search, String key){ + String value = ""; + if(search!=null) { + JSONObject obj = JSONObject.parseObject(search); + value = obj.getString(key); + if(value.equals("")) { + value = null; + } + } + return value; + } +} diff --git a/src/main/java/com/jsh/util/Tools.java b/src/main/java/com/jsh/erp/utils/Tools.java similarity index 99% rename from src/main/java/com/jsh/util/Tools.java rename to src/main/java/com/jsh/erp/utils/Tools.java index 84dcfe3660b5e6f604224365bede221387f75521..31c23cdb3fa74b73a7ca773a32358b5226d6c48e 100644 --- a/src/main/java/com/jsh/util/Tools.java +++ b/src/main/java/com/jsh/erp/utils/Tools.java @@ -1,4 +1,4 @@ -package com.jsh.util; +package com.jsh.erp.utils; import javax.servlet.http.HttpServletRequest; import java.io.IOException; @@ -12,10 +12,7 @@ import java.security.MessageDigest; import java.security.NoSuchAlgorithmException; import java.text.ParseException; import java.text.SimpleDateFormat; -import java.util.Calendar; -import java.util.Date; -import java.util.Locale; -import java.util.UUID; +import java.util.*; import java.util.regex.Pattern; /** diff --git a/src/main/java/com/jsh/model/po/Account.java b/src/main/java/com/jsh/model/po/Account.java deleted file mode 100644 index 69e11d93206651f5f355582acad2b49b8141fccf..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Account.java +++ /dev/null @@ -1,85 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Account implements java.io.Serializable { - private Long Id; - private String Name; - private String SerialNo; - private Double InitialAmount; - private Double CurrentAmount; - private Boolean IsDefault; - private String Remark; - - public Account() { - - } - - public Account(Long Id) { - this.Id = Id; - } - - public Account(String name, String serialNo, Double initialAmount, Double currentAmount, Boolean isDefault, String remark) { - Name = name; - SerialNo = serialNo; - InitialAmount = initialAmount; - CurrentAmount = currentAmount; - IsDefault = isDefault; - Remark = remark; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public String getSerialNo() { - return SerialNo; - } - - public void setSerialNo(String serialNo) { - SerialNo = serialNo; - } - - public Double getInitialAmount() { - return InitialAmount; - } - - public void setInitialAmount(Double initialAmount) { - InitialAmount = initialAmount; - } - - public Double getCurrentAmount() { - return CurrentAmount; - } - - public void setCurrentAmount(Double currentAmount) { - CurrentAmount = currentAmount; - } - - public Boolean getIsDefault() { - return IsDefault; - } - - public void setIsDefault(Boolean isDefault) { - IsDefault = isDefault; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } -} diff --git a/src/main/java/com/jsh/model/po/AccountHead.java b/src/main/java/com/jsh/model/po/AccountHead.java deleted file mode 100644 index 99f12789e5538e211e8148ea37279acfc0ca5ac4..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/AccountHead.java +++ /dev/null @@ -1,121 +0,0 @@ -package com.jsh.model.po; - -import java.sql.Timestamp; - -@SuppressWarnings("serial") -public class AccountHead implements java.io.Serializable { - private Long Id; - private String Type; - private Supplier OrganId; - private Person HandsPersonId; - private Double ChangeAmount; - private Double TotalPrice; - private Account AccountId; - private String BillNo; - private Timestamp BillTime; - private String Remark; - - public AccountHead() { - - } - - public AccountHead(Long Id) { - this.Id = Id; - } - - public AccountHead(String type, Supplier organId, - Person handsPersonId, Double changeAmount, Double totalPrice, - Account accountId, String billNo, Timestamp billTime, String remark) { - super(); - Type = type; - OrganId = organId; - HandsPersonId = handsPersonId; - ChangeAmount = changeAmount; - TotalPrice = totalPrice; - AccountId = accountId; - BillNo = billNo; - BillTime = billTime; - Remark = remark; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public Supplier getOrganId() { - return OrganId; - } - - public void setOrganId(Supplier organId) { - OrganId = organId; - } - - public Person getHandsPersonId() { - return HandsPersonId; - } - - public void setHandsPersonId(Person handsPersonId) { - HandsPersonId = handsPersonId; - } - - public Double getChangeAmount() { - return ChangeAmount; - } - - public void setChangeAmount(Double changeAmount) { - ChangeAmount = changeAmount; - } - - public Double getTotalPrice() { - return TotalPrice; - } - - public void setTotalPrice(Double totalPrice) { - TotalPrice = totalPrice; - } - - public Account getAccountId() { - return AccountId; - } - - public void setAccountId(Account accountId) { - AccountId = accountId; - } - - public String getBillNo() { - return BillNo; - } - - public void setBillNo(String billNo) { - BillNo = billNo; - } - - public Timestamp getBillTime() { - return BillTime; - } - - public void setBillTime(Timestamp billTime) { - BillTime = billTime; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - -} diff --git a/src/main/java/com/jsh/model/po/AccountItem.java b/src/main/java/com/jsh/model/po/AccountItem.java deleted file mode 100644 index e08bd23cdf8d03462ecf03146d683468e22b0f00..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/AccountItem.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class AccountItem implements java.io.Serializable { - private Long Id; - private AccountHead HeaderId; - private Account AccountId; - private InOutItem InOutItemId; - private Double EachAmount; - private String Remark; - - public AccountItem() { - - } - - public AccountItem(Long Id) { - this.Id = Id; - } - - public AccountItem(AccountHead headerId, Account accountId, - InOutItem inOutItemId, Double eachAmount, String remark) { - super(); - HeaderId = headerId; - AccountId = accountId; - InOutItemId = inOutItemId; - EachAmount = eachAmount; - Remark = remark; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public AccountHead getHeaderId() { - return HeaderId; - } - - public void setHeaderId(AccountHead headerId) { - HeaderId = headerId; - } - - public Account getAccountId() { - return AccountId; - } - - public void setAccountId(Account accountId) { - AccountId = accountId; - } - - public InOutItem getInOutItemId() { - return InOutItemId; - } - - public void setInOutItemId(InOutItem inOutItemId) { - InOutItemId = inOutItemId; - } - - public Double getEachAmount() { - return EachAmount; - } - - public void setEachAmount(Double eachAmount) { - EachAmount = eachAmount; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - -} diff --git a/src/main/java/com/jsh/model/po/App.java b/src/main/java/com/jsh/model/po/App.java deleted file mode 100644 index a6af765de37cd6dee885b6576a22fb38e0484c03..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/App.java +++ /dev/null @@ -1,170 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class App implements java.io.Serializable { - private Long Id; - private String Number; - private String Name; - private String Type; - private String Icon; - private String URL; - private String Width; - private String Height; - private Boolean ReSize; - private Boolean OpenMax; - private Boolean Flash; - private String ZL; - private String Sort; - private String Remark; - private Boolean Enabled; - - - public App() { - - } - - public App(Long Id) { - this.Id = Id; - } - - public App(String Number, String Name, String Type, String Icon, String URL, String Width, - String Height, Boolean ReSize, Boolean OpenMax, Boolean Flash, String ZL, String Sort, - String Remark, Boolean Enabled) { - this.Number = Number; - this.Name = Name; - this.Type = Type; - this.Icon = Icon; - this.URL = URL; - this.Width = Width; - this.Height = Height; - this.ReSize = ReSize; - this.OpenMax = OpenMax; - this.Flash = Flash; - this.ZL = ZL; - this.Sort = Sort; - this.Remark = Remark; - this.Enabled = Enabled; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getNumber() { - return Number; - } - - public void setNumber(String number) { - Number = number; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getIcon() { - return Icon; - } - - public void setIcon(String icon) { - Icon = icon; - } - - public String getURL() { - return URL; - } - - public void setURL(String uRL) { - URL = uRL; - } - - public String getWidth() { - return Width; - } - - public void setWidth(String width) { - Width = width; - } - - public String getHeight() { - return Height; - } - - public void setHeight(String height) { - Height = height; - } - - public Boolean getReSize() { - return ReSize; - } - - public void setReSize(Boolean reSize) { - ReSize = reSize; - } - - public Boolean getOpenMax() { - return OpenMax; - } - - public void setOpenMax(Boolean openMax) { - OpenMax = openMax; - } - - public Boolean getFlash() { - return Flash; - } - - public void setFlash(Boolean flash) { - Flash = flash; - } - - public String getZL() { - return ZL; - } - - public void setZL(String zL) { - ZL = zL; - } - - public String getSort() { - return Sort; - } - - public void setSort(String sort) { - Sort = sort; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public Boolean getEnabled() { - return Enabled; - } - - public void setEnabled(Boolean enabled) { - Enabled = enabled; - } - - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Asset.java b/src/main/java/com/jsh/model/po/Asset.java deleted file mode 100644 index 1f19cdf3a507a682993d9dc57a9e12ad1da7b41f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Asset.java +++ /dev/null @@ -1,320 +0,0 @@ -package com.jsh.model.po; - -import java.sql.Timestamp; -import java.util.Map; - -@SuppressWarnings("serial") -public class Asset implements java.io.Serializable { - private Long id; - private Assetname assetname; - private String location; - private Short status; - private Basicuser user; - private Double price; - private Timestamp purchasedate; - private Timestamp periodofvalidity; - private Timestamp warrantydate; - private String assetnum; - private String serialnum; - private Supplier supplier; - private String labels; - private String description; - private String addMonth; - private Timestamp createtime; - private Basicuser creator; - private Timestamp updatetime; - private Basicuser updator; - - //----------以下属性导入exel表格使用-------------------- - /** - * 类型 right--正确 warn--警告 wrong--错误 - */ - private Map cellInfo; - - /** - * 行号 - */ - private Integer rowLineNum; - - /** - * 保存价格 - */ - private String priceStr; - - /** - * 资产名称 - */ - private String assetnameStr; - - /** - * 资产类型 - */ - private String category; - - /** - * 购买日期 - */ - private String purchasedateStr; - - /** - * 有效日期 - */ - private String periodofvalidityStr; - - /** - * 保修日期 - */ - private String warrantydateStr; - - public Asset() { - - } - - public Asset(Long id) { - this.id = id; - } - - public Asset(Assetname assetname, String location, - Short status, Basicuser user, Double price, Timestamp purchasedate, - Timestamp periodofvalidity, Timestamp warrantydate, - String assetnum, String serialnum, Supplier supplier, - String description, Timestamp createtime, Basicuser creator, - Timestamp updatetime, String labels, Basicuser updator, String addMonth) { - super(); - this.assetname = assetname; - this.location = location; - this.status = status; - this.user = user; - this.price = price; - this.purchasedate = purchasedate; - this.periodofvalidity = periodofvalidity; - this.warrantydate = warrantydate; - this.assetnum = assetnum; - this.serialnum = serialnum; - this.supplier = supplier; - this.description = description; - this.createtime = createtime; - this.creator = creator; - this.updatetime = updatetime; - this.updator = updator; - this.labels = labels; - this.addMonth = addMonth; - } - - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public Assetname getAssetname() { - return assetname; - } - - public void setAssetname(Assetname assetname) { - this.assetname = assetname; - } - - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public Short getStatus() { - return status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public Basicuser getUser() { - return user; - } - - public void setUser(Basicuser user) { - this.user = user; - } - - public Double getPrice() { - return price; - } - - public void setPrice(Double price) { - this.price = price; - } - - public Timestamp getPurchasedate() { - return purchasedate; - } - - public void setPurchasedate(Timestamp purchasedate) { - this.purchasedate = purchasedate; - } - - public Timestamp getPeriodofvalidity() { - return periodofvalidity; - } - - public void setPeriodofvalidity(Timestamp periodofvalidity) { - this.periodofvalidity = periodofvalidity; - } - - public Timestamp getWarrantydate() { - return warrantydate; - } - - public void setWarrantydate(Timestamp warrantydate) { - this.warrantydate = warrantydate; - } - - public String getAssetnum() { - return assetnum; - } - - public void setAssetnum(String assetnum) { - this.assetnum = assetnum; - } - - public String getSerialnum() { - return serialnum; - } - - public void setSerialnum(String serialnum) { - this.serialnum = serialnum; - } - - public Supplier getSupplier() { - return supplier; - } - - public void setSupplier(Supplier supplier) { - this.supplier = supplier; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Timestamp getCreatetime() { - return createtime; - } - - public void setCreatetime(Timestamp createtime) { - this.createtime = createtime; - } - - public Basicuser getCreator() { - return creator; - } - - public void setCreator(Basicuser creator) { - this.creator = creator; - } - - public Timestamp getUpdatetime() { - return updatetime; - } - - public void setUpdatetime(Timestamp updatetime) { - this.updatetime = updatetime; - } - - public Basicuser getUpdator() { - return updator; - } - - public void setUpdator(Basicuser updator) { - this.updator = updator; - } - - public String getLabels() { - return labels; - } - - public void setLabels(String labels) { - this.labels = labels; - } - - public String getAddMonth() { - return addMonth; - } - - public void setAddMonth(String addMonth) { - this.addMonth = addMonth; - } - - public Integer getRowLineNum() { - return rowLineNum; - } - - public void setRowLineNum(Integer rowLineNum) { - this.rowLineNum = rowLineNum; - } - - public Map getCellInfo() { - return cellInfo; - } - - public void setCellInfo(Map cellInfo) { - this.cellInfo = cellInfo; - } - - public String getPriceStr() { - return priceStr; - } - - public void setPriceStr(String priceStr) { - this.priceStr = priceStr; - } - - public String getAssetnameStr() { - return assetnameStr; - } - - public void setAssetnameStr(String assetnameStr) { - this.assetnameStr = assetnameStr; - } - - public String getCategory() { - return category; - } - - public void setCategory(String category) { - this.category = category; - } - - public String getPurchasedateStr() { - return purchasedateStr; - } - - public void setPurchasedateStr(String purchasedateStr) { - this.purchasedateStr = purchasedateStr; - } - - public String getPeriodofvalidityStr() { - return periodofvalidityStr; - } - - public void setPeriodofvalidityStr(String periodofvalidityStr) { - this.periodofvalidityStr = periodofvalidityStr; - } - - public String getWarrantydateStr() { - return warrantydateStr; - } - - public void setWarrantydateStr(String warrantydateStr) { - this.warrantydateStr = warrantydateStr; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Assetname.java b/src/main/java/com/jsh/model/po/Assetname.java deleted file mode 100644 index 7ea410f0c2c89ad5da1bb5e40a59561843a4cf4f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Assetname.java +++ /dev/null @@ -1,77 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Assetname implements java.io.Serializable { - private Long id; - private String assetname; - private Short isystem; - private Category category; - private String description; - private Short isconsumables; - - public Assetname() { - - } - - public Assetname(Long id) { - this.id = id; - } - - public Assetname(String assetname, Short isystem, String description, - Short isconsumables, Category category) { - this.assetname = assetname; - this.isystem = isystem; - this.description = description; - this.isconsumables = isconsumables; - this.category = category; - } - - public Long getId() { - return this.id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getAssetname() { - return this.assetname; - } - - public void setAssetname(String assetname) { - this.assetname = assetname; - } - - public Short getIsystem() { - return this.isystem; - } - - public void setIsystem(Short isystem) { - this.isystem = isystem; - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Short getIsconsumables() { - return this.isconsumables; - } - - public void setIsconsumables(Short isconsumables) { - this.isconsumables = isconsumables; - } - - public Category getCategory() { - return category; - } - - public void setCategory(Category category) { - this.category = category; - } - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Basicuser.java b/src/main/java/com/jsh/model/po/Basicuser.java deleted file mode 100644 index 02136d01ea820801fb812b79ac43852ced5758d1..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Basicuser.java +++ /dev/null @@ -1,147 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Basicuser implements java.io.Serializable { - private Long id; - private String username; - private String loginame; - private String password; - private String position; - private String department; - private String email; - private String phonenum; - private Short ismanager; - private Short isystem; - private Short status; - private String description; - private String remark; - - public Basicuser() { - } - - public Basicuser(Long id) { - this.id = id; - } - - public Basicuser(String username, String loginame, String password, - String position, String department, String email, String phonenum, - Short ismanager, Short isystem, Short status, String description, - String remark) { - this.username = username; - this.loginame = loginame; - this.password = password; - this.position = position; - this.department = department; - this.email = email; - this.phonenum = phonenum; - this.ismanager = ismanager; - this.isystem = isystem; - this.status = status; - this.description = description; - this.remark = remark; - } - - public Long getId() { - return this.id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getUsername() { - return this.username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getLoginame() { - return this.loginame; - } - - public void setLoginame(String loginame) { - this.loginame = loginame; - } - - public String getPassword() { - return this.password; - } - - public void setPassword(String password) { - this.password = password; - } - - public String getPosition() { - return this.position; - } - - public void setPosition(String position) { - this.position = position; - } - - public String getDepartment() { - return this.department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getEmail() { - return this.email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getPhonenum() { - return this.phonenum; - } - - public void setPhonenum(String phonenum) { - this.phonenum = phonenum; - } - - public Short getIsmanager() { - return this.ismanager; - } - - public void setIsmanager(Short ismanager) { - this.ismanager = ismanager; - } - - public Short getIsystem() { - return this.isystem; - } - - public void setIsystem(Short isystem) { - this.isystem = isystem; - } - - public Short getStatus() { - return this.status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getRemark() { - return this.remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Category.java b/src/main/java/com/jsh/model/po/Category.java deleted file mode 100644 index 4a10fd8e272c5c54c3c1e24bf9458cfdcf507b1c..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Category.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Category implements java.io.Serializable { - private Long id; - private String assetname; - private Short isystem; - private String description; - - public Category() { - - } - - public Category(Long id) { - this.id = id; - } - - public Category(String assetname, Short isystem, String description) { - this.assetname = assetname; - this.isystem = isystem; - this.description = description; - } - - public Long getId() { - return this.id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getAssetname() { - return this.assetname; - } - - public void setAssetname(String assetname) { - this.assetname = assetname; - } - - public Short getIsystem() { - return this.isystem; - } - - public void setIsystem(Short isystem) { - this.isystem = isystem; - } - - public String getDescription() { - return this.description; - } - - public void setDescription(String description) { - this.description = description; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Depot.java b/src/main/java/com/jsh/model/po/Depot.java deleted file mode 100644 index 696380813659be9485814f0532fa30c5bbb6ae39..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Depot.java +++ /dev/null @@ -1,96 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Depot implements java.io.Serializable { - private Long id; - private String name; - private String address; - private Double warehousing; - private Double truckage; - private Integer type; - private String sort; - private String remark; - - public Depot() { - - } - - public Depot(Long id) { - this.id = id; - } - - public Depot(String name, String address, Double warehousing, Double truckage, Integer type, String sort, String remark) { - this.name = name; - this.address = address; - this.warehousing = warehousing; - this.truckage = truckage; - this.type = type; - this.sort = sort; - this.remark = remark; - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address; - } - - public Double getWarehousing() { - return warehousing; - } - - public void setWarehousing(Double warehousing) { - this.warehousing = warehousing; - } - - public Double getTruckage() { - return truckage; - } - - public void setTruckage(Double truckage) { - this.truckage = truckage; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getSort() { - return sort; - } - - public void setSort(String sort) { - this.sort = sort; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/DepotHead.java b/src/main/java/com/jsh/model/po/DepotHead.java deleted file mode 100644 index 1f551b90c53bd7a676404da7624a351ea641bc73..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/DepotHead.java +++ /dev/null @@ -1,300 +0,0 @@ -package com.jsh.model.po; - -import java.sql.Timestamp; - -@SuppressWarnings("serial") -public class DepotHead implements java.io.Serializable { - private Long Id; - private String Type; - private String SubType; - private Depot ProjectId; - private String DefaultNumber; - private String Number; - private String OperPersonName; - private Timestamp CreateTime; - private Timestamp OperTime; - private Supplier OrganId; - private Person HandsPersonId; - private String Salesman; //业务员(可以多个)[2][3] - private Account AccountId; - private Double ChangeAmount; - private String AccountIdList; //多账户ID列表 [2][3] - private String AccountMoneyList; //多账户金额列表 [{"[2]",22},{"[3]",33}] - private Double Discount; //优惠率 0.10 - private Double DiscountMoney; //优惠金额 10 - private Double DiscountLastMoney; //优惠后金额 90 - private Double OtherMoney; //销售或采购费用 100 - private String OtherMoneyList; //销售或采购费用涉及项目Id数组(包括快递、招待等)[2][3] - private String OtherMoneyItem; //销售费用涉及项目(包括快递、招待等) [{"[2]",22},{"[3]",33}] - private Integer AccountDay; //结算天数 - private Depot AllocationProjectId; - private Double TotalPrice; - private String PayType; - private Boolean Status = false; //单据状态 - private String Remark; - - public DepotHead() { - - } - - public DepotHead(Long Id) { - this.Id = Id; - } - - public DepotHead(String type, String subType, Depot projectId, String defaultNumber, String number, String operPersonName, Timestamp createTime, - Timestamp operTime, Supplier organId, Person handsPersonId, String salesman, String accountIdList, String accountMoneyList, - Double discount, Double discountMoney, Double discountLastMoney, Double otherMoney, String otherMoneyItem, Integer accountDay, - Account accountId, Double changeAmount, Depot allocationProjectId, Double totalPrice, String payType, Boolean status, String remark) { - super(); - Type = type; - SubType = subType; - ProjectId = projectId; - DefaultNumber = defaultNumber; - Number = number; - OperPersonName = operPersonName; - CreateTime = createTime; - OperTime = operTime; - OrganId = organId; - HandsPersonId = handsPersonId; - Salesman = salesman; - AccountIdList = accountIdList; - AccountMoneyList = accountMoneyList; - Discount = discount; - DiscountMoney = discountMoney; - DiscountLastMoney = discountLastMoney; - OtherMoney = otherMoney; - OtherMoneyItem = otherMoneyItem; - AccountDay = accountDay; - AccountId = accountId; - ChangeAmount = changeAmount; - AllocationProjectId = allocationProjectId; - TotalPrice = totalPrice; - PayType = payType; - Status = status; - Remark = remark; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getSubType() { - return SubType; - } - - public void setSubType(String subType) { - SubType = subType; - } - - public Depot getProjectId() { - return ProjectId; - } - - public void setProjectId(Depot projectId) { - ProjectId = projectId; - } - - public String getDefaultNumber() { - return DefaultNumber; - } - - public void setDefaultNumber(String defaultNumber) { - DefaultNumber = defaultNumber; - } - - public String getNumber() { - return Number; - } - - public void setNumber(String number) { - Number = number; - } - - public String getOperPersonName() { - return OperPersonName; - } - - public void setOperPersonName(String operPersonName) { - OperPersonName = operPersonName; - } - - public Timestamp getCreateTime() { - return CreateTime; - } - - public void setCreateTime(Timestamp createTime) { - CreateTime = createTime; - } - - public Timestamp getOperTime() { - return OperTime; - } - - public void setOperTime(Timestamp operTime) { - OperTime = operTime; - } - - public Supplier getOrganId() { - return OrganId; - } - - public void setOrganId(Supplier organId) { - OrganId = organId; - } - - public Person getHandsPersonId() { - return HandsPersonId; - } - - public void setHandsPersonId(Person handsPersonId) { - HandsPersonId = handsPersonId; - } - - public Account getAccountId() { - return AccountId; - } - - public void setAccountId(Account accountId) { - AccountId = accountId; - } - - public Double getChangeAmount() { - return ChangeAmount; - } - - public void setChangeAmount(Double changeAmount) { - ChangeAmount = changeAmount; - } - - public Depot getAllocationProjectId() { - return AllocationProjectId; - } - - public void setAllocationProjectId(Depot allocationProjectId) { - AllocationProjectId = allocationProjectId; - } - - public Double getTotalPrice() { - return TotalPrice; - } - - public void setTotalPrice(Double totalPrice) { - TotalPrice = totalPrice; - } - - public String getPayType() { - return PayType; - } - - public void setPayType(String payType) { - PayType = payType; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public String getSalesman() { - return Salesman; - } - - public void setSalesman(String salesman) { - Salesman = salesman; - } - - public String getAccountIdList() { - return AccountIdList; - } - - public void setAccountIdList(String accountIdList) { - AccountIdList = accountIdList; - } - - public String getAccountMoneyList() { - return AccountMoneyList; - } - - public void setAccountMoneyList(String accountMoneyList) { - AccountMoneyList = accountMoneyList; - } - - public Double getDiscount() { - return Discount; - } - - public void setDiscount(Double discount) { - Discount = discount; - } - - public Double getDiscountMoney() { - return DiscountMoney; - } - - public void setDiscountMoney(Double discountMoney) { - DiscountMoney = discountMoney; - } - - public Double getDiscountLastMoney() { - return DiscountLastMoney; - } - - public void setDiscountLastMoney(Double discountLastMoney) { - DiscountLastMoney = discountLastMoney; - } - - public Double getOtherMoney() { - return OtherMoney; - } - - public void setOtherMoney(Double otherMoney) { - OtherMoney = otherMoney; - } - - public String getOtherMoneyList() { - return OtherMoneyList; - } - - public void setOtherMoneyList(String otherMoneyList) { - OtherMoneyList = otherMoneyList; - } - - public String getOtherMoneyItem() { - return OtherMoneyItem; - } - - public void setOtherMoneyItem(String otherMoneyItem) { - OtherMoneyItem = otherMoneyItem; - } - - public Integer getAccountDay() { - return AccountDay; - } - - public void setAccountDay(Integer accountDay) { - AccountDay = accountDay; - } - - public Boolean getStatus() { - return Status; - } - - public void setStatus(Boolean status) { - Status = status; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/DepotItem.java b/src/main/java/com/jsh/model/po/DepotItem.java deleted file mode 100644 index db1357d3aa93931d3e3d42f025a235953b06b57b..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/DepotItem.java +++ /dev/null @@ -1,240 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class DepotItem implements java.io.Serializable { - private Long Id; - private DepotHead HeaderId; - private Material MaterialId; - private String MUnit; //计量单位 - private Double OperNumber; - private Double BasicNumber; - private Double UnitPrice; - private Double TaxUnitPrice; //含税单价 - private Double AllPrice; - private String Remark; - private String Img; - private Depot DepotId; //仓库ID - private Depot AnotherDepotId; //对方仓库Id - private Double TaxRate; //税率 - private Double TaxMoney; //税额 - private Double TaxLastMoney; //价税合计 - private String OtherField1; //自定义字段1-品名 - private String OtherField2; //自定义字段2-型号 - private String OtherField3; //自定义字段3-制造商 - private String OtherField4; //自定义字段4 - private String OtherField5; //自定义字段5 - private String MType; //商品类型 - - - public DepotItem() { - - } - - public DepotItem(Long Id) { - this.Id = Id; - } - - public DepotItem(DepotHead headerId, Material materialId, String mUnit, - Double operNumber, Double basicNumber, Double unitPrice, Double taxUnitPrice, Double allPrice, String remark, String img, - Depot depotId, Depot anotherDepotId, Double taxRate, Double taxMoney, Double taxLastMoney, - String otherField1, String otherField2, String otherField3, String otherField4, String otherField5, String mType) { - super(); - HeaderId = headerId; - MaterialId = materialId; - MUnit = mUnit; - OperNumber = operNumber; - BasicNumber = basicNumber; - UnitPrice = unitPrice; - TaxUnitPrice = taxUnitPrice; - AllPrice = allPrice; - Remark = remark; - Img = img; - DepotId = depotId; - AnotherDepotId = anotherDepotId; - TaxRate = taxRate; - TaxMoney = taxMoney; - TaxLastMoney = taxLastMoney; - OtherField1 = otherField1; - OtherField2 = otherField2; - OtherField3 = otherField3; - OtherField4 = otherField4; - OtherField5 = otherField5; - MType = mType; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public DepotHead getHeaderId() { - return HeaderId; - } - - public void setHeaderId(DepotHead headerId) { - HeaderId = headerId; - } - - public Material getMaterialId() { - return MaterialId; - } - - public void setMaterialId(Material materialId) { - MaterialId = materialId; - } - - public String getMUnit() { - return MUnit; - } - - public void setMUnit(String MUnit) { - this.MUnit = MUnit; - } - - public Double getTaxUnitPrice() { - return TaxUnitPrice; - } - - public void setTaxUnitPrice(Double taxUnitPrice) { - TaxUnitPrice = taxUnitPrice; - } - - public Double getOperNumber() { - return OperNumber; - } - - public void setOperNumber(Double operNumber) { - OperNumber = operNumber; - } - - public Double getBasicNumber() { - return BasicNumber; - } - - public void setBasicNumber(Double basicNumber) { - BasicNumber = basicNumber; - } - - public Double getUnitPrice() { - return UnitPrice; - } - - public void setUnitPrice(Double unitPrice) { - UnitPrice = unitPrice; - } - - public Double getAllPrice() { - return AllPrice; - } - - public void setAllPrice(Double allPrice) { - AllPrice = allPrice; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public String getImg() { - return Img; - } - - public void setImg(String img) { - Img = img; - } - - public Depot getDepotId() { - return DepotId; - } - - public void setDepotId(Depot depotId) { - DepotId = depotId; - } - - public Depot getAnotherDepotId() { - return AnotherDepotId; - } - - public void setAnotherDepotId(Depot anotherDepotId) { - AnotherDepotId = anotherDepotId; - } - - public Double getTaxRate() { - return TaxRate; - } - - public void setTaxRate(Double taxRate) { - TaxRate = taxRate; - } - - public Double getTaxMoney() { - return TaxMoney; - } - - public void setTaxMoney(Double taxMoney) { - TaxMoney = taxMoney; - } - - public Double getTaxLastMoney() { - return TaxLastMoney; - } - - public void setTaxLastMoney(Double taxLastMoney) { - TaxLastMoney = taxLastMoney; - } - - public String getOtherField1() { - return OtherField1; - } - - public void setOtherField1(String otherField1) { - OtherField1 = otherField1; - } - - public String getOtherField2() { - return OtherField2; - } - - public void setOtherField2(String otherField2) { - OtherField2 = otherField2; - } - - public String getOtherField3() { - return OtherField3; - } - - public void setOtherField3(String otherField3) { - OtherField3 = otherField3; - } - - public String getOtherField4() { - return OtherField4; - } - - public void setOtherField4(String otherField4) { - OtherField4 = otherField4; - } - - public String getOtherField5() { - return OtherField5; - } - - public void setOtherField5(String otherField5) { - OtherField5 = otherField5; - } - - public String getMType() { - return MType; - } - - public void setMType(String MType) { - this.MType = MType; - } -} diff --git a/src/main/java/com/jsh/model/po/Functions.java b/src/main/java/com/jsh/model/po/Functions.java deleted file mode 100644 index 27872e5ad47636e29740f19a73fc72a2a9bc62e8..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Functions.java +++ /dev/null @@ -1,99 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Functions implements java.io.Serializable { - private Long Id; - private String Number; - private String Name; - private String PNumber; - private String URL; - private Boolean State; - private String Sort; - private Boolean Enabled; - private String Type; - private String PushBtn; - - public Functions() { - - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getNumber() { - return Number; - } - - public void setNumber(String number) { - Number = number; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public String getPNumber() { - return PNumber; - } - - public void setPNumber(String pNumber) { - PNumber = pNumber; - } - - public String getURL() { - return URL; - } - - public void setURL(String uRL) { - URL = uRL; - } - - public Boolean getState() { - return State; - } - - public void setState(Boolean state) { - State = state; - } - - public String getSort() { - return Sort; - } - - public void setSort(String sort) { - Sort = sort; - } - - public Boolean getEnabled() { - return Enabled; - } - - public void setEnabled(Boolean enabled) { - Enabled = enabled; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getPushBtn() { - return PushBtn; - } - - public void setPushBtn(String pushBtn) { - PushBtn = pushBtn; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/InOutItem.java b/src/main/java/com/jsh/model/po/InOutItem.java deleted file mode 100644 index 5aea6aa71d17712888c770da208a45ac1145ef29..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/InOutItem.java +++ /dev/null @@ -1,55 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class InOutItem implements java.io.Serializable { - private Long Id; - private String Name; - private String Type; - private String Remark; - - public InOutItem() { - - } - - public InOutItem(Long Id) { - this.Id = Id; - } - - public InOutItem(String name, String type, String remark) { - Name = name; - Type = type; - Remark = remark; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } -} diff --git a/src/main/java/com/jsh/model/po/Logdetails.java b/src/main/java/com/jsh/model/po/Logdetails.java deleted file mode 100644 index fb682596698f2fe90c0ec70ce42b11cd4d889be5..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Logdetails.java +++ /dev/null @@ -1,101 +0,0 @@ -package com.jsh.model.po; - -import java.sql.Timestamp; - -@SuppressWarnings("serial") -public class Logdetails implements java.io.Serializable { - - private Long id; - private Basicuser user; - private String operation; - private String clientIp; - private Timestamp createtime; - private Short status; - private String contentdetails; - private String remark; - - public Logdetails() { - - } - - public Logdetails(Long id) { - this.id = id; - } - - public Logdetails(Basicuser user, String operation, String clientIp, - Timestamp createtime, Short status, String contentdetails, - String remark) { - this.user = user; - this.operation = operation; - this.clientIp = clientIp; - this.createtime = createtime; - this.status = status; - this.contentdetails = contentdetails; - this.remark = remark; - } - - public Long getId() { - return this.id; - } - - public void setId(Long id) { - this.id = id; - } - - public Basicuser getUser() { - return user; - } - - public void setUser(Basicuser user) { - this.user = user; - } - - public String getOperation() { - return this.operation; - } - - public void setOperation(String operation) { - this.operation = operation; - } - - public String getClientIp() { - return this.clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public Timestamp getCreatetime() { - return this.createtime; - } - - public void setCreatetime(Timestamp createtime) { - this.createtime = createtime; - } - - public Short getStatus() { - return this.status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public String getContentdetails() { - return this.contentdetails; - } - - public void setContentdetails(String contentdetails) { - this.contentdetails = contentdetails; - } - - public String getRemark() { - return this.remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Material.java b/src/main/java/com/jsh/model/po/Material.java deleted file mode 100644 index f44d7e60a9778f30e05a7282ac3ed4d6900b1a48..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Material.java +++ /dev/null @@ -1,289 +0,0 @@ -package com.jsh.model.po; - -import java.util.Map; - -@SuppressWarnings("serial") -public class Material implements java.io.Serializable { - private Long Id; - private MaterialCategory materialCategory; - private String Name; - private String Mfrs; - private Double Packing; - private Double SafetyStock; - private String Model; - private String Standard; - private String Color; - private String Unit; - private Double RetailPrice; - private Double LowPrice; - private Double PresetPriceOne; - private Double PresetPriceTwo; - private Unit UnitId; - private String FirstOutUnit; - private String FirstInUnit; - private String PriceStrategy; - private String Remark; - private Boolean Enabled; - private String OtherField1; - private String OtherField2; - private String OtherField3; - - //----------以下属性导入exel表格使用-------------------- - /** - * 类型 right--正确 warn--警告 wrong--错误 - */ - private Map cellInfo; - - /** - * 行号 - */ - private Integer rowLineNum; - - private String safetyStockStr; - - public Material() { - - } - - public Material(Long Id) { - this.Id = Id; - } - - public Material(MaterialCategory materialCategory, String name, String mfrs, Double packing, - Double safetyStock, String model, String standard, String color, String unit, String remark, - Double retailPrice, Double lowPrice, Double presetPriceOne, Double presetPriceTwo, - Unit unitId, String firstOutUnit, String firstInUnit, String priceStrategy, Boolean enabled, - String otherField1, String otherField2, String otherField3) { - super(); - this.materialCategory = materialCategory; - Name = name; - Mfrs = mfrs; - Packing = packing; - SafetyStock = safetyStock; - Model = model; - Standard = standard; - Color = color; - Unit = unit; - RetailPrice = retailPrice; - LowPrice = lowPrice; - PresetPriceOne = presetPriceOne; - PresetPriceTwo = presetPriceTwo; - Remark = remark; - UnitId = unitId; - FirstOutUnit = firstOutUnit; - FirstInUnit = firstInUnit; - PriceStrategy = priceStrategy; - Enabled = enabled; - OtherField1 = otherField1; - OtherField2 = otherField2; - OtherField3 = otherField3; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public MaterialCategory getMaterialCategory() { - return materialCategory; - } - - public void setMaterialCategory(MaterialCategory materialCategory) { - this.materialCategory = materialCategory; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public String getModel() { - return Model; - } - - public void setModel(String model) { - Model = model; - } - - public String getStandard() { - return Standard; - } - - public void setStandard(String standard) { - Standard = standard; - } - - public String getColor() { - return Color; - } - - public void setColor(String color) { - Color = color; - } - - public String getUnit() { - return Unit; - } - - public void setUnit(String unit) { - Unit = unit; - } - - public Double getRetailPrice() { - return RetailPrice; - } - - public void setRetailPrice(Double retailPrice) { - RetailPrice = retailPrice; - } - - public Double getLowPrice() { - return LowPrice; - } - - public void setLowPrice(Double lowPrice) { - LowPrice = lowPrice; - } - - public Double getPresetPriceOne() { - return PresetPriceOne; - } - - public void setPresetPriceOne(Double presetPriceOne) { - PresetPriceOne = presetPriceOne; - } - - public Double getPresetPriceTwo() { - return PresetPriceTwo; - } - - public void setPresetPriceTwo(Double presetPriceTwo) { - PresetPriceTwo = presetPriceTwo; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public String getMfrs() { - return Mfrs; - } - - public void setMfrs(String mfrs) { - Mfrs = mfrs; - } - - public Double getPacking() { - return Packing; - } - - public void setPacking(Double packing) { - Packing = packing; - } - - public Double getSafetyStock() { - return SafetyStock; - } - - public void setSafetyStock(Double safetyStock) { - SafetyStock = safetyStock; - } - - public Unit getUnitId() { - return UnitId; - } - - public void setUnitId(Unit unitId) { - UnitId = unitId; - } - - public String getFirstOutUnit() { - return FirstOutUnit; - } - - public void setFirstOutUnit(String firstOutUnit) { - FirstOutUnit = firstOutUnit; - } - - public String getFirstInUnit() { - return FirstInUnit; - } - - public void setFirstInUnit(String firstInUnit) { - FirstInUnit = firstInUnit; - } - - public String getPriceStrategy() { - return PriceStrategy; - } - - public void setPriceStrategy(String priceStrategy) { - PriceStrategy = priceStrategy; - } - - public Boolean getEnabled() { - return Enabled; - } - - public void setEnabled(Boolean enabled) { - Enabled = enabled; - } - - public String getOtherField1() { - return OtherField1; - } - - public void setOtherField1(String otherField1) { - OtherField1 = otherField1; - } - - public String getOtherField3() { - return OtherField3; - } - - public void setOtherField3(String otherField3) { - OtherField3 = otherField3; - } - - public String getOtherField2() { - return OtherField2; - } - - public void setOtherField2(String otherField2) { - OtherField2 = otherField2; - } - - public Map getCellInfo() { - return cellInfo; - } - - public void setCellInfo(Map cellInfo) { - this.cellInfo = cellInfo; - } - - public Integer getRowLineNum() { - return rowLineNum; - } - - public void setRowLineNum(Integer rowLineNum) { - this.rowLineNum = rowLineNum; - } - - public String getSafetyStockStr() { - return safetyStockStr; - } - - public void setSafetyStockStr(String safetyStockStr) { - this.safetyStockStr = safetyStockStr; - } -} diff --git a/src/main/java/com/jsh/model/po/MaterialCategory.java b/src/main/java/com/jsh/model/po/MaterialCategory.java deleted file mode 100644 index ef300385ca38fcfd603db7f4497d8ff5b0765442..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/MaterialCategory.java +++ /dev/null @@ -1,58 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class MaterialCategory implements java.io.Serializable { - private Long Id; - private String Name; - private Short CategoryLevel; - private MaterialCategory materialCategory; - - - public MaterialCategory() { - - } - - public MaterialCategory(Long Id) { - this.Id = Id; - } - - public MaterialCategory(String name, Short categoryLevel, - MaterialCategory materialCategory) { - Name = name; - CategoryLevel = categoryLevel; - this.materialCategory = materialCategory; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public Short getCategoryLevel() { - return CategoryLevel; - } - - public void setCategoryLevel(Short categoryLevel) { - CategoryLevel = categoryLevel; - } - - public MaterialCategory getMaterialCategory() { - return materialCategory; - } - - public void setMaterialCategory(MaterialCategory materialCategory) { - this.materialCategory = materialCategory; - } - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/MaterialProperty.java b/src/main/java/com/jsh/model/po/MaterialProperty.java deleted file mode 100644 index 214bab1cd1cd4b9999c585f11d3509d4eb996899..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/MaterialProperty.java +++ /dev/null @@ -1,65 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class MaterialProperty implements java.io.Serializable { - private Long id; - private String nativeName; - private Boolean enabled; - private String sort; - private String anotherName; - - public MaterialProperty() { - - } - - public MaterialProperty(Long id) { - this.id = id; - } - - public MaterialProperty(String nativeName, Boolean enabled, String sort, String anotherName) { - nativeName = nativeName; - enabled = enabled; - sort = sort; - anotherName = anotherName; - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getNativeName() { - return nativeName; - } - - public void setNativeName(String nativeName) { - this.nativeName = nativeName; - } - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public String getSort() { - return sort; - } - - public void setSort(String sort) { - this.sort = sort; - } - - public String getAnotherName() { - return anotherName; - } - - public void setAnotherName(String anotherName) { - this.anotherName = anotherName; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Person.java b/src/main/java/com/jsh/model/po/Person.java deleted file mode 100644 index e1b76ea0ee33471a35d9c99b0a4be1f3c9bc1e85..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Person.java +++ /dev/null @@ -1,46 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Person implements java.io.Serializable { - private Long Id; - private String Type; - private String Name; - - public Person() { - - } - - public Person(Long Id) { - this.Id = Id; - } - - public Person(String type, String name) { - Type = type; - Name = name; - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Role.java b/src/main/java/com/jsh/model/po/Role.java deleted file mode 100644 index ea7a3b9ba55031d143048d70775c2076f4a37099..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Role.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Role implements java.io.Serializable { - private Long Id; - private String Name; - - public Role() { - - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Supplier.java b/src/main/java/com/jsh/model/po/Supplier.java deleted file mode 100644 index 10b7c51d80f17203c8f40c0e6033b7ca6cf52770..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Supplier.java +++ /dev/null @@ -1,309 +0,0 @@ -package com.jsh.model.po; - -import java.util.Map; - -@SuppressWarnings("serial") -public class Supplier implements java.io.Serializable { - private Long id = 0l; - private String supplier = ""; - private String type = ""; - private String contacts = ""; - private String phonenum = ""; - private String fax = ""; - private String telephone = ""; - private String email = ""; - private String address = ""; - private Double advanceIn = 0d; - private String taxNum = ""; - private String bankName = ""; - private String accountNumber = ""; - private Double taxRate = 0d; - private Double BeginNeedGet = 0d; - private Double BeginNeedPay = 0d; - private Double AllNeedGet = 0d; - private Double AllNeedPay = 0d; - private Short isystem = 1; - private String description = ""; - private Boolean enabled = true; - - //----------以下属性导入exel表格使用-------------------- - /** - * 类型 right--正确 warn--警告 wrong--错误 - */ - private Map cellInfo; - - /** - * 行号 - */ - private Integer rowLineNum; - - private String advanceInStr; - - private String beginNeedGetStr; - - private String beginNeedPayStr; - - private String taxRateStr; - - private String enabledStr; - - - public Supplier() { - - } - - public Supplier(Long id) { - this.id = id; - } - - public Supplier(String supplier, String type, String contacts, String phonenum, - String fax, String telephone, String email, String address, Short isystem, String description, - Boolean enabled, Double advanceIn, String taxNum, String bankName, String accountNumber, Double taxRate, - Double beginNeedGet, Double beginNeedPay, Double allNeedGet, Double allNeedPay) { - super(); - this.supplier = supplier; - this.type = type; - this.contacts = contacts; - this.phonenum = phonenum; - this.fax = fax; - this.telephone = telephone; - this.address = address; - this.email = email; - this.BeginNeedGet = beginNeedGet; - this.BeginNeedPay = beginNeedPay; - this.AllNeedGet = allNeedGet; - this.AllNeedPay = allNeedPay; - this.isystem = isystem; - this.description = description; - this.enabled = enabled; - this.advanceIn = advanceIn; - this.taxNum = taxNum; - this.bankName = bankName; - this.accountNumber = accountNumber; - this.taxRate = taxRate; - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getSupplier() { - return supplier; - } - - public void setSupplier(String supplier) { - this.supplier = supplier; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContacts() { - return contacts; - } - - public void setContacts(String contacts) { - this.contacts = contacts; - } - - public String getPhonenum() { - return phonenum; - } - - public void setPhonenum(String phonenum) { - this.phonenum = phonenum; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public Double getBeginNeedGet() { - return BeginNeedGet; - } - - public void setBeginNeedGet(Double beginNeedGet) { - BeginNeedGet = beginNeedGet; - } - - public Double getBeginNeedPay() { - return BeginNeedPay; - } - - public void setBeginNeedPay(Double beginNeedPay) { - BeginNeedPay = beginNeedPay; - } - - public Double getAllNeedGet() { - return AllNeedGet; - } - - public void setAllNeedGet(Double allNeedGet) { - AllNeedGet = allNeedGet; - } - - public Double getAllNeedPay() { - return AllNeedPay; - } - - public void setAllNeedPay(Double allNeedPay) { - AllNeedPay = allNeedPay; - } - - public Short getIsystem() { - return isystem; - } - - public void setIsystem(Short isystem) { - this.isystem = isystem; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public Double getAdvanceIn() { - return advanceIn; - } - - public void setAdvanceIn(Double advanceIn) { - this.advanceIn = advanceIn; - } - - public String getFax() { - return fax; - } - - public void setFax(String fax) { - this.fax = fax; - } - - public String getTelephone() { - return telephone; - } - - public void setTelephone(String telephone) { - this.telephone = telephone; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address; - } - - public String getTaxNum() { - return taxNum; - } - - public void setTaxNum(String taxNum) { - this.taxNum = taxNum; - } - - public String getBankName() { - return bankName; - } - - public void setBankName(String bankName) { - this.bankName = bankName; - } - - public String getAccountNumber() { - return accountNumber; - } - - public void setAccountNumber(String accountNumber) { - this.accountNumber = accountNumber; - } - - public Double getTaxRate() { - return taxRate; - } - - public void setTaxRate(Double taxRate) { - this.taxRate = taxRate; - } - - public Map getCellInfo() { - return cellInfo; - } - - public void setCellInfo(Map cellInfo) { - this.cellInfo = cellInfo; - } - - public Integer getRowLineNum() { - return rowLineNum; - } - - public void setRowLineNum(Integer rowLineNum) { - this.rowLineNum = rowLineNum; - } - - public String getAdvanceInStr() { - return advanceInStr; - } - - public void setAdvanceInStr(String advanceInStr) { - this.advanceInStr = advanceInStr; - } - - public String getBeginNeedGetStr() { - return beginNeedGetStr; - } - - public void setBeginNeedGetStr(String beginNeedGetStr) { - this.beginNeedGetStr = beginNeedGetStr; - } - - public String getBeginNeedPayStr() { - return beginNeedPayStr; - } - - public void setBeginNeedPayStr(String beginNeedPayStr) { - this.beginNeedPayStr = beginNeedPayStr; - } - - public String getTaxRateStr() { - return taxRateStr; - } - - public void setTaxRateStr(String taxRateStr) { - this.taxRateStr = taxRateStr; - } - - public String getEnabledStr() { - return enabledStr; - } - - public void setEnabledStr(String enabledStr) { - this.enabledStr = enabledStr; - } -} diff --git a/src/main/java/com/jsh/model/po/SystemConfig.java b/src/main/java/com/jsh/model/po/SystemConfig.java deleted file mode 100644 index 935d390a3d14f790cecadbca1cf75c8e82a6bba3..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/SystemConfig.java +++ /dev/null @@ -1,50 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class SystemConfig implements java.io.Serializable { - private Long id; - private String type; - private String name; - private String value; - private String description; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getValue() { - return value; - } - - public void setValue(String value) { - this.value = value; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/Unit.java b/src/main/java/com/jsh/model/po/Unit.java deleted file mode 100644 index 1a53dd3c03c5ba97eb4db84cf0bd57570e39b1c2..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/Unit.java +++ /dev/null @@ -1,36 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class Unit implements java.io.Serializable { - private Long id; - private String UName; - - public Unit() { - - } - - public Unit(Long id) { - this.id = id; - } - - public Unit(String UName) { - this.UName = UName; - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getUName() { - return UName; - } - - public void setUName(String UName) { - this.UName = UName; - } - -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/po/UserBusiness.java b/src/main/java/com/jsh/model/po/UserBusiness.java deleted file mode 100644 index 6581dca1a63630eb9171f3128eaea1c12ce6d92a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/po/UserBusiness.java +++ /dev/null @@ -1,54 +0,0 @@ -package com.jsh.model.po; - -@SuppressWarnings("serial") -public class UserBusiness implements java.io.Serializable { - private Long Id; - private String Type; - private String KeyId; - private String Value; - private String BtnStr; - - public UserBusiness() { - - } - - public Long getId() { - return Id; - } - - public void setId(Long id) { - Id = id; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getKeyId() { - return KeyId; - } - - public void setKeyId(String keyId) { - KeyId = keyId; - } - - public String getValue() { - return Value; - } - - public void setValue(String value) { - Value = value; - } - - public String getBtnStr() { - return BtnStr; - } - - public void setBtnStr(String btnStr) { - BtnStr = btnStr; - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/model/vo/asset/AssetModel.java b/src/main/java/com/jsh/model/vo/asset/AssetModel.java deleted file mode 100644 index bfd3702e976e0ccb5b2cf8270ff4133abaa7ddf9..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/asset/AssetModel.java +++ /dev/null @@ -1,372 +0,0 @@ -package com.jsh.model.vo.asset; - -import java.io.File; -import java.io.InputStream; -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AssetModel implements Serializable { - private AssetShowModel showModel = new AssetShowModel(); - - - /**======开始接受页面参数=================**/ - /** - * 资产名称ID - */ - private Long assetNameID; - - /** - * 资产类型ID - */ - private Long assetCategoryID; - - /** - * 位置属性 - */ - private String location = ""; - - /** - * 状态属性 - */ - private Short status; - - /** - * 用户ID - */ - private Long userID; - - /** - * 资产单价 - */ - private double price = 0; - - /** - * 购买日期 - */ - private String purchasedate = ""; - - /** - * 有效日期 - */ - private String periodofvalidity = ""; - - /** - * 保修日期 - */ - private String warrantydate = ""; - - /** - * 资产编号 - */ - private String assetnum = ""; - - /** - * 资产序列号 - */ - private String serialnum = ""; - - /** - * 标签 - */ - private String labels = ""; - - /** - * 资产ID - */ - private Long supplierID; - - /** - * 描述信息 - */ - private String description = ""; - - - /** - * 资产ID - */ - private Long assetID; - - /** - * 资产IDs 批量操作使用 - */ - private String assetIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - /** - * 输入流,导出excel文件 - */ - private InputStream excelStream; - - /** - * 文件名称 - */ - private String fileName = ""; - - /** - * 是否全部数据--根据搜索条件 - */ - private String isAllData = ""; - - /** - * 浏览器类型--中文字符乱码问题解决,火狐和IE下字符类型不一样 - */ - private String browserType = ""; - - /** - * 导入excel文件 - */ - private File assetFile; - - /** - * 文件类型 - */ - private String assetFileContentType; - - /** - * 文件名称 - */ - private String assetFileFileName; - - /** - * 是否只手工检查数据 0==检查 1==不检查直接导入数据库中 - */ - private Integer isCheck; - - public AssetShowModel getShowModel() { - return showModel; - } - - public void setShowModel(AssetShowModel showModel) { - this.showModel = showModel; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Long getAssetID() { - return assetID; - } - - public void setAssetID(Long assetID) { - this.assetID = assetID; - } - - public String getAssetIDs() { - return assetIDs; - } - - public void setAssetIDs(String assetIDs) { - this.assetIDs = assetIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public Long getAssetNameID() { - return assetNameID; - } - - public void setAssetNameID(Long assetNameID) { - this.assetNameID = assetNameID; - } - - public Long getAssetCategoryID() { - return assetCategoryID; - } - - public void setAssetCategoryID(Long assetCategoryID) { - this.assetCategoryID = assetCategoryID; - } - - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public Short getStatus() { - return status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public Long getUserID() { - return userID; - } - - public void setUserID(Long userID) { - this.userID = userID; - } - - public double getPrice() { - return price; - } - - public void setPrice(double price) { - this.price = price; - } - - public String getPurchasedate() { - return purchasedate; - } - - public void setPurchasedate(String purchasedate) { - this.purchasedate = purchasedate; - } - - public String getPeriodofvalidity() { - return periodofvalidity; - } - - public void setPeriodofvalidity(String periodofvalidity) { - this.periodofvalidity = periodofvalidity; - } - - public String getWarrantydate() { - return warrantydate; - } - - public void setWarrantydate(String warrantydate) { - this.warrantydate = warrantydate; - } - - public String getLabels() { - return labels; - } - - public void setLabels(String labels) { - this.labels = labels; - } - - public Long getSupplierID() { - return supplierID; - } - - public void setSupplierID(Long supplierID) { - this.supplierID = supplierID; - } - - public String getAssetnum() { - return assetnum; - } - - public void setAssetnum(String assetnum) { - this.assetnum = assetnum; - } - - public String getSerialnum() { - return serialnum; - } - - public void setSerialnum(String serialnum) { - this.serialnum = serialnum; - } - - public InputStream getExcelStream() { - return excelStream; - } - - public void setExcelStream(InputStream excelStream) { - this.excelStream = excelStream; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public String getIsAllData() { - return isAllData; - } - - public void setIsAllData(String isAllData) { - this.isAllData = isAllData; - } - - public String getBrowserType() { - return browserType; - } - - public void setBrowserType(String browserType) { - this.browserType = browserType; - } - - public File getAssetFile() { - return assetFile; - } - - public void setAssetFile(File assetFile) { - this.assetFile = assetFile; - } - - public Integer getIsCheck() { - return isCheck; - } - - public void setIsCheck(Integer isCheck) { - this.isCheck = isCheck; - } - - public String getAssetFileContentType() { - return assetFileContentType; - } - - public void setAssetFileContentType(String assetFileContentType) { - this.assetFileContentType = assetFileContentType; - } - - public String getAssetFileFileName() { - return assetFileFileName; - } - - public void setAssetFileFileName(String assetFileFileName) { - this.assetFileFileName = assetFileFileName; - } -} diff --git a/src/main/java/com/jsh/model/vo/asset/AssetShowModel.java b/src/main/java/com/jsh/model/vo/asset/AssetShowModel.java deleted file mode 100644 index 523d88a419b324c77fcb4a8af6be7d02292d1c57..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/asset/AssetShowModel.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.jsh.model.vo.asset; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings({"serial"}) -public class AssetShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } -} diff --git a/src/main/java/com/jsh/model/vo/asset/ReportModel.java b/src/main/java/com/jsh/model/vo/asset/ReportModel.java deleted file mode 100644 index 4f4c1a2ce4f4e0e5831d79a9137b50d762d7eb37..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/asset/ReportModel.java +++ /dev/null @@ -1,278 +0,0 @@ -package com.jsh.model.vo.asset; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class ReportModel implements Serializable { - private ReportShowModel showModel = new ReportShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 资产名称ID - */ - private Long assetNameID; - - /** - * 资产类型ID - */ - private Long assetCategoryID; - - /** - * 位置属性 - */ - private String location = ""; - - /** - * 状态属性 - */ - private Short status; - - /** - * 用户ID - */ - private Long usernameID; - - /** - * 资产单价 - */ - private float price = 0; - - /** - * 购买日期 - */ - private String purchasedate = ""; - - /** - * 有效日期 - */ - private String periodofvalidity = ""; - - /** - * 保修日期 - */ - private String warrantydate = ""; - - /** - * 资产编号 - */ - private String assetnum = ""; - - /** - * 资产序列号 - */ - private String serialnum = ""; - - /** - * 标签 - */ - private String labels = ""; - - /** - * 资产ID - */ - private Long supplierID; - - /** - * 描述信息 - */ - private String description = ""; - - - /** - * 资产ID - */ - private Long assetID; - - /** - * 资产IDs 批量操作使用 - */ - private String assetIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - /** - * 报表类型 - */ - private Integer reportType; - - public ReportShowModel getShowModel() { - return showModel; - } - - public void setShowModel(ReportShowModel showModel) { - this.showModel = showModel; - } - - public Long getAssetNameID() { - return assetNameID; - } - - public void setAssetNameID(Long assetNameID) { - this.assetNameID = assetNameID; - } - - public Long getAssetCategoryID() { - return assetCategoryID; - } - - public void setAssetCategoryID(Long assetCategoryID) { - this.assetCategoryID = assetCategoryID; - } - - public String getLocation() { - return location; - } - - public void setLocation(String location) { - this.location = location; - } - - public Short getStatus() { - return status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public Long getUsernameID() { - return usernameID; - } - - public void setUsernameID(Long usernameID) { - this.usernameID = usernameID; - } - - public float getPrice() { - return price; - } - - public void setPrice(float price) { - this.price = price; - } - - public String getPurchasedate() { - return purchasedate; - } - - public void setPurchasedate(String purchasedate) { - this.purchasedate = purchasedate; - } - - public String getPeriodofvalidity() { - return periodofvalidity; - } - - public void setPeriodofvalidity(String periodofvalidity) { - this.periodofvalidity = periodofvalidity; - } - - public String getWarrantydate() { - return warrantydate; - } - - public void setWarrantydate(String warrantydate) { - this.warrantydate = warrantydate; - } - - public String getAssetnum() { - return assetnum; - } - - public void setAssetnum(String assetnum) { - this.assetnum = assetnum; - } - - public String getSerialnum() { - return serialnum; - } - - public void setSerialnum(String serialnum) { - this.serialnum = serialnum; - } - - public String getLabels() { - return labels; - } - - public void setLabels(String labels) { - this.labels = labels; - } - - public Long getSupplierID() { - return supplierID; - } - - public void setSupplierID(Long supplierID) { - this.supplierID = supplierID; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Long getAssetID() { - return assetID; - } - - public void setAssetID(Long assetID) { - this.assetID = assetID; - } - - public String getAssetIDs() { - return assetIDs; - } - - public void setAssetIDs(String assetIDs) { - this.assetIDs = assetIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public Integer getReportType() { - return reportType; - } - - public void setReportType(Integer reportType) { - this.reportType = reportType; - } -} diff --git a/src/main/java/com/jsh/model/vo/asset/ReportShowModel.java b/src/main/java/com/jsh/model/vo/asset/ReportShowModel.java deleted file mode 100644 index 2135e6db3379380cac0e27553a65930745f40a30..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/asset/ReportShowModel.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.jsh.model.vo.asset; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.List; - -@SuppressWarnings({"serial", "rawtypes"}) -public class ReportShowModel implements Serializable { - //保存报表数据 - private List reportData = new ArrayList(); - //保存提示信息 - private String msgTip = ""; - - public List getReportData() { - return reportData; - } - - public void setReportData(List reportData) { - this.reportData = reportData; - } - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/AccountModel.java b/src/main/java/com/jsh/model/vo/basic/AccountModel.java deleted file mode 100644 index d42446194d49db95a2fe11b9b56718be09e53f61..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/AccountModel.java +++ /dev/null @@ -1,160 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AccountModel implements Serializable { - private AccountShowModel showModel = new AccountShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String name = ""; - - /** - * 编号 - */ - private String serialNo = ""; - - /** - * 期初金额 - */ - private Double initialAmount; - - /** - * 当前余额 - */ - private Double currentAmount; - - /** - * 是否设为默认 - */ - private Boolean isDefault; - - /** - * 备注 - */ - private String remark = ""; - - /** - * 分类ID - */ - private Long accountID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String accountIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public AccountShowModel getShowModel() { - return showModel; - } - - public void setShowModel(AccountShowModel showModel) { - this.showModel = showModel; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getSerialNo() { - return serialNo; - } - - public void setSerialNo(String serialNo) { - this.serialNo = serialNo; - } - - public Double getInitialAmount() { - return initialAmount; - } - - public void setInitialAmount(Double initialAmount) { - this.initialAmount = initialAmount; - } - - public Double getCurrentAmount() { - return currentAmount; - } - - public void setCurrentAmount(Double currentAmount) { - this.currentAmount = currentAmount; - } - - public Boolean getIsDefault() { - return isDefault; - } - - public void setIsDefault(Boolean isDefault) { - this.isDefault = isDefault; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public Long getAccountID() { - return accountID; - } - - public void setAccountID(Long accountID) { - this.accountID = accountID; - } - - public String getAccountIDs() { - return accountIDs; - } - - public void setAccountIDs(String accountIDs) { - this.accountIDs = accountIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/AccountShowModel.java b/src/main/java/com/jsh/model/vo/basic/AccountShowModel.java deleted file mode 100644 index ae5e8c9317cd248ff84c32957b53b11532c00c73..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/AccountShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class AccountShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/basic/AppModel.java b/src/main/java/com/jsh/model/vo/basic/AppModel.java deleted file mode 100644 index 98e8d2204ec4b0f52372c9b5afe6c68e1709157c..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/AppModel.java +++ /dev/null @@ -1,311 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.File; -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AppModel implements Serializable { - private AppShowModel showModel = new AppShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 代号 - */ - private String Number = ""; - - /** - * 名称 - */ - private String Name = ""; - - /** - * 类型 - */ - private String Type = ""; - - /** - * 图标 - */ - private String Icon = ""; - - private File fileInfo; - private String fileInfoName; //图片名称 - /** - * 链接 - */ - private String URL = ""; - - /** - * 宽度 - */ - private String Width = ""; - - /** - * 高度 - */ - private String Height = ""; - - /** - * 拉伸 - */ - private Boolean ReSize = false; - - /** - * 最大化 - */ - private Boolean OpenMax = false; - - /** - * Flash - */ - private Boolean Flash = false; - - /** - * 种类 - */ - private String ZL = ""; - - /** - * 排序号 - */ - private String Sort = ""; - - /** - * 备注 - */ - private String Remark = ""; - - /** - * 启用 - */ - private Boolean Enabled = false; - - /** - * 分类ID - */ - private Long appID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String appIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - /** - * UBType,UserBusiness类型 - */ - private String UBType = ""; - - /** - * UBKeyId,UserBusiness关键id - */ - private String UBKeyId = ""; - - - public AppShowModel getShowModel() { - return showModel; - } - - public void setShowModel(AppShowModel showModel) { - this.showModel = showModel; - } - - public String getNumber() { - return Number; - } - - public void setNumber(String number) { - Number = number; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public File getFileInfo() { - return fileInfo; - } - - public void setFileInfo(File fileInfo) { - this.fileInfo = fileInfo; - } - - public String getFileInfoName() { - return fileInfoName; - } - - public void setFileInfoName(String fileInfoName) { - this.fileInfoName = fileInfoName; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getIcon() { - return Icon; - } - - public void setIcon(String icon) { - Icon = icon; - } - - public String getURL() { - return URL; - } - - public void setURL(String uRL) { - URL = uRL; - } - - public String getWidth() { - return Width; - } - - public void setWidth(String width) { - Width = width; - } - - public String getHeight() { - return Height; - } - - public void setHeight(String height) { - Height = height; - } - - public Boolean getReSize() { - return ReSize; - } - - public void setReSize(Boolean reSize) { - ReSize = reSize; - } - - public Boolean getOpenMax() { - return OpenMax; - } - - public void setOpenMax(Boolean openMax) { - OpenMax = openMax; - } - - public Boolean getFlash() { - return Flash; - } - - public void setFlash(Boolean flash) { - Flash = flash; - } - - public String getZL() { - return ZL; - } - - public void setZL(String zL) { - ZL = zL; - } - - public String getSort() { - return Sort; - } - - public void setSort(String sort) { - Sort = sort; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public Boolean getEnabled() { - return Enabled; - } - - public void setEnabled(Boolean enabled) { - Enabled = enabled; - } - - public Long getAppID() { - return appID; - } - - public void setAppID(Long appID) { - this.appID = appID; - } - - public String getAppIDs() { - return appIDs; - } - - public void setAppIDs(String appIDs) { - this.appIDs = appIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getUBType() { - return UBType; - } - - public void setUBType(String uBType) { - UBType = uBType; - } - - public String getUBKeyId() { - return UBKeyId; - } - - public void setUBKeyId(String uBKeyId) { - UBKeyId = uBKeyId; - } - -} diff --git a/src/main/java/com/jsh/model/vo/basic/AppShowModel.java b/src/main/java/com/jsh/model/vo/basic/AppShowModel.java deleted file mode 100644 index 291859d6433003a595adb1db4deeb48287e25351..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/AppShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AppShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/AssetNameModel.java b/src/main/java/com/jsh/model/vo/basic/AssetNameModel.java deleted file mode 100644 index b3b938345027b512862e754d5a303a653c4f891c..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/AssetNameModel.java +++ /dev/null @@ -1,133 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AssetNameModel implements Serializable { - private AssetNameShowModel showModel = new AssetNameShowModel(); - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String assetName = ""; - - /** - * 是否易耗品 - */ - private Short consumable; - - /** - * 描述信息 - */ - private String description = ""; - - /** - * 分类ID - */ - private Long categoryID; - - /** - * ID - */ - private Long assetNameID = 0l; - - /** - * IDs 批量操作使用 - */ - private String assetNameIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public AssetNameShowModel getShowModel() { - return showModel; - } - - public void setShowModel(AssetNameShowModel showModel) { - this.showModel = showModel; - } - - public String getAssetName() { - return assetName; - } - - public void setAssetName(String assetName) { - this.assetName = assetName; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Long getAssetNameID() { - return assetNameID; - } - - public void setAssetNameID(Long assetNameID) { - this.assetNameID = assetNameID; - } - - public String getAssetNameIDs() { - return assetNameIDs; - } - - public void setAssetNameIDs(String assetNameIDs) { - this.assetNameIDs = assetNameIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public Short getConsumable() { - return consumable; - } - - public void setConsumable(Short consumable) { - this.consumable = consumable; - } - - public Long getCategoryID() { - return categoryID; - } - - public void setCategoryID(Long categoryID) { - this.categoryID = categoryID; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/AssetNameShowModel.java b/src/main/java/com/jsh/model/vo/basic/AssetNameShowModel.java deleted file mode 100644 index 80ef3aa137c8d74506a12c33bb5fc84155c04c68..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/AssetNameShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AssetNameShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/CategoryModel.java b/src/main/java/com/jsh/model/vo/basic/CategoryModel.java deleted file mode 100644 index d4078a5087529d38b99750133b5a4fd50a9f28b3..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/CategoryModel.java +++ /dev/null @@ -1,108 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class CategoryModel implements Serializable { - private CategoryShowModel showModel = new CategoryShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 分类名称 - */ - private String categoryName = ""; - - /** - * 描述信息 - */ - private String description = ""; - - /** - * 分类ID - */ - private Long categoryID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String categoryIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public CategoryShowModel getShowModel() { - return showModel; - } - - public void setShowModel(CategoryShowModel showModel) { - this.showModel = showModel; - } - - public String getCategoryName() { - return categoryName; - } - - public void setCategoryName(String categoryName) { - this.categoryName = categoryName; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Long getCategoryID() { - return categoryID; - } - - public void setCategoryID(Long categoryID) { - this.categoryID = categoryID; - } - - public String getCategoryIDs() { - return categoryIDs; - } - - public void setCategoryIDs(String categoryIDs) { - this.categoryIDs = categoryIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/CategoryShowModel.java b/src/main/java/com/jsh/model/vo/basic/CategoryShowModel.java deleted file mode 100644 index 54264c5c66823c85894752123210e4987065726b..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/CategoryShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class CategoryShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/DepotModel.java b/src/main/java/com/jsh/model/vo/basic/DepotModel.java deleted file mode 100644 index 6b752119be4524f8959654d233b6da9570101d65..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/DepotModel.java +++ /dev/null @@ -1,190 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class DepotModel implements Serializable { - private DepotShowModel showModel = new DepotShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 仓库名称 - */ - private String name = ""; - - private String address = ""; //仓库地址 - private Double warehousing; //仓储费 - private Double truckage; //搬运费 - - /** - * 排序 - */ - private String sort = ""; - - /** - * 类型 - */ - private Integer type = 0; - - /** - * 描述 - */ - private String remark = ""; - - /** - * 分类ID - */ - private Long depotID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String depotIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - /** - * UBType,UserBusiness类型 - */ - private String UBType = ""; - - /** - * UBKeyId,UserBusiness关键id - */ - private String UBKeyId = ""; - - public DepotShowModel getShowModel() { - return showModel; - } - - public void setShowModel(DepotShowModel showModel) { - this.showModel = showModel; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address; - } - - public Double getWarehousing() { - return warehousing; - } - - public void setWarehousing(Double warehousing) { - this.warehousing = warehousing; - } - - public Double getTruckage() { - return truckage; - } - - public void setTruckage(Double truckage) { - this.truckage = truckage; - } - - public Integer getType() { - return type; - } - - public void setType(Integer type) { - this.type = type; - } - - public String getSort() { - return sort; - } - - public void setSort(String sort) { - this.sort = sort; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public Long getDepotID() { - return depotID; - } - - public void setDepotID(Long depotID) { - this.depotID = depotID; - } - - public String getDepotIDs() { - return depotIDs; - } - - public void setDepotIDs(String depotIDs) { - this.depotIDs = depotIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getUBType() { - return UBType; - } - - public void setUBType(String uBType) { - UBType = uBType; - } - - public String getUBKeyId() { - return UBKeyId; - } - - public void setUBKeyId(String uBKeyId) { - UBKeyId = uBKeyId; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/basic/DepotShowModel.java b/src/main/java/com/jsh/model/vo/basic/DepotShowModel.java deleted file mode 100644 index 7535dcbff82ac368139d15c0e3b856d44ccec2f0..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/DepotShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class DepotShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/basic/FunctionsModel.java b/src/main/java/com/jsh/model/vo/basic/FunctionsModel.java deleted file mode 100644 index 826b044ffea9e978848832611fd8e64e3a5d3564..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/FunctionsModel.java +++ /dev/null @@ -1,228 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class FunctionsModel implements Serializable { - private FunctionsShowModel showModel = new FunctionsShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 编号 - */ - private String Number = ""; - /** - * 名称 - */ - private String Name = ""; - /** - * 上级编号 - */ - private String PNumber = ""; - /** - * 链接 - */ - private String URL = ""; - /** - * 收缩 - */ - private Boolean State = false; - /** - * 排序 - */ - private String Sort = ""; - /** - * 启用 - */ - private Boolean Enabled = false; - /** - * 类型 - */ - private String Type = ""; - /** - * 功能按钮 - */ - private String PushBtn = ""; - /** - * 拥有的功能列表 - */ - private String hasFunctions = ""; - /** - * 分类ID - */ - private Long functionsID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String functionsIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - /** - * UBType,UserBusiness类型 - */ - private String UBType = ""; - - /** - * UBKeyId,UserBusiness关键id - */ - private String UBKeyId = ""; - - public FunctionsShowModel getShowModel() { - return showModel; - } - - public void setShowModel(FunctionsShowModel showModel) { - this.showModel = showModel; - } - - public String getNumber() { - return Number; - } - - public void setNumber(String number) { - Number = number; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public String getPNumber() { - return PNumber; - } - - public void setPNumber(String pNumber) { - PNumber = pNumber; - } - - public String getURL() { - return URL; - } - - public void setURL(String uRL) { - URL = uRL; - } - - public Boolean getState() { - return State; - } - - public void setState(Boolean state) { - State = state; - } - - public String getSort() { - return Sort; - } - - public void setSort(String sort) { - Sort = sort; - } - - public Boolean getEnabled() { - return Enabled; - } - - public void setEnabled(Boolean enabled) { - Enabled = enabled; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public Long getFunctionsID() { - return functionsID; - } - - public void setFunctionsID(Long functionsID) { - this.functionsID = functionsID; - } - - public String getFunctionsIDs() { - return functionsIDs; - } - - public void setFunctionsIDs(String functionsIDs) { - this.functionsIDs = functionsIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getUBType() { - return UBType; - } - - public void setUBType(String uBType) { - UBType = uBType; - } - - public String getUBKeyId() { - return UBKeyId; - } - - public void setUBKeyId(String uBKeyId) { - UBKeyId = uBKeyId; - } - - public String getHasFunctions() { - return hasFunctions; - } - - public void setHasFunctions(String hasFunctions) { - this.hasFunctions = hasFunctions; - } - - public String getPushBtn() { - return PushBtn; - } - - public void setPushBtn(String pushBtn) { - PushBtn = pushBtn; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/FunctionsShowModel.java b/src/main/java/com/jsh/model/vo/basic/FunctionsShowModel.java deleted file mode 100644 index 1da40c7c607bd6c440cbbda83ea23c5d09a625e5..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/FunctionsShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class FunctionsShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/InOutItemModel.java b/src/main/java/com/jsh/model/vo/basic/InOutItemModel.java deleted file mode 100644 index e859fbf42b3a569fa3099d159d87a938654a9ddc..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/InOutItemModel.java +++ /dev/null @@ -1,121 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class InOutItemModel implements Serializable { - private InOutItemShowModel showModel = new InOutItemShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String name = ""; - - /** - * 类型 - */ - private String type = ""; - - /** - * 备注 - */ - private String remark = ""; - - /** - * 分类ID - */ - private Long inOutItemID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String inOutItemIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public InOutItemShowModel getShowModel() { - return showModel; - } - - public void setShowModel(InOutItemShowModel showModel) { - this.showModel = showModel; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } - - public Long getInOutItemID() { - return inOutItemID; - } - - public void setInOutItemID(Long inOutItemID) { - this.inOutItemID = inOutItemID; - } - - public String getInOutItemIDs() { - return inOutItemIDs; - } - - public void setInOutItemIDs(String inOutItemIDs) { - this.inOutItemIDs = inOutItemIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/InOutItemShowModel.java b/src/main/java/com/jsh/model/vo/basic/InOutItemShowModel.java deleted file mode 100644 index 0708ff8bf45778668ac123e1f268034cf007b1d1..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/InOutItemShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class InOutItemShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/basic/LogModel.java b/src/main/java/com/jsh/model/vo/basic/LogModel.java deleted file mode 100644 index 8ff786bc7c45c8a4998dfa8f68a607bfac161cc9..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/LogModel.java +++ /dev/null @@ -1,176 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class LogModel implements Serializable { - private LogShowModel showModel = new LogShowModel(); - /**======开始接受页面参数=================**/ - /** - * 用户ID - */ - private Long usernameID; - - /** - * 操作 - */ - private String operation; - - /** - * 开始时间 - */ - private String beginTime; - - /** - * 结束时间 - */ - private String endTime; - - /** - * 是否成功 0==成功 1==失败 - */ - private Short status; - - /** - * 操作具体内容 - */ - private String contentdetails; - - /** - * 描述信息 - */ - private String remark = ""; - - /** - * 日志ID - */ - private Long logID = 0l; - - /** - * 日志IDs 批量操作使用 - */ - private String logIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public LogShowModel getShowModel() { - return showModel; - } - - public void setShowModel(LogShowModel showModel) { - this.showModel = showModel; - } - - public Long getLogID() { - return logID; - } - - public void setLogID(Long logID) { - this.logID = logID; - } - - public String getLogIDs() { - return logIDs; - } - - public void setLogIDs(String logIDs) { - this.logIDs = logIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public Long getUsernameID() { - return usernameID; - } - - public void setUsernameID(Long usernameID) { - this.usernameID = usernameID; - } - - public String getOperation() { - return operation; - } - - public void setOperation(String operation) { - this.operation = operation; - } - - public String getBeginTime() { - if (null == beginTime || beginTime.length() == 0) - return beginTime; - return beginTime + " 00:00:00"; - } - - public void setBeginTime(String beginTime) { - this.beginTime = beginTime; - } - - public String getEndTime() { - if (null == endTime || endTime.length() == 0) - return endTime; - return endTime + " 23:59:59"; - } - - public void setEndTime(String endTime) { - this.endTime = endTime; - } - - public Short getStatus() { - return status; - } - - public void setStatus(Short status) { - this.status = status; - } - - public String getContentdetails() { - return contentdetails; - } - - public void setContentdetails(String contentdetails) { - this.contentdetails = contentdetails; - } - - public String getRemark() { - return remark; - } - - public void setRemark(String remark) { - this.remark = remark; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/LogShowModel.java b/src/main/java/com/jsh/model/vo/basic/LogShowModel.java deleted file mode 100644 index 7a88a1cdaceaffedfa84cc0c73e3ca50c576e9e5..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/LogShowModel.java +++ /dev/null @@ -1,38 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class LogShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/RoleModel.java b/src/main/java/com/jsh/model/vo/basic/RoleModel.java deleted file mode 100644 index 8fdad4a0d8f22ce2a2008e983bfc2abdad8ba5a2..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/RoleModel.java +++ /dev/null @@ -1,122 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class RoleModel implements Serializable { - private RoleShowModel showModel = new RoleShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 角色名称 - */ - private String Name = ""; - - /** - * 分类ID - */ - private Long roleID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String roleIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - /** - * UBType,UserBusiness类型 - */ - private String UBType = ""; - - /** - * UBKeyId,UserBusiness关键id - */ - private String UBKeyId = ""; - - public RoleShowModel getShowModel() { - return showModel; - } - - public void setShowModel(RoleShowModel showModel) { - this.showModel = showModel; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public Long getRoleID() { - return roleID; - } - - public void setRoleID(Long roleID) { - this.roleID = roleID; - } - - public String getRoleIDs() { - return roleIDs; - } - - public void setRoleIDs(String roleIDs) { - this.roleIDs = roleIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getUBType() { - return UBType; - } - - public void setUBType(String uBType) { - UBType = uBType; - } - - public String getUBKeyId() { - return UBKeyId; - } - - public void setUBKeyId(String uBKeyId) { - UBKeyId = uBKeyId; - } - -} diff --git a/src/main/java/com/jsh/model/vo/basic/RoleShowModel.java b/src/main/java/com/jsh/model/vo/basic/RoleShowModel.java deleted file mode 100644 index 924912a9c2f2376b345d1d5607e1502d40114dfd..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/RoleShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class RoleShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/SupplierModel.java b/src/main/java/com/jsh/model/vo/basic/SupplierModel.java deleted file mode 100644 index f58979f7ab3e23a7a08e47e8e8bd37f52a42778f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/SupplierModel.java +++ /dev/null @@ -1,364 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.File; -import java.io.InputStream; -import java.io.Serializable; - -@SuppressWarnings("serial") -public class SupplierModel implements Serializable { - private SupplierShowModel showModel = new SupplierShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String supplier = ""; - - /** - * 类型 - */ - private String type = ""; - - /** - * 联系人 - */ - private String contacts = ""; - - /** - * 联系电话 - */ - private String phonenum = ""; - - /** - * 电子邮箱 - */ - private String email = ""; - - /** - * 预付款 - */ - private Double AdvanceIn; - - /** - * 期初应收 - */ - private Double BeginNeedGet; - - /** - * 期初应付 - */ - private Double BeginNeedPay; - - /** - * 累计应收 - */ - private Double AllNeedGet; - - /** - * 累计应付 - */ - private Double AllNeedPay; - - /** - * 描述信息 - */ - private String description = ""; - - private String fax = ""; - private String telephone = ""; - private String address = ""; - private String taxNum = ""; - private String bankName = ""; - private String accountNumber = ""; - private Double taxRate; - - private String UBType = ""; //UBType,UserBusiness类型 - - private String UBKeyId = ""; //UBKeyId,UserBusiness关键id - - /** - * 导入excel文件 - */ - private File supplierFile; - - /** - * 启用 - */ - private Boolean enabled = false; - - /** - * 供应商ID - */ - private Long supplierID = 0l; - - /** - * 供应商IDs 批量操作使用 - */ - private String supplierIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - private String browserType = ""; //浏览器类型 - private String fileName = ""; //文件名称 - private InputStream excelStream; //输入流,导出excel文件 - - public SupplierShowModel getShowModel() { - return showModel; - } - - public void setShowModel(SupplierShowModel showModel) { - this.showModel = showModel; - } - - public String getSupplier() { - return supplier; - } - - public void setSupplier(String supplier) { - this.supplier = supplier; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getContacts() { - return contacts; - } - - public void setContacts(String contacts) { - this.contacts = contacts; - } - - public String getPhonenum() { - return phonenum; - } - - public void setPhonenum(String phonenum) { - this.phonenum = phonenum; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public Double getAdvanceIn() { - return AdvanceIn; - } - - public void setAdvanceIn(Double advanceIn) { - AdvanceIn = advanceIn; - } - - public Double getBeginNeedGet() { - return BeginNeedGet; - } - - public void setBeginNeedGet(Double beginNeedGet) { - BeginNeedGet = beginNeedGet; - } - - public Double getBeginNeedPay() { - return BeginNeedPay; - } - - public void setBeginNeedPay(Double beginNeedPay) { - BeginNeedPay = beginNeedPay; - } - - public Double getAllNeedGet() { - return AllNeedGet; - } - - public void setAllNeedGet(Double allNeedGet) { - AllNeedGet = allNeedGet; - } - - public Double getAllNeedPay() { - return AllNeedPay; - } - - public void setAllNeedPay(Double allNeedPay) { - AllNeedPay = allNeedPay; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public Long getSupplierID() { - return supplierID; - } - - public void setSupplierID(Long supplierID) { - this.supplierID = supplierID; - } - - public String getSupplierIDs() { - return supplierIDs; - } - - public void setSupplierIDs(String supplierIDs) { - this.supplierIDs = supplierIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getFax() { - return fax; - } - - public void setFax(String fax) { - this.fax = fax; - } - - public String getTelephone() { - return telephone; - } - - public void setTelephone(String telephone) { - this.telephone = telephone; - } - - public String getAddress() { - return address; - } - - public void setAddress(String address) { - this.address = address; - } - - public String getTaxNum() { - return taxNum; - } - - public void setTaxNum(String taxNum) { - this.taxNum = taxNum; - } - - public String getBankName() { - return bankName; - } - - public void setBankName(String bankName) { - this.bankName = bankName; - } - - public String getAccountNumber() { - return accountNumber; - } - - public void setAccountNumber(String accountNumber) { - this.accountNumber = accountNumber; - } - - public Double getTaxRate() { - return taxRate; - } - - public void setTaxRate(Double taxRate) { - this.taxRate = taxRate; - } - - public String getUBType() { - return UBType; - } - - public void setUBType(String UBType) { - this.UBType = UBType; - } - - public String getUBKeyId() { - return UBKeyId; - } - - public void setUBKeyId(String UBKeyId) { - this.UBKeyId = UBKeyId; - } - - public String getBrowserType() { - return browserType; - } - - public void setBrowserType(String browserType) { - this.browserType = browserType; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public InputStream getExcelStream() { - return excelStream; - } - - public void setExcelStream(InputStream excelStream) { - this.excelStream = excelStream; - } - - public File getSupplierFile() { - return supplierFile; - } - - public void setSupplierFile(File supplierFile) { - this.supplierFile = supplierFile; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/SupplierShowModel.java b/src/main/java/com/jsh/model/vo/basic/SupplierShowModel.java deleted file mode 100644 index 9a24ad8439b10d23bbe5f709460bb625e1468a0d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/SupplierShowModel.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class SupplierShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - -} diff --git a/src/main/java/com/jsh/model/vo/basic/SystemConfigModel.java b/src/main/java/com/jsh/model/vo/basic/SystemConfigModel.java deleted file mode 100644 index d8af20a9cfed66f29ade1a9376e5d339ebbd0378..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/SystemConfigModel.java +++ /dev/null @@ -1,78 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class SystemConfigModel implements Serializable { - private SystemConfigShowModel showModel = new SystemConfigShowModel(); - - /** - * ======开始接受页面参数================= - **/ - private Long id = 0l; - private String type = ""; - private String name = ""; - private String value = ""; - private String description = ""; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public SystemConfigShowModel getShowModel() { - return showModel; - } - - public void setShowModel(SystemConfigShowModel showModel) { - this.showModel = showModel; - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public String getType() { - return type; - } - - public void setType(String type) { - this.type = type; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getValue() { - return value; - } - - public void setValue(String value) { - this.value = value; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/SystemConfigShowModel.java b/src/main/java/com/jsh/model/vo/basic/SystemConfigShowModel.java deleted file mode 100644 index 1f36e97e8bf2017e62dc94a5d945ec005c1bb579..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/SystemConfigShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class SystemConfigShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/UnitModel.java b/src/main/java/com/jsh/model/vo/basic/UnitModel.java deleted file mode 100644 index 705241876bc2dc48f6fd7951c50bc6be048a2c5b..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/UnitModel.java +++ /dev/null @@ -1,97 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class UnitModel implements Serializable { - private DepotShowModel showModel = new DepotShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String UName = ""; - - /** - * ID - */ - private Long unitID = 0l; - - /** - * IDs 批量操作使用 - */ - private String unitIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - - public DepotShowModel getShowModel() { - return showModel; - } - - public void setShowModel(DepotShowModel showModel) { - this.showModel = showModel; - } - - public String getUName() { - return UName; - } - - public void setUName(String UName) { - this.UName = UName; - } - - public Long getUnitID() { - return unitID; - } - - public void setUnitID(Long unitID) { - this.unitID = unitID; - } - - public String getUnitIDs() { - return unitIDs; - } - - public void setUnitIDs(String unitIDs) { - this.unitIDs = unitIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - -} diff --git a/src/main/java/com/jsh/model/vo/basic/UnitShowModel.java b/src/main/java/com/jsh/model/vo/basic/UnitShowModel.java deleted file mode 100644 index c68ce9ccf7a9a931800a58cf8a65a9bad4531e99..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/UnitShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class UnitShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/basic/UserBusinessModel.java b/src/main/java/com/jsh/model/vo/basic/UserBusinessModel.java deleted file mode 100644 index a4cf03a59302f59fa78f5389a5370fcf5032216f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/UserBusinessModel.java +++ /dev/null @@ -1,131 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class UserBusinessModel implements Serializable { - private UserBusinessShowModel showModel = new UserBusinessShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 角色名称 - */ - private String Type = ""; - - /** - * 主ID - */ - private String KeyId = ""; - - /** - * 值 - */ - private String Value = ""; - - private String BtnStr = ""; - - /** - * 分类ID - */ - private Long userBusinessID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String userBusinessIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public UserBusinessShowModel getShowModel() { - return showModel; - } - - public void setShowModel(UserBusinessShowModel showModel) { - this.showModel = showModel; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getKeyId() { - return KeyId; - } - - public void setKeyId(String keyId) { - KeyId = keyId; - } - - public String getValue() { - return Value; - } - - public void setValue(String value) { - Value = value; - } - - public Long getUserBusinessID() { - return userBusinessID; - } - - public void setUserBusinessID(Long userBusinessID) { - this.userBusinessID = userBusinessID; - } - - public String getUserBusinessIDs() { - return userBusinessIDs; - } - - public void setUserBusinessIDs(String userBusinessIDs) { - this.userBusinessIDs = userBusinessIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getBtnStr() { - return BtnStr; - } - - public void setBtnStr(String btnStr) { - BtnStr = btnStr; - } -} diff --git a/src/main/java/com/jsh/model/vo/basic/UserBusinessShowModel.java b/src/main/java/com/jsh/model/vo/basic/UserBusinessShowModel.java deleted file mode 100644 index d5e83227203e2e00acab9d1efaf1c50fc9b11eca..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/UserBusinessShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class UserBusinessShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/basic/UserModel.java b/src/main/java/com/jsh/model/vo/basic/UserModel.java deleted file mode 100644 index 65bb412d755ddc8223084105bbc53ba7d3d71e2e..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/UserModel.java +++ /dev/null @@ -1,220 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class UserModel implements Serializable { - private UserShowModel showModel = new UserShowModel(); - - /*+++++用户登录开始+++++++++++*/ - private String username = ""; - private String password = ""; - /*+++++用户登录结束+++++++++++*/ - - /** - * ===============以下处理用户管理部分=============== - */ - /** - * 用户登录名称 - */ - private String loginame; - - /** - * 职位 - */ - private String position; - - /** - * 部门 - */ - private String department; - - /** - * 电子邮件 - */ - private String email; - - /** - * 电话号码 - */ - private String phonenum; - - /** - * 是否管理员 0 ==管理员 1==非管理员 - */ - private Short ismanager = 1; - - /** - * 用户描述 - */ - private String description; - - /** - * 用户ID - */ - private Long userID = 0l; - - /** - * 用户IDs 批量操作使用 - */ - private String userIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - /** - * 根据标识判断是校验登录名称还是用户名称 0==用户名称 1==登录名称 - */ - private int checkFlag = 0; - - private String orgpwd = ""; - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getUsername() { - return username; - } - - public void setUsername(String username) { - this.username = username; - } - - public String getPassword() { - return password; - } - - public void setPassword(String password) { - this.password = password; - } - - public UserShowModel getShowModel() { - return showModel; - } - - public void setShowModel(UserShowModel showModel) { - this.showModel = showModel; - } - - public String getLoginame() { - return loginame; - } - - public void setLoginame(String loginame) { - this.loginame = loginame; - } - - public String getPosition() { - return position; - } - - public void setPosition(String position) { - this.position = position; - } - - public String getDepartment() { - return department; - } - - public void setDepartment(String department) { - this.department = department; - } - - public String getEmail() { - return email; - } - - public void setEmail(String email) { - this.email = email; - } - - public String getPhonenum() { - return phonenum; - } - - public void setPhonenum(String phonenum) { - this.phonenum = phonenum; - } - - public Short getIsmanager() { - return ismanager; - } - - public void setIsmanager(Short ismanager) { - this.ismanager = ismanager; - } - - public String getDescription() { - return description; - } - - public void setDescription(String description) { - this.description = description; - } - - public Long getUserID() { - return userID; - } - - public void setUserID(Long userID) { - this.userID = userID; - } - - public String getUserIDs() { - return userIDs; - } - - public void setUserIDs(String userIDs) { - this.userIDs = userIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public int getCheckFlag() { - return checkFlag; - } - - public void setCheckFlag(int checkFlag) { - this.checkFlag = checkFlag; - } - - public String getOrgpwd() { - return orgpwd; - } - - public void setOrgpwd(String orgpwd) { - this.orgpwd = orgpwd; - } - -} diff --git a/src/main/java/com/jsh/model/vo/basic/UserShowModel.java b/src/main/java/com/jsh/model/vo/basic/UserShowModel.java deleted file mode 100644 index 7339d745ba081468d34a8843ce63ebafee6b9d2d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/basic/UserShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.basic; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class UserShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/AccountHeadModel.java b/src/main/java/com/jsh/model/vo/materials/AccountHeadModel.java deleted file mode 100644 index afb90d19d8f2774e9e21b7a0edff3034a25cb177..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/AccountHeadModel.java +++ /dev/null @@ -1,212 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AccountHeadModel implements Serializable { - private AccountHeadShowModel showModel = new AccountHeadShowModel(); - - /** - * ======开始接受页面参数================= - **/ - private String Type; - private Long OrganId; - private Long HandsPersonId; - private Double ChangeAmount; - private Double TotalPrice; - private Long AccountId; - private String BillNo; - private String BillTime; - private String Remark; - private String BeginTime; //查询开始时间 - private String EndTime; //查询结束时间 - private String MonthTime; //查询月份 - - private String supplierId; //单位Id,用于查询单位的收付款 - - private String supType; //单位类型,客户、供应商 - /** - * 分类ID - */ - private Long accountHeadID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String accountHeadIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public AccountHeadShowModel getShowModel() { - return showModel; - } - - public void setShowModel(AccountHeadShowModel showModel) { - this.showModel = showModel; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public Long getOrganId() { - return OrganId; - } - - public void setOrganId(Long organId) { - OrganId = organId; - } - - public Long getHandsPersonId() { - return HandsPersonId; - } - - public void setHandsPersonId(Long handsPersonId) { - HandsPersonId = handsPersonId; - } - - public Double getChangeAmount() { - return ChangeAmount; - } - - public void setChangeAmount(Double changeAmount) { - ChangeAmount = changeAmount; - } - - public Double getTotalPrice() { - return TotalPrice; - } - - public void setTotalPrice(Double totalPrice) { - TotalPrice = totalPrice; - } - - public Long getAccountId() { - return AccountId; - } - - public void setAccountId(Long accountId) { - AccountId = accountId; - } - - public String getBillNo() { - return BillNo; - } - - public void setBillNo(String billNo) { - BillNo = billNo; - } - - public String getBillTime() { - return BillTime; - } - - public void setBillTime(String billTime) { - BillTime = billTime; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public String getBeginTime() { - return BeginTime; - } - - public void setBeginTime(String beginTime) { - BeginTime = beginTime; - } - - public String getEndTime() { - return EndTime; - } - - public void setEndTime(String endTime) { - EndTime = endTime; - } - - public String getMonthTime() { - return MonthTime; - } - - public void setMonthTime(String monthTime) { - MonthTime = monthTime; - } - - public Long getAccountHeadID() { - return accountHeadID; - } - - public void setAccountHeadID(Long accountHeadID) { - this.accountHeadID = accountHeadID; - } - - public String getAccountHeadIDs() { - return accountHeadIDs; - } - - public void setAccountHeadIDs(String accountHeadIDs) { - this.accountHeadIDs = accountHeadIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getSupplierId() { - return supplierId; - } - - public void setSupplierId(String supplierId) { - this.supplierId = supplierId; - } - - public String getSupType() { - return supType; - } - - public void setSupType(String supType) { - this.supType = supType; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/AccountHeadShowModel.java b/src/main/java/com/jsh/model/vo/materials/AccountHeadShowModel.java deleted file mode 100644 index 5a3d41b67230daaa3076446088b2db9e9210b90e..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/AccountHeadShowModel.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class AccountHeadShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - -} diff --git a/src/main/java/com/jsh/model/vo/materials/AccountItemModel.java b/src/main/java/com/jsh/model/vo/materials/AccountItemModel.java deleted file mode 100644 index 0a0da394e5dabda3d10253cbc28bb035e61cc654..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/AccountItemModel.java +++ /dev/null @@ -1,221 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.InputStream; -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AccountItemModel implements Serializable { - private AccountItemShowModel showModel = new AccountItemShowModel(); - - /** - * ======开始接受页面参数================= - **/ - private Long HeaderId; - private Long AccountId; - private Long InOutItemId; - private Double EachAmount; - private String Remark = ""; - - private String Inserted = ""; //json插入记录 - private String Deleted = ""; //json删除记录 - private String Updated = ""; //json修改记录 - - private String HeadIds = ""; //表头集合列表 - private String ListType = ""; //单据类型 - private String MonthTime = ""; //月份 - private String browserType = ""; - /** - * 文件名称 - */ - private String fileName = ""; - /** - * 分类ID - */ - private Long accountItemID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String accountItemIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 800; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - - /** - * 输入流,导出excel文件 - */ - private InputStream excelStream; - - public AccountItemShowModel getShowModel() { - return showModel; - } - - public void setShowModel(AccountItemShowModel showModel) { - this.showModel = showModel; - } - - public Long getHeaderId() { - return HeaderId; - } - - public void setHeaderId(Long headerId) { - HeaderId = headerId; - } - - public Long getAccountId() { - return AccountId; - } - - public void setAccountId(Long accountId) { - AccountId = accountId; - } - - public Long getInOutItemId() { - return InOutItemId; - } - - public void setInOutItemId(Long inOutItemId) { - InOutItemId = inOutItemId; - } - - public Double getEachAmount() { - return EachAmount; - } - - public void setEachAmount(Double eachAmount) { - EachAmount = eachAmount; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public String getInserted() { - return Inserted; - } - - public void setInserted(String inserted) { - Inserted = inserted; - } - - public String getDeleted() { - return Deleted; - } - - public void setDeleted(String deleted) { - Deleted = deleted; - } - - public String getUpdated() { - return Updated; - } - - public void setUpdated(String updated) { - Updated = updated; - } - - public String getHeadIds() { - return HeadIds; - } - - public void setHeadIds(String headIds) { - HeadIds = headIds; - } - - public String getListType() { - return ListType; - } - - public void setListType(String listType) { - ListType = listType; - } - - public String getMonthTime() { - return MonthTime; - } - - public void setMonthTime(String monthTime) { - MonthTime = monthTime; - } - - public String getBrowserType() { - return browserType; - } - - public void setBrowserType(String browserType) { - this.browserType = browserType; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public Long getAccountItemID() { - return accountItemID; - } - - public void setAccountItemID(Long accountItemID) { - this.accountItemID = accountItemID; - } - - public String getAccountItemIDs() { - return accountItemIDs; - } - - public void setAccountItemIDs(String accountItemIDs) { - this.accountItemIDs = accountItemIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public InputStream getExcelStream() { - return excelStream; - } - - public void setExcelStream(InputStream excelStream) { - this.excelStream = excelStream; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/AccountItemShowModel.java b/src/main/java/com/jsh/model/vo/materials/AccountItemShowModel.java deleted file mode 100644 index 9b8e05c95d889a0ad1085e4c5818f7ceb1b20367..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/AccountItemShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class AccountItemShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/DepotHeadModel.java b/src/main/java/com/jsh/model/vo/materials/DepotHeadModel.java deleted file mode 100644 index c5a9ee59be962e236cc1b5b805a847f2851a5739..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/DepotHeadModel.java +++ /dev/null @@ -1,404 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; - -/** - * @author alan - */ -@SuppressWarnings("serial") -public class DepotHeadModel implements Serializable { - private DepotHeadShowModel showModel = new DepotHeadShowModel(); - - /** - * ======开始接受页面参数================= - **/ - private String Type = ""; - private String SubType = ""; - private Long ProjectId; - private String DepotIds = ""; - private String DefaultNumber = ""; - private String Number = ""; - private String OperPersonName = ""; - private String OperTime; - private Long OrganId; - private Long HandsPersonId; - private Long AccountId; - private Double ChangeAmount; - private Long AllocationProjectId; - private Double TotalPrice; - private String PayType = ""; - private String Remark = ""; - - private String Salesman; - private String AccountIdList; - private String AccountMoneyList; - private Double Discount; - private Double DiscountMoney; - private Double DiscountLastMoney; - private Double OtherMoney; - private String OtherMoneyList; - private String OtherMoneyItem; - private Integer AccountDay; - //单据状态 - private Boolean Status = false; - //查询开始时间 - private String BeginTime; - //查询结束时间 - private String EndTime; - //查询月份 - private String MonthTime; - //单位Id,用于查询单位的应收应付 - private String supplierId; - //商品参数 - private String MaterialParam; - //单据id列表 - private String dhIds; - //单位类型,客户、供应商 - private String supType; - - - /** - * 分类ID - */ - private Long depotHeadID = 0L; - - /** - * 分类IDs 批量操作使用 - */ - private String depotHeadIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public DepotHeadShowModel getShowModel() { - return showModel; - } - - public void setShowModel(DepotHeadShowModel showModel) { - this.showModel = showModel; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getSubType() { - return SubType; - } - - public void setSubType(String subType) { - SubType = subType; - } - - public Long getProjectId() { - return ProjectId; - } - - public void setProjectId(Long projectId) { - ProjectId = projectId; - } - - public String getDepotIds() { - return DepotIds; - } - - public void setDepotIds(String depotIds) { - DepotIds = depotIds; - } - - public String getDefaultNumber() { - return DefaultNumber; - } - - public void setDefaultNumber(String defaultNumber) { - DefaultNumber = defaultNumber; - } - - public String getNumber() { - return Number; - } - - public void setNumber(String number) { - Number = number; - } - - public String getOperPersonName() { - return OperPersonName; - } - - public void setOperPersonName(String operPersonName) { - OperPersonName = operPersonName; - } - - public Long getOrganId() { - return OrganId; - } - - public void setOrganId(Long organId) { - OrganId = organId; - } - - public Long getHandsPersonId() { - return HandsPersonId; - } - - public void setHandsPersonId(Long handsPersonId) { - HandsPersonId = handsPersonId; - } - - public Long getAccountId() { - return AccountId; - } - - public void setAccountId(Long accountId) { - AccountId = accountId; - } - - public Double getChangeAmount() { - return ChangeAmount; - } - - public void setChangeAmount(Double changeAmount) { - ChangeAmount = changeAmount; - } - - public Long getAllocationProjectId() { - return AllocationProjectId; - } - - public void setAllocationProjectId(Long allocationProjectId) { - AllocationProjectId = allocationProjectId; - } - - public Double getTotalPrice() { - return TotalPrice; - } - - public void setTotalPrice(Double totalPrice) { - TotalPrice = totalPrice; - } - - public String getPayType() { - return PayType; - } - - public void setPayType(String payType) { - PayType = payType; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public Long getDepotHeadID() { - return depotHeadID; - } - - public void setDepotHeadID(Long depotHeadID) { - this.depotHeadID = depotHeadID; - } - - public String getDepotHeadIDs() { - return depotHeadIDs; - } - - public void setDepotHeadIDs(String depotHeadIDs) { - this.depotHeadIDs = depotHeadIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getBeginTime() { - return BeginTime; - } - - public void setBeginTime(String beginTime) { - BeginTime = beginTime; - } - - public String getEndTime() { - return EndTime; - } - - public void setEndTime(String endTime) { - EndTime = endTime; - } - - public String getOperTime() { - return OperTime; - } - - public void setOperTime(String operTime) { - OperTime = operTime; - } - - public String getMonthTime() { - return MonthTime; - } - - public void setMonthTime(String monthTime) { - MonthTime = monthTime; - } - - public String getSupplierId() { - return supplierId; - } - - public void setSupplierId(String supplierId) { - this.supplierId = supplierId; - } - - public String getSalesman() { - return Salesman; - } - - public void setSalesman(String salesman) { - Salesman = salesman; - } - - public String getAccountIdList() { - return AccountIdList; - } - - public void setAccountIdList(String accountIdList) { - AccountIdList = accountIdList; - } - - public String getAccountMoneyList() { - return AccountMoneyList; - } - - public void setAccountMoneyList(String accountMoneyList) { - AccountMoneyList = accountMoneyList; - } - - public Double getDiscount() { - return Discount; - } - - public void setDiscount(Double discount) { - Discount = discount; - } - - public Double getDiscountMoney() { - return DiscountMoney; - } - - public void setDiscountMoney(Double discountMoney) { - DiscountMoney = discountMoney; - } - - public Double getDiscountLastMoney() { - return DiscountLastMoney; - } - - public void setDiscountLastMoney(Double discountLastMoney) { - DiscountLastMoney = discountLastMoney; - } - - public Double getOtherMoney() { - return OtherMoney; - } - - public void setOtherMoney(Double otherMoney) { - OtherMoney = otherMoney; - } - - public String getOtherMoneyList() { - return OtherMoneyList; - } - - public void setOtherMoneyList(String otherMoneyList) { - OtherMoneyList = otherMoneyList; - } - - public String getOtherMoneyItem() { - return OtherMoneyItem; - } - - public void setOtherMoneyItem(String otherMoneyItem) { - OtherMoneyItem = otherMoneyItem; - } - - public Integer getAccountDay() { - return AccountDay; - } - - public void setAccountDay(Integer accountDay) { - AccountDay = accountDay; - } - - public Boolean getStatus() { - return Status; - } - - public void setStatus(Boolean status) { - Status = status; - } - - public String getMaterialParam() { - return MaterialParam; - } - - public void setMaterialParam(String materialParam) { - MaterialParam = materialParam; - } - - public String getDhIds() { - return dhIds; - } - - public void setDhIds(String dhIds) { - this.dhIds = dhIds; - } - - public String getSupType() { - return supType; - } - - public void setSupType(String supType) { - this.supType = supType; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/DepotHeadShowModel.java b/src/main/java/com/jsh/model/vo/materials/DepotHeadShowModel.java deleted file mode 100644 index c71a2486c7a21228a544ee2e3c15787a1cfafc4a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/DepotHeadShowModel.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class DepotHeadShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - -} diff --git a/src/main/java/com/jsh/model/vo/materials/DepotItemModel.java b/src/main/java/com/jsh/model/vo/materials/DepotItemModel.java deleted file mode 100644 index 20d2bba8be7323417c4ce8f57041a8e8022314f3..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/DepotItemModel.java +++ /dev/null @@ -1,385 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.InputStream; -import java.io.Serializable; - -@SuppressWarnings("serial") -public class DepotItemModel implements Serializable { - private DepotItemShowModel showModel = new DepotItemShowModel(); - - /** - * ======开始接受页面参数================= - **/ - private Long HeaderId; - private Long MaterialId; - private String MUnit; //计量单位 - private Double OperNumber; - private Double BasicNumber; - private Double UnitPrice; - private Double TaxUnitPrice; //含税单价 - private Double AllPrice; - private String Remark = ""; - private String Img = ""; - - private Long DepotId; - private Long AnotherDepotId; - private Double TaxRate; - private Double TaxMoney; - private Double TaxLastMoney; - private String OtherField1; - private String OtherField2; - private String OtherField3; - private String OtherField4; - private String OtherField5; - private String MType; - - private String Inserted = ""; //json插入记录 - private String Deleted = ""; //json删除记录 - private String Updated = ""; //json修改记录 - - private String HeadIds = ""; //表头集合列表 - private String MaterialIds = ""; //材料列表 - private String MonthTime = ""; //月份 - private Integer ProjectId = null; - private String browserType = ""; - /** - * 文件名称 - */ - private String fileName = ""; - /** - * 分类ID - */ - private Long depotItemID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String depotItemIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 800; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - - /** - * 输入流,导出excel文件 - */ - private InputStream excelStream; - - private String mpList = ""; //商品属性 - - public DepotItemShowModel getShowModel() { - return showModel; - } - - public void setShowModel(DepotItemShowModel showModel) { - this.showModel = showModel; - } - - public Long getHeaderId() { - return HeaderId; - } - - public void setHeaderId(Long headerId) { - HeaderId = headerId; - } - - public Long getMaterialId() { - return MaterialId; - } - - public void setMaterialId(Long materialId) { - MaterialId = materialId; - } - - public String getMUnit() { - return MUnit; - } - - public void setMUnit(String MUnit) { - this.MUnit = MUnit; - } - - public Double getTaxUnitPrice() { - return TaxUnitPrice; - } - - public void setTaxUnitPrice(Double taxUnitPrice) { - TaxUnitPrice = taxUnitPrice; - } - - public Double getOperNumber() { - return OperNumber; - } - - public void setOperNumber(Double operNumber) { - OperNumber = operNumber; - } - - public Double getBasicNumber() { - return BasicNumber; - } - - public void setBasicNumber(Double basicNumber) { - BasicNumber = basicNumber; - } - - public Double getUnitPrice() { - return UnitPrice; - } - - public void setUnitPrice(Double unitPrice) { - UnitPrice = unitPrice; - } - - public Double getAllPrice() { - return AllPrice; - } - - public void setAllPrice(Double allPrice) { - AllPrice = allPrice; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public String getImg() { - return Img; - } - - public void setImg(String img) { - Img = img; - } - - public Long getDepotItemID() { - return depotItemID; - } - - public void setDepotItemID(Long depotItemID) { - this.depotItemID = depotItemID; - } - - public String getDepotItemIDs() { - return depotItemIDs; - } - - public void setDepotItemIDs(String depotItemIDs) { - this.depotItemIDs = depotItemIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getInserted() { - return Inserted; - } - - public void setInserted(String inserted) { - Inserted = inserted; - } - - public String getDeleted() { - return Deleted; - } - - public void setDeleted(String deleted) { - Deleted = deleted; - } - - public String getUpdated() { - return Updated; - } - - public void setUpdated(String updated) { - Updated = updated; - } - - public String getHeadIds() { - return HeadIds; - } - - public void setHeadIds(String headIds) { - HeadIds = headIds; - } - - public String getMonthTime() { - return MonthTime; - } - - public void setMonthTime(String monthTime) { - MonthTime = monthTime; - } - - public Integer getProjectId() { - return ProjectId; - } - - public void setProjectId(Integer projectId) { - ProjectId = projectId; - } - - public String getMaterialIds() { - return MaterialIds; - } - - public void setMaterialIds(String materialIds) { - MaterialIds = materialIds; - } - - public String getBrowserType() { - return browserType; - } - - public void setBrowserType(String browserType) { - this.browserType = browserType; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public InputStream getExcelStream() { - return excelStream; - } - - public void setExcelStream(InputStream excelStream) { - this.excelStream = excelStream; - } - - public Long getDepotId() { - return DepotId; - } - - public void setDepotId(Long depotId) { - DepotId = depotId; - } - - public Long getAnotherDepotId() { - return AnotherDepotId; - } - - public void setAnotherDepotId(Long anotherDepotId) { - AnotherDepotId = anotherDepotId; - } - - public Double getTaxRate() { - return TaxRate; - } - - public void setTaxRate(Double taxRate) { - TaxRate = taxRate; - } - - public Double getTaxMoney() { - return TaxMoney; - } - - public void setTaxMoney(Double taxMoney) { - TaxMoney = taxMoney; - } - - public Double getTaxLastMoney() { - return TaxLastMoney; - } - - public void setTaxLastMoney(Double taxLastMoney) { - TaxLastMoney = taxLastMoney; - } - - public String getOtherField1() { - return OtherField1; - } - - public void setOtherField1(String otherField1) { - OtherField1 = otherField1; - } - - public String getOtherField2() { - return OtherField2; - } - - public void setOtherField2(String otherField2) { - OtherField2 = otherField2; - } - - public String getOtherField3() { - return OtherField3; - } - - public void setOtherField3(String otherField3) { - OtherField3 = otherField3; - } - - public String getOtherField4() { - return OtherField4; - } - - public void setOtherField4(String otherField4) { - OtherField4 = otherField4; - } - - public String getOtherField5() { - return OtherField5; - } - - public void setOtherField5(String otherField5) { - OtherField5 = otherField5; - } - - public String getMType() { - return MType; - } - - public void setMType(String MType) { - this.MType = MType; - } - - public String getMpList() { - return mpList; - } - - public void setMpList(String mpList) { - this.mpList = mpList; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/DepotItemShowModel.java b/src/main/java/com/jsh/model/vo/materials/DepotItemShowModel.java deleted file mode 100644 index e4ff69c80fee88f397f83e827f8a76eec6e9a03a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/DepotItemShowModel.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class DepotItemShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/MaterialCategoryModel.java b/src/main/java/com/jsh/model/vo/materials/MaterialCategoryModel.java deleted file mode 100644 index 1130f4175efc7798e29c051dfd3dbe32c4bc3120..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/MaterialCategoryModel.java +++ /dev/null @@ -1,122 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class MaterialCategoryModel implements Serializable { - private MaterialCategoryShowModel showModel = new MaterialCategoryShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String Name = ""; - - /** - * 等级 - */ - private Short CategoryLevel; - - /** - * ParentId - */ - private Long ParentId; - - /** - * 分类ID - */ - private Long materialCategoryID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String materialCategoryIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public MaterialCategoryShowModel getShowModel() { - return showModel; - } - - public void setShowModel(MaterialCategoryShowModel showModel) { - this.showModel = showModel; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public Short getCategoryLevel() { - return CategoryLevel; - } - - public void setCategoryLevel(Short categoryLevel) { - CategoryLevel = categoryLevel; - } - - public Long getParentId() { - return ParentId; - } - - public void setParentId(Long parentId) { - ParentId = parentId; - } - - public Long getMaterialCategoryID() { - return materialCategoryID; - } - - public void setMaterialCategoryID(Long materialCategoryID) { - this.materialCategoryID = materialCategoryID; - } - - public String getMaterialCategoryIDs() { - return materialCategoryIDs; - } - - public void setMaterialCategoryIDs(String materialCategoryIDs) { - this.materialCategoryIDs = materialCategoryIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - -} diff --git a/src/main/java/com/jsh/model/vo/materials/MaterialCategoryShowModel.java b/src/main/java/com/jsh/model/vo/materials/MaterialCategoryShowModel.java deleted file mode 100644 index 8a45111187d88a24dc389ec1fbf377ed4f6c5369..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/MaterialCategoryShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class MaterialCategoryShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/materials/MaterialModel.java b/src/main/java/com/jsh/model/vo/materials/MaterialModel.java deleted file mode 100644 index d70b4a3774f8ecc59e1982aa3be9b731c1841e31..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/MaterialModel.java +++ /dev/null @@ -1,397 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.File; -import java.io.InputStream; -import java.io.Serializable; - -@SuppressWarnings("serial") -public class MaterialModel implements Serializable { - private MaterialShowModel showModel = new MaterialShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String Name = ""; - - private String Mfrs = ""; //制造商 - - private Double Packing; //包装(KG/包) - - private Double SafetyStock; //安全存量(KG) - /** - * 型号 - */ - private String Model = ""; - - /** - * 规格 - */ - private String Standard = ""; - - /** - * 颜色 - */ - private String Color = ""; - - /** - * 单位 - */ - private String Unit = ""; - - /** - * 零售价 - */ - private Double RetailPrice; - - /** - * 最低售价 - */ - private Double LowPrice; - - /** - * 预设售价一 - */ - private Double PresetPriceOne; - - /** - * 预设售价二 - */ - private Double PresetPriceTwo; - - /** - * 备注 - */ - private String Remark = ""; - - private Long UnitId; - private String FirstOutUnit; - private String FirstInUnit; - private String PriceStrategy; - - /** - * 导入excel文件 - */ - private File materialFile; - - private Boolean Enabled = true; //是否启用 - - private String OtherField1; - - private String OtherField2; - - private String OtherField3; - - /** - * CategoryId - */ - private Long CategoryId; - - /** - * CategoryIds 用于in子查询 - */ - private String CategoryIds = "1"; - - /** - * 分类ID - */ - private Long materialID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String materialIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - private String browserType = ""; //浏览器类型 - private String fileName = ""; //文件名称 - private InputStream excelStream; //输入流,导出excel文件 - - private String mpList = ""; //商品属性 - - public MaterialShowModel getShowModel() { - return showModel; - } - - public void setShowModel(MaterialShowModel showModel) { - this.showModel = showModel; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public String getMfrs() { - return Mfrs; - } - - public void setMfrs(String mfrs) { - Mfrs = mfrs; - } - - public Double getPacking() { - return Packing; - } - - public void setPacking(Double packing) { - Packing = packing; - } - - public Double getSafetyStock() { - return SafetyStock; - } - - public void setSafetyStock(Double safetyStock) { - SafetyStock = safetyStock; - } - - public String getModel() { - return Model; - } - - public void setModel(String model) { - Model = model; - } - - public String getStandard() { - return Standard; - } - - public void setStandard(String standard) { - Standard = standard; - } - - public String getColor() { - return Color; - } - - public void setColor(String color) { - Color = color; - } - - public String getUnit() { - return Unit; - } - - public void setUnit(String unit) { - Unit = unit; - } - - public Double getRetailPrice() { - return RetailPrice; - } - - public void setRetailPrice(Double retailPrice) { - RetailPrice = retailPrice; - } - - public Double getLowPrice() { - return LowPrice; - } - - public void setLowPrice(Double lowPrice) { - LowPrice = lowPrice; - } - - public Double getPresetPriceOne() { - return PresetPriceOne; - } - - public void setPresetPriceOne(Double presetPriceOne) { - PresetPriceOne = presetPriceOne; - } - - public Double getPresetPriceTwo() { - return PresetPriceTwo; - } - - public void setPresetPriceTwo(Double presetPriceTwo) { - PresetPriceTwo = presetPriceTwo; - } - - public String getRemark() { - return Remark; - } - - public void setRemark(String remark) { - Remark = remark; - } - - public Long getCategoryId() { - return CategoryId; - } - - public void setCategoryId(Long categoryId) { - CategoryId = categoryId; - } - - public Long getMaterialID() { - return materialID; - } - - public void setMaterialID(Long materialID) { - this.materialID = materialID; - } - - public String getMaterialIDs() { - return materialIDs; - } - - public void setMaterialIDs(String materialIDs) { - this.materialIDs = materialIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - - public String getCategoryIds() { - return CategoryIds; - } - - public void setCategoryIds(String categoryIds) { - CategoryIds = categoryIds; - } - - public Long getUnitId() { - return UnitId; - } - - public void setUnitId(Long unitId) { - UnitId = unitId; - } - - public String getFirstOutUnit() { - return FirstOutUnit; - } - - public void setFirstOutUnit(String firstOutUnit) { - FirstOutUnit = firstOutUnit; - } - - public String getFirstInUnit() { - return FirstInUnit; - } - - public void setFirstInUnit(String firstInUnit) { - FirstInUnit = firstInUnit; - } - - public String getPriceStrategy() { - return PriceStrategy; - } - - public void setPriceStrategy(String priceStrategy) { - PriceStrategy = priceStrategy; - } - - public Boolean getEnabled() { - return Enabled; - } - - public void setEnabled(Boolean enabled) { - Enabled = enabled; - } - - public String getOtherField1() { - return OtherField1; - } - - public void setOtherField1(String otherField1) { - OtherField1 = otherField1; - } - - public String getOtherField2() { - return OtherField2; - } - - public void setOtherField2(String otherField2) { - OtherField2 = otherField2; - } - - public String getOtherField3() { - return OtherField3; - } - - public void setOtherField3(String otherField3) { - OtherField3 = otherField3; - } - - public String getBrowserType() { - return browserType; - } - - public void setBrowserType(String browserType) { - this.browserType = browserType; - } - - public String getFileName() { - return fileName; - } - - public void setFileName(String fileName) { - this.fileName = fileName; - } - - public InputStream getExcelStream() { - return excelStream; - } - - public void setExcelStream(InputStream excelStream) { - this.excelStream = excelStream; - } - - public File getMaterialFile() { - return materialFile; - } - - public void setMaterialFile(File materialFile) { - this.materialFile = materialFile; - } - - public String getMpList() { - return mpList; - } - - public void setMpList(String mpList) { - this.mpList = mpList; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/MaterialPropertyModel.java b/src/main/java/com/jsh/model/vo/materials/MaterialPropertyModel.java deleted file mode 100644 index f1d99784f14a1eb8e16f6963e9dcc9615682ec87..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/MaterialPropertyModel.java +++ /dev/null @@ -1,121 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class MaterialPropertyModel implements Serializable { - private MaterialCategoryShowModel showModel = new MaterialCategoryShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 名称 - */ - private String nativeName; - - /** - * 是否启用 - */ - private Boolean enabled = true; - - /** - * 排序 - */ - private String sort; - - /** - * 别名 - */ - private String anotherName; - - /** - * Id编号 - */ - private Long id; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public MaterialCategoryShowModel getShowModel() { - return showModel; - } - - public void setShowModel(MaterialCategoryShowModel showModel) { - this.showModel = showModel; - } - - public String getNativeName() { - return nativeName; - } - - public void setNativeName(String nativeName) { - this.nativeName = nativeName; - } - - public Boolean getEnabled() { - return enabled; - } - - public void setEnabled(Boolean enabled) { - this.enabled = enabled; - } - - public String getSort() { - return sort; - } - - public void setSort(String sort) { - this.sort = sort; - } - - public String getAnotherName() { - return anotherName; - } - - public void setAnotherName(String anotherName) { - this.anotherName = anotherName; - } - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } -} diff --git a/src/main/java/com/jsh/model/vo/materials/MaterialPropertyShowModel.java b/src/main/java/com/jsh/model/vo/materials/MaterialPropertyShowModel.java deleted file mode 100644 index 4440b50026aa2837e1151833e5f90f9b005101ee..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/MaterialPropertyShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class MaterialPropertyShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/materials/MaterialShowModel.java b/src/main/java/com/jsh/model/vo/materials/MaterialShowModel.java deleted file mode 100644 index 9056215d82e7a98614449dfae7966b3ae9c469d3..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/MaterialShowModel.java +++ /dev/null @@ -1,40 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class MaterialShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - - -} diff --git a/src/main/java/com/jsh/model/vo/materials/PersonModel.java b/src/main/java/com/jsh/model/vo/materials/PersonModel.java deleted file mode 100644 index 3c43c69a207982e1aa7fa6f9028761eaa69e42fe..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/PersonModel.java +++ /dev/null @@ -1,108 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; - -@SuppressWarnings("serial") -public class PersonModel implements Serializable { - private PersonShowModel showModel = new PersonShowModel(); - - /**======开始接受页面参数=================**/ - /** - * 类型 - */ - private String Type = ""; - /** - * 姓名 - */ - private String Name = ""; - - /** - * 分类ID - */ - private Long personID = 0l; - - /** - * 分类IDs 批量操作使用 - */ - private String personIDs = ""; - - /** - * 每页显示的个数 - */ - private int pageSize = 10; - - /** - * 当前页码 - */ - private int pageNo = 1; - - /** - * 用户IP,用户记录操作日志 - */ - private String clientIp = ""; - - public PersonShowModel getShowModel() { - return showModel; - } - - public void setShowModel(PersonShowModel showModel) { - this.showModel = showModel; - } - - public String getType() { - return Type; - } - - public void setType(String type) { - Type = type; - } - - public String getName() { - return Name; - } - - public void setName(String name) { - Name = name; - } - - public Long getPersonID() { - return personID; - } - - public void setPersonID(Long personID) { - this.personID = personID; - } - - public String getPersonIDs() { - return personIDs; - } - - public void setPersonIDs(String personIDs) { - this.personIDs = personIDs; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public int getPageNo() { - return pageNo; - } - - public void setPageNo(int pageNo) { - this.pageNo = pageNo; - } - - public String getClientIp() { - return clientIp; - } - - public void setClientIp(String clientIp) { - this.clientIp = clientIp; - } - -} diff --git a/src/main/java/com/jsh/model/vo/materials/PersonShowModel.java b/src/main/java/com/jsh/model/vo/materials/PersonShowModel.java deleted file mode 100644 index 4162fce70e9ed6ba1c8e9f72944e76aa8fdb1b94..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/model/vo/materials/PersonShowModel.java +++ /dev/null @@ -1,39 +0,0 @@ -package com.jsh.model.vo.materials; - -import java.io.Serializable; -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -@SuppressWarnings("serial") -public class PersonShowModel implements Serializable { - /** - * 提示信息 - */ - private String msgTip = ""; - - /** - * 系统数据 - */ - @SuppressWarnings("rawtypes") - private Map map = new HashMap(); - - public String getMsgTip() { - return msgTip; - } - - public void setMsgTip(String msgTip) { - this.msgTip = msgTip; - } - - @SuppressWarnings("rawtypes") - public Map getMap() { - return map; - } - - @SuppressWarnings("rawtypes") - public void setMap(Map map) { - this.map = map; - } - -} diff --git a/src/main/java/com/jsh/service/asset/AssetIService.java b/src/main/java/com/jsh/service/asset/AssetIService.java deleted file mode 100644 index f18a8891140d2a9288cb9c5e516e65c551d906c5..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/asset/AssetIService.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.jsh.service.asset; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Asset; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -import java.io.File; -import java.io.InputStream; - -public interface AssetIService extends BaseIService { - /** - * 导出信息 - * - * @return - */ - InputStream exmportExcel(String isAllPage, PageUtil pageUtil) throws JshException; - - /** - * 导入资产excel文件--表格格式 同 媒资列表 || 资产名称-资产类型-单价-用户-购买时间-状态-位置-资产编号-序列号-有效日期-保修日期-供应商-标签-描述 - * 业务规则:导入时,检查资产名称是否存在,如存在就不考虑表格中资产类型。如资产名不存在,就新建资产名,类型用表格中的,但类型必须是系统中存在的,不存在的不能导入。 - * 资产名称,用户可以添加,其他的应该不能填 - * - * @param assetFile excel表格文件 - * @param isCheck 是否检查 0--手工确定 1--直接导入数据库中 - * @return 错误的表格数据 - * @throws JshException - */ - InputStream importExcel(File assetFile, int isCheck) throws JshException; -} diff --git a/src/main/java/com/jsh/service/asset/AssetService.java b/src/main/java/com/jsh/service/asset/AssetService.java deleted file mode 100644 index 4c24cb1ac685f67cf0bee22ffd82520a0ae6a014..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/asset/AssetService.java +++ /dev/null @@ -1,629 +0,0 @@ -package com.jsh.service.asset; - -import com.jsh.base.BaseService; -import com.jsh.base.Log; -import com.jsh.dao.asset.AssetIDAO; -import com.jsh.dao.basic.AssetNameIDAO; -import com.jsh.dao.basic.CategoryIDAO; -import com.jsh.dao.basic.SupplierIDAO; -import com.jsh.dao.basic.UserIDAO; -import com.jsh.model.po.Asset; -import com.jsh.model.po.Assetname; -import com.jsh.model.po.Category; -import com.jsh.model.po.Supplier; -import com.jsh.util.AssetConstants; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import jxl.Workbook; -import jxl.format.Colour; -import jxl.write.*; -import org.apache.poi.hssf.usermodel.HSSFSheet; -import org.apache.poi.hssf.usermodel.HSSFWorkbook; -import org.apache.poi.ss.usermodel.Cell; -import org.apache.poi.ss.usermodel.DateUtil; -import org.apache.poi.ss.usermodel.Row; - -import java.io.*; -import java.sql.Timestamp; -import java.text.ParseException; -import java.util.*; - -public class AssetService extends BaseService implements AssetIService { - /** - * 初始化加载所有系统基础数据 - */ - @SuppressWarnings({"rawtypes"}) - private static Map mapData = new HashMap(); - /** - * 错误的表格数据 - */ - private static List wrongData = new ArrayList(); - private AssetIDAO assetDao; - private AssetNameIDAO assetNameDao; - private CategoryIDAO categoryDao; - private SupplierIDAO supplierDao; - private UserIDAO userDao; - - /** - * 导出Excel表格 - */ - @Override - public InputStream exmportExcel(String isAllPage, PageUtil pageUtil) throws JshException { - try { - if ("currentPage".equals(isAllPage)) { - assetDao.find(pageUtil); - } else { - pageUtil.setCurPage(0); - pageUtil.setPageSize(0); - assetDao.find(pageUtil); - } - - //将OutputStream转化为InputStream - ByteArrayOutputStream out = new ByteArrayOutputStream(); - putDataOnOutputStream(out, pageUtil.getPageList()); - return new ByteArrayInputStream(out.toByteArray()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出资产信息为excel表格异常", e); - throw new JshException("export asset info to excel exception", e); - } - } - - @Override - public InputStream importExcel(File assetFile, int isCheck) throws JshException { - //全局变量--每次调用前需要清空数据 - mapData.clear(); - //1、加载系统基础数据 - loadSystemData(); - //2、解析文件成资产数据 - parseFile(assetFile); - - if (null != wrongData && wrongData.size() > 0) { - //将OutputStream转化为InputStream - ByteArrayOutputStream out = new ByteArrayOutputStream(); - putDataOnOutputStream(out, wrongData); - return new ByteArrayInputStream(out.toByteArray()); - } else - return null; - //2、是否直接插入数据库中 -// if(0 == isCheck) -// System.out.println("手动检查"); -// else -// System.out.println("自动检查插入"); - } - - /** - * 初始加载系统基础数据--导入过程中,不用频繁查询数据库内容,影响系统性能。 - * - * @throws JshException - */ - @SuppressWarnings({"unchecked", "rawtypes"}) - private void loadSystemData() throws JshException { - PageUtil pageUtil = new PageUtil(); - pageUtil.setPageSize(0); - pageUtil.setCurPage(0); - try { - Map condition = pageUtil.getAdvSearch(); - condition.put("id_s_order", "desc"); - categoryDao.find(pageUtil); - mapData.put("categoryList", pageUtil.getPageList()); - - supplierDao.find(pageUtil); - mapData.put("supplierList", pageUtil.getPageList()); - - condition.put("isystem_n_eq", 1); - condition.put("id_s_order", "desc"); - userDao.find(pageUtil); - mapData.put("userList", pageUtil.getPageList()); - - //清除搜索条件 防止对查询有影响 - condition.remove("isystem_n_eq"); - - assetNameDao.find(pageUtil); - mapData.put("assetnameList", pageUtil.getPageList()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>查找系统基础数据信息异常", e); - } - } - - /** - * 解析excel表格 - * - * @param assetFile - */ - @SuppressWarnings("unchecked") - private void parseFile(File assetFile) { - //每次调用前清空 - wrongData.clear(); - int totalRow = 0; - try { - //创建对Excel工作簿文件的引用 - HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(assetFile)); - //创建对工作表的引用,获取第一个工作表的内容 - HSSFSheet sheet = workbook.getSheetAt(0); - /** - * ===================================== - * 1、此处要增加文件的验证,如果不是资产文件需要进行特殊的处理,13列 - * 2、文件内容为空处理 - * 3、如果是修改过的文件内容 - */ - Iterator itsheet = sheet.rowIterator(); - while (itsheet.hasNext()) { - //获取当前行数据 - Row row = itsheet.next(); - //获取一行有多少单元格 -// System.out.println(row.getLastCellNum()); - - //excel表格第几行数据 从1开始 0 是表头 - int rowNum = row.getRowNum(); - /** - * 表头跳过不读 - */ - if (AssetConstants.BusinessForExcel.EXCEL_TABLE_HEAD == rowNum) - continue; - - //开始处理excel表格内容 --每行数据读取,同时统计总共行数 - totalRow++; - - //获取excel表格的每格数据内容 - Iterator it = row.cellIterator(); - //资产子类型--添加了一些excel表格数据 - Asset asset = new Asset(); - //保存每个单元格错误类型 - Map cellType = new HashMap(); - - //名称需要类型字段 - Assetname nameModel = null; - //资产名称 - @SuppressWarnings("unused") - String assetname = ""; - - //资产类型 - String categoryStr = ""; - //设置列号 - asset.setRowLineNum(rowNum); - - Cell cell = null; - //判断列号--从零开始 - int cellIndex = 0; - while (it.hasNext()) { - //获取每个单元格对象 - cell = it.next(); - //获取列号 - cellIndex = cell.getColumnIndex(); - //设置此单元格为字符串类型 - cell.setCellType(Cell.CELL_TYPE_STRING); - - Log.infoFileSync("==================excel表格中第" + totalRow + "行的第 " + cellIndex + "列的值为" + cell.getStringCellValue()); - - //每行中数据顺序 资产名称-资产类型-单价-用户-购买时间-状态-位置-资产编号-序列号-有效日期-保修日期-供应商-标签-描述 - switch (cellIndex) { - case AssetConstants.BusinessForExcel.EXCEL_ASSETNAME: - //资产名称是否存在 - boolean isAssetnameExist = false; - //此处添加资产名称处理 - String nameValue = cell.getStringCellValue(); - if (null == nameValue || "".equals(nameValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产名称没有填写"); - cellType.put(cellIndex, "wrong"); - break; - } - assetname = nameValue; - - List nameList = mapData.get("assetnameList"); - for (Assetname name : nameList) { - //表示名称存在--直接进行保存,不需要判断类型字段 - if (nameValue.equals(name.getAssetname())) { - isAssetnameExist = true; - //直接进行设置 - asset.setAssetname(name); - break; - } - } - //名称不存在 重新创建 - if (!isAssetnameExist) { - isAssetnameExist = false; - nameModel = new Assetname(); - nameModel.setAssetname(nameValue); - nameModel.setIsconsumables((short) 0); - nameModel.setIsystem((short) 1); - nameModel.setDescription(""); - - asset.setAssetnameStr(nameValue); - } - break; - case AssetConstants.BusinessForExcel.EXCEL_CATEGORY: - //此处添加资产类型处理 - //类型信息是否存在 - boolean isCategoryExist = false; - String categoryValue = cell.getStringCellValue(); - if ((null == categoryValue || "".equals(categoryValue)) && null != nameModel) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产名称没有指定类型"); - cellType.put(cellIndex, "wrong"); - break; - } - categoryStr = categoryValue; - - List categoryList = mapData.get("categoryList"); - for (Category category : categoryList) { - //表示新创建 --名称设置过 不需要再进行处理 - if (category.getAssetname().equals(categoryValue) && null != nameModel) { - isCategoryExist = true; - nameModel.setCategory(category); - asset.setAssetname(nameModel); - assetNameDao.create(nameModel); - break; - } - } - //重新创建 - if (null != nameModel && !isCategoryExist) { - //首先创建类型信息 - Category canew = new Category(); - canew.setAssetname(categoryValue); - canew.setIsystem((short) 1); - canew.setDescription(""); - categoryDao.create(canew); - - nameModel.setCategory(canew); - - assetNameDao.create(nameModel); - - asset.setAssetname(nameModel); - } - //nameModel为空表示 已经处理过类型信息 --此处不需要进行处理 - else { - asset.setCategory(categoryStr); - } - break; - case AssetConstants.BusinessForExcel.EXCEL_PRICE: - //此处添加单价处理 - String priceValue = cell.getStringCellValue(); - //String priceValue = getCellFormatValue(cell); - if (null == priceValue || "".equals(priceValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写单价"); - break; - } - //解析价格 - if (Tools.checkStrIsNum(priceValue)) - asset.setPrice(Double.parseDouble(priceValue)); - else { - Log.errorFileSync(">>>>>>>>>>>>>>>>>资产价格不是数字格式"); - cellType.put(cellIndex, "wrong"); - asset.setPrice(0.00d); - asset.setPriceStr(priceValue); - } - break; - case AssetConstants.BusinessForExcel.EXCEL_USER: - //此处添加用户处理--用户信息不需要进行处理 - break; - case AssetConstants.BusinessForExcel.EXCEL_PURCHASE_DATE: - //此处添加购买时间处理--时间不需要处理 - String purchaseValue = cell.getStringCellValue(); - if (null == purchaseValue || "".equals(purchaseValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写购买日期"); - break; - } - try { - asset.setPurchasedate(new Timestamp(Tools.parse(purchaseValue, "yyyy-MM-dd").getTime())); - } catch (ParseException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>解析购买日期异常", e); - try { - asset.setPurchasedate(new Timestamp(DateUtil.getJavaDate(Double.parseDouble(purchaseValue)).getTime())); - } catch (Exception t) { - asset.setPurchasedateStr(purchaseValue); - cellType.put(cellIndex, "wrong"); - } - } - break; - case AssetConstants.BusinessForExcel.EXCEL_STATUS: - //此处添加状态处理--默认为在库状态 - asset.setStatus((short) 0); - break; - case AssetConstants.BusinessForExcel.EXCEL_LOCATION: - //此处添加位置处理--不需要进行处理 - String locationValue = cell.getStringCellValue(); - if (null == locationValue || "".equals(locationValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写位置信息"); - break; - } - asset.setLocation(locationValue); - break; - case AssetConstants.BusinessForExcel.EXCEL_NUM: - //此处添加资产编号处理 - String assetnumValue = cell.getStringCellValue(); - if (null == assetnumValue || "".equals(assetnumValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写资产编号"); - break; - } - //设置资产编号 - asset.setAssetnum(assetnumValue); - break; - case AssetConstants.BusinessForExcel.EXCEL_SERIALNO: - //此处添加序列号处理 - String assetseriValue = cell.getStringCellValue(); - if (null == assetseriValue || "".equals(assetseriValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写序列号"); - break; - } - //设置资产编号 - asset.setSerialnum(assetseriValue); - break; - case AssetConstants.BusinessForExcel.EXCEL_EXPIRATION_DATE: - //此处添加有效日期处理--不需要处理 - String expirationValue = cell.getStringCellValue(); - if (null == expirationValue || "".equals(expirationValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有有效日期"); - break; - } - - try { - asset.setPeriodofvalidity(new Timestamp(Tools.parse(expirationValue, "yyyy-MM-dd").getTime())); - } catch (ParseException e) { - try { - asset.setPeriodofvalidity(new Timestamp(DateUtil.getJavaDate(Double.parseDouble(expirationValue)).getTime())); - } catch (Exception t) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>解析有效日期异常", t); - asset.setPeriodofvalidityStr(expirationValue); - cellType.put(cellIndex, "wrong"); - } - } - break; - case AssetConstants.BusinessForExcel.EXCEL_WARRANTY_DATE: - //此处添加保修日期处理--不需要处理 - String warrantyValue = cell.getStringCellValue(); - if (null == warrantyValue || "".equals(warrantyValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有保修日期"); - break; - } - try { - asset.setWarrantydate(new Timestamp(Tools.parse(warrantyValue, "yyyy-MM-dd").getTime())); - } catch (ParseException e) { - try { - asset.setWarrantydate(new Timestamp(DateUtil.getJavaDate(Double.parseDouble(warrantyValue)).getTime())); - } catch (Exception t) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>解析保修日期异常", t); - asset.setWarrantydateStr(warrantyValue); - cellType.put(cellIndex, "wrong"); - } - } - break; - case AssetConstants.BusinessForExcel.EXCEL_SUPPLIER: - //此处添加供应商处理 - - String supplierValue = cell.getStringCellValue(); - if (null == supplierValue || "".equals(supplierValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写供应商"); - cellType.put(cellIndex, "wrong"); - break; - } - //供应商 - List supplierList = mapData.get("supplierList"); - boolean isSupplerExist = false; - for (Supplier supplier : supplierList) { - if (supplierValue.equals(supplier.getSupplier())) { - isSupplerExist = true; - asset.setSupplier(supplier); - break; - } - } - if (!isSupplerExist) { - Supplier sup = new Supplier(); - sup.setIsystem((short) 1); - sup.setSupplier(supplierValue); - sup.setDescription(""); - supplierDao.create(sup); - //保存供应商信息 - asset.setSupplier(sup); - } - break; - case AssetConstants.BusinessForExcel.EXCEL_LABLE: - //此处添加标签处理 - String lableValue = cell.getStringCellValue(); - if (null == lableValue || "".equals(lableValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写标签信息"); - break; - } - asset.setLabels(lableValue); - break; - case AssetConstants.BusinessForExcel.EXCEL_DESC: - //此处添加描述信息处理 - String descValue = cell.getStringCellValue(); - if (null == descValue || "".equals(descValue)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>资产没有填写描述信息"); - break; - } - asset.setDescription(descValue); - break; - } - } - asset.setCreatetime(new Timestamp(Calendar.getInstance().getTime().getTime())); - asset.setUpdatetime(new Timestamp(Calendar.getInstance().getTime().getTime())); - asset.setCellInfo(cellType); - - Log.infoFileSync(totalRow + "行总共有" + cellIndex + "列"); - //资产文件为13列,否则不是资产模板文件--不输入的时候 判断会有问题 暂时去掉 -// if(cellIndex != 13) -// { -// Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>导入文件格式不合法,请重新选择文件进行操作!"); -// return; -// } - - //判断完成后增加数据 - if ((null != cellType && cellType.size() > 0) - || asset.getAssetname() == null || asset.getAssetname().getCategory() == null) - wrongData.add(asset); - else { - if (null == asset.getStatus()) - asset.setStatus((short) 0); - assetDao.save(asset); - } - } - } catch (FileNotFoundException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>读取excel文件异常:找不到指定文件!", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>读取excel文件异常,请确认文件格式是否正确 !", e); - } - Log.infoFileSync("===================excel表格总共有 " + totalRow + " 条记录!"); - } - - /** - * 生成excel表格 - * - * @param os - */ - private void putDataOnOutputStream(OutputStream os, List dataList) { - WritableWorkbook workbook = null; - try { - workbook = Workbook.createWorkbook(os); - WritableSheet sheet = workbook.createSheet("资产详细信息", 0); - //增加列头 - int[] colunmWidth = {30, 30, 10, 15, 20, 10, 30, 30, 30, 20, 20, 20, 30, 80}; - String[] colunmName = {"资产名称", "资产类型", "单价", "用户", "购买时间", "状态", "位置", "资产编号", "序列号", "有效日期", "保修日期", "供应商", "标签", "描述"}; - for (int i = 0; i < colunmWidth.length; i++) { - sheet.setColumnView(i, colunmWidth[i]); - sheet.addCell(new Label(i, 0, colunmName[i])); - } - - if (null != dataList && dataList.size() > 0) { - int i = 1; - for (Asset asset : dataList) { - int j = 0; - Map cellInfo = asset.getCellInfo(); - - //第一列,填充 数据, Label(列,行,值) - sheet.addCell(getLabelInfo(cellInfo, j++, i, asset.getAssetname() == null ? "" : asset.getAssetname().getAssetname(), asset)); - sheet.addCell(getLabelInfo(cellInfo, j++, i, asset.getAssetname() == null || asset.getAssetname().getCategory() == null ? "" : asset.getAssetname().getCategory().getAssetname(), asset)); - sheet.addCell(getLabelInfo(cellInfo, j++, i, asset.getPrice() == null ? "" : asset.getPrice().toString(), asset)); - sheet.addCell(new Label(j++, i, asset.getUser() == null ? "" : asset.getUser().getUsername())); - sheet.addCell(getLabelInfo(cellInfo, j++, i, asset.getPurchasedate() == null ? "" : Tools.getCurrentMonth(asset.getPurchasedate()), asset)); - Short status = asset.getStatus(); - if (null == status) - status = 0; - if (AssetConstants.BusinessForExcel.EXCEl_STATUS_ZAIKU == status) - sheet.addCell(new Label(j++, i, "在库")); - else if (AssetConstants.BusinessForExcel.EXCEl_STATUS_INUSE == status) - sheet.addCell(new Label(j++, i, "在用")); - else if (AssetConstants.BusinessForExcel.EXCEl_STATUS_CONSUME == status) - sheet.addCell(new Label(j++, i, "消费")); - sheet.addCell(new Label(j++, i, asset.getLocation())); - sheet.addCell(new Label(j++, i, asset.getAssetnum())); - sheet.addCell(new Label(j++, i, asset.getSerialnum())); - sheet.addCell(getLabelInfo(cellInfo, j++, i, asset.getPeriodofvalidity() == null ? "" : Tools.getCurrentMonth(asset.getPeriodofvalidity()), asset)); - sheet.addCell(getLabelInfo(cellInfo, j++, i, asset.getWarrantydate() == null ? "" : Tools.getCurrentMonth(asset.getWarrantydate()), asset)); - sheet.addCell(new Label(j++, i, asset.getSupplier() == null ? "" : asset.getSupplier().getSupplier())); - sheet.addCell(new Label(j++, i, asset.getLabels())); - sheet.addCell(new Label(j++, i, asset.getDescription())); - - i++; - } - } - workbook.write(); - workbook.close(); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出资产信息为excel表格异常", e); - } - } - - /** - * 根据错误信息进行提示--execel表格背景设置为红色,表示导入信息有误 - * - * @param cellInfo - * @param cellNum - * @param columnNum - * @param value - * @return - */ - private Label getLabelInfo(Map cellInfo, int cellNum, int columnNum, String value, Asset asset) { - Label label = null; - - //设置背景颜色 - WritableCellFormat cellFormat = new WritableCellFormat(); - try { - cellFormat.setBackground(Colour.RED); - } catch (WriteException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>设置单元格背景颜色错误", e); - } - - if (null == cellInfo || cellInfo.size() == 0) { - if (cellNum == AssetConstants.BusinessForExcel.EXCEL_ASSETNAME) { - if (null == asset.getAssetname() && null != asset.getAssetnameStr()) - label = new Label(cellNum, columnNum, asset.getAssetnameStr()); - else if (null != asset.getAssetname()) - label = new Label(cellNum, columnNum, value); - else - label = new Label(cellNum, columnNum, null, cellFormat); - } else if (cellNum == AssetConstants.BusinessForExcel.EXCEL_CATEGORY) { - if (null != asset.getAssetnameStr() && null == asset.getAssetname()) - label = new Label(cellNum, columnNum, null, cellFormat); - else if (null == asset.getAssetnameStr() && null == asset.getAssetname() - && asset.getCategory() != null && asset.getCategory().length() > 0) - label = new Label(cellNum, columnNum, asset.getCategory()); - else - label = new Label(cellNum, columnNum, value); - } else - label = new Label(cellNum, columnNum, value); - } else { - //表示此单元格有错误 - if (cellInfo.containsKey(cellNum)) { - if (cellNum == AssetConstants.BusinessForExcel.EXCEL_ASSETNAME) { - if (null == asset.getAssetname() && null != asset.getAssetnameStr()) - label = new Label(cellNum, columnNum, asset.getAssetnameStr()); - if (null != asset.getAssetname()) - label = new Label(cellNum, columnNum, asset.getAssetname().getAssetname()); - else - label = new Label(cellNum, columnNum, value, cellFormat); - } else if (cellNum == AssetConstants.BusinessForExcel.EXCEL_CATEGORY) { - if (null != asset.getAssetnameStr() && null == asset.getAssetname()) - label = new Label(cellNum, columnNum, null, cellFormat); - else if (null == asset.getAssetnameStr() && null == asset.getAssetname() - && asset.getCategory() != null && asset.getCategory().length() > 0) - label = new Label(cellNum, columnNum, asset.getCategory()); - } else if (cellNum == AssetConstants.BusinessForExcel.EXCEL_PRICE) - label = new Label(cellNum, columnNum, asset.getPriceStr(), cellFormat); - else if (cellNum == AssetConstants.BusinessForExcel.EXCEL_PURCHASE_DATE) - label = new Label(cellNum, columnNum, asset.getPurchasedateStr(), cellFormat); - else if (cellNum == AssetConstants.BusinessForExcel.EXCEL_WARRANTY_DATE) - label = new Label(cellNum, columnNum, asset.getWarrantydateStr(), cellFormat); - else if (cellNum == AssetConstants.BusinessForExcel.EXCEL_EXPIRATION_DATE) - label = new Label(cellNum, columnNum, asset.getPeriodofvalidityStr(), cellFormat); - else - label = new Label(cellNum, columnNum, value, cellFormat); - } else { - if (null == asset.getAssetname() && null != asset.getAssetnameStr() && cellNum == 0) - label = new Label(cellNum, columnNum, asset.getAssetnameStr()); - else if (null == asset.getAssetnameStr() && null == asset.getAssetname() - && asset.getCategory() != null && asset.getCategory().length() > 0 && cellNum == 1) - label = new Label(cellNum, columnNum, asset.getCategory()); - else - label = new Label(cellNum, columnNum, value); - } - } - return label; - } - - /*=====================以下处理与业务无关的共用方法=================================*/ - public void setAssetDao(AssetIDAO assetDao) { - this.assetDao = assetDao; - } - - public void setAssetNameDao(AssetNameIDAO assetNameDao) { - this.assetNameDao = assetNameDao; - } - - public void setCategoryDao(CategoryIDAO categoryDao) { - this.categoryDao = categoryDao; - } - - public void setSupplierDao(SupplierIDAO supplierDao) { - this.supplierDao = supplierDao; - } - - public void setUserDao(UserIDAO userDao) { - this.userDao = userDao; - } - - @Override - protected Class getEntityClass() { - return Asset.class; - } -} diff --git a/src/main/java/com/jsh/service/asset/ReportIService.java b/src/main/java/com/jsh/service/asset/ReportIService.java deleted file mode 100644 index c8cd3234488e018f9fcf970bc7e0685e8ea22f8e..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/asset/ReportIService.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.jsh.service.asset; - -import com.jsh.model.po.Asset; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface ReportIService { - /** - * 查找报表数据 - * - * @param asset - * @throws JshException - */ - void find(PageUtil asset, String reportType, String reportName) throws JshException; -} diff --git a/src/main/java/com/jsh/service/asset/ReportService.java b/src/main/java/com/jsh/service/asset/ReportService.java deleted file mode 100644 index 6ad9f95847c51a3ac582d181e869d9586905dc1a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/asset/ReportService.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.jsh.service.asset; - -import com.jsh.dao.asset.ReportIDAO; -import com.jsh.model.po.Asset; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public class ReportService implements ReportIService { - private ReportIDAO reportDao; - - public void setReportDao(ReportIDAO reportDao) { - this.reportDao = reportDao; - } - - @Override - public void find(PageUtil pageUtil, String reportType, String reportName) throws JshException { - reportDao.find(pageUtil, reportType, reportName); - } - -} diff --git a/src/main/java/com/jsh/service/basic/AccountIService.java b/src/main/java/com/jsh/service/basic/AccountIService.java deleted file mode 100644 index 7e2615c5b3d0e7db217acfa4900d3a982b1f30a4..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/AccountIService.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Account; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface AccountIService extends BaseIService { - public void findAccountInOutList(PageUtil depotHead, Long accountId) throws JshException; -} diff --git a/src/main/java/com/jsh/service/basic/AccountService.java b/src/main/java/com/jsh/service/basic/AccountService.java deleted file mode 100644 index 01d30dfae35998dc8f56d8f86116877271d1909d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/AccountService.java +++ /dev/null @@ -1,26 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.AccountIDAO; -import com.jsh.model.po.Account; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public class AccountService extends BaseService implements AccountIService { - @SuppressWarnings("unused") - private AccountIDAO accountDao; - - public void setAccountDao(AccountIDAO accountDao) { - this.accountDao = accountDao; - } - - @Override - protected Class getEntityClass() { - return Account.class; - } - - public void findAccountInOutList(PageUtil pageUtil, Long accountId) throws JshException { - accountDao.findAccountInOutList(pageUtil, accountId); - } - -} diff --git a/src/main/java/com/jsh/service/basic/AppIService.java b/src/main/java/com/jsh/service/basic/AppIService.java deleted file mode 100644 index a5e575be0d1cfd090bcefbdbd5a73dfb077a04ce..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/AppIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.App; - -public interface AppIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/AppService.java b/src/main/java/com/jsh/service/basic/AppService.java deleted file mode 100644 index b814085089f10106a62a4b028b46d57e7d9c119e..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/AppService.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.AppIDAO; -import com.jsh.dao.basic.UserBusinessIDAO; -import com.jsh.model.po.App; - -public class AppService extends BaseService implements AppIService { - @SuppressWarnings("unused") - private AppIDAO appDao; - @SuppressWarnings("unused") - private UserBusinessIDAO userBusinessDao; - - - public void setAppDao(AppIDAO appDao) { - this.appDao = appDao; - } - - public void setUserBusinessDao(UserBusinessIDAO userBusinessDao) { - this.userBusinessDao = userBusinessDao; - } - - @Override - protected Class getEntityClass() { - return App.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/AssetNameIService.java b/src/main/java/com/jsh/service/basic/AssetNameIService.java deleted file mode 100644 index 0505861fd8ce984fbe4dfb3a9a90c19a7a7188c9..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/AssetNameIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Assetname; - -public interface AssetNameIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/AssetNameService.java b/src/main/java/com/jsh/service/basic/AssetNameService.java deleted file mode 100644 index bb8340d777296108415a71f47c151f2ee989e290..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/AssetNameService.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.AssetNameIDAO; -import com.jsh.model.po.Assetname; - -public class AssetNameService extends BaseService implements AssetNameIService { - @SuppressWarnings("unused") - private AssetNameIDAO assetNameDao; - - public void setAssetNameDao(AssetNameIDAO assetNameDao) { - this.assetNameDao = assetNameDao; - } - - @Override - protected Class getEntityClass() { - return Assetname.class; - } -} diff --git a/src/main/java/com/jsh/service/basic/CategoryIService.java b/src/main/java/com/jsh/service/basic/CategoryIService.java deleted file mode 100644 index 3a2aee7f729a2428d31e8cacb4ee64c4e3d329ac..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/CategoryIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Category; - -public interface CategoryIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/CategoryService.java b/src/main/java/com/jsh/service/basic/CategoryService.java deleted file mode 100644 index 6482fd58f60d32ec0797a02c6107ead137994bb9..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/CategoryService.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.CategoryIDAO; -import com.jsh.model.po.Category; - -public class CategoryService extends BaseService implements CategoryIService { - @SuppressWarnings("unused") - private CategoryIDAO categoryDao; - - public void setCategoryDao(CategoryIDAO categoryDao) { - this.categoryDao = categoryDao; - } - - @Override - protected Class getEntityClass() { - return Category.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/DepotIService.java b/src/main/java/com/jsh/service/basic/DepotIService.java deleted file mode 100644 index 47634f9510a842436ba3580fe87702111ee25d83..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/DepotIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Depot; - -public interface DepotIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/DepotService.java b/src/main/java/com/jsh/service/basic/DepotService.java deleted file mode 100644 index e8833d023e6f3a49395c42ef21b4de8c81b7aaef..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/DepotService.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.DepotIDAO; -import com.jsh.dao.basic.UserBusinessIDAO; -import com.jsh.model.po.Depot; - -public class DepotService extends BaseService implements DepotIService { - @SuppressWarnings("unused") - private DepotIDAO depotDao; - @SuppressWarnings("unused") - private UserBusinessIDAO userBusinessDao; - - - public void setDepotDao(DepotIDAO depotDao) { - this.depotDao = depotDao; - } - - public void setUserBusinessDao(UserBusinessIDAO userBusinessDao) { - this.userBusinessDao = userBusinessDao; - } - - - @Override - protected Class getEntityClass() { - return Depot.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/FunctionsIService.java b/src/main/java/com/jsh/service/basic/FunctionsIService.java deleted file mode 100644 index 57d89f7827d733e659314eb3802d1d2db59fc827..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/FunctionsIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Functions; - -public interface FunctionsIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/FunctionsService.java b/src/main/java/com/jsh/service/basic/FunctionsService.java deleted file mode 100644 index b9b539cf9764ef3fd657a0e084bdf89f1bbd8118..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/FunctionsService.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.FunctionsIDAO; -import com.jsh.dao.basic.UserBusinessIDAO; -import com.jsh.model.po.Functions; - -public class FunctionsService extends BaseService implements FunctionsIService { - @SuppressWarnings("unused") - private FunctionsIDAO functionsDao; - @SuppressWarnings("unused") - private UserBusinessIDAO userBusinessDao; - - - public void setFunctionsDao(FunctionsIDAO functionsDao) { - this.functionsDao = functionsDao; - } - - public void setUserBusinessDao(UserBusinessIDAO userBusinessDao) { - this.userBusinessDao = userBusinessDao; - } - - @Override - protected Class getEntityClass() { - return Functions.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/InOutItemIService.java b/src/main/java/com/jsh/service/basic/InOutItemIService.java deleted file mode 100644 index 7702102e724a4cdba8935fe5da9132839e295469..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/InOutItemIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.InOutItem; - -public interface InOutItemIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/InOutItemService.java b/src/main/java/com/jsh/service/basic/InOutItemService.java deleted file mode 100644 index eb3dd2be90cd70699770f62a1e1a909643e3db8e..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/InOutItemService.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.InOutItemIDAO; -import com.jsh.model.po.InOutItem; - -public class InOutItemService extends BaseService implements InOutItemIService { - @SuppressWarnings("unused") - private InOutItemIDAO inOutItemDao; - - public void setInOutItemDao(InOutItemIDAO inOutItemDao) { - this.inOutItemDao = inOutItemDao; - } - - @Override - protected Class getEntityClass() { - return InOutItem.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/LogIService.java b/src/main/java/com/jsh/service/basic/LogIService.java deleted file mode 100644 index 856f1322dfb5646f5bd89035ebeef3bb20e50e12..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/LogIService.java +++ /dev/null @@ -1,16 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Logdetails; -import com.jsh.util.JshException; - -public interface LogIService extends BaseIService { - /** - * 增加 - * - * @param t 对象 - * @throws JshException - */ - @Override - void save(Logdetails t); -} diff --git a/src/main/java/com/jsh/service/basic/LogService.java b/src/main/java/com/jsh/service/basic/LogService.java deleted file mode 100644 index 56e064fa2f5274723e99d5654145cc74aff0dd6d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/LogService.java +++ /dev/null @@ -1,29 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.base.Log; -import com.jsh.dao.basic.LogIDAO; -import com.jsh.model.po.Logdetails; - -public class LogService extends BaseService implements LogIService { - @SuppressWarnings("unused") - private LogIDAO logDao; - - public void setLogDao(LogIDAO logDao) { - this.logDao = logDao; - } - - @Override - protected Class getEntityClass() { - return Logdetails.class; - } - - @Override - public void save(Logdetails t) { - try { - super.save(t); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>创建操作日志异常", e); - } - } -} \ No newline at end of file diff --git a/src/main/java/com/jsh/service/basic/RoleIService.java b/src/main/java/com/jsh/service/basic/RoleIService.java deleted file mode 100644 index 8cc2aaa32f26d0ddaa04ec28aa4d6730390f58b6..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/RoleIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Role; - -public interface RoleIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/RoleService.java b/src/main/java/com/jsh/service/basic/RoleService.java deleted file mode 100644 index 3ce8dfd227037cec04ec197c5f6d79b865539cb8..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/RoleService.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.RoleIDAO; -import com.jsh.dao.basic.UserBusinessIDAO; -import com.jsh.model.po.Role; - -public class RoleService extends BaseService implements RoleIService { - @SuppressWarnings("unused") - private RoleIDAO roleDao; - @SuppressWarnings("unused") - private UserBusinessIDAO userBusinessDao; - - public void setRoleDao(RoleIDAO roleDao) { - this.roleDao = roleDao; - } - - public void setUserBusinessDao(UserBusinessIDAO userBusinessDao) { - this.userBusinessDao = userBusinessDao; - } - - @Override - protected Class getEntityClass() { - return Role.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/SupplierIService.java b/src/main/java/com/jsh/service/basic/SupplierIService.java deleted file mode 100644 index 028807015f5eb34ec593436c3fc5e15b595114a9..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/SupplierIService.java +++ /dev/null @@ -1,17 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Supplier; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -import java.io.File; -import java.io.InputStream; - -public interface SupplierIService extends BaseIService { - public void batchSetEnable(Boolean enable, String supplierIDs); - - public InputStream exmportExcel(String isAllPage, PageUtil pageUtil) throws JshException; - - public InputStream importExcel(File assetFile) throws JshException; -} diff --git a/src/main/java/com/jsh/service/basic/SupplierService.java b/src/main/java/com/jsh/service/basic/SupplierService.java deleted file mode 100644 index 3eed4ec4bf87f6f297e39b591a67d2c17558a757..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/SupplierService.java +++ /dev/null @@ -1,437 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.base.Log; -import com.jsh.dao.basic.SupplierIDAO; -import com.jsh.dao.basic.UserBusinessIDAO; -import com.jsh.model.po.Supplier; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import com.jsh.util.SupplierConstants; -import com.jsh.util.Tools; -import jxl.Workbook; -import jxl.format.Colour; -import jxl.write.*; -import org.apache.poi.hssf.usermodel.HSSFSheet; -import org.apache.poi.hssf.usermodel.HSSFWorkbook; -import org.apache.poi.ss.usermodel.Cell; -import org.apache.poi.ss.usermodel.Row; - -import java.io.*; -import java.lang.Boolean; -import java.util.*; - -public class SupplierService extends BaseService implements SupplierIService { - /** - * 初始化加载所有系统基础数据 - */ - @SuppressWarnings({"rawtypes"}) - private static Map mapData = new HashMap(); - /** - * 错误的表格数据 - */ - private static List wrongData = new ArrayList(); - @SuppressWarnings("unused") - private SupplierIDAO supplierDao; - @SuppressWarnings("unused") - private UserBusinessIDAO userBusinessDao; - - /** - * 设置映射基类 - * - * @return - */ - @Override - protected Class getEntityClass() { - return Supplier.class; - } - - public void setSupplierDao(SupplierIDAO supplierDao) { - this.supplierDao = supplierDao; - } - - public void setUserBusinessDao(UserBusinessIDAO userBusinessDao) { - this.userBusinessDao = userBusinessDao; - } - - public void batchSetEnable(Boolean enable, String supplierIDs) { - supplierDao.batchSetEnable(enable, supplierIDs); - } - - /** - * 导出Excel表格 - */ - @Override - public InputStream exmportExcel(String isAllPage, PageUtil pageUtil) throws JshException { - try { - //将OutputStream转化为InputStream - ByteArrayOutputStream out = new ByteArrayOutputStream(); - putDataOnOutputStream(out, pageUtil.getPageList()); - return new ByteArrayInputStream(out.toByteArray()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出信息为excel表格异常", e); - throw new JshException("导出信息为excel表格异常", e); - } - } - - /** - * 生成excel表格 - * - * @param os - */ - @SuppressWarnings("deprecation") - private void putDataOnOutputStream(OutputStream os, List dataList) { - WritableWorkbook workbook = null; - try { - workbook = Workbook.createWorkbook(os); - WritableSheet sheet = workbook.createSheet("信息报表", 0); - //增加列头 - String[] colunmName = {"名称", "类型", "联系人", "电话", "电子邮箱", "预收款", "期初应收", "期初应付", "备注", "传真", "手机", "地址", "纳税人识别号", "开户行", "账号", "税率", "状态"}; - for (int i = 0; i < colunmName.length; i++) { - sheet.setColumnView(i, 10); - sheet.addCell(new Label(i, 0, colunmName[i])); - } - if (null != dataList && dataList.size() > 0) { - int i = 1; - for (Supplier supplier : dataList) { - int j = 0; - Map cellInfo = supplier.getCellInfo(); - sheet.addCell(new Label(j++, i, supplier.getSupplier())); - sheet.addCell(new Label(j++, i, supplier.getType())); - sheet.addCell(new Label(j++, i, supplier.getContacts() == null ? "" : supplier.getContacts())); - sheet.addCell(new Label(j++, i, supplier.getPhonenum() == null ? "" : supplier.getPhonenum())); - sheet.addCell(new Label(j++, i, supplier.getEmail() == null ? "" : supplier.getEmail())); - sheet.addCell(getLabelInfo(cellInfo, j++, i, supplier.getAdvanceIn() == null ? "" : supplier.getAdvanceIn().toString(), supplier)); - sheet.addCell(getLabelInfo(cellInfo, j++, i, supplier.getBeginNeedGet() == null ? "" : supplier.getBeginNeedGet().toString(), supplier)); - sheet.addCell(getLabelInfo(cellInfo, j++, i, supplier.getBeginNeedPay() == null ? "" : supplier.getBeginNeedPay().toString(), supplier)); - sheet.addCell(new Label(j++, i, supplier.getDescription() == null ? "" : supplier.getDescription())); - sheet.addCell(new Label(j++, i, supplier.getFax() == null ? "" : supplier.getFax())); - sheet.addCell(new Label(j++, i, supplier.getTelephone() == null ? "" : supplier.getTelephone())); - sheet.addCell(new Label(j++, i, supplier.getAddress() == null ? "" : supplier.getAddress())); - sheet.addCell(new Label(j++, i, supplier.getTaxNum() == null ? "" : supplier.getTaxNum())); - sheet.addCell(new Label(j++, i, supplier.getBankName() == null ? "" : supplier.getBankName())); - sheet.addCell(new Label(j++, i, supplier.getAccountNumber() == null ? "" : supplier.getAccountNumber())); - sheet.addCell(getLabelInfo(cellInfo, j++, i, supplier.getTaxRate() == null ? "" : supplier.getTaxRate().toString(), supplier)); - sheet.addCell(new Label(j++, i, supplier.getEnabled() ? "启用" : "禁用")); - i++; - } - } - workbook.write(); - workbook.close(); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出信息为excel表格异常", e); - } - } - - /** - * 根据错误信息进行提示--excel表格背景设置为红色,表示导入信息有误 - * - * @param cellInfo - * @param cellNum - * @param columnNum - * @param value - * @return - */ - private Label getLabelInfo(Map cellInfo, int cellNum, int columnNum, String value, Supplier supplier) { - Label label = null; - - //设置背景颜色 - WritableCellFormat cellFormat = new WritableCellFormat(); - try { - cellFormat.setBackground(Colour.RED); - } catch (WriteException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>设置单元格背景颜色错误", e); - } - - if (null == cellInfo || cellInfo.size() == 0) { - label = new Label(cellNum, columnNum, value); - } else { - //表示此单元格有错误 - if (cellInfo.containsKey(cellNum)) { - if (cellNum == SupplierConstants.BusinessForExcel.EXCEL_ADVANCE_IN) { - label = new Label(cellNum, columnNum, supplier.getAdvanceInStr(), cellFormat); - } else if (cellNum == SupplierConstants.BusinessForExcel.EXCEL_BEGIN_NEED_GET) { - label = new Label(cellNum, columnNum, supplier.getBeginNeedGetStr(), cellFormat); - } else if (cellNum == SupplierConstants.BusinessForExcel.EXCEL_BEGIN_NEED_PAY) { - label = new Label(cellNum, columnNum, supplier.getBeginNeedPayStr(), cellFormat); - } else if (cellNum == SupplierConstants.BusinessForExcel.EXCEL_TAX_RATE) { - label = new Label(cellNum, columnNum, supplier.getTaxRateStr(), cellFormat); - } - } else { - label = new Label(cellNum, columnNum, value); - } - } - return label; - } - - @Override - public InputStream importExcel(File assetFile) throws JshException { - //全局变量--每次调用前需要清空数据 - mapData.clear(); - //2、解析文件成资产数据 - parseFile(assetFile); - - if (null != wrongData && wrongData.size() > 0) { - //将OutputStream转化为InputStream - ByteArrayOutputStream out = new ByteArrayOutputStream(); - putDataOnOutputStream(out, wrongData); - return new ByteArrayInputStream(out.toByteArray()); - } else { - return null; - } - } - - - /** - * 解析excel表格 - * - * @param assetFile - */ - @SuppressWarnings("unchecked") - private void parseFile(File assetFile) { - //每次调用前清空 - wrongData.clear(); - int totalRow = 0; - try { - //创建对Excel工作簿文件的引用 - HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(assetFile)); - //创建对工作表的引用,获取第一个工作表的内容 - HSSFSheet sheet = workbook.getSheetAt(0); - /** - * ===================================== - * 1、此处要增加文件的验证,如果不是资产文件需要进行特殊的处理,13列 - * 2、文件内容为空处理 - * 3、如果是修改过的文件内容 - */ - Iterator itsheet = sheet.rowIterator(); - while (itsheet.hasNext()) { - //获取当前行数据 - Row row = itsheet.next(); - //获取一行有多少单元格 -// System.out.println(row.getLastCellNum()); - - //excel表格第几行数据 从1开始 0 是表头 - int rowNum = row.getRowNum(); - /** - * 表头跳过不读 - */ - if (SupplierConstants.BusinessForExcel.EXCEL_TABLE_HEAD == rowNum) - continue; - - //开始处理excel表格内容 --每行数据读取,同时统计总共行数 - totalRow++; - - //获取excel表格的每格数据内容 - Iterator it = row.cellIterator(); - //资产子类型--添加了一些excel表格数据 - Supplier supplier = new Supplier(); - //保存每个单元格错误类型 - Map cellType = new HashMap(); - Boolean hasBeginNeedGet = false; //是否存在期初应付 - //设置列号 - supplier.setRowLineNum(rowNum); - - Cell cell = null; - //判断列号--从零开始 - int cellIndex = 0; - while (it.hasNext()) { - //获取每个单元格对象 - cell = it.next(); - //获取列号 - cellIndex = cell.getColumnIndex(); - //设置此单元格为字符串类型 - cell.setCellType(Cell.CELL_TYPE_STRING); - - Log.infoFileSync("==================excel表格中第" + totalRow + "行的第 " + cellIndex + "列的值为" + cell.getStringCellValue()); - - //每行中数据顺序 "名称","类型","联系人","电话","电子邮箱","预收款","期初应收","期初应付","备注","传真","手机","地址","纳税人识别号","开户行","账号","税率" - switch (cellIndex) { - case SupplierConstants.BusinessForExcel.EXCEL_SUPPLIER: - String supplierName = cell.getStringCellValue(); - if (null == supplierName || "".equals(supplierName)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(名称)信息"); - break; - } - supplier.setSupplier(supplierName); - break; - case SupplierConstants.BusinessForExcel.EXCEL_TYPE: - String type = cell.getStringCellValue(); - if (null == type || "".equals(type)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(类型)信息"); - break; - } - supplier.setType(type); - break; - case SupplierConstants.BusinessForExcel.EXCEL_CONTACTS: - String contacts = cell.getStringCellValue(); - if (null == contacts || "".equals(contacts)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(联系人)信息"); - break; - } - supplier.setContacts(contacts); - break; - case SupplierConstants.BusinessForExcel.EXCEL_PHONE_NUM: - String phoneNum = cell.getStringCellValue(); - if (null == phoneNum || "".equals(phoneNum)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(电话)信息"); - break; - } - supplier.setPhonenum(phoneNum); - break; - case SupplierConstants.BusinessForExcel.EXCEL_EMAIL: - String email = cell.getStringCellValue(); - if (null == email || "".equals(email)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(电子邮箱)信息"); - break; - } - supplier.setEmail(email); - break; - case SupplierConstants.BusinessForExcel.EXCEL_ADVANCE_IN: - String advanceIn = cell.getStringCellValue(); - if (null == advanceIn || "".equals(advanceIn)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(预收款)信息"); - break; - } - if (Tools.checkStrIsNum(advanceIn)) { - supplier.setAdvanceIn(Double.parseDouble(advanceIn)); - } else { - Log.errorFileSync(">>>>>>>>>>>>>>>>>(预收款)不是数字格式"); - cellType.put(cellIndex, "wrong"); - supplier.setAdvanceIn(0.00d); - supplier.setAdvanceInStr(advanceIn); - } - break; - case SupplierConstants.BusinessForExcel.EXCEL_BEGIN_NEED_GET: - String beginNeedGet = cell.getStringCellValue(); - if (null == beginNeedGet || "".equals(beginNeedGet)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(期初应收)信息"); - break; - } - if (Tools.checkStrIsNum(beginNeedGet) && Double.parseDouble(beginNeedGet) >= 0) { - if (Double.parseDouble(beginNeedGet) > 0) { - hasBeginNeedGet = true; //存在期初应付信息 - } - supplier.setBeginNeedGet(Double.parseDouble(beginNeedGet)); - } else { - Log.errorFileSync(">>>>>>>>>>>>>>>>>(期初应收)不是数字格式"); - cellType.put(cellIndex, "wrong"); - supplier.setBeginNeedGet(0.00d); - supplier.setBeginNeedGetStr(beginNeedGet); - } - break; - case SupplierConstants.BusinessForExcel.EXCEL_BEGIN_NEED_PAY: - String beginNeedPay = cell.getStringCellValue(); - if (null == beginNeedPay || "".equals(beginNeedPay)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(期初应付)信息"); - break; - } - if (Tools.checkStrIsNum(beginNeedPay) && Double.parseDouble(beginNeedPay) >= 0) { - if (hasBeginNeedGet) { //同时存在不允许 - Log.errorFileSync(">>>>>>>>>>>>>>>>>(期初应付)和期初应收不能同时存在"); - cellType.put(cellIndex, "wrong"); - supplier.setBeginNeedPay(0.00d); - supplier.setBeginNeedPayStr(beginNeedPay); - } else { - supplier.setBeginNeedPay(Double.parseDouble(beginNeedPay)); - } - } else { - Log.errorFileSync(">>>>>>>>>>>>>>>>>(期初应付)不是数字格式"); - cellType.put(cellIndex, "wrong"); - supplier.setBeginNeedPay(0.00d); - supplier.setBeginNeedPayStr(beginNeedPay); - } - break; - case SupplierConstants.BusinessForExcel.EXCEL_DESCRIPTION: - String description = cell.getStringCellValue(); - if (null == description || "".equals(description)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(备注)信息"); - break; - } - supplier.setDescription(description); - break; - case SupplierConstants.BusinessForExcel.EXCEL_FAX: - String fax = cell.getStringCellValue(); - if (null == fax || "".equals(fax)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(传真)信息"); - break; - } - supplier.setFax(fax); - break; - case SupplierConstants.BusinessForExcel.EXCEL_TELEPHONE: - String telephone = cell.getStringCellValue(); - if (null == telephone || "".equals(telephone)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(手机)信息"); - break; - } - supplier.setTelephone(telephone); - break; - case SupplierConstants.BusinessForExcel.EXCEL_ADDRESS: - String address = cell.getStringCellValue(); - if (null == address || "".equals(address)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(地址)信息"); - break; - } - supplier.setAddress(address); - break; - case SupplierConstants.BusinessForExcel.EXCEL_TAX_NUM: - String taxNum = cell.getStringCellValue(); - if (null == taxNum || "".equals(taxNum)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(纳税人识别号)信息"); - break; - } - supplier.setTaxNum(taxNum); - break; - case SupplierConstants.BusinessForExcel.EXCEL_BANK_NAME: - String bankName = cell.getStringCellValue(); - if (null == bankName || "".equals(bankName)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(开户行)信息"); - break; - } - supplier.setBankName(bankName); - break; - case SupplierConstants.BusinessForExcel.EXCEL_ACCOUNT_NUMBER: - String accountNumber = cell.getStringCellValue(); - if (null == accountNumber || "".equals(accountNumber)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(账号)信息"); - break; - } - supplier.setAccountNumber(accountNumber); - break; - case SupplierConstants.BusinessForExcel.EXCEL_TAX_RATE: - String taxRate = cell.getStringCellValue(); - if (null == taxRate || "".equals(taxRate)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(税率)信息"); - break; - } - if (Tools.checkStrIsNum(taxRate)) { - supplier.setTaxRate(Double.parseDouble(taxRate)); - } else { - Log.errorFileSync(">>>>>>>>>>>>>>>>>(税率)不是数字格式"); - cellType.put(cellIndex, "wrong"); - supplier.setTaxRate(0.00d); - supplier.setTaxRateStr(taxRate); - } - break; - } - } - supplier.setCellInfo(cellType); - - Log.infoFileSync(totalRow + "行总共有" + cellIndex + "列"); - - //判断完成后增加数据 - if ((null != cellType && cellType.size() > 0) || supplier.getSupplier() == null) { - wrongData.add(supplier); - } else { - supplier.setEnabled(true); - supplier.setIsystem((short) 1); - supplierDao.save(supplier); - } - } - } catch (FileNotFoundException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>读取excel文件异常:找不到指定文件!", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>读取excel文件异常,请确认文件格式是否正确 !", e); - } - Log.infoFileSync("===================excel表格总共有 " + totalRow + " 条记录!"); - } -} diff --git a/src/main/java/com/jsh/service/basic/SystemConfigIService.java b/src/main/java/com/jsh/service/basic/SystemConfigIService.java deleted file mode 100644 index 5cca2eb943b840f276dcd9af251ecf9c1faba175..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/SystemConfigIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.SystemConfig; - -public interface SystemConfigIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/SystemConfigService.java b/src/main/java/com/jsh/service/basic/SystemConfigService.java deleted file mode 100644 index 8d94977a1f5774c893ad7342a6099a4649367045..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/SystemConfigService.java +++ /dev/null @@ -1,20 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.SystemConfigIDAO; -import com.jsh.model.po.SystemConfig; - -public class SystemConfigService extends BaseService implements SystemConfigIService { - @SuppressWarnings("unused") - private SystemConfigIDAO systemConfigDao; - - public void setSystemConfigDao(SystemConfigIDAO systemConfigDao) { - this.systemConfigDao = systemConfigDao; - } - - @Override - protected Class getEntityClass() { - return SystemConfig.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/UnitIService.java b/src/main/java/com/jsh/service/basic/UnitIService.java deleted file mode 100644 index 630eb252c4bd581e4c46d947a14b770128f62354..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/UnitIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Unit; - -public interface UnitIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/basic/UnitService.java b/src/main/java/com/jsh/service/basic/UnitService.java deleted file mode 100644 index f49d185570cb1c237537a5675c0033601b1b4f8f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/UnitService.java +++ /dev/null @@ -1,21 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.UnitIDAO; -import com.jsh.model.po.Unit; - -public class UnitService extends BaseService implements UnitIService { - @SuppressWarnings("unused") - private UnitIDAO unitDao; - - - public void setUnitDao(UnitIDAO unitDao) { - this.unitDao = unitDao; - } - - @Override - protected Class getEntityClass() { - return Unit.class; - } - -} diff --git a/src/main/java/com/jsh/service/basic/UserBusinessIService.java b/src/main/java/com/jsh/service/basic/UserBusinessIService.java deleted file mode 100644 index 94ff0a586871521609a430735a1e4ce6f93b91c2..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/UserBusinessIService.java +++ /dev/null @@ -1,14 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.UserBusiness; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface UserBusinessIService extends BaseIService { - /* - * 测试一下自定义hql语句 - */ - void find(PageUtil userBusiness, String ceshi) throws JshException; - -} diff --git a/src/main/java/com/jsh/service/basic/UserBusinessService.java b/src/main/java/com/jsh/service/basic/UserBusinessService.java deleted file mode 100644 index 5f883adc1a873e4af0dcd915d923148c56efb900..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/UserBusinessService.java +++ /dev/null @@ -1,28 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.dao.basic.UserBusinessIDAO; -import com.jsh.model.po.UserBusiness; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public class UserBusinessService extends BaseService implements UserBusinessIService { - @SuppressWarnings("unused") - private UserBusinessIDAO userBusinessDao; - - public void setUserBusinessDao(UserBusinessIDAO userBusinessDao) { - this.userBusinessDao = userBusinessDao; - } - - @Override - protected Class getEntityClass() { - return UserBusiness.class; - } - - @Override - public void find(PageUtil pageUtil, String ceshi) throws JshException { - userBusinessDao.find(pageUtil, ceshi); - } - - -} diff --git a/src/main/java/com/jsh/service/basic/UserIService.java b/src/main/java/com/jsh/service/basic/UserIService.java deleted file mode 100644 index 2584e6aa9021c69ac3e0f4d302d2561604f2a164..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/UserIService.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Basicuser; -import com.jsh.util.JshException; - -public interface UserIService extends BaseIService { - /** - * 判断用户名是否符合登录条件 - * - * @param username 用户名 String password - * @return int 1、用户名不存在 2、密码不正确 3、黑名单用户 4、符合条件 5、访问后台异常 - */ - int validateUser(String username, String password) throws JshException; - - /** - * 获取用户信息 - * - * @param username - * @return 用户信息 - * @throws JshException - */ - public Basicuser getUser(String username) throws JshException; - - /** - * 检查用户名称是否存在 - * - * @param field 用户属性 - * @param username 用户名称 - * @param userID 供应商ID - * @return true==存在重名 false==不存在 - * @throws JshException - */ - Boolean checkIsNameExist(String field, String username, Long userID) throws JshException; -} diff --git a/src/main/java/com/jsh/service/basic/UserService.java b/src/main/java/com/jsh/service/basic/UserService.java deleted file mode 100644 index 9996bfdf49cc0f4c836f18400a9c055e4353ca5d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/basic/UserService.java +++ /dev/null @@ -1,98 +0,0 @@ -package com.jsh.service.basic; - -import com.jsh.base.BaseService; -import com.jsh.base.Log; -import com.jsh.dao.basic.UserIDAO; -import com.jsh.model.po.Basicuser; -import com.jsh.util.ExceptionCodeConstants; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -import java.util.HashMap; -import java.util.List; -import java.util.Map; - -public class UserService extends BaseService implements UserIService { - private PageUtil pageUtil = new PageUtil(); - private Map condition = new HashMap(); - private UserIDAO userDao; - - @Override - public int validateUser(String username, String password) throws JshException { - try { - //全局变量 每次使用前清除 - condition.clear(); - - /**默认是可以登录的*/ - List list = null; - try { - - condition.put("loginame_s_eq", username); - pageUtil.setAdvSearch(condition); - userDao.find(pageUtil); - list = pageUtil.getPageList(); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>访问验证用户姓名是否存在后台信息异常", e); - return ExceptionCodeConstants.UserExceptionCode.USER_ACCESS_EXCEPTION; - } - - if (null != list && list.size() == 0) - return ExceptionCodeConstants.UserExceptionCode.USER_NOT_EXIST; - - try { - condition.put("loginame_s_eq", username); - condition.put("password_s_eq", password); - pageUtil.setAdvSearch(condition); - userDao.find(pageUtil); - list = pageUtil.getPageList(); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>访问验证用户密码后台信息异常", e); - return ExceptionCodeConstants.UserExceptionCode.USER_ACCESS_EXCEPTION; - } - - if (null != list && list.size() == 0) - return ExceptionCodeConstants.UserExceptionCode.USER_PASSWORD_ERROR; - return ExceptionCodeConstants.UserExceptionCode.USER_CONDITION_FIT; - } catch (Exception e) { - throw new JshException("unknown exception", e); - } - } - - @Override - public Basicuser getUser(String username) throws JshException { - //全局变量 每次使用前清除 - condition.clear(); - condition.put("loginame_s_eq", username); - pageUtil.setAdvSearch(condition); - userDao.find(pageUtil); - List list = pageUtil.getPageList(); - if (null != list && list.size() > 0) - return list.get(0); - else - throw new JshException("no username exist"); - } - - @Override - public Boolean checkIsNameExist(String field, String username, Long userID) throws JshException { - condition.clear(); - condition.put(field + "_s_eq", username); - condition.put("id_n_neq", userID); - pageUtil.setAdvSearch(condition); - userDao.find(pageUtil); - - List dataList = pageUtil.getPageList(); - if (null != dataList && dataList.size() > 0) - return true; - return false; - } - - //==============spring注入等公共方法,与业务无关========================= - public void setUserDao(UserIDAO userDao) { - this.userDao = userDao; - } - - @Override - protected Class getEntityClass() { - return Basicuser.class; - } -} diff --git a/src/main/java/com/jsh/service/materials/AccountHeadIService.java b/src/main/java/com/jsh/service/materials/AccountHeadIService.java deleted file mode 100644 index afadf326736561abe15eabdb7720943da7e1aa43..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/AccountHeadIService.java +++ /dev/null @@ -1,15 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.AccountHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface AccountHeadIService extends BaseIService { - /* - * 获取MaxId - */ - void find(PageUtil accountHead, String maxid) throws JshException; - - void findAllMoney(PageUtil accountHead, Integer supplierId, String type, String mode) throws JshException; -} diff --git a/src/main/java/com/jsh/service/materials/AccountHeadService.java b/src/main/java/com/jsh/service/materials/AccountHeadService.java deleted file mode 100644 index 69599b963146f660365ae1bf8f0d2980d69c726a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/AccountHeadService.java +++ /dev/null @@ -1,31 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.dao.materials.AccountHeadIDAO; -import com.jsh.model.po.AccountHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public class AccountHeadService extends BaseService implements AccountHeadIService { - @SuppressWarnings("unused") - private AccountHeadIDAO accountHeadDao; - - - public void setAccountHeadDao(AccountHeadIDAO accountHeadDao) { - this.accountHeadDao = accountHeadDao; - } - - - @Override - protected Class getEntityClass() { - return AccountHead.class; - } - - public void find(PageUtil pageUtil, String maxid) throws JshException { - accountHeadDao.find(pageUtil, maxid); - } - - public void findAllMoney(PageUtil pageUtil, Integer supplierId, String type, String mode) throws JshException { - accountHeadDao.findAllMoney(pageUtil, supplierId, type, mode); - } -} diff --git a/src/main/java/com/jsh/service/materials/AccountItemIService.java b/src/main/java/com/jsh/service/materials/AccountItemIService.java deleted file mode 100644 index b225fa08ebe5241c53eb5102d7a9ff8220996d2e..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/AccountItemIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.AccountItem; - -public interface AccountItemIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/materials/AccountItemService.java b/src/main/java/com/jsh/service/materials/AccountItemService.java deleted file mode 100644 index 9e9ff19a08acdcd7e01fe5f62169a72128b34862..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/AccountItemService.java +++ /dev/null @@ -1,23 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.dao.materials.AccountItemIDAO; -import com.jsh.model.po.AccountItem; - -public class AccountItemService extends BaseService implements AccountItemIService { - @SuppressWarnings("unused") - private AccountItemIDAO accoumtItemDao; - - - public void setAccountItemDao(AccountItemIDAO accoumtItemDao) { - this.accoumtItemDao = accoumtItemDao; - } - - - @Override - protected Class getEntityClass() { - return AccountItem.class; - } - - -} diff --git a/src/main/java/com/jsh/service/materials/DepotHeadIService.java b/src/main/java/com/jsh/service/materials/DepotHeadIService.java deleted file mode 100644 index 86cd36db5a735dfaba0db957d54430204130e46a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/DepotHeadIService.java +++ /dev/null @@ -1,27 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.DepotHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public interface DepotHeadIService extends BaseIService { - /* - * 获取MaxId - */ - void find(PageUtil depotHead, String maxid) throws JshException; - - void findAllMoney(PageUtil depotHead, Integer supplierId, String type, String subType, String mode) throws JshException; - - void batchSetStatus(Boolean status, String depotHeadIDs); - - void findInDetail(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException; - - void findInOutMaterialCount(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException; - - void findMaterialsListByHeaderId(PageUtil pageUtil, Long headerId) throws JshException; - - void findStatementAccount(PageUtil pageUtil, String beginTime, String endTime, Long organId, String supType) throws JshException; - - void getHeaderIdByMaterial(PageUtil pageUtil, String materialParam, String depotIds) throws JshException; -} diff --git a/src/main/java/com/jsh/service/materials/DepotHeadService.java b/src/main/java/com/jsh/service/materials/DepotHeadService.java deleted file mode 100644 index 8f65918aace1e9fd157d5bda604879eaaf2e1cc0..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/DepotHeadService.java +++ /dev/null @@ -1,63 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.dao.materials.DepotHeadIDAO; -import com.jsh.model.po.DepotHead; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -public class DepotHeadService extends BaseService implements DepotHeadIService { - @SuppressWarnings("unused") - private DepotHeadIDAO depotHeadDao; - - - public void setDepotHeadDao(DepotHeadIDAO depotHeadDao) { - this.depotHeadDao = depotHeadDao; - } - - - @Override - protected Class getEntityClass() { - return DepotHead.class; - } - - @Override - public void find(PageUtil pageUtil, String maxid) throws JshException { - depotHeadDao.find(pageUtil, maxid); - } - - @Override - public void findAllMoney(PageUtil pageUtil, Integer supplierId, String type, String subType, String mode) throws JshException { - depotHeadDao.findAllMoney(pageUtil, supplierId, type, subType, mode); - } - - @Override - public void batchSetStatus(Boolean status, String depotHeadIDs) { - depotHeadDao.batchSetStatus(status, depotHeadIDs); - } - - @Override - public void findInDetail(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException { - depotHeadDao.findInDetail(pageUtil, beginTime, endTime, type, pid, dids, oId); - } - - @Override - public void findInOutMaterialCount(PageUtil pageUtil, String beginTime, String endTime, String type, Long pid, String dids, Long oId) throws JshException { - depotHeadDao.findInOutMaterialCount(pageUtil, beginTime, endTime, type, pid, dids, oId); - } - - @Override - public void findMaterialsListByHeaderId(PageUtil pageUtil, Long headerId) throws JshException { - depotHeadDao.findMaterialsListByHeaderId(pageUtil, headerId); - } - - @Override - public void findStatementAccount(PageUtil pageUtil, String beginTime, String endTime, Long organId, String supType) throws JshException { - depotHeadDao.findStatementAccount(pageUtil, beginTime, endTime, organId, supType); - } - - @Override - public void getHeaderIdByMaterial(PageUtil pageUtil, String materialParam, String depotIds) throws JshException { - depotHeadDao.getHeaderIdByMaterial(pageUtil, materialParam, depotIds); - } -} diff --git a/src/main/java/com/jsh/service/materials/DepotItemIService.java b/src/main/java/com/jsh/service/materials/DepotItemIService.java deleted file mode 100644 index 2f7b80c4de069e717051f706fe949847da9157b0..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/DepotItemIService.java +++ /dev/null @@ -1,30 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.DepotItem; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import net.sf.json.JSONArray; - -import java.io.InputStream; - -public interface DepotItemIService extends BaseIService { - void findByType(PageUtil depotItem, String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) throws JshException; - - void findByTypeAndMaterialId(PageUtil depotItem, String type, Long MId) throws JshException; - - void findDetailByTypeAndMaterialId(PageUtil depotItem, Long MId) throws JshException; - - void findPriceByType(PageUtil depotItem, String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) throws JshException; - - void buyOrSale(PageUtil depotItem, String type, String subType, Long MId, String MonthTime, String sumType) throws JshException; - - void findGiftByType(PageUtil depotItem, String subType, Integer ProjectId, Long MId, String type) throws JshException; - - /** - * 导出信息 - * - * @return - */ - InputStream exmportExcel(String isAllPage, JSONArray dataArray) throws JshException; -} diff --git a/src/main/java/com/jsh/service/materials/DepotItemService.java b/src/main/java/com/jsh/service/materials/DepotItemService.java deleted file mode 100644 index 09c2aea9452cc7ebed2dd1807722db380a726c54..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/DepotItemService.java +++ /dev/null @@ -1,124 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.base.Log; -import com.jsh.dao.materials.DepotItemIDAO; -import com.jsh.model.po.DepotItem; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; -import jxl.Workbook; -import jxl.write.Label; -import jxl.write.WritableSheet; -import jxl.write.WritableWorkbook; -import net.sf.json.JSONArray; -import net.sf.json.JSONObject; - -import java.io.ByteArrayInputStream; -import java.io.ByteArrayOutputStream; -import java.io.InputStream; -import java.io.OutputStream; - -public class DepotItemService extends BaseService implements DepotItemIService { - @SuppressWarnings("unused") - private DepotItemIDAO depotItemDao; - - - public void setDepotItemDao(DepotItemIDAO depotItemDao) { - this.depotItemDao = depotItemDao; - } - - - @Override - protected Class getEntityClass() { - return DepotItem.class; - } - - @Override - public void findByType(PageUtil pageUtil, String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) throws JshException { - depotItemDao.findByType(pageUtil, type, ProjectId, MId, MonthTime, isPrev); - } - - @Override - public void findByTypeAndMaterialId(PageUtil pageUtil, String type, Long MId) throws JshException { - depotItemDao.findByTypeAndMaterialId(pageUtil, type, MId); - } - - @Override - public void findDetailByTypeAndMaterialId(PageUtil pageUtil, Long MId) throws JshException { - depotItemDao.findDetailByTypeAndMaterialId(pageUtil, MId); - } - - @Override - public void findPriceByType(PageUtil pageUtil, String type, Integer ProjectId, Long MId, String MonthTime, Boolean isPrev) throws JshException { - depotItemDao.findPriceByType(pageUtil, type, ProjectId, MId, MonthTime, isPrev); - } - - @Override - public void buyOrSale(PageUtil pageUtil, String type, String subType, Long MId, String MonthTime, String sumType) throws JshException { - depotItemDao.buyOrSale(pageUtil, type, subType, MId, MonthTime, sumType); - } - - @Override - public void findGiftByType(PageUtil pageUtil, String subType, Integer ProjectId, Long MId, String type) throws JshException { - depotItemDao.findGiftByType(pageUtil, subType, ProjectId, MId, type); - } - - /** - * 导出Excel表格 - */ - @Override - public InputStream exmportExcel(String isAllPage, JSONArray dataArray) throws JshException { - try { - //将OutputStream转化为InputStream - ByteArrayOutputStream out = new ByteArrayOutputStream(); - putDataOnOutputStream(out, dataArray); - return new ByteArrayInputStream(out.toByteArray()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出信息为excel表格异常", e); - throw new JshException("export asset info to excel exception", e); - } - } - - /** - * 生成excel表格 - * - * @param os - */ - @SuppressWarnings("deprecation") - private void putDataOnOutputStream(OutputStream os, JSONArray dataArray) { - WritableWorkbook workbook = null; - try { - workbook = Workbook.createWorkbook(os); - WritableSheet sheet = workbook.createSheet("进销存报表", 0); - //增加列头 - int[] colunmWidth = {10, 10, 10, 10, 10, 10, 15, 15, 15, 15, 15}; - String[] colunmName = {"名称", "型号", "规格", "颜色", "单位", "单价", "上月结存数量", "入库数量", "出库数量", "本月结存数量", "结存金额"}; - for (int i = 0; i < colunmWidth.length; i++) { - sheet.setColumnView(i, colunmWidth[i]); - sheet.addCell(new Label(i, 0, colunmName[i])); - } - if (null != dataArray && dataArray.size() > 0) { - for (int j = 0; j < dataArray.size(); j++) { - JSONObject jo = JSONObject.fromObject(dataArray.get(j)); - sheet.addCell(new Label(0, j + 1, jo.getString("MaterialName"))); - sheet.addCell(new Label(1, j + 1, jo.getString("MaterialModel"))); - sheet.addCell(new Label(2, j + 1, jo.getString("MaterialStandard"))); - sheet.addCell(new Label(3, j + 1, jo.getString("MaterialColor"))); - sheet.addCell(new Label(4, j + 1, jo.getString("MaterialUnit"))); - sheet.addCell(new Label(5, j + 1, jo.getString("UnitPrice"))); - sheet.addCell(new Label(6, j + 1, jo.getString("prevSum"))); - sheet.addCell(new Label(7, j + 1, jo.getString("InSum"))); - sheet.addCell(new Label(8, j + 1, jo.getString("OutSum"))); - sheet.addCell(new Label(9, j + 1, jo.getString("thisSum"))); - double d = Double.parseDouble(jo.getString("thisAllPrice").toString()); - String s1 = String.format("%.2f", d); - sheet.addCell(new Label(10, j + 1, s1)); - } - } - workbook.write(); - workbook.close(); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出资产信息为excel表格异常", e); - } - } -} diff --git a/src/main/java/com/jsh/service/materials/MaterialCategoryIService.java b/src/main/java/com/jsh/service/materials/MaterialCategoryIService.java deleted file mode 100644 index 58cf9ca1412af025b5cb8cbbd86bc5adc1d14309..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/MaterialCategoryIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.MaterialCategory; - -public interface MaterialCategoryIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/materials/MaterialCategoryService.java b/src/main/java/com/jsh/service/materials/MaterialCategoryService.java deleted file mode 100644 index a5ebb93a6d1de6d2e7336b4e71b6437dd2116aea..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/MaterialCategoryService.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.dao.materials.MaterialCategoryIDAO; -import com.jsh.model.po.MaterialCategory; - -public class MaterialCategoryService extends BaseService implements MaterialCategoryIService { - @SuppressWarnings("unused") - private MaterialCategoryIDAO materialCategoryDao; - - - public void setMaterialCategoryDao(MaterialCategoryIDAO materialCategoryDao) { - this.materialCategoryDao = materialCategoryDao; - } - - - @Override - protected Class getEntityClass() { - return MaterialCategory.class; - } - -} diff --git a/src/main/java/com/jsh/service/materials/MaterialIService.java b/src/main/java/com/jsh/service/materials/MaterialIService.java deleted file mode 100644 index 83862b4a62f3a244922d83b5eff343d0937e80b2..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/MaterialIService.java +++ /dev/null @@ -1,19 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Material; -import com.jsh.util.JshException; -import com.jsh.util.PageUtil; - -import java.io.File; -import java.io.InputStream; - -public interface MaterialIService extends BaseIService { - public void batchSetEnable(Boolean enable, String supplierIDs); - - public void findUnitName(PageUtil material, Long mId) throws JshException; - - public InputStream exmportExcel(String isAllPage, PageUtil pageUtil) throws JshException; - - public InputStream importExcel(File materialFile) throws JshException; -} diff --git a/src/main/java/com/jsh/service/materials/MaterialPropertyIService.java b/src/main/java/com/jsh/service/materials/MaterialPropertyIService.java deleted file mode 100644 index 7dc2eca621c717fe83477ae1f2c4c13467ce605a..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/MaterialPropertyIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.MaterialProperty; - -public interface MaterialPropertyIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/materials/MaterialPropertyService.java b/src/main/java/com/jsh/service/materials/MaterialPropertyService.java deleted file mode 100644 index 73feece7b62872b8f9f0c81a0155befc62e23356..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/MaterialPropertyService.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.dao.materials.MaterialPropertyIDAO; -import com.jsh.model.po.MaterialProperty; - -public class MaterialPropertyService extends BaseService implements MaterialPropertyIService { - @SuppressWarnings("unused") - private MaterialPropertyIDAO materialPropertyDao; - - - public void setMaterialPropertyDao(MaterialPropertyIDAO materialPropertyDao) { - this.materialPropertyDao = materialPropertyDao; - } - - - @Override - protected Class getEntityClass() { - return MaterialProperty.class; - } - -} diff --git a/src/main/java/com/jsh/service/materials/MaterialService.java b/src/main/java/com/jsh/service/materials/MaterialService.java deleted file mode 100644 index c96bfc2510c73e50eaf5652d45bb29981f4cb205..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/MaterialService.java +++ /dev/null @@ -1,304 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.base.Log; -import com.jsh.dao.materials.MaterialIDAO; -import com.jsh.model.po.Material; -import com.jsh.model.po.MaterialCategory; -import com.jsh.util.JshException; -import com.jsh.util.MaterialConstants; -import com.jsh.util.PageUtil; -import com.jsh.util.Tools; -import jxl.Workbook; -import jxl.format.Colour; -import jxl.write.*; -import org.apache.poi.hssf.usermodel.HSSFSheet; -import org.apache.poi.hssf.usermodel.HSSFWorkbook; -import org.apache.poi.ss.usermodel.Cell; -import org.apache.poi.ss.usermodel.Row; - -import java.io.*; -import java.lang.Boolean; -import java.util.*; - -public class MaterialService extends BaseService implements MaterialIService { - /** - * 初始化加载所有系统基础数据 - */ - @SuppressWarnings({"rawtypes"}) - private static Map mapData = new HashMap(); - /** - * 错误的表格数据 - */ - private static List wrongData = new ArrayList(); - @SuppressWarnings("unused") - private MaterialIDAO materialDao; - - public void setMaterialDao(MaterialIDAO materialDao) { - this.materialDao = materialDao; - } - - public void batchSetEnable(Boolean enable, String supplierIDs) { - materialDao.batchSetEnable(enable, supplierIDs); - } - - @Override - public void findUnitName(PageUtil pageUtil, Long mId) throws JshException { - materialDao.findUnitName(pageUtil, mId); - } - - @Override - protected Class getEntityClass() { - return Material.class; - } - - /** - * 导出Excel表格 - */ - @Override - public InputStream exmportExcel(String isAllPage, PageUtil pageUtil) throws JshException { - try { - //将OutputStream转化为InputStream - ByteArrayOutputStream out = new ByteArrayOutputStream(); - putDataOnOutputStream(out, pageUtil.getPageList()); - return new ByteArrayInputStream(out.toByteArray()); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出信息为excel表格异常", e); - throw new JshException("导出信息为excel表格异常", e); - } - } - - /** - * 生成excel表格 - * - * @param os - */ - @SuppressWarnings("deprecation") - private void putDataOnOutputStream(OutputStream os, List dataList) { - WritableWorkbook workbook = null; - try { - workbook = Workbook.createWorkbook(os); - WritableSheet sheet = workbook.createSheet("信息报表", 0); - //增加列头 - String[] colunmName = {"品名", "类型", "型号", "安全存量", "单位", "零售价", "最低售价", "预计采购价", "批发价", "备注", "状态"}; - for (int i = 0; i < colunmName.length; i++) { - sheet.setColumnView(i, 10); - sheet.addCell(new Label(i, 0, colunmName[i])); - } - if (null != dataList && dataList.size() > 0) { - int i = 1; - for (Material material : dataList) { - int j = 0; - Map cellInfo = material.getCellInfo(); - sheet.addCell(new Label(j++, i, material.getName())); - sheet.addCell(new Label(j++, i, material.getMaterialCategory().getName())); - sheet.addCell(new Label(j++, i, material.getModel() == null ? "" : material.getModel())); - sheet.addCell(getLabelInfo(cellInfo, j++, i, material.getSafetyStock() == null ? "" : material.getSafetyStock().toString(), material)); - sheet.addCell(new Label(j++, i, material.getUnit() == null ? "" : material.getUnit())); - sheet.addCell(new Label(j++, i, material.getRetailPrice() == null ? "" : material.getRetailPrice().toString())); - sheet.addCell(new Label(j++, i, material.getLowPrice() == null ? "" : material.getLowPrice().toString())); - sheet.addCell(new Label(j++, i, material.getPresetPriceOne() == null ? "" : material.getPresetPriceOne().toString())); - sheet.addCell(new Label(j++, i, material.getPresetPriceTwo() == null ? "" : material.getPresetPriceTwo().toString())); - sheet.addCell(new Label(j++, i, material.getRemark() == null ? "" : material.getRemark())); - sheet.addCell(new Label(j++, i, material.getEnabled() ? "启用" : "禁用")); - i++; - } - } - workbook.write(); - workbook.close(); - } catch (Exception e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>导出信息为excel表格异常", e); - } - } - - /** - * 根据错误信息进行提示--excel表格背景设置为红色,表示导入信息有误 - * - * @param cellInfo - * @param cellNum - * @param columnNum - * @param value - * @return - */ - private Label getLabelInfo(Map cellInfo, int cellNum, int columnNum, String value, Material material) { - Label label = null; - - //设置背景颜色 - WritableCellFormat cellFormat = new WritableCellFormat(); - try { - cellFormat.setBackground(Colour.RED); - } catch (WriteException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>设置单元格背景颜色错误", e); - } - - if (null == cellInfo || cellInfo.size() == 0) { - label = new Label(cellNum, columnNum, value); - } else { - //表示此单元格有错误 - if (cellInfo.containsKey(cellNum)) { - if (cellNum == MaterialConstants.BusinessForExcel.EXCEL_SAFETY_STOCK) { - label = new Label(cellNum, columnNum, material.getSafetyStockStr(), cellFormat); - } - } else { - label = new Label(cellNum, columnNum, value); - } - } - return label; - } - - @Override - public InputStream importExcel(File materialFile) throws JshException { - //全局变量--每次调用前需要清空数据 - mapData.clear(); - //2、解析文件成资产数据 - parseFile(materialFile); - - if (null != wrongData && wrongData.size() > 0) { - //将OutputStream转化为InputStream - ByteArrayOutputStream out = new ByteArrayOutputStream(); - putDataOnOutputStream(out, wrongData); - return new ByteArrayInputStream(out.toByteArray()); - } else { - return null; - } - } - - - /** - * 解析excel表格 - * - * @param assetFile - */ - @SuppressWarnings("unchecked") - private void parseFile(File assetFile) { - //每次调用前清空 - wrongData.clear(); - int totalRow = 0; - try { - //创建对Excel工作簿文件的引用 - HSSFWorkbook workbook = new HSSFWorkbook(new FileInputStream(assetFile)); - //创建对工作表的引用,获取第一个工作表的内容 - HSSFSheet sheet = workbook.getSheetAt(0); - /** - * ===================================== - * 1、此处要增加文件的验证,如果不是资产文件需要进行特殊的处理,13列 - * 2、文件内容为空处理 - * 3、如果是修改过的文件内容 - */ - Iterator itsheet = sheet.rowIterator(); - while (itsheet.hasNext()) { - //获取当前行数据 - Row row = itsheet.next(); - - //excel表格第几行数据 从1开始 0 是表头 - int rowNum = row.getRowNum(); - /** - * 表头跳过不读 - */ - if (MaterialConstants.BusinessForExcel.EXCEL_TABLE_HEAD == rowNum) - continue; - - //开始处理excel表格内容 --每行数据读取,同时统计总共行数 - totalRow++; - - //获取excel表格的每格数据内容 - Iterator it = row.cellIterator(); - //资产子类型--添加了一些excel表格数据 - Material material = new Material(); - //保存每个单元格错误类型 - Map cellType = new HashMap(); - //设置列号 - material.setRowLineNum(rowNum); - - Cell cell = null; - //判断列号--从零开始 - int cellIndex = 0; - while (it.hasNext()) { - //获取每个单元格对象 - cell = it.next(); - //获取列号 - cellIndex = cell.getColumnIndex(); - //设置此单元格为字符串类型 - cell.setCellType(Cell.CELL_TYPE_STRING); - - Log.infoFileSync("==================excel表格中第" + totalRow + "行的第 " + cellIndex + "列的值为" + cell.getStringCellValue()); - - //每行中数据顺序 "品名","类型","型号","安全存量","单位","零售价","最低售价","预计采购价","批发价","备注","状态" - switch (cellIndex) { - case MaterialConstants.BusinessForExcel.EXCEL_NAME: - String materialName = cell.getStringCellValue(); - if (null == materialName || "".equals(materialName)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(品名)信息"); - break; - } - material.setName(materialName); - break; - case MaterialConstants.BusinessForExcel.EXCEL_CATEGORY: - String category = cell.getStringCellValue(); - if (null == category || "".equals(category)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(类型)信息"); - break; - } - material.setMaterialCategory(new MaterialCategory(1l)); //根目录 - break; - case MaterialConstants.BusinessForExcel.EXCEL_MODEL: - String model = cell.getStringCellValue(); - if (null == model || "".equals(model)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(型号)信息"); - break; - } - material.setModel(model); - break; - case MaterialConstants.BusinessForExcel.EXCEL_SAFETY_STOCK: - String safetyStock = cell.getStringCellValue(); - if (null == safetyStock || "".equals(safetyStock)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(安全存量)信息"); - break; - } - if (Tools.checkStrIsNum(safetyStock)) { - material.setSafetyStock(Double.parseDouble(safetyStock)); - } else { - Log.errorFileSync(">>>>>>>>>>>>>>>>>(安全存量)不是数字格式"); - cellType.put(cellIndex, "wrong"); - material.setSafetyStock(0.00d); - material.setSafetyStockStr(safetyStock); - } - break; - case MaterialConstants.BusinessForExcel.EXCEL_UNIT: - String unit = cell.getStringCellValue(); - if (null == unit || "".equals(unit)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(单位)信息"); - break; - } - material.setUnit(unit); - break; - case MaterialConstants.BusinessForExcel.EXCEL_REMARK: - String remark = cell.getStringCellValue(); - if (null == remark || "".equals(remark)) { - Log.errorFileSync(">>>>>>>>>>>>>>>>列表没有填写(备注)信息"); - break; - } - material.setRemark(remark); - break; - } - } - material.setCellInfo(cellType); - - Log.infoFileSync(totalRow + "行总共有" + cellIndex + "列"); - - //判断完成后增加数据 - if ((null != cellType && cellType.size() > 0) || material.getName() == null) { - wrongData.add(material); - } else { - material.setEnabled(true); - materialDao.save(material); - } - } - } catch (FileNotFoundException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>读取excel文件异常:找不到指定文件!", e); - } catch (IOException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>读取excel文件异常,请确认文件格式是否正确 !", e); - } - Log.infoFileSync("===================excel表格总共有 " + totalRow + " 条记录!"); - } -} diff --git a/src/main/java/com/jsh/service/materials/PersonIService.java b/src/main/java/com/jsh/service/materials/PersonIService.java deleted file mode 100644 index 948a64795c5add35de66d809cb95dfa28b56d24f..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/PersonIService.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseIService; -import com.jsh.model.po.Person; - -public interface PersonIService extends BaseIService { - -} diff --git a/src/main/java/com/jsh/service/materials/PersonService.java b/src/main/java/com/jsh/service/materials/PersonService.java deleted file mode 100644 index 1e05c4c46492418b0eebe16ef537ff559223c9bd..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/service/materials/PersonService.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.jsh.service.materials; - -import com.jsh.base.BaseService; -import com.jsh.dao.materials.PersonIDAO; -import com.jsh.model.po.Person; - -public class PersonService extends BaseService implements PersonIService { - @SuppressWarnings("unused") - private PersonIDAO personDao; - - - public void setPersonDao(PersonIDAO personDao) { - this.personDao = personDao; - } - - - @Override - protected Class getEntityClass() { - return Person.class; - } - -} diff --git a/src/main/java/com/jsh/util/AssetConstants.java b/src/main/java/com/jsh/util/AssetConstants.java deleted file mode 100644 index b88bdac8ad29bfb4c4821dc1c2241b3672e0e7c8..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/AssetConstants.java +++ /dev/null @@ -1,121 +0,0 @@ -package com.jsh.util; - -/** - * 定义资产管理常量 - * - * @author jishenghua - */ -public interface AssetConstants { - /** - * 公共常量 - * - * @author jishenghua - */ - public class Common { - - - } - - /** - * 资产常量--导入导出excel表格业务相关 - * - * @author jishenghua - */ - public class BusinessForExcel { - /** - * 资产名称常量 - */ - public static final int EXCEL_ASSETNAME = 0; - - /** - * 资产类型常量 - */ - public static final int EXCEL_CATEGORY = 1; - - /** - * 资产单价 - */ - public static final int EXCEL_PRICE = 2; - - /** - * 用户 - */ - public static final int EXCEL_USER = 3; - - /** - * 购买日期 - */ - public static final int EXCEL_PURCHASE_DATE = 4; - - /** - * 资产状态 - */ - public static final int EXCEL_STATUS = 5; - - /** - * 位置 - */ - public static final int EXCEL_LOCATION = 6; - - /** - * 资产编号 - */ - public static final int EXCEL_NUM = 7; - - /** - * 序列号 - */ - public static final int EXCEL_SERIALNO = 8; - - /** - * 有效日期 - */ - public static final int EXCEL_EXPIRATION_DATE = 9; - - /** - * 保修日期 - */ - public static final int EXCEL_WARRANTY_DATE = 10; - - /** - * 供应商 - */ - public static final int EXCEL_SUPPLIER = 11; - - /** - * 标签 - */ - public static final int EXCEL_LABLE = 12; - - /** - * 描述 - */ - public static final int EXCEL_DESC = 13; - - /** - * 表头 - */ - public static final int EXCEL_TABLE_HEAD = 0; - - /** - * 状态 --在库 - */ - public static final int EXCEl_STATUS_ZAIKU = 0; - - /** - * 状态 --在用 - */ - public static final int EXCEl_STATUS_INUSE = 1; - - /** - * 状态 -- 消费 - */ - public static final int EXCEl_STATUS_CONSUME = 2; - - /** - * action返回excel结果 - */ - public static final String EXCEL = "excel"; - - } -} diff --git a/src/main/java/com/jsh/util/BeanFactoryUtil.java b/src/main/java/com/jsh/util/BeanFactoryUtil.java deleted file mode 100644 index 719cabe48df46caadca28c5d350bf0241395300c..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/BeanFactoryUtil.java +++ /dev/null @@ -1,117 +0,0 @@ -package com.jsh.util; - -import org.springframework.context.ApplicationContext; -import org.springframework.context.support.ClassPathXmlApplicationContext; -import org.springframework.context.support.FileSystemXmlApplicationContext; - -import java.util.HashMap; -import java.util.Map; - -/** - * 获取spring配置中的bean对象,是单例,只会加载一次,请注意使用 - * 注意:此工具类默认处理UI组件WEB-INF目录下的applicationContext.xml配置文件,请注意文件 名和路径 - * - * @author jishenghua - * @version V1.0 - * @qq 7 5 2 7 1 8 9 2 0 - */ -public class BeanFactoryUtil { - private static BeanFactoryUtil defaultBeanFactory; - private static BeanFactoryUtil specialBeanFactory; - - //private ApplicationContext autoLoadAC = null; - private static Map beanMap = new HashMap(); - private ApplicationContext defaultAC = null; - private ApplicationContext specialAC = null; - - //private Logger log = Logger.getLogger(BeanFactoryUtil.class); - - /** - * 私有构造函数,默认为UI组件WEB-INF目录下的applicationContext.xml配置文件 - */ - private BeanFactoryUtil() { - String fileUrl = PathTool.getWebinfPath(); - //这里只对UI组件WEB-INF目录下的applicationContext.xml配置文件 - defaultAC = new FileSystemXmlApplicationContext(new - String[]{fileUrl - + "spring/basic-applicationContext.xml", - fileUrl + "spring/dao-applicationContext.xml"}); - } - - /** - * 私有构造函数,带有文件的classpath路径,可能是非applicationContext.xml文件 - */ - private BeanFactoryUtil(String fileClassPath) { - specialAC = new ClassPathXmlApplicationContext("classpath:" - + fileClassPath); - } - - /** - * 非web.xml方式加载spring配置文件方式的实体实例获取方式 - * - * @param fileClassPath - * @param beanName - * @return - */ - public synchronized static Object getBeanByClassPathAndBeanName( - String fileClassPath, String beanName) { - ApplicationContext ac = beanMap.get(fileClassPath); - if (null == ac) { - ac = new ClassPathXmlApplicationContext("classpath:" - + fileClassPath); - beanMap.put(fileClassPath, ac); - } - return ac.getBean(beanName); - } - - /** - * 获取类实例 - * 默认加载UI组件WEB-INF目录下的applicationContext.xml配置文件 - * - * @return - */ - public synchronized static BeanFactoryUtil getInstance() { - if (null == defaultBeanFactory) { - defaultBeanFactory = new BeanFactoryUtil(); - } - return defaultBeanFactory; - } - - /** - * 获取类实例,这种情况一定是在依赖其他组件时没有在applicationContext.xml加载器spring文件时使用 - * 这种情况请少用 - * - * @param fileClassPath - * @return - */ - @Deprecated - public synchronized static BeanFactoryUtil getInstance(String fileClassPath) { - if (null == specialBeanFactory) { - specialBeanFactory = new BeanFactoryUtil(fileClassPath); - } - return specialBeanFactory; - } - - /** - * 获取UI组件WEB-INF目录下的applicationContext.xml配置文件中配置的bean实例 - * - * @param beanName - * @return - */ - public Object getBean(String beanName) { - return defaultAC.getBean(beanName); - } - - /** - * 获取没有在applicationContext.xml配置文件中引入的spring配置文件,即没有用容器加载过的配置文件 - * 这里为特殊情况下使用,不推荐使用 - * 推荐在applicationContext.xml配置文件中引入需要使用的spring配置文件,然后使用BeanFactoryUtil.getInstance().getBean("")方法 - * - * @param beanName - * @return - */ - @Deprecated - public Object getSpecialBean(String beanName) { - return specialAC.getBean(beanName); - } -} diff --git a/src/main/java/com/jsh/util/JshConstants.java b/src/main/java/com/jsh/util/JshConstants.java deleted file mode 100644 index 91332ef359fba4250082f9172b9a7c6bed18433d..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/JshConstants.java +++ /dev/null @@ -1,35 +0,0 @@ -package com.jsh.util; - -public interface JshConstants { - /** - * 定义资产管理公共常量 - * - * @author jishenghua - */ - public class Common { - /** - * Info级别日志前缀 - */ - public static final String LOG_INFO_PREFIX = "=========="; - - /** - * error级别日志前缀 - */ - public static final String LOG_ERROR_PREFIX = ">>>>>>>>>>"; - - /** - * debug级别日志前缀 - */ - public static final String LOG_DEBUG_PREFIX = "-----------"; - - /** - * fatal级别日志前缀 - */ - public static final String LOG_FATAL_PREFIX = "$$$$$$$$$$"; - - /** - * warn级别日志前缀 - */ - public static final String LOG_WARN_PREFIX = "##########"; - } -} diff --git a/src/main/java/com/jsh/util/MaterialConstants.java b/src/main/java/com/jsh/util/MaterialConstants.java deleted file mode 100644 index a79874455cf49c0deaa73d92d8cac9ffbb0b2e9c..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/MaterialConstants.java +++ /dev/null @@ -1,84 +0,0 @@ -package com.jsh.util; - -/** - * 定义商品信息常量 - * - * @author jishenghua - */ -public interface MaterialConstants { - /** - * 公共常量 - * - * @author ji sheng hua - */ - public class Common { - - } - - /** - * 常量--导入导出excel表格业务相关 - * - * @author jishenghua - */ - public class BusinessForExcel { - /** - * 名称 - */ - public static final int EXCEL_NAME = 0; - - /** - * 类型 - */ - public static final int EXCEL_CATEGORY = 1; - - /** - * 型号 - */ - public static final int EXCEL_MODEL = 2; - - /** - * 安全存量 - */ - public static final int EXCEL_SAFETY_STOCK = 3; - - /** - * 单位 - */ - public static final int EXCEL_UNIT = 4; - - /** - * 零售价 - */ - public static final int EXCEL_RETAILPRICE = 5; - - /** - * 最低售价 - */ - public static final int EXCEL_LOWPRICE = 6; - - /** - * 预计采购价 - */ - public static final int EXCEL_PRESETPRICEONE = 7; - - /** - * 批发价 - */ - public static final int EXCEL_PRESETPRICETWO = 8; - - /** - * 备注 - */ - public static final int EXCEL_REMARK = 9; - - /** - * 表头 - */ - public static final int EXCEL_TABLE_HEAD = 0; - - /** - * action返回excel结果 - */ - public static final String EXCEL = "excel"; - } -} diff --git a/src/main/java/com/jsh/util/OpenSessionInViewFilterExtend.java b/src/main/java/com/jsh/util/OpenSessionInViewFilterExtend.java deleted file mode 100644 index 224e254384b45c580d1270f26f879e505834042c..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/OpenSessionInViewFilterExtend.java +++ /dev/null @@ -1,22 +0,0 @@ -package com.jsh.util; - -import org.hibernate.FlushMode; -import org.hibernate.Session; -import org.hibernate.SessionFactory; -import org.springframework.dao.DataAccessResourceFailureException; -import org.springframework.orm.hibernate3.support.OpenSessionInViewFilter; - -public class OpenSessionInViewFilterExtend extends OpenSessionInViewFilter { - @Override - protected Session getSession(SessionFactory sessionFactory) - throws DataAccessResourceFailureException { - this.setFlushMode(FlushMode.AUTO); - return super.getSession(sessionFactory); - } - - @Override - protected void closeSession(Session session, SessionFactory sessionFactory) { - session.flush(); - super.closeSession(session, sessionFactory); - } -} diff --git a/src/main/java/com/jsh/util/PageUtil.java b/src/main/java/com/jsh/util/PageUtil.java deleted file mode 100644 index 3cf286af8869ffca64f975d6f03fd785aaf5b236..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/PageUtil.java +++ /dev/null @@ -1,190 +0,0 @@ -package com.jsh.util; - -import java.io.Serializable; -import java.util.ArrayList; -import java.util.Hashtable; -import java.util.List; -import java.util.Map; - -/** - * 分页工具类,实现分页功能 - * - * @author jishenghua - * @version [版本号version01, 2014-2-21] - * @qq 7 5 2 7 1 8 9 2 0 - */ -@SuppressWarnings("serial") -public class PageUtil implements Serializable { - /** - * 总页数,根据总数和单页显示个数进行计算 - */ - private int totalPage = 0; - - /** - * 总个数 - */ - private int totalCount = 0; - - /** - * 当前页码 - */ - private int curPage = 1; - - /** - * 每页显示个数 - */ - private int pageSize = 10; - - /** - * 是否为第一页 - */ - private boolean isFirstPage = false; - /** - * 是否是最后一页 - */ - private boolean isLastPage = false; - - /** - * 是否有上一页 - */ - private boolean hasPrevious = false; - - /** - * 是否有下一页 - */ - private boolean hasNext = false; - - /** - * 返回页面list数组 - */ - private List pageList = new ArrayList(); - - /** - * 页面搜索条件,用map来实现 - */ - private Map advSearch = new Hashtable(); - - public PageUtil() { - - } - - public PageUtil(int totalCount, int pageSize, int curPage, Map adv) { - init(totalCount, pageSize, curPage, adv); - } - - /** - * 初始化页面显示参数 - * - * @param totalCount 总数 - * @param pageSize 页面显示个数 - * @param curPage 当前页面 - */ - public void init(int totalCount, int pageSize, int curPage, Map adv) { - this.totalCount = totalCount; - this.pageSize = pageSize; - this.curPage = curPage; - this.advSearch = adv; - //计算总页数 - if (pageSize != 0) { - this.totalPage = (totalCount + pageSize - 1) / pageSize; - } - if (curPage < 1) { - this.curPage = 1; - } - if (curPage > this.totalPage) { - this.curPage = this.totalPage; - } - if (curPage > 0 && this.totalPage != 1 && curPage < this.totalPage) { - this.hasNext = true; - } - if (curPage > 0 && this.totalPage != 1 && curPage > 1 && curPage <= this.totalPage) { - this.hasPrevious = true; - } - if (curPage == 1) { - this.isFirstPage = true; - } - if (curPage == this.totalPage) { - this.isLastPage = true; - } - } - - public int getTotalPage() { - return totalPage; - } - - public void setTotalPage(int totalPage) { - this.totalPage = totalPage; - } - - public int getTotalCount() { - return totalCount; - } - - public void setTotalCount(int totalCount) { - this.totalCount = totalCount; - } - - public int getCurPage() { - return curPage; - } - - public void setCurPage(int curPage) { - this.curPage = curPage; - } - - public int getPageSize() { - return pageSize; - } - - public void setPageSize(int pageSize) { - this.pageSize = pageSize; - } - - public boolean isFirstPage() { - return isFirstPage; - } - - public void setFirstPage(boolean isFirstPage) { - this.isFirstPage = isFirstPage; - } - - public boolean isLastPage() { - return isLastPage; - } - - public void setLastPage(boolean isLastPage) { - this.isLastPage = isLastPage; - } - - public boolean isHasPrevious() { - return hasPrevious; - } - - public void setHasPrevious(boolean hasPrevious) { - this.hasPrevious = hasPrevious; - } - - public boolean isHasNext() { - return hasNext; - } - - public void setHasNext(boolean hasNext) { - this.hasNext = hasNext; - } - - public List getPageList() { - return pageList; - } - - public void setPageList(List pageList) { - this.pageList = pageList; - } - - public Map getAdvSearch() { - return advSearch; - } - - public void setAdvSearch(Map advSearch) { - this.advSearch = advSearch; - } -} diff --git a/src/main/java/com/jsh/util/PathTool.java b/src/main/java/com/jsh/util/PathTool.java deleted file mode 100644 index 041b9904fd7a4f1f0eb4980d3ee65fa5fd0fca25..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/PathTool.java +++ /dev/null @@ -1,76 +0,0 @@ -package com.jsh.util; - -import com.jsh.base.Log; - -import java.io.File; -import java.net.URISyntaxException; -import java.net.URL; - -/** - * 获取应用系统路径 - * - * @author jishenghua - * @qq 7 5 2 7 1 8 9 2 0 - */ -public class PathTool { - - /** - * 获取WEB-INF的绝对路径 - * - * @return - */ - public static String getWebinfPath() { - String webinfPath = ""; - //获取URL对象 - URL url = PathTool.class.getClassLoader().getResource(""); - try { - //获取路径 - webinfPath = url.toURI().getPath(); - //截取路径到WEB-INF结束 -// webinfPath = path.substring(0, path.indexOf("/WEB-INF") + 8); - } catch (URISyntaxException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>路径获取异常", e); - } - return webinfPath; - } - - /** - * 获取webapp的绝对路径 - * - * @return - */ - public static String getWebappPath() { - //先获取工程路径 - String projectPath = getProjectPath(); - //获取工程路径的上级路径 - File f = new File(projectPath); - //路径不存在就返回 - if (!f.exists()) { - return projectPath; - } else { - //返回webapp路径 - return f.getParent(); - } - } - - /** - * 获取工程的绝对路径 - * - * @return - */ - public static String getProjectPath() { - String projectPath = ""; - //获取URL对象 - URL url = PathTool.class.getClassLoader().getResource(""); - String path = null; - try { - //获取路径 - path = url.toURI().getPath(); - //截取webapp路径 - projectPath = path.substring(0, path.indexOf("/WEB-INF")); - } catch (URISyntaxException e) { - Log.errorFileSync(">>>>>>>>>>>>>>>>>>>>>>>路径获取异常", e); - } - return projectPath; - } -} diff --git a/src/main/java/com/jsh/util/SearchConditionUtil.java b/src/main/java/com/jsh/util/SearchConditionUtil.java deleted file mode 100644 index 0e8b1e61134a77ea3f383496908791edfd474fb6..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/SearchConditionUtil.java +++ /dev/null @@ -1,123 +0,0 @@ -package com.jsh.util; - -import java.util.HashMap; -import java.util.Map; -import java.util.Set; - -/** - * 根据搜索条件拼装成查询hql语句 - * - * @author jishenghua qq:752718920 - */ -public class SearchConditionUtil { - //拼接字符串的前缀空格字符串 - private static final String emptyPrefix = " and "; - - /** - * 根据搜索条件自动拼接成hql搜索语句 - * - * @param condition 搜索条件 规则: - * 1、类型 n--数字 s--字符串 - * 2、属性 eq--等于 neq--不等于 like--像'%XX%' llike--左像'%XX' rlike--右像'XX%' in--包含 gt--大于 gteq--大于等于 lt--小于 lteq--小于等于 - * order--value desc asc gy-- group by - * 示例: - * Map condition = new HashMap(); - * condition.put("supplier_s_like", "aaa"); - * condition.put("contacts_s_llike", "186"); - * condition.put("contacts_s_rlike", "186"); - * condition.put("phonenum_s_eq", null); - * condition.put("email_n_neq", 23); - * condition.put("description_s_order", "desc"); - * @return 封装后的字符串 - */ - public static String getCondition(Map condition) { - StringBuffer hql = new StringBuffer(); - Set key = condition.keySet(); - String groupbyInfo = ""; - String orderInfo = ""; - for (String keyInfo : key) { - /* - * 1、数组为三个 第一个为对象实例的字段 第二个为字段类型 第三个为属性 - * 2、根据分解后的数组拼接搜索条件 - */ - Object valueInfo = condition.get(keyInfo); - if (null != valueInfo && valueInfo.toString().length() > 0) { - String[] searchCondition = keyInfo.split("_"); - if (searchCondition[1].equals("n")) - hql.append(emptyPrefix + searchCondition[0] + getType(searchCondition[2]) + valueInfo); - else if (searchCondition[1].equals("s")) { - if (searchCondition[2].equals("like")) - hql.append(emptyPrefix + searchCondition[0] + getType(searchCondition[2]) + "'%" + valueInfo + "%'"); - else if (searchCondition[2].equals("llike")) - hql.append(emptyPrefix + searchCondition[0] + getType(searchCondition[2]) + "'%" + valueInfo + "'"); - else if (searchCondition[2].equals("rlike")) - hql.append(emptyPrefix + searchCondition[0] + getType(searchCondition[2]) + "'" + valueInfo + "%'"); - else if (searchCondition[2].equals("in")) - hql.append(emptyPrefix + searchCondition[0] + getType(searchCondition[2]) + "(" + valueInfo + ")"); - else if (searchCondition[2].equals("order")) - orderInfo = " order by " + searchCondition[0] + " " + valueInfo; - else if (searchCondition[2].equals("gb")) - groupbyInfo = " group by " + searchCondition[0]; - else - hql.append(emptyPrefix + searchCondition[0] + getType(searchCondition[2]) + "'" + valueInfo + "'"); - } - } - } - return hql.append(groupbyInfo).append(orderInfo).toString(); - } - - /** - * 获取指定类型的符号 - * 属性 eq--等于 neq--不等于 like--像 in--包含 gt--大于 gteq--大于等于 lt--小于 lteq--小于等于 order--value desc asc - * - * @param type - * @return 类型字符串 - */ - private static String getType(String type) { - String typeStr = ""; - if (type.equals("eq")) - typeStr = " = "; - else if (type.equals("neq")) - typeStr = " != "; - else if (type.equals("like")) - typeStr = " like "; - else if (type.equals("llike")) - typeStr = " like "; - else if (type.equals("rlike")) - typeStr = " like "; - else if (type.equals("in")) - typeStr = " in "; - else if (type.equals("gt")) - typeStr = " > "; - else if (type.equals("gteq")) - typeStr = " >= "; - else if (type.equals("lt")) - typeStr = " < "; - else if (type.equals("lteq")) - typeStr = " <= "; - else if (type.equals("order")) - typeStr = " order "; - else if (type.equals("gy")) - typeStr = " group by "; - else - typeStr = "unknown"; - return typeStr; - } - - public static void main(String[] args) { - /** - * 拼接搜索条件 - */ - Map condition = new HashMap(); - condition.put("supplier_s_like", "aaa"); - condition.put("contacts_s_llike", "186"); - condition.put("contacts_s_rlike", "186"); - condition.put("phonenum_s_eq", null); - condition.put("email_n_neq", 23); - condition.put("description_s_order", "desc"); - condition.put("description_s_gb", "aaa"); - - //获取搜索条件拼接 - System.out.println(getCondition(condition)); - } -} diff --git a/src/main/java/com/jsh/util/SessionFilter.java b/src/main/java/com/jsh/util/SessionFilter.java deleted file mode 100644 index cb6a1643da7ddea8dc2832d613e4638c244c5921..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/SessionFilter.java +++ /dev/null @@ -1,64 +0,0 @@ -package com.jsh.util; - -import javax.servlet.*; -import javax.servlet.http.HttpServletRequest; -import javax.servlet.http.HttpServletResponse; -import javax.servlet.http.HttpSession; -import java.io.IOException; - -/** - * 用户登录session处理类 - * 过滤session是否超时 - * - * @author jishenghua qq_752718920 - * @version [版本号, 2012-3-6] - * @see [相关类/方法] - * @since - */ -public class SessionFilter implements Filter { - /** - * 初始化过滤器 暂不处理 - * 重载方法 - * - * @param arg0 - * @throws ServletException - */ - - public void init(FilterConfig arg0) - throws ServletException { - - } - - /** - * 判断用户session是否存在 不存在则跳转到登录页面 - * 重载方法 - * - * @param srequest - * @param sresponse - * @param chain - * @throws IOException - * @throws ServletException - */ - public void doFilter(ServletRequest srequest, ServletResponse sresponse, FilterChain chain) - throws IOException, ServletException { - HttpServletRequest request = (HttpServletRequest) srequest; - HttpServletResponse response = (HttpServletResponse) sresponse; - HttpSession session = request.getSession(); - - //获取工程路径 - String path = request.getContextPath(); - String requestURl = request.getRequestURI(); - - if (requestURl.contains("/pages") && null != session.getAttribute("user")) - chain.doFilter(request, response); - else - response.sendRedirect(path + "/logout.jsp"); - } - - /** - * 销毁过滤器 - */ - public void destroy() { - - } -} diff --git a/src/main/java/com/jsh/util/SupplierConstants.java b/src/main/java/com/jsh/util/SupplierConstants.java deleted file mode 100644 index 5a591e3c945b6b2e3823333e115c037ca85676a4..0000000000000000000000000000000000000000 --- a/src/main/java/com/jsh/util/SupplierConstants.java +++ /dev/null @@ -1,115 +0,0 @@ -package com.jsh.util; - -/** - * 定义供应商、客户管理常量 - * - * @author jishenghua - */ -public interface SupplierConstants { - /** - * 公共常量 - * - * @author jishenghua - */ - public class Common { - - } - - /** - * 常量--导入导出excel表格业务相关 - * - * @author jishenghua - */ - public class BusinessForExcel { - /** - * 名称 - */ - public static final int EXCEL_SUPPLIER = 0; - - /** - * 类型 - */ - public static final int EXCEL_TYPE = 1; - - /** - * 联系人 - */ - public static final int EXCEL_CONTACTS = 2; - - /** - * 电话 - */ - public static final int EXCEL_PHONE_NUM = 3; - - /** - * 电子邮箱 - */ - public static final int EXCEL_EMAIL = 4; - - /** - * 预收款 - */ - public static final int EXCEL_ADVANCE_IN = 5; - - /** - * 期初应收 - */ - public static final int EXCEL_BEGIN_NEED_GET = 6; - - /** - * 期初应付 - */ - public static final int EXCEL_BEGIN_NEED_PAY = 7; - - /** - * 备注 - */ - public static final int EXCEL_DESCRIPTION = 8; - - /** - * 传真 - */ - public static final int EXCEL_FAX = 9; - - /** - * 手机 - */ - public static final int EXCEL_TELEPHONE = 10; - - /** - * 地址 - */ - public static final int EXCEL_ADDRESS = 11; - - /** - * 纳税人识别号 - */ - public static final int EXCEL_TAX_NUM = 12; - - /** - * 开户行 - */ - public static final int EXCEL_BANK_NAME = 13; - - /** - * 账号 - */ - public static final int EXCEL_ACCOUNT_NUMBER = 14; - - /** - * 税率 - */ - public static final int EXCEL_TAX_RATE = 15; - - - /** - * 表头 - */ - public static final int EXCEL_TABLE_HEAD = 0; - - /** - * action返回excel结果 - */ - public static final String EXCEL = "excel"; - } -} diff --git a/src/main/resources/application.yml b/src/main/resources/application.yml new file mode 100644 index 0000000000000000000000000000000000000000..b31e0135f7331f04156f84b11361f2c7419cf4a7 --- /dev/null +++ b/src/main/resources/application.yml @@ -0,0 +1,13 @@ +server: + port: 80 +erpDatasource: + driver-class-name: com.mysql.jdbc.Driver + url: jdbc:mysql://127.0.0.1:3306/jsh_erp?useUnicode=true&characterEncoding=utf8&useCursorFetch=true&defaultFetchSize=500&allowMultiQueries=true&rewriteBatchedStatements=true&useSSL=false + username: root + password: 1234 +web: + front: + base-dir: erp_web +mybatis: + mapperLocations: classpath:mapper_xml/*.xml #一定要对应mapper映射xml文件的所在路径 + executorType: SIMPLE \ No newline at end of file diff --git a/src/main/resources/common/email.properties b/src/main/resources/common/email.properties deleted file mode 100644 index bd53007079245dc34e36e38ec48b5f07e29a8bfc..0000000000000000000000000000000000000000 --- a/src/main/resources/common/email.properties +++ /dev/null @@ -1,3 +0,0 @@ -stmp=smtp.126.com -emailname=accountnms@126.com -password=public \ No newline at end of file diff --git a/src/main/resources/common/jdbc.properties b/src/main/resources/common/jdbc.properties deleted file mode 100644 index cf5bf1518ca63afcded1481875f1bc9c6f8a2976..0000000000000000000000000000000000000000 --- a/src/main/resources/common/jdbc.properties +++ /dev/null @@ -1,4 +0,0 @@ -jdbcUrl= jdbc\:mysql\://localhost\:3306/jsh_erp?useUnicode\=true&characterEncoding\=UTF-8 -driverClass= com.mysql.jdbc.Driver -user= root -password= 1234 \ No newline at end of file diff --git a/src/main/resources/common/limitbasicdata.properties b/src/main/resources/common/limitbasicdata.properties deleted file mode 100644 index 6177cad4a74a6acc271014b82636c4dc933cf837..0000000000000000000000000000000000000000 --- a/src/main/resources/common/limitbasicdata.properties +++ /dev/null @@ -1,5 +0,0 @@ -bigtypenum=20 -smalltypenum=20 -consumeForm=20 -consumePlace=20 -emailnum=20 \ No newline at end of file diff --git a/src/main/resources/hibernate/Account.hbm.xml b/src/main/resources/hibernate/Account.hbm.xml deleted file mode 100644 index cbe28d9ebd676efa3acbed220cb37a207ef3e7d7..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Account.hbm.xml +++ /dev/null @@ -1,41 +0,0 @@ - - - - - - - - - - - 名称 - - - - - 编号 - - - - - 期初金额 - - - - - 当前余额 - - - - - 是否设为默认 - - - - - 备注 - - - - diff --git a/src/main/resources/hibernate/AccountHead.hbm.xml b/src/main/resources/hibernate/AccountHead.hbm.xml deleted file mode 100644 index c854333e38a9e2711e37dbf6ef7a882121c18432..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/AccountHead.hbm.xml +++ /dev/null @@ -1,56 +0,0 @@ - - - - - - - - - - - 类型(支出/收入/收款/付款/转账) - - - - - 单位Id(收款/付款单位) - - - - - 经手人Id - - - - - 变动金额(优惠/收款/付款/实付) - - - - - 合计金额 - - - - - 账户(收款/付款) - - - - - 单据编号 - - - - - 单据日期 - - - - - 备注 - - - - diff --git a/src/main/resources/hibernate/AccountItem.hbm.xml b/src/main/resources/hibernate/AccountItem.hbm.xml deleted file mode 100644 index 581854b0fb03667758df3ba02c0bcad5adaca6ee..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/AccountItem.hbm.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - 表头Id - - - - - 账户Id - - - - - 收支项目Id - - - - - 单项金额 - - - - - 单据备注 - - - - diff --git a/src/main/resources/hibernate/App.hbm.xml b/src/main/resources/hibernate/App.hbm.xml deleted file mode 100644 index 6daa362fcce3078d5ed0a79ee914c8e12de25281..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/App.hbm.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - - - - - - - - 代号 - - - - - 名称 - - - - - 类型 - - - - - 图标 - - - - - 链接 - - - - - 宽度 - - - - - 高度 - - - - - 拉伸 - - - - - 最大化 - - - - - Flash - - - - - 种类 - - - - - 排序号 - - - - - 备注 - - - - - 启用 - - - - diff --git a/src/main/resources/hibernate/Asset.hbm.xml b/src/main/resources/hibernate/Asset.hbm.xml deleted file mode 100644 index 1bf1e386e7c63e67e2232b40fbdd5d07dd24f084..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Asset.hbm.xml +++ /dev/null @@ -1,96 +0,0 @@ - - - - - - - - - - - - - - - - 位置 - - - - - 标签:以空格为分隔符 - - - - - 资产的状态:0==在库,1==在用,2==消费 - - - - - - - - - - 购买价格 - - - - - 购买日期 - - - - - 有效日期 - - - - - 保修日期 - - - - - 资产编号 - - - - - 资产序列号 - - - - - - - - - - 描述信息 - - - - - 资产添加时间,统计报表使用 - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/hibernate/Assetname.hbm.xml b/src/main/resources/hibernate/Assetname.hbm.xml deleted file mode 100644 index 45610bdb2e25bba7525a2abb151520173dd7dfbb..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Assetname.hbm.xml +++ /dev/null @@ -1,34 +0,0 @@ - - - - - - - - - - - 资产名称 - - - - - - - - 是否系统自带 0==系统 1==非系统 - - - - - 描述信息 - - - - - 是否为耗材 0==否 1==是 耗材状态只能是消费 - - - - diff --git a/src/main/resources/hibernate/Basicuser.hbm.xml b/src/main/resources/hibernate/Basicuser.hbm.xml deleted file mode 100644 index e6abb717e5580dc46a8934875e85f639cece46ae..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Basicuser.hbm.xml +++ /dev/null @@ -1,69 +0,0 @@ - - - - - - - - - - - 用户姓名--例如张三 - - - - - 登录用户名--可能为空 - - - - - 登陆密码 - - - - - 职位 - - - - - 所属部门 - - - - - 电子邮箱 - - - - - 手机号码 - - - - - 是否为管理者 0==管理者 1==员工 - - - - - 是否系统自带数据 - - - - - 用户状态 - - - - - 用户描述信息 - - - - - - - diff --git a/src/main/resources/hibernate/Category.hbm.xml b/src/main/resources/hibernate/Category.hbm.xml deleted file mode 100644 index 0e80860060a59d8051543700dcc93c00fc7eec0b..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Category.hbm.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - 资产类型名称 - - - - - 是否系统自带 0==系统 1==非系统 - - - - - 描述信息 - - - - diff --git a/src/main/resources/hibernate/Depot.hbm.xml b/src/main/resources/hibernate/Depot.hbm.xml deleted file mode 100644 index 8fe3df57e3e00a0b13e4c87bfaf44954526fa2e0..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Depot.hbm.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - 仓库名称 - - - - - 仓库地址 - - - - - 仓储费 - - - - - 搬运费 - - - - - 类型 - - - - - 排序 - - - - - 描述 - - - - diff --git a/src/main/resources/hibernate/DepotHead.hbm.xml b/src/main/resources/hibernate/DepotHead.hbm.xml deleted file mode 100644 index f4ee9e957560241d64eb96a1127e2a758a660c37..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/DepotHead.hbm.xml +++ /dev/null @@ -1,146 +0,0 @@ - - - - - - - - - - - 类型(出库/入库) - - - - - 出入库分类(销售、采购、调拨等) - - - - - 仓库id(停用) - - - - - 初始票据号 - - - - - 票据号 - - - - - 操作员名字 - - - - - 创建时间 - - - - - 出入库时间 - - - - - 供应商或客户Id - - - - - 经手人Id - - - - - 业务员(可以多个) - - - - - 账户Id - - - - - 单据总金额(收款/付款) - - - - - 多账户ID列表 - - - - - 多账户金额列表 - - - - - 优惠率 - - - - - 优惠金额 - - - - - 优惠后金额 - - - - - 销售或采购费用 - - - - - 销售或采购费用涉及项目Id数组(包括快递、招待等) - - - - - 销售或采购费用涉及项目(包括快递、招待等) - - - - - 结算天数 - - - - - 调拨时,对方仓库Id(停用) - - - - - 合计金额 - - - - - 付款类型(现金、记账等) - - - - - 单据状态(未审核、已审核) - - - - - 备注 - - - - diff --git a/src/main/resources/hibernate/DepotItem.hbm.xml b/src/main/resources/hibernate/DepotItem.hbm.xml deleted file mode 100644 index 343a6662f19f62db7b65c27b52b07aa6ef9fc805..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/DepotItem.hbm.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - 主表Id - - - - - 商品Id - - - - - 商品计量单位 - - - - - 数量 - - - - - 基础数量,如kg、瓶 - - - - - 单价 - - - - - 含税单价 - - - - - 金额 - - - - - 仓库ID(库存是统计出来的) - - - - - 调拨时,对方仓库Id - - - - - 税率 - - - - - 税额 - - - - - 价税合计 - - - - - 自定义字段1-品名 - - - - - 自定义字段2-型号 - - - - - 自定义字段3-制造商 - - - - - 自定义字段4 - - - - - 自定义字段5 - - - - - 商品类型 - - - - - 描述 - - - - diff --git a/src/main/resources/hibernate/Functions.hbm.xml b/src/main/resources/hibernate/Functions.hbm.xml deleted file mode 100644 index f1e1d478ded24262202e70c776bc79a7631d36e2..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Functions.hbm.xml +++ /dev/null @@ -1,59 +0,0 @@ - - - - - - - - - - - 编号 - - - - - 名称 - - - - - 上级编号 - - - - - 链接 - - - - - 收缩 - - - - - 排序 - - - - - 启用 - - - - - 类型 - - - - - 功能按钮 - - - - - - - diff --git a/src/main/resources/hibernate/InOutItem.hbm.xml b/src/main/resources/hibernate/InOutItem.hbm.xml deleted file mode 100644 index 4e8afb9c2afacc5171a0ce1bea19dd5638516aaf..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/InOutItem.hbm.xml +++ /dev/null @@ -1,26 +0,0 @@ - - - - - - - - - - - 名称 - - - - - 类型 - - - - - 备注 - - - - diff --git a/src/main/resources/hibernate/Logdetails.hbm.xml b/src/main/resources/hibernate/Logdetails.hbm.xml deleted file mode 100644 index 8f6d4429fa0c2dcfbb1dff7917908faaf11999e5..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Logdetails.hbm.xml +++ /dev/null @@ -1,44 +0,0 @@ - - - - - - - - - - - - - - 操作模块名称 - - - - - 客户端IP - - - - - 创建时间 - - - - - 操作状态 0==成功,1==失败 - - - - - 操作详情 - - - - - 备注信息 - - - - diff --git a/src/main/resources/hibernate/Material.hbm.xml b/src/main/resources/hibernate/Material.hbm.xml deleted file mode 100644 index 6bfb6b201850a59c83157de0c2477c9bda19f0af..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Material.hbm.xml +++ /dev/null @@ -1,119 +0,0 @@ - - - - - - - - - - - - - - 名称 - - - - - 制造商 - - - - - 包装(KG/包) - - - - - 安全存量(KG) - - - - - 型号 - - - - - 规格 - - - - - 颜色 - - - - - 单位-单个 - - - - - 多单位 - - - - - 首选出库单位 - - - - - 首选入库单位 - - - - - 价格策略 - - - - - 零售价 - - - - - 最低售价 - - - - - 预设售价一 - - - - - 预设售价二 - - - - - 备注 - - - - - 启用 - - - - - 自定义1 - - - - - 自定义2 - - - - - 自定义3 - - - - diff --git a/src/main/resources/hibernate/MaterialCategory.hbm.xml b/src/main/resources/hibernate/MaterialCategory.hbm.xml deleted file mode 100644 index 211cd14bf8b3ffa2a469592ed89a76666c582b12..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/MaterialCategory.hbm.xml +++ /dev/null @@ -1,24 +0,0 @@ - - - - - - - - - - - 名称 - - - - - 等级 - - - - - - - diff --git a/src/main/resources/hibernate/MaterialProperty.hbm.xml b/src/main/resources/hibernate/MaterialProperty.hbm.xml deleted file mode 100644 index e12109d9759cbe19dcf4f4341388728a60692001..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/MaterialProperty.hbm.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - 原始名称 - - - - - 是否启用 - - - - - 排序 - - - - - 别名 - - - - diff --git a/src/main/resources/hibernate/Person.hbm.xml b/src/main/resources/hibernate/Person.hbm.xml deleted file mode 100644 index f3e03159d723f7c830ffd3fae7df684f2db398d4..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Person.hbm.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - 类型 - - - - - 姓名 - - - - diff --git a/src/main/resources/hibernate/Role.hbm.xml b/src/main/resources/hibernate/Role.hbm.xml deleted file mode 100644 index a76e27f1bf2b341276a23370ceb654d6733396b0..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Role.hbm.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - 角色名称 - - - - diff --git a/src/main/resources/hibernate/Supplier.hbm.xml b/src/main/resources/hibernate/Supplier.hbm.xml deleted file mode 100644 index 80260dc1f73a4f2578e3ba1f2e148b024a586a20..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Supplier.hbm.xml +++ /dev/null @@ -1,111 +0,0 @@ - - - - - - - - - - - 名称 - - - - - 类型 - - - - - 联系人 - - - - - 电话 - - - - - 传真 - - - - - 手机 - - - - - 电子邮箱 - - - - - 地址 - - - - - 预收款 - - - - - 纳税人识别号 - - - - - 开户行 - - - - - 账号 - - - - - 税率 - - - - - 期初应收 - - - - - 期初应付 - - - - - 累计应收 - - - - - 累计应付 - - - - - 备注 - - - - - 是否系统自带 0==系统 1==非系统 - - - - - 启用 - - - - diff --git a/src/main/resources/hibernate/SystemConfig.hbm.xml b/src/main/resources/hibernate/SystemConfig.hbm.xml deleted file mode 100644 index e4e046a4fcff33d08cf428f2e433c50460168546..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/SystemConfig.hbm.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - 类型 - - - - - 名称 - - - - - - - - - - 描述 - - - - diff --git a/src/main/resources/hibernate/Unit.hbm.xml b/src/main/resources/hibernate/Unit.hbm.xml deleted file mode 100644 index 2071c2a3362c4a62c2165275ac26bf042de0b3e0..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/Unit.hbm.xml +++ /dev/null @@ -1,16 +0,0 @@ - - - - - - - - - - - 单位名称 - - - - diff --git a/src/main/resources/hibernate/UserBusiness.hbm.xml b/src/main/resources/hibernate/UserBusiness.hbm.xml deleted file mode 100644 index 638c41165fbf62d792889d661b25a46d668a4ad6..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/UserBusiness.hbm.xml +++ /dev/null @@ -1,31 +0,0 @@ - - - - - - - - - - - 类别 - - - - - 主ID - - - - - - - - - - 按钮权限 - - - - diff --git a/src/main/resources/hibernate/hibernate.cfg.xml b/src/main/resources/hibernate/hibernate.cfg.xml deleted file mode 100644 index da0f865187c4a1b207dcf068148ab369148c3645..0000000000000000000000000000000000000000 --- a/src/main/resources/hibernate/hibernate.cfg.xml +++ /dev/null @@ -1,49 +0,0 @@ - - - - - - - org.hibernate.dialect.MySQL5Dialect - - true - - update - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/i18n/messages_en_US.properties b/src/main/resources/i18n/messages_en_US.properties deleted file mode 100644 index cf79096262ea1412435ca1960a4e8eef041ec2c1..0000000000000000000000000000000000000000 --- a/src/main/resources/i18n/messages_en_US.properties +++ /dev/null @@ -1,7 +0,0 @@ -language=Select Language -enus=American English -zhcn=Simplified Chinese -logintitle=Welcome to the BenaMaid System -username=username -password=password -login_submit=login diff --git a/src/main/resources/i18n/messages_zh_CN.properties b/src/main/resources/i18n/messages_zh_CN.properties deleted file mode 100644 index b8211f37c2ce5b752b1ab0870b77325c5be6a8de..0000000000000000000000000000000000000000 --- a/src/main/resources/i18n/messages_zh_CN.properties +++ /dev/null @@ -1,7 +0,0 @@ -language=\u9009\u62e9\u8bed\u8a00 -enus=\u7f8e\u5f0f\u82f1\u8bed -zhcn=\u7b80\u4f53\u4e2d\u6587 -logintitle=\u6b22\u8fce\u5149\u4e34BenaMaid\u7cfb\u7edf -username=\u7528\u6237\u540d -password=\u5bc6\u7801 -login_submit=\u767b\u5f55 diff --git a/src/main/resources/log4j/log4j.properties b/src/main/resources/log4j/log4j.properties deleted file mode 100644 index 46226f164089c9d6d9cc235b90cda7bd2443ba12..0000000000000000000000000000000000000000 --- a/src/main/resources/log4j/log4j.properties +++ /dev/null @@ -1,67 +0,0 @@ -# level : 是日志记录的优先级,分为OFF、FATAL、ERROR、WARN、INFO、DEBUG、ALL或者您定义的级别。 -#Log4j建议只使用四个级别,优先级从高到低分别是ERROR、WARN、INFO、DEBUG。 -#Log4jTest.java中的Logger logger = Logger.getLogger(this.getClass().getName());可能对应了log4j.rootLogger=DEBUG,CONSOLE,A1的配置 -log4j.rootLogger=INFO,D,E,stdout - -##########控制台输出############## -log4j.appender.stdout=org.apache.log4j.ConsoleAppender -log4j.appender.stdout.Target=System.out -log4j.appender.stdout.layout=org.apache.log4j.PatternLayout -#log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%p]-[%C %M %L]:%m%n -log4j.appender.stdout.layout.ConversionPattern=%d{yyyy-MM-dd HH:mm:ss} [%p]-%m%n - -#######配置hibernate日志输入目录,暂时没有使用到############ -#log4j.logger.org.hibernate = OFF,hibernate -#log4j.logger.org.hibernate.tool.hbm2ddl=debug -#log4j.appender.hibernate = org.apache.log4j.RollingFileAppender -#log4j.appender.hibernate.file = ${webApp.log4j.path}/logs/jsh_hibernate.log -#log4j.appender.hibernate.layout = org.apache.log4j.PatternLayout -#log4j.appender.hibernate.layout.conversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [%p]-[%C %M %L]:%m%n -#log4j.appender.hibernate.layout.conversionPattern = %-d{yyyy-MM-dd HH:mm:ss} [%p]-%m%n -#log4j.appender.hibernate.append = false - -###输出到日志文件指定最低为INFO级别 ### -log4j.appender.D=org.apache.log4j.RollingFileAppender -log4j.appender.D.File=${webApp.log4j.path}/logs/jsh-info.log -log4j.appender.D.MaxFileSize=50MB -log4j.appender.D.MaxBackupIndex=10 -##the lower level -log4j.appender.D.Threshold=INFO -log4j.appender.D.layout=org.apache.log4j.PatternLayout -#log4j.appender.D.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss} [%p]-[%C %M %L]:%m%n -log4j.appender.D.layout.ConversionPattern=%-d{yyyy-MM-dd HH:mm:ss} [%p]-%m%n - -###输出错误信息内容到指定文件ERROR级别### -log4j.appender.E= org.apache.log4j.RollingFileAppender -log4j.appender.E.File=${webApp.log4j.path}/logs/jsh-error.log -log4j.appender.E.MaxFileSize=50MB -log4j.appender.E.MaxBackupIndex=10 -log4j.appender.E.Threshold = ERROR -log4j.appender.E.layout = org.apache.log4j.PatternLayout -##log4j.appender.E.layout.ConversionPattern =%-d{yyyy-MM-dd HH\:mm\:ss} [%p]-[%C %M %L]\:%m%n -log4j.appender.E.layout.ConversionPattern =%-d{yyyy-MM-dd HH\:mm\:ss} [%p]-%m%n -# %n代表换行 -# %d代表日期 -# %c代表路径名(Logger.getLogger("DAO")时为DAO:,Logger.getLogger(this.getClass().getName())时为绝对类名)# %c{1}为类名,如Log4jTest -# %l代表类路径及代码所在行数,%L仅代表代码所在行数 -# [%-5p]代表该日志对应的日志级别(%5p),如DEBUG,ERROR,中间的-起到在[]中左对齐的作用 -# %m代表“类名:”(Logger.getLogger("DAO")时为DAO:,Logger.getLogger(this.getClass().getName())时为类名)及日志信息 -#---------------------------------------------------------------------------------- -#分别说明如下: -#1、使用Logger logger = Logger.getLogger("DAO")获得配置时,属性文件中必须要有对应设置:log4j.logger.DAO=DEBUG,A2 -#2、%c为DAO -#3、%l为logger.debug("DAO: Debug info.");的类绝对路径以及代码所在行, -# log.DAOlogTest.doGet(DAOlogTest.java:23) -#4、%L为logger.debug("DAO: Debug info.");代码所在行 23 -#5、%m为类名和日志信息 DAO: Debug info. -#1、使用Logger logger = Logger.getLogger(this.getClass().getName())获得配置时 -#2、%c为log.Log4jTest %c{1}为Log4jTest -#3、%l为 log.Log4jTest.doGet(Log4jTest.java:23) -#4、%L同上 -#5、%m为 Debug info. -#-X号: X信息输出时左对齐; -#%p: 日志信息级别 -#%d{}: 日志信息产生时间 -#%c: 日志信息所在地(类名) -#%m: 产生的日志具体信息 -#%n: 输出日志信息换行 diff --git a/src/main/resources/mapper_xml/AccountHeadMapper.xml b/src/main/resources/mapper_xml/AccountHeadMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..ba23d43eec8de166e2c54d1f76d37ef6c3019d2d --- /dev/null +++ b/src/main/resources/mapper_xml/AccountHeadMapper.xml @@ -0,0 +1,351 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Type, OrganId, HandsPersonId, ChangeAmount, TotalPrice, AccountId, BillNo, BillTime, + Remark + + + + + + delete from jsh_accounthead + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_accounthead + + + + + + + insert into jsh_accounthead (Id, Type, OrganId, + HandsPersonId, ChangeAmount, TotalPrice, + AccountId, BillNo, BillTime, + Remark) + values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{organid,jdbcType=BIGINT}, + #{handspersonid,jdbcType=BIGINT}, #{changeamount,jdbcType=DOUBLE}, #{totalprice,jdbcType=DOUBLE}, + #{accountid,jdbcType=BIGINT}, #{billno,jdbcType=VARCHAR}, #{billtime,jdbcType=TIMESTAMP}, + #{remark,jdbcType=VARCHAR}) + + + + insert into jsh_accounthead + + + Id, + + + Type, + + + OrganId, + + + HandsPersonId, + + + ChangeAmount, + + + TotalPrice, + + + AccountId, + + + BillNo, + + + BillTime, + + + Remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{type,jdbcType=VARCHAR}, + + + #{organid,jdbcType=BIGINT}, + + + #{handspersonid,jdbcType=BIGINT}, + + + #{changeamount,jdbcType=DOUBLE}, + + + #{totalprice,jdbcType=DOUBLE}, + + + #{accountid,jdbcType=BIGINT}, + + + #{billno,jdbcType=VARCHAR}, + + + #{billtime,jdbcType=TIMESTAMP}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + update jsh_accounthead + + + Id = #{record.id,jdbcType=BIGINT}, + + + Type = #{record.type,jdbcType=VARCHAR}, + + + OrganId = #{record.organid,jdbcType=BIGINT}, + + + HandsPersonId = #{record.handspersonid,jdbcType=BIGINT}, + + + ChangeAmount = #{record.changeamount,jdbcType=DOUBLE}, + + + TotalPrice = #{record.totalprice,jdbcType=DOUBLE}, + + + AccountId = #{record.accountid,jdbcType=BIGINT}, + + + BillNo = #{record.billno,jdbcType=VARCHAR}, + + + BillTime = #{record.billtime,jdbcType=TIMESTAMP}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + update jsh_accounthead + set Id = #{record.id,jdbcType=BIGINT}, + Type = #{record.type,jdbcType=VARCHAR}, + OrganId = #{record.organid,jdbcType=BIGINT}, + HandsPersonId = #{record.handspersonid,jdbcType=BIGINT}, + ChangeAmount = #{record.changeamount,jdbcType=DOUBLE}, + TotalPrice = #{record.totalprice,jdbcType=DOUBLE}, + AccountId = #{record.accountid,jdbcType=BIGINT}, + BillNo = #{record.billno,jdbcType=VARCHAR}, + BillTime = #{record.billtime,jdbcType=TIMESTAMP}, + Remark = #{record.remark,jdbcType=VARCHAR} + + + + + + + update jsh_accounthead + + + Type = #{type,jdbcType=VARCHAR}, + + + OrganId = #{organid,jdbcType=BIGINT}, + + + HandsPersonId = #{handspersonid,jdbcType=BIGINT}, + + + ChangeAmount = #{changeamount,jdbcType=DOUBLE}, + + + TotalPrice = #{totalprice,jdbcType=DOUBLE}, + + + AccountId = #{accountid,jdbcType=BIGINT}, + + + BillNo = #{billno,jdbcType=VARCHAR}, + + + BillTime = #{billtime,jdbcType=TIMESTAMP}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_accounthead + set Type = #{type,jdbcType=VARCHAR}, + OrganId = #{organid,jdbcType=BIGINT}, + HandsPersonId = #{handspersonid,jdbcType=BIGINT}, + ChangeAmount = #{changeamount,jdbcType=DOUBLE}, + TotalPrice = #{totalprice,jdbcType=DOUBLE}, + AccountId = #{accountid,jdbcType=BIGINT}, + BillNo = #{billno,jdbcType=VARCHAR}, + BillTime = #{billtime,jdbcType=TIMESTAMP}, + Remark = #{remark,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AccountHeadMapperEx.xml b/src/main/resources/mapper_xml/AccountHeadMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..e9d96143565754fa968be7245145c86a400ed2a3 --- /dev/null +++ b/src/main/resources/mapper_xml/AccountHeadMapperEx.xml @@ -0,0 +1,76 @@ + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AccountItemMapper.xml b/src/main/resources/mapper_xml/AccountItemMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..7b02e788109b14c1dac117a38c4fe6716aedb94f --- /dev/null +++ b/src/main/resources/mapper_xml/AccountItemMapper.xml @@ -0,0 +1,288 @@ + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, HeaderId, AccountId, InOutItemId, EachAmount, Remark + + + + + + delete from jsh_accountitem + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_accountitem + + + + + + + insert into jsh_accountitem (Id, HeaderId, AccountId, + InOutItemId, EachAmount, Remark + ) + values (#{id,jdbcType=BIGINT}, #{headerid,jdbcType=BIGINT}, #{accountid,jdbcType=BIGINT}, + #{inoutitemid,jdbcType=BIGINT}, #{eachamount,jdbcType=DOUBLE}, #{remark,jdbcType=VARCHAR} + ) + + + + insert into jsh_accountitem + + + Id, + + + HeaderId, + + + AccountId, + + + InOutItemId, + + + EachAmount, + + + Remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{headerid,jdbcType=BIGINT}, + + + #{accountid,jdbcType=BIGINT}, + + + #{inoutitemid,jdbcType=BIGINT}, + + + #{eachamount,jdbcType=DOUBLE}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + update jsh_accountitem + + + Id = #{record.id,jdbcType=BIGINT}, + + + HeaderId = #{record.headerid,jdbcType=BIGINT}, + + + AccountId = #{record.accountid,jdbcType=BIGINT}, + + + InOutItemId = #{record.inoutitemid,jdbcType=BIGINT}, + + + EachAmount = #{record.eachamount,jdbcType=DOUBLE}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + update jsh_accountitem + set Id = #{record.id,jdbcType=BIGINT}, + HeaderId = #{record.headerid,jdbcType=BIGINT}, + AccountId = #{record.accountid,jdbcType=BIGINT}, + InOutItemId = #{record.inoutitemid,jdbcType=BIGINT}, + EachAmount = #{record.eachamount,jdbcType=DOUBLE}, + Remark = #{record.remark,jdbcType=VARCHAR} + + + + + + + update jsh_accountitem + + + HeaderId = #{headerid,jdbcType=BIGINT}, + + + AccountId = #{accountid,jdbcType=BIGINT}, + + + InOutItemId = #{inoutitemid,jdbcType=BIGINT}, + + + EachAmount = #{eachamount,jdbcType=DOUBLE}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_accountitem + set HeaderId = #{headerid,jdbcType=BIGINT}, + AccountId = #{accountid,jdbcType=BIGINT}, + InOutItemId = #{inoutitemid,jdbcType=BIGINT}, + EachAmount = #{eachamount,jdbcType=DOUBLE}, + Remark = #{remark,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AccountItemMapperEx.xml b/src/main/resources/mapper_xml/AccountItemMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..fe26140c5abdb71010a0ad5f5749ad60455ebb63 --- /dev/null +++ b/src/main/resources/mapper_xml/AccountItemMapperEx.xml @@ -0,0 +1,50 @@ + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AccountMapper.xml b/src/main/resources/mapper_xml/AccountMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..dc9f3c6dd97d605529bafa9bfd8e34e9b67a3306 --- /dev/null +++ b/src/main/resources/mapper_xml/AccountMapper.xml @@ -0,0 +1,303 @@ + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Name, SerialNo, InitialAmount, CurrentAmount, Remark, IsDefault + + + + + + delete from jsh_account + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_account + + + + + + + insert into jsh_account (Id, Name, SerialNo, + InitialAmount, CurrentAmount, Remark, + IsDefault) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{serialno,jdbcType=VARCHAR}, + #{initialamount,jdbcType=DOUBLE}, #{currentamount,jdbcType=DOUBLE}, #{remark,jdbcType=VARCHAR}, + #{isdefault,jdbcType=BIT}) + + + + insert into jsh_account + + + Id, + + + Name, + + + SerialNo, + + + InitialAmount, + + + CurrentAmount, + + + Remark, + + + IsDefault, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{serialno,jdbcType=VARCHAR}, + + + #{initialamount,jdbcType=DOUBLE}, + + + #{currentamount,jdbcType=DOUBLE}, + + + #{remark,jdbcType=VARCHAR}, + + + #{isdefault,jdbcType=BIT}, + + + + + + + update jsh_account + + + Id = #{record.id,jdbcType=BIGINT}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + SerialNo = #{record.serialno,jdbcType=VARCHAR}, + + + InitialAmount = #{record.initialamount,jdbcType=DOUBLE}, + + + CurrentAmount = #{record.currentamount,jdbcType=DOUBLE}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + IsDefault = #{record.isdefault,jdbcType=BIT}, + + + + + + + + + update jsh_account + set Id = #{record.id,jdbcType=BIGINT}, + Name = #{record.name,jdbcType=VARCHAR}, + SerialNo = #{record.serialno,jdbcType=VARCHAR}, + InitialAmount = #{record.initialamount,jdbcType=DOUBLE}, + CurrentAmount = #{record.currentamount,jdbcType=DOUBLE}, + Remark = #{record.remark,jdbcType=VARCHAR}, + IsDefault = #{record.isdefault,jdbcType=BIT} + + + + + + + update jsh_account + + + Name = #{name,jdbcType=VARCHAR}, + + + SerialNo = #{serialno,jdbcType=VARCHAR}, + + + InitialAmount = #{initialamount,jdbcType=DOUBLE}, + + + CurrentAmount = #{currentamount,jdbcType=DOUBLE}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + IsDefault = #{isdefault,jdbcType=BIT}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_account + set Name = #{name,jdbcType=VARCHAR}, + SerialNo = #{serialno,jdbcType=VARCHAR}, + InitialAmount = #{initialamount,jdbcType=DOUBLE}, + CurrentAmount = #{currentamount,jdbcType=DOUBLE}, + Remark = #{remark,jdbcType=VARCHAR}, + IsDefault = #{isdefault,jdbcType=BIT} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AccountMapperEx.xml b/src/main/resources/mapper_xml/AccountMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..e0dfb275577209a867fd3111a526550014fa7d5a --- /dev/null +++ b/src/main/resources/mapper_xml/AccountMapperEx.xml @@ -0,0 +1,172 @@ + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AppMapper.xml b/src/main/resources/mapper_xml/AppMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..aee4c8b0057798494be44c4148bc0285da1c8048 --- /dev/null +++ b/src/main/resources/mapper_xml/AppMapper.xml @@ -0,0 +1,428 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Number, Name, Type, Icon, URL, Width, Height, ReSize, OpenMax, Flash, ZL, Sort, + Remark, Enabled + + + + + + delete from jsh_app + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_app + + + + + + + insert into jsh_app (Id, Number, Name, + Type, Icon, URL, Width, + Height, ReSize, OpenMax, Flash, + ZL, Sort, Remark, Enabled + ) + values (#{id,jdbcType=BIGINT}, #{number,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, + #{type,jdbcType=VARCHAR}, #{icon,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{width,jdbcType=VARCHAR}, + #{height,jdbcType=VARCHAR}, #{resize,jdbcType=BIT}, #{openmax,jdbcType=BIT}, #{flash,jdbcType=BIT}, + #{zl,jdbcType=VARCHAR}, #{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT} + ) + + + + insert into jsh_app + + + Id, + + + Number, + + + Name, + + + Type, + + + Icon, + + + URL, + + + Width, + + + Height, + + + ReSize, + + + OpenMax, + + + Flash, + + + ZL, + + + Sort, + + + Remark, + + + Enabled, + + + + + #{id,jdbcType=BIGINT}, + + + #{number,jdbcType=VARCHAR}, + + + #{name,jdbcType=VARCHAR}, + + + #{type,jdbcType=VARCHAR}, + + + #{icon,jdbcType=VARCHAR}, + + + #{url,jdbcType=VARCHAR}, + + + #{width,jdbcType=VARCHAR}, + + + #{height,jdbcType=VARCHAR}, + + + #{resize,jdbcType=BIT}, + + + #{openmax,jdbcType=BIT}, + + + #{flash,jdbcType=BIT}, + + + #{zl,jdbcType=VARCHAR}, + + + #{sort,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + #{enabled,jdbcType=BIT}, + + + + + + + update jsh_app + + + Id = #{record.id,jdbcType=BIGINT}, + + + Number = #{record.number,jdbcType=VARCHAR}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + Type = #{record.type,jdbcType=VARCHAR}, + + + Icon = #{record.icon,jdbcType=VARCHAR}, + + + URL = #{record.url,jdbcType=VARCHAR}, + + + Width = #{record.width,jdbcType=VARCHAR}, + + + Height = #{record.height,jdbcType=VARCHAR}, + + + ReSize = #{record.resize,jdbcType=BIT}, + + + OpenMax = #{record.openmax,jdbcType=BIT}, + + + Flash = #{record.flash,jdbcType=BIT}, + + + ZL = #{record.zl,jdbcType=VARCHAR}, + + + Sort = #{record.sort,jdbcType=VARCHAR}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + Enabled = #{record.enabled,jdbcType=BIT}, + + + + + + + + + update jsh_app + set Id = #{record.id,jdbcType=BIGINT}, + Number = #{record.number,jdbcType=VARCHAR}, + Name = #{record.name,jdbcType=VARCHAR}, + Type = #{record.type,jdbcType=VARCHAR}, + Icon = #{record.icon,jdbcType=VARCHAR}, + URL = #{record.url,jdbcType=VARCHAR}, + Width = #{record.width,jdbcType=VARCHAR}, + Height = #{record.height,jdbcType=VARCHAR}, + ReSize = #{record.resize,jdbcType=BIT}, + OpenMax = #{record.openmax,jdbcType=BIT}, + Flash = #{record.flash,jdbcType=BIT}, + ZL = #{record.zl,jdbcType=VARCHAR}, + Sort = #{record.sort,jdbcType=VARCHAR}, + Remark = #{record.remark,jdbcType=VARCHAR}, + Enabled = #{record.enabled,jdbcType=BIT} + + + + + + + update jsh_app + + + Number = #{number,jdbcType=VARCHAR}, + + + Name = #{name,jdbcType=VARCHAR}, + + + Type = #{type,jdbcType=VARCHAR}, + + + Icon = #{icon,jdbcType=VARCHAR}, + + + URL = #{url,jdbcType=VARCHAR}, + + + Width = #{width,jdbcType=VARCHAR}, + + + Height = #{height,jdbcType=VARCHAR}, + + + ReSize = #{resize,jdbcType=BIT}, + + + OpenMax = #{openmax,jdbcType=BIT}, + + + Flash = #{flash,jdbcType=BIT}, + + + ZL = #{zl,jdbcType=VARCHAR}, + + + Sort = #{sort,jdbcType=VARCHAR}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + Enabled = #{enabled,jdbcType=BIT}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_app + set Number = #{number,jdbcType=VARCHAR}, + Name = #{name,jdbcType=VARCHAR}, + Type = #{type,jdbcType=VARCHAR}, + Icon = #{icon,jdbcType=VARCHAR}, + URL = #{url,jdbcType=VARCHAR}, + Width = #{width,jdbcType=VARCHAR}, + Height = #{height,jdbcType=VARCHAR}, + ReSize = #{resize,jdbcType=BIT}, + OpenMax = #{openmax,jdbcType=BIT}, + Flash = #{flash,jdbcType=BIT}, + ZL = #{zl,jdbcType=VARCHAR}, + Sort = #{sort,jdbcType=VARCHAR}, + Remark = #{remark,jdbcType=VARCHAR}, + Enabled = #{enabled,jdbcType=BIT} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AppMapperEx.xml b/src/main/resources/mapper_xml/AppMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..620ba75c7f5660534f60a92ce0af8cbd8131355d --- /dev/null +++ b/src/main/resources/mapper_xml/AppMapperEx.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AssetCategoryMapper.xml b/src/main/resources/mapper_xml/AssetCategoryMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..b660e68a8a541a051f49d5a544db6ee6049bacdd --- /dev/null +++ b/src/main/resources/mapper_xml/AssetCategoryMapper.xml @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, assetname, isystem, description + + + + + + delete from jsh_assetcategory + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_assetcategory + + + + + + + insert into jsh_assetcategory (id, assetname, isystem, + description) + values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{isystem,jdbcType=TINYINT}, + #{description,jdbcType=VARCHAR}) + + + + insert into jsh_assetcategory + + + id, + + + assetname, + + + isystem, + + + description, + + + + + #{id,jdbcType=BIGINT}, + + + #{assetname,jdbcType=VARCHAR}, + + + #{isystem,jdbcType=TINYINT}, + + + #{description,jdbcType=VARCHAR}, + + + + + + + update jsh_assetcategory + + + id = #{record.id,jdbcType=BIGINT}, + + + assetname = #{record.assetname,jdbcType=VARCHAR}, + + + isystem = #{record.isystem,jdbcType=TINYINT}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + + + + + + + update jsh_assetcategory + set id = #{record.id,jdbcType=BIGINT}, + assetname = #{record.assetname,jdbcType=VARCHAR}, + isystem = #{record.isystem,jdbcType=TINYINT}, + description = #{record.description,jdbcType=VARCHAR} + + + + + + + update jsh_assetcategory + + + assetname = #{assetname,jdbcType=VARCHAR}, + + + isystem = #{isystem,jdbcType=TINYINT}, + + + description = #{description,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_assetcategory + set assetname = #{assetname,jdbcType=VARCHAR}, + isystem = #{isystem,jdbcType=TINYINT}, + description = #{description,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AssetMapper.xml b/src/main/resources/mapper_xml/AssetMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..122045ba005faa4c4ad9155f4880ea71ff5c4407 --- /dev/null +++ b/src/main/resources/mapper_xml/AssetMapper.xml @@ -0,0 +1,578 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, assetnameID, location, labels, status, userID, price, purchasedate, periodofvalidity, + warrantydate, assetnum, serialnum, supplier, createtime, creator, updatetime, updator + + + + description, addMonth + + + + + + + delete from jsh_asset + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_asset + + + + + + + insert into jsh_asset (id, assetnameID, location, + labels, status, userID, + price, purchasedate, periodofvalidity, + warrantydate, assetnum, serialnum, + supplier, createtime, creator, + updatetime, updator, description, + addMonth) + values (#{id,jdbcType=BIGINT}, #{assetnameid,jdbcType=BIGINT}, #{location,jdbcType=VARCHAR}, + #{labels,jdbcType=VARCHAR}, #{status,jdbcType=SMALLINT}, #{userid,jdbcType=BIGINT}, + #{price,jdbcType=DOUBLE}, #{purchasedate,jdbcType=TIMESTAMP}, #{periodofvalidity,jdbcType=TIMESTAMP}, + #{warrantydate,jdbcType=TIMESTAMP}, #{assetnum,jdbcType=VARCHAR}, #{serialnum,jdbcType=VARCHAR}, + #{supplier,jdbcType=BIGINT}, #{createtime,jdbcType=TIMESTAMP}, #{creator,jdbcType=BIGINT}, + #{updatetime,jdbcType=TIMESTAMP}, #{updator,jdbcType=BIGINT}, #{description,jdbcType=LONGVARCHAR}, + #{addmonth,jdbcType=LONGVARCHAR}) + + + + insert into jsh_asset + + + id, + + + assetnameID, + + + location, + + + labels, + + + status, + + + userID, + + + price, + + + purchasedate, + + + periodofvalidity, + + + warrantydate, + + + assetnum, + + + serialnum, + + + supplier, + + + createtime, + + + creator, + + + updatetime, + + + updator, + + + description, + + + addMonth, + + + + + #{id,jdbcType=BIGINT}, + + + #{assetnameid,jdbcType=BIGINT}, + + + #{location,jdbcType=VARCHAR}, + + + #{labels,jdbcType=VARCHAR}, + + + #{status,jdbcType=SMALLINT}, + + + #{userid,jdbcType=BIGINT}, + + + #{price,jdbcType=DOUBLE}, + + + #{purchasedate,jdbcType=TIMESTAMP}, + + + #{periodofvalidity,jdbcType=TIMESTAMP}, + + + #{warrantydate,jdbcType=TIMESTAMP}, + + + #{assetnum,jdbcType=VARCHAR}, + + + #{serialnum,jdbcType=VARCHAR}, + + + #{supplier,jdbcType=BIGINT}, + + + #{createtime,jdbcType=TIMESTAMP}, + + + #{creator,jdbcType=BIGINT}, + + + #{updatetime,jdbcType=TIMESTAMP}, + + + #{updator,jdbcType=BIGINT}, + + + #{description,jdbcType=LONGVARCHAR}, + + + #{addmonth,jdbcType=LONGVARCHAR}, + + + + + + + update jsh_asset + + + id = #{record.id,jdbcType=BIGINT}, + + + assetnameID = #{record.assetnameid,jdbcType=BIGINT}, + + + location = #{record.location,jdbcType=VARCHAR}, + + + labels = #{record.labels,jdbcType=VARCHAR}, + + + status = #{record.status,jdbcType=SMALLINT}, + + + userID = #{record.userid,jdbcType=BIGINT}, + + + price = #{record.price,jdbcType=DOUBLE}, + + + purchasedate = #{record.purchasedate,jdbcType=TIMESTAMP}, + + + periodofvalidity = #{record.periodofvalidity,jdbcType=TIMESTAMP}, + + + warrantydate = #{record.warrantydate,jdbcType=TIMESTAMP}, + + + assetnum = #{record.assetnum,jdbcType=VARCHAR}, + + + serialnum = #{record.serialnum,jdbcType=VARCHAR}, + + + supplier = #{record.supplier,jdbcType=BIGINT}, + + + createtime = #{record.createtime,jdbcType=TIMESTAMP}, + + + creator = #{record.creator,jdbcType=BIGINT}, + + + updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, + + + updator = #{record.updator,jdbcType=BIGINT}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + addMonth = #{record.addmonth,jdbcType=LONGVARCHAR}, + + + + + + + + + update jsh_asset + set id = #{record.id,jdbcType=BIGINT}, + assetnameID = #{record.assetnameid,jdbcType=BIGINT}, + location = #{record.location,jdbcType=VARCHAR}, + labels = #{record.labels,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=SMALLINT}, + userID = #{record.userid,jdbcType=BIGINT}, + price = #{record.price,jdbcType=DOUBLE}, + purchasedate = #{record.purchasedate,jdbcType=TIMESTAMP}, + periodofvalidity = #{record.periodofvalidity,jdbcType=TIMESTAMP}, + warrantydate = #{record.warrantydate,jdbcType=TIMESTAMP}, + assetnum = #{record.assetnum,jdbcType=VARCHAR}, + serialnum = #{record.serialnum,jdbcType=VARCHAR}, + supplier = #{record.supplier,jdbcType=BIGINT}, + createtime = #{record.createtime,jdbcType=TIMESTAMP}, + creator = #{record.creator,jdbcType=BIGINT}, + updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, + updator = #{record.updator,jdbcType=BIGINT}, + description = #{record.description,jdbcType=LONGVARCHAR}, + addMonth = #{record.addmonth,jdbcType=LONGVARCHAR} + + + + + + + update jsh_asset + set id = #{record.id,jdbcType=BIGINT}, + assetnameID = #{record.assetnameid,jdbcType=BIGINT}, + location = #{record.location,jdbcType=VARCHAR}, + labels = #{record.labels,jdbcType=VARCHAR}, + status = #{record.status,jdbcType=SMALLINT}, + userID = #{record.userid,jdbcType=BIGINT}, + price = #{record.price,jdbcType=DOUBLE}, + purchasedate = #{record.purchasedate,jdbcType=TIMESTAMP}, + periodofvalidity = #{record.periodofvalidity,jdbcType=TIMESTAMP}, + warrantydate = #{record.warrantydate,jdbcType=TIMESTAMP}, + assetnum = #{record.assetnum,jdbcType=VARCHAR}, + serialnum = #{record.serialnum,jdbcType=VARCHAR}, + supplier = #{record.supplier,jdbcType=BIGINT}, + createtime = #{record.createtime,jdbcType=TIMESTAMP}, + creator = #{record.creator,jdbcType=BIGINT}, + updatetime = #{record.updatetime,jdbcType=TIMESTAMP}, + updator = #{record.updator,jdbcType=BIGINT} + + + + + + + update jsh_asset + + + assetnameID = #{assetnameid,jdbcType=BIGINT}, + + + location = #{location,jdbcType=VARCHAR}, + + + labels = #{labels,jdbcType=VARCHAR}, + + + status = #{status,jdbcType=SMALLINT}, + + + userID = #{userid,jdbcType=BIGINT}, + + + price = #{price,jdbcType=DOUBLE}, + + + purchasedate = #{purchasedate,jdbcType=TIMESTAMP}, + + + periodofvalidity = #{periodofvalidity,jdbcType=TIMESTAMP}, + + + warrantydate = #{warrantydate,jdbcType=TIMESTAMP}, + + + assetnum = #{assetnum,jdbcType=VARCHAR}, + + + serialnum = #{serialnum,jdbcType=VARCHAR}, + + + supplier = #{supplier,jdbcType=BIGINT}, + + + createtime = #{createtime,jdbcType=TIMESTAMP}, + + + creator = #{creator,jdbcType=BIGINT}, + + + updatetime = #{updatetime,jdbcType=TIMESTAMP}, + + + updator = #{updator,jdbcType=BIGINT}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + addMonth = #{addmonth,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_asset + set assetnameID = #{assetnameid,jdbcType=BIGINT}, + location = #{location,jdbcType=VARCHAR}, + labels = #{labels,jdbcType=VARCHAR}, + status = #{status,jdbcType=SMALLINT}, + userID = #{userid,jdbcType=BIGINT}, + price = #{price,jdbcType=DOUBLE}, + purchasedate = #{purchasedate,jdbcType=TIMESTAMP}, + periodofvalidity = #{periodofvalidity,jdbcType=TIMESTAMP}, + warrantydate = #{warrantydate,jdbcType=TIMESTAMP}, + assetnum = #{assetnum,jdbcType=VARCHAR}, + serialnum = #{serialnum,jdbcType=VARCHAR}, + supplier = #{supplier,jdbcType=BIGINT}, + createtime = #{createtime,jdbcType=TIMESTAMP}, + creator = #{creator,jdbcType=BIGINT}, + updatetime = #{updatetime,jdbcType=TIMESTAMP}, + updator = #{updator,jdbcType=BIGINT}, + description = #{description,jdbcType=LONGVARCHAR}, + addMonth = #{addmonth,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + update jsh_asset + set assetnameID = #{assetnameid,jdbcType=BIGINT}, + location = #{location,jdbcType=VARCHAR}, + labels = #{labels,jdbcType=VARCHAR}, + status = #{status,jdbcType=SMALLINT}, + userID = #{userid,jdbcType=BIGINT}, + price = #{price,jdbcType=DOUBLE}, + purchasedate = #{purchasedate,jdbcType=TIMESTAMP}, + periodofvalidity = #{periodofvalidity,jdbcType=TIMESTAMP}, + warrantydate = #{warrantydate,jdbcType=TIMESTAMP}, + assetnum = #{assetnum,jdbcType=VARCHAR}, + serialnum = #{serialnum,jdbcType=VARCHAR}, + supplier = #{supplier,jdbcType=BIGINT}, + createtime = #{createtime,jdbcType=TIMESTAMP}, + creator = #{creator,jdbcType=BIGINT}, + updatetime = #{updatetime,jdbcType=TIMESTAMP}, + updator = #{updator,jdbcType=BIGINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/AssetNameMapper.xml b/src/main/resources/mapper_xml/AssetNameMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..2e2172de30c3ffb32180e570015a6166b8a97e94 --- /dev/null +++ b/src/main/resources/mapper_xml/AssetNameMapper.xml @@ -0,0 +1,350 @@ + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, assetname, assetcategoryID, isystem, isconsumables + + + + description + + + + + + + delete from jsh_assetname + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_assetname + + + + + + + insert into jsh_assetname (id, assetname, assetcategoryID, + isystem, isconsumables, description + ) + values (#{id,jdbcType=BIGINT}, #{assetname,jdbcType=VARCHAR}, #{assetcategoryid,jdbcType=BIGINT}, + #{isystem,jdbcType=SMALLINT}, #{isconsumables,jdbcType=SMALLINT}, #{description,jdbcType=LONGVARCHAR} + ) + + + + insert into jsh_assetname + + + id, + + + assetname, + + + assetcategoryID, + + + isystem, + + + isconsumables, + + + description, + + + + + #{id,jdbcType=BIGINT}, + + + #{assetname,jdbcType=VARCHAR}, + + + #{assetcategoryid,jdbcType=BIGINT}, + + + #{isystem,jdbcType=SMALLINT}, + + + #{isconsumables,jdbcType=SMALLINT}, + + + #{description,jdbcType=LONGVARCHAR}, + + + + + + + update jsh_assetname + + + id = #{record.id,jdbcType=BIGINT}, + + + assetname = #{record.assetname,jdbcType=VARCHAR}, + + + assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT}, + + + isystem = #{record.isystem,jdbcType=SMALLINT}, + + + isconsumables = #{record.isconsumables,jdbcType=SMALLINT}, + + + description = #{record.description,jdbcType=LONGVARCHAR}, + + + + + + + + + update jsh_assetname + set id = #{record.id,jdbcType=BIGINT}, + assetname = #{record.assetname,jdbcType=VARCHAR}, + assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT}, + isystem = #{record.isystem,jdbcType=SMALLINT}, + isconsumables = #{record.isconsumables,jdbcType=SMALLINT}, + description = #{record.description,jdbcType=LONGVARCHAR} + + + + + + + update jsh_assetname + set id = #{record.id,jdbcType=BIGINT}, + assetname = #{record.assetname,jdbcType=VARCHAR}, + assetcategoryID = #{record.assetcategoryid,jdbcType=BIGINT}, + isystem = #{record.isystem,jdbcType=SMALLINT}, + isconsumables = #{record.isconsumables,jdbcType=SMALLINT} + + + + + + + update jsh_assetname + + + assetname = #{assetname,jdbcType=VARCHAR}, + + + assetcategoryID = #{assetcategoryid,jdbcType=BIGINT}, + + + isystem = #{isystem,jdbcType=SMALLINT}, + + + isconsumables = #{isconsumables,jdbcType=SMALLINT}, + + + description = #{description,jdbcType=LONGVARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_assetname + set assetname = #{assetname,jdbcType=VARCHAR}, + assetcategoryID = #{assetcategoryid,jdbcType=BIGINT}, + isystem = #{isystem,jdbcType=SMALLINT}, + isconsumables = #{isconsumables,jdbcType=SMALLINT}, + description = #{description,jdbcType=LONGVARCHAR} + where id = #{id,jdbcType=BIGINT} + + + + update jsh_assetname + set assetname = #{assetname,jdbcType=VARCHAR}, + assetcategoryID = #{assetcategoryid,jdbcType=BIGINT}, + isystem = #{isystem,jdbcType=SMALLINT}, + isconsumables = #{isconsumables,jdbcType=SMALLINT} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/DepotHeadMapper.xml b/src/main/resources/mapper_xml/DepotHeadMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..4e46eb39adc364cefccc9efe829045daf4a28854 --- /dev/null +++ b/src/main/resources/mapper_xml/DepotHeadMapper.xml @@ -0,0 +1,635 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Type, SubType, ProjectId, DefaultNumber, Number, OperPersonName, CreateTime, + OperTime, OrganId, HandsPersonId, AccountId, ChangeAmount, AllocationProjectId, TotalPrice, + PayType, Remark, Salesman, AccountIdList, AccountMoneyList, Discount, DiscountMoney, + DiscountLastMoney, OtherMoney, OtherMoneyList, OtherMoneyItem, AccountDay, Status + + + + + + delete from jsh_depothead + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_depothead + + + + + + + insert into jsh_depothead (Id, Type, SubType, + ProjectId, DefaultNumber, Number, + OperPersonName, CreateTime, OperTime, + OrganId, HandsPersonId, AccountId, + ChangeAmount, AllocationProjectId, TotalPrice, + PayType, Remark, Salesman, + AccountIdList, AccountMoneyList, Discount, + DiscountMoney, DiscountLastMoney, OtherMoney, + OtherMoneyList, OtherMoneyItem, AccountDay, + Status) + values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{subtype,jdbcType=VARCHAR}, + #{projectid,jdbcType=BIGINT}, #{defaultnumber,jdbcType=VARCHAR}, #{number,jdbcType=VARCHAR}, + #{operpersonname,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{opertime,jdbcType=TIMESTAMP}, + #{organid,jdbcType=BIGINT}, #{handspersonid,jdbcType=BIGINT}, #{accountid,jdbcType=BIGINT}, + #{changeamount,jdbcType=DOUBLE}, #{allocationprojectid,jdbcType=BIGINT}, #{totalprice,jdbcType=DOUBLE}, + #{paytype,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{salesman,jdbcType=VARCHAR}, + #{accountidlist,jdbcType=VARCHAR}, #{accountmoneylist,jdbcType=VARCHAR}, #{discount,jdbcType=DOUBLE}, + #{discountmoney,jdbcType=DOUBLE}, #{discountlastmoney,jdbcType=DOUBLE}, #{othermoney,jdbcType=DOUBLE}, + #{othermoneylist,jdbcType=VARCHAR}, #{othermoneyitem,jdbcType=VARCHAR}, #{accountday,jdbcType=INTEGER}, + #{status,jdbcType=BIT}) + + + + insert into jsh_depothead + + + Id, + + + Type, + + + SubType, + + + ProjectId, + + + DefaultNumber, + + + Number, + + + OperPersonName, + + + CreateTime, + + + OperTime, + + + OrganId, + + + HandsPersonId, + + + AccountId, + + + ChangeAmount, + + + AllocationProjectId, + + + TotalPrice, + + + PayType, + + + Remark, + + + Salesman, + + + AccountIdList, + + + AccountMoneyList, + + + Discount, + + + DiscountMoney, + + + DiscountLastMoney, + + + OtherMoney, + + + OtherMoneyList, + + + OtherMoneyItem, + + + AccountDay, + + + Status, + + + + + #{id,jdbcType=BIGINT}, + + + #{type,jdbcType=VARCHAR}, + + + #{subtype,jdbcType=VARCHAR}, + + + #{projectid,jdbcType=BIGINT}, + + + #{defaultnumber,jdbcType=VARCHAR}, + + + #{number,jdbcType=VARCHAR}, + + + #{operpersonname,jdbcType=VARCHAR}, + + + #{createtime,jdbcType=TIMESTAMP}, + + + #{opertime,jdbcType=TIMESTAMP}, + + + #{organid,jdbcType=BIGINT}, + + + #{handspersonid,jdbcType=BIGINT}, + + + #{accountid,jdbcType=BIGINT}, + + + #{changeamount,jdbcType=DOUBLE}, + + + #{allocationprojectid,jdbcType=BIGINT}, + + + #{totalprice,jdbcType=DOUBLE}, + + + #{paytype,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + #{salesman,jdbcType=VARCHAR}, + + + #{accountidlist,jdbcType=VARCHAR}, + + + #{accountmoneylist,jdbcType=VARCHAR}, + + + #{discount,jdbcType=DOUBLE}, + + + #{discountmoney,jdbcType=DOUBLE}, + + + #{discountlastmoney,jdbcType=DOUBLE}, + + + #{othermoney,jdbcType=DOUBLE}, + + + #{othermoneylist,jdbcType=VARCHAR}, + + + #{othermoneyitem,jdbcType=VARCHAR}, + + + #{accountday,jdbcType=INTEGER}, + + + #{status,jdbcType=BIT}, + + + + + + + update jsh_depothead + + + Id = #{record.id,jdbcType=BIGINT}, + + + Type = #{record.type,jdbcType=VARCHAR}, + + + SubType = #{record.subtype,jdbcType=VARCHAR}, + + + ProjectId = #{record.projectid,jdbcType=BIGINT}, + + + DefaultNumber = #{record.defaultnumber,jdbcType=VARCHAR}, + + + Number = #{record.number,jdbcType=VARCHAR}, + + + OperPersonName = #{record.operpersonname,jdbcType=VARCHAR}, + + + CreateTime = #{record.createtime,jdbcType=TIMESTAMP}, + + + OperTime = #{record.opertime,jdbcType=TIMESTAMP}, + + + OrganId = #{record.organid,jdbcType=BIGINT}, + + + HandsPersonId = #{record.handspersonid,jdbcType=BIGINT}, + + + AccountId = #{record.accountid,jdbcType=BIGINT}, + + + ChangeAmount = #{record.changeamount,jdbcType=DOUBLE}, + + + AllocationProjectId = #{record.allocationprojectid,jdbcType=BIGINT}, + + + TotalPrice = #{record.totalprice,jdbcType=DOUBLE}, + + + PayType = #{record.paytype,jdbcType=VARCHAR}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + Salesman = #{record.salesman,jdbcType=VARCHAR}, + + + AccountIdList = #{record.accountidlist,jdbcType=VARCHAR}, + + + AccountMoneyList = #{record.accountmoneylist,jdbcType=VARCHAR}, + + + Discount = #{record.discount,jdbcType=DOUBLE}, + + + DiscountMoney = #{record.discountmoney,jdbcType=DOUBLE}, + + + DiscountLastMoney = #{record.discountlastmoney,jdbcType=DOUBLE}, + + + OtherMoney = #{record.othermoney,jdbcType=DOUBLE}, + + + OtherMoneyList = #{record.othermoneylist,jdbcType=VARCHAR}, + + + OtherMoneyItem = #{record.othermoneyitem,jdbcType=VARCHAR}, + + + AccountDay = #{record.accountday,jdbcType=INTEGER}, + + + Status = #{record.status,jdbcType=BIT}, + + + + + + + + + update jsh_depothead + set Id = #{record.id,jdbcType=BIGINT}, + Type = #{record.type,jdbcType=VARCHAR}, + SubType = #{record.subtype,jdbcType=VARCHAR}, + ProjectId = #{record.projectid,jdbcType=BIGINT}, + DefaultNumber = #{record.defaultnumber,jdbcType=VARCHAR}, + Number = #{record.number,jdbcType=VARCHAR}, + OperPersonName = #{record.operpersonname,jdbcType=VARCHAR}, + CreateTime = #{record.createtime,jdbcType=TIMESTAMP}, + OperTime = #{record.opertime,jdbcType=TIMESTAMP}, + OrganId = #{record.organid,jdbcType=BIGINT}, + HandsPersonId = #{record.handspersonid,jdbcType=BIGINT}, + AccountId = #{record.accountid,jdbcType=BIGINT}, + ChangeAmount = #{record.changeamount,jdbcType=DOUBLE}, + AllocationProjectId = #{record.allocationprojectid,jdbcType=BIGINT}, + TotalPrice = #{record.totalprice,jdbcType=DOUBLE}, + PayType = #{record.paytype,jdbcType=VARCHAR}, + Remark = #{record.remark,jdbcType=VARCHAR}, + Salesman = #{record.salesman,jdbcType=VARCHAR}, + AccountIdList = #{record.accountidlist,jdbcType=VARCHAR}, + AccountMoneyList = #{record.accountmoneylist,jdbcType=VARCHAR}, + Discount = #{record.discount,jdbcType=DOUBLE}, + DiscountMoney = #{record.discountmoney,jdbcType=DOUBLE}, + DiscountLastMoney = #{record.discountlastmoney,jdbcType=DOUBLE}, + OtherMoney = #{record.othermoney,jdbcType=DOUBLE}, + OtherMoneyList = #{record.othermoneylist,jdbcType=VARCHAR}, + OtherMoneyItem = #{record.othermoneyitem,jdbcType=VARCHAR}, + AccountDay = #{record.accountday,jdbcType=INTEGER}, + Status = #{record.status,jdbcType=BIT} + + + + + + + update jsh_depothead + + + Type = #{type,jdbcType=VARCHAR}, + + + SubType = #{subtype,jdbcType=VARCHAR}, + + + ProjectId = #{projectid,jdbcType=BIGINT}, + + + DefaultNumber = #{defaultnumber,jdbcType=VARCHAR}, + + + Number = #{number,jdbcType=VARCHAR}, + + + OperPersonName = #{operpersonname,jdbcType=VARCHAR}, + + + CreateTime = #{createtime,jdbcType=TIMESTAMP}, + + + OperTime = #{opertime,jdbcType=TIMESTAMP}, + + + OrganId = #{organid,jdbcType=BIGINT}, + + + HandsPersonId = #{handspersonid,jdbcType=BIGINT}, + + + AccountId = #{accountid,jdbcType=BIGINT}, + + + ChangeAmount = #{changeamount,jdbcType=DOUBLE}, + + + AllocationProjectId = #{allocationprojectid,jdbcType=BIGINT}, + + + TotalPrice = #{totalprice,jdbcType=DOUBLE}, + + + PayType = #{paytype,jdbcType=VARCHAR}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + Salesman = #{salesman,jdbcType=VARCHAR}, + + + AccountIdList = #{accountidlist,jdbcType=VARCHAR}, + + + AccountMoneyList = #{accountmoneylist,jdbcType=VARCHAR}, + + + Discount = #{discount,jdbcType=DOUBLE}, + + + DiscountMoney = #{discountmoney,jdbcType=DOUBLE}, + + + DiscountLastMoney = #{discountlastmoney,jdbcType=DOUBLE}, + + + OtherMoney = #{othermoney,jdbcType=DOUBLE}, + + + OtherMoneyList = #{othermoneylist,jdbcType=VARCHAR}, + + + OtherMoneyItem = #{othermoneyitem,jdbcType=VARCHAR}, + + + AccountDay = #{accountday,jdbcType=INTEGER}, + + + Status = #{status,jdbcType=BIT}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_depothead + set Type = #{type,jdbcType=VARCHAR}, + SubType = #{subtype,jdbcType=VARCHAR}, + ProjectId = #{projectid,jdbcType=BIGINT}, + DefaultNumber = #{defaultnumber,jdbcType=VARCHAR}, + Number = #{number,jdbcType=VARCHAR}, + OperPersonName = #{operpersonname,jdbcType=VARCHAR}, + CreateTime = #{createtime,jdbcType=TIMESTAMP}, + OperTime = #{opertime,jdbcType=TIMESTAMP}, + OrganId = #{organid,jdbcType=BIGINT}, + HandsPersonId = #{handspersonid,jdbcType=BIGINT}, + AccountId = #{accountid,jdbcType=BIGINT}, + ChangeAmount = #{changeamount,jdbcType=DOUBLE}, + AllocationProjectId = #{allocationprojectid,jdbcType=BIGINT}, + TotalPrice = #{totalprice,jdbcType=DOUBLE}, + PayType = #{paytype,jdbcType=VARCHAR}, + Remark = #{remark,jdbcType=VARCHAR}, + Salesman = #{salesman,jdbcType=VARCHAR}, + AccountIdList = #{accountidlist,jdbcType=VARCHAR}, + AccountMoneyList = #{accountmoneylist,jdbcType=VARCHAR}, + Discount = #{discount,jdbcType=DOUBLE}, + DiscountMoney = #{discountmoney,jdbcType=DOUBLE}, + DiscountLastMoney = #{discountlastmoney,jdbcType=DOUBLE}, + OtherMoney = #{othermoney,jdbcType=DOUBLE}, + OtherMoneyList = #{othermoneylist,jdbcType=VARCHAR}, + OtherMoneyItem = #{othermoneyitem,jdbcType=VARCHAR}, + AccountDay = #{accountday,jdbcType=INTEGER}, + Status = #{status,jdbcType=BIT} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/DepotHeadMapperEx.xml b/src/main/resources/mapper_xml/DepotHeadMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..9d7204cf8cb3f9b8d67ad7cdd5dabe6c7eba3b8e --- /dev/null +++ b/src/main/resources/mapper_xml/DepotHeadMapperEx.xml @@ -0,0 +1,284 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/DepotItemMapper.xml b/src/main/resources/mapper_xml/DepotItemMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..9b2de519b74e512abb509ac0c3b09065668b84f6 --- /dev/null +++ b/src/main/resources/mapper_xml/DepotItemMapper.xml @@ -0,0 +1,555 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, HeaderId, MaterialId, MUnit, OperNumber, BasicNumber, UnitPrice, TaxUnitPrice, + AllPrice, Remark, Img, Incidentals, DepotId, AnotherDepotId, TaxRate, TaxMoney, TaxLastMoney, + OtherField1, OtherField2, OtherField3, OtherField4, OtherField5, MType + + + + + + delete from jsh_depotitem + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_depotitem + + + + + + + insert into jsh_depotitem (Id, HeaderId, MaterialId, + MUnit, OperNumber, BasicNumber, + UnitPrice, TaxUnitPrice, AllPrice, + Remark, Img, Incidentals, + DepotId, AnotherDepotId, TaxRate, + TaxMoney, TaxLastMoney, OtherField1, + OtherField2, OtherField3, OtherField4, + OtherField5, MType) + values (#{id,jdbcType=BIGINT}, #{headerid,jdbcType=BIGINT}, #{materialid,jdbcType=BIGINT}, + #{munit,jdbcType=VARCHAR}, #{opernumber,jdbcType=DOUBLE}, #{basicnumber,jdbcType=DOUBLE}, + #{unitprice,jdbcType=DOUBLE}, #{taxunitprice,jdbcType=DOUBLE}, #{allprice,jdbcType=DOUBLE}, + #{remark,jdbcType=VARCHAR}, #{img,jdbcType=VARCHAR}, #{incidentals,jdbcType=DOUBLE}, + #{depotid,jdbcType=BIGINT}, #{anotherdepotid,jdbcType=BIGINT}, #{taxrate,jdbcType=DOUBLE}, + #{taxmoney,jdbcType=DOUBLE}, #{taxlastmoney,jdbcType=DOUBLE}, #{otherfield1,jdbcType=VARCHAR}, + #{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}, #{otherfield4,jdbcType=VARCHAR}, + #{otherfield5,jdbcType=VARCHAR}, #{mtype,jdbcType=VARCHAR}) + + + + insert into jsh_depotitem + + + Id, + + + HeaderId, + + + MaterialId, + + + MUnit, + + + OperNumber, + + + BasicNumber, + + + UnitPrice, + + + TaxUnitPrice, + + + AllPrice, + + + Remark, + + + Img, + + + Incidentals, + + + DepotId, + + + AnotherDepotId, + + + TaxRate, + + + TaxMoney, + + + TaxLastMoney, + + + OtherField1, + + + OtherField2, + + + OtherField3, + + + OtherField4, + + + OtherField5, + + + MType, + + + + + #{id,jdbcType=BIGINT}, + + + #{headerid,jdbcType=BIGINT}, + + + #{materialid,jdbcType=BIGINT}, + + + #{munit,jdbcType=VARCHAR}, + + + #{opernumber,jdbcType=DOUBLE}, + + + #{basicnumber,jdbcType=DOUBLE}, + + + #{unitprice,jdbcType=DOUBLE}, + + + #{taxunitprice,jdbcType=DOUBLE}, + + + #{allprice,jdbcType=DOUBLE}, + + + #{remark,jdbcType=VARCHAR}, + + + #{img,jdbcType=VARCHAR}, + + + #{incidentals,jdbcType=DOUBLE}, + + + #{depotid,jdbcType=BIGINT}, + + + #{anotherdepotid,jdbcType=BIGINT}, + + + #{taxrate,jdbcType=DOUBLE}, + + + #{taxmoney,jdbcType=DOUBLE}, + + + #{taxlastmoney,jdbcType=DOUBLE}, + + + #{otherfield1,jdbcType=VARCHAR}, + + + #{otherfield2,jdbcType=VARCHAR}, + + + #{otherfield3,jdbcType=VARCHAR}, + + + #{otherfield4,jdbcType=VARCHAR}, + + + #{otherfield5,jdbcType=VARCHAR}, + + + #{mtype,jdbcType=VARCHAR}, + + + + + + + update jsh_depotitem + + + Id = #{record.id,jdbcType=BIGINT}, + + + HeaderId = #{record.headerid,jdbcType=BIGINT}, + + + MaterialId = #{record.materialid,jdbcType=BIGINT}, + + + MUnit = #{record.munit,jdbcType=VARCHAR}, + + + OperNumber = #{record.opernumber,jdbcType=DOUBLE}, + + + BasicNumber = #{record.basicnumber,jdbcType=DOUBLE}, + + + UnitPrice = #{record.unitprice,jdbcType=DOUBLE}, + + + TaxUnitPrice = #{record.taxunitprice,jdbcType=DOUBLE}, + + + AllPrice = #{record.allprice,jdbcType=DOUBLE}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + Img = #{record.img,jdbcType=VARCHAR}, + + + Incidentals = #{record.incidentals,jdbcType=DOUBLE}, + + + DepotId = #{record.depotid,jdbcType=BIGINT}, + + + AnotherDepotId = #{record.anotherdepotid,jdbcType=BIGINT}, + + + TaxRate = #{record.taxrate,jdbcType=DOUBLE}, + + + TaxMoney = #{record.taxmoney,jdbcType=DOUBLE}, + + + TaxLastMoney = #{record.taxlastmoney,jdbcType=DOUBLE}, + + + OtherField1 = #{record.otherfield1,jdbcType=VARCHAR}, + + + OtherField2 = #{record.otherfield2,jdbcType=VARCHAR}, + + + OtherField3 = #{record.otherfield3,jdbcType=VARCHAR}, + + + OtherField4 = #{record.otherfield4,jdbcType=VARCHAR}, + + + OtherField5 = #{record.otherfield5,jdbcType=VARCHAR}, + + + MType = #{record.mtype,jdbcType=VARCHAR}, + + + + + + + + + update jsh_depotitem + set Id = #{record.id,jdbcType=BIGINT}, + HeaderId = #{record.headerid,jdbcType=BIGINT}, + MaterialId = #{record.materialid,jdbcType=BIGINT}, + MUnit = #{record.munit,jdbcType=VARCHAR}, + OperNumber = #{record.opernumber,jdbcType=DOUBLE}, + BasicNumber = #{record.basicnumber,jdbcType=DOUBLE}, + UnitPrice = #{record.unitprice,jdbcType=DOUBLE}, + TaxUnitPrice = #{record.taxunitprice,jdbcType=DOUBLE}, + AllPrice = #{record.allprice,jdbcType=DOUBLE}, + Remark = #{record.remark,jdbcType=VARCHAR}, + Img = #{record.img,jdbcType=VARCHAR}, + Incidentals = #{record.incidentals,jdbcType=DOUBLE}, + DepotId = #{record.depotid,jdbcType=BIGINT}, + AnotherDepotId = #{record.anotherdepotid,jdbcType=BIGINT}, + TaxRate = #{record.taxrate,jdbcType=DOUBLE}, + TaxMoney = #{record.taxmoney,jdbcType=DOUBLE}, + TaxLastMoney = #{record.taxlastmoney,jdbcType=DOUBLE}, + OtherField1 = #{record.otherfield1,jdbcType=VARCHAR}, + OtherField2 = #{record.otherfield2,jdbcType=VARCHAR}, + OtherField3 = #{record.otherfield3,jdbcType=VARCHAR}, + OtherField4 = #{record.otherfield4,jdbcType=VARCHAR}, + OtherField5 = #{record.otherfield5,jdbcType=VARCHAR}, + MType = #{record.mtype,jdbcType=VARCHAR} + + + + + + + update jsh_depotitem + + + HeaderId = #{headerid,jdbcType=BIGINT}, + + + MaterialId = #{materialid,jdbcType=BIGINT}, + + + MUnit = #{munit,jdbcType=VARCHAR}, + + + OperNumber = #{opernumber,jdbcType=DOUBLE}, + + + BasicNumber = #{basicnumber,jdbcType=DOUBLE}, + + + UnitPrice = #{unitprice,jdbcType=DOUBLE}, + + + TaxUnitPrice = #{taxunitprice,jdbcType=DOUBLE}, + + + AllPrice = #{allprice,jdbcType=DOUBLE}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + Img = #{img,jdbcType=VARCHAR}, + + + Incidentals = #{incidentals,jdbcType=DOUBLE}, + + + DepotId = #{depotid,jdbcType=BIGINT}, + + + AnotherDepotId = #{anotherdepotid,jdbcType=BIGINT}, + + + TaxRate = #{taxrate,jdbcType=DOUBLE}, + + + TaxMoney = #{taxmoney,jdbcType=DOUBLE}, + + + TaxLastMoney = #{taxlastmoney,jdbcType=DOUBLE}, + + + OtherField1 = #{otherfield1,jdbcType=VARCHAR}, + + + OtherField2 = #{otherfield2,jdbcType=VARCHAR}, + + + OtherField3 = #{otherfield3,jdbcType=VARCHAR}, + + + OtherField4 = #{otherfield4,jdbcType=VARCHAR}, + + + OtherField5 = #{otherfield5,jdbcType=VARCHAR}, + + + MType = #{mtype,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_depotitem + set HeaderId = #{headerid,jdbcType=BIGINT}, + MaterialId = #{materialid,jdbcType=BIGINT}, + MUnit = #{munit,jdbcType=VARCHAR}, + OperNumber = #{opernumber,jdbcType=DOUBLE}, + BasicNumber = #{basicnumber,jdbcType=DOUBLE}, + UnitPrice = #{unitprice,jdbcType=DOUBLE}, + TaxUnitPrice = #{taxunitprice,jdbcType=DOUBLE}, + AllPrice = #{allprice,jdbcType=DOUBLE}, + Remark = #{remark,jdbcType=VARCHAR}, + Img = #{img,jdbcType=VARCHAR}, + Incidentals = #{incidentals,jdbcType=DOUBLE}, + DepotId = #{depotid,jdbcType=BIGINT}, + AnotherDepotId = #{anotherdepotid,jdbcType=BIGINT}, + TaxRate = #{taxrate,jdbcType=DOUBLE}, + TaxMoney = #{taxmoney,jdbcType=DOUBLE}, + TaxLastMoney = #{taxlastmoney,jdbcType=DOUBLE}, + OtherField1 = #{otherfield1,jdbcType=VARCHAR}, + OtherField2 = #{otherfield2,jdbcType=VARCHAR}, + OtherField3 = #{otherfield3,jdbcType=VARCHAR}, + OtherField4 = #{otherfield4,jdbcType=VARCHAR}, + OtherField5 = #{otherfield5,jdbcType=VARCHAR}, + MType = #{mtype,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/DepotItemMapperEx.xml b/src/main/resources/mapper_xml/DepotItemMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..f585bacd3496705f08e16b19eba80eb160968d2c --- /dev/null +++ b/src/main/resources/mapper_xml/DepotItemMapperEx.xml @@ -0,0 +1,268 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/DepotMapper.xml b/src/main/resources/mapper_xml/DepotMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..ca29c900f0196c25b60b965934b2c88bd4938bd6 --- /dev/null +++ b/src/main/resources/mapper_xml/DepotMapper.xml @@ -0,0 +1,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, name, address, warehousing, truckage, type, sort, remark + + + + + + delete from jsh_depot + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_depot + + + + + + + insert into jsh_depot (id, name, address, + warehousing, truckage, type, + sort, remark) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, + #{warehousing,jdbcType=DOUBLE}, #{truckage,jdbcType=DOUBLE}, #{type,jdbcType=INTEGER}, + #{sort,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}) + + + + insert into jsh_depot + + + id, + + + name, + + + address, + + + warehousing, + + + truckage, + + + type, + + + sort, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{warehousing,jdbcType=DOUBLE}, + + + #{truckage,jdbcType=DOUBLE}, + + + #{type,jdbcType=INTEGER}, + + + #{sort,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + update jsh_depot + + + id = #{record.id,jdbcType=BIGINT}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + warehousing = #{record.warehousing,jdbcType=DOUBLE}, + + + truckage = #{record.truckage,jdbcType=DOUBLE}, + + + type = #{record.type,jdbcType=INTEGER}, + + + sort = #{record.sort,jdbcType=VARCHAR}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + update jsh_depot + set id = #{record.id,jdbcType=BIGINT}, + name = #{record.name,jdbcType=VARCHAR}, + address = #{record.address,jdbcType=VARCHAR}, + warehousing = #{record.warehousing,jdbcType=DOUBLE}, + truckage = #{record.truckage,jdbcType=DOUBLE}, + type = #{record.type,jdbcType=INTEGER}, + sort = #{record.sort,jdbcType=VARCHAR}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + + update jsh_depot + + + name = #{name,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + warehousing = #{warehousing,jdbcType=DOUBLE}, + + + truckage = #{truckage,jdbcType=DOUBLE}, + + + type = #{type,jdbcType=INTEGER}, + + + sort = #{sort,jdbcType=VARCHAR}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_depot + set name = #{name,jdbcType=VARCHAR}, + address = #{address,jdbcType=VARCHAR}, + warehousing = #{warehousing,jdbcType=DOUBLE}, + truckage = #{truckage,jdbcType=DOUBLE}, + type = #{type,jdbcType=INTEGER}, + sort = #{sort,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/DepotMapperEx.xml b/src/main/resources/mapper_xml/DepotMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..1843e404e1214e36a876cd4a0e7e42d61769bbdd --- /dev/null +++ b/src/main/resources/mapper_xml/DepotMapperEx.xml @@ -0,0 +1,36 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/FunctionsMapper.xml b/src/main/resources/mapper_xml/FunctionsMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..acd10d7281e08b86fb8c1ed22e2feddd0f190fed --- /dev/null +++ b/src/main/resources/mapper_xml/FunctionsMapper.xml @@ -0,0 +1,348 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Number, Name, PNumber, URL, State, Sort, Enabled, Type, PushBtn + + + + + + delete from jsh_functions + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_functions + + + + + + + insert into jsh_functions (Id, Number, Name, + PNumber, URL, State, Sort, + Enabled, Type, PushBtn) + values (#{id,jdbcType=BIGINT}, #{number,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, + #{pnumber,jdbcType=VARCHAR}, #{url,jdbcType=VARCHAR}, #{state,jdbcType=BIT}, #{sort,jdbcType=VARCHAR}, + #{enabled,jdbcType=BIT}, #{type,jdbcType=VARCHAR}, #{pushbtn,jdbcType=VARCHAR}) + + + + insert into jsh_functions + + + Id, + + + Number, + + + Name, + + + PNumber, + + + URL, + + + State, + + + Sort, + + + Enabled, + + + Type, + + + PushBtn, + + + + + #{id,jdbcType=BIGINT}, + + + #{number,jdbcType=VARCHAR}, + + + #{name,jdbcType=VARCHAR}, + + + #{pnumber,jdbcType=VARCHAR}, + + + #{url,jdbcType=VARCHAR}, + + + #{state,jdbcType=BIT}, + + + #{sort,jdbcType=VARCHAR}, + + + #{enabled,jdbcType=BIT}, + + + #{type,jdbcType=VARCHAR}, + + + #{pushbtn,jdbcType=VARCHAR}, + + + + + + + update jsh_functions + + + Id = #{record.id,jdbcType=BIGINT}, + + + Number = #{record.number,jdbcType=VARCHAR}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + PNumber = #{record.pnumber,jdbcType=VARCHAR}, + + + URL = #{record.url,jdbcType=VARCHAR}, + + + State = #{record.state,jdbcType=BIT}, + + + Sort = #{record.sort,jdbcType=VARCHAR}, + + + Enabled = #{record.enabled,jdbcType=BIT}, + + + Type = #{record.type,jdbcType=VARCHAR}, + + + PushBtn = #{record.pushbtn,jdbcType=VARCHAR}, + + + + + + + + + update jsh_functions + set Id = #{record.id,jdbcType=BIGINT}, + Number = #{record.number,jdbcType=VARCHAR}, + Name = #{record.name,jdbcType=VARCHAR}, + PNumber = #{record.pnumber,jdbcType=VARCHAR}, + URL = #{record.url,jdbcType=VARCHAR}, + State = #{record.state,jdbcType=BIT}, + Sort = #{record.sort,jdbcType=VARCHAR}, + Enabled = #{record.enabled,jdbcType=BIT}, + Type = #{record.type,jdbcType=VARCHAR}, + PushBtn = #{record.pushbtn,jdbcType=VARCHAR} + + + + + + + update jsh_functions + + + Number = #{number,jdbcType=VARCHAR}, + + + Name = #{name,jdbcType=VARCHAR}, + + + PNumber = #{pnumber,jdbcType=VARCHAR}, + + + URL = #{url,jdbcType=VARCHAR}, + + + State = #{state,jdbcType=BIT}, + + + Sort = #{sort,jdbcType=VARCHAR}, + + + Enabled = #{enabled,jdbcType=BIT}, + + + Type = #{type,jdbcType=VARCHAR}, + + + PushBtn = #{pushbtn,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_functions + set Number = #{number,jdbcType=VARCHAR}, + Name = #{name,jdbcType=VARCHAR}, + PNumber = #{pnumber,jdbcType=VARCHAR}, + URL = #{url,jdbcType=VARCHAR}, + State = #{state,jdbcType=BIT}, + Sort = #{sort,jdbcType=VARCHAR}, + Enabled = #{enabled,jdbcType=BIT}, + Type = #{type,jdbcType=VARCHAR}, + PushBtn = #{pushbtn,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/FunctionsMapperEx.xml b/src/main/resources/mapper_xml/FunctionsMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..846a1df9865bf4eef6fe34a619c15c6fbc3db379 --- /dev/null +++ b/src/main/resources/mapper_xml/FunctionsMapperEx.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/InOutItemMapper.xml b/src/main/resources/mapper_xml/InOutItemMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..c386d91f6b886ebaf80cc48c99cd79c97928c691 --- /dev/null +++ b/src/main/resources/mapper_xml/InOutItemMapper.xml @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Name, Type, Remark + + + + + + delete from jsh_inoutitem + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_inoutitem + + + + + + + insert into jsh_inoutitem (Id, Name, Type, + Remark) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, + #{remark,jdbcType=VARCHAR}) + + + + insert into jsh_inoutitem + + + Id, + + + Name, + + + Type, + + + Remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{type,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + update jsh_inoutitem + + + Id = #{record.id,jdbcType=BIGINT}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + Type = #{record.type,jdbcType=VARCHAR}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + update jsh_inoutitem + set Id = #{record.id,jdbcType=BIGINT}, + Name = #{record.name,jdbcType=VARCHAR}, + Type = #{record.type,jdbcType=VARCHAR}, + Remark = #{record.remark,jdbcType=VARCHAR} + + + + + + + update jsh_inoutitem + + + Name = #{name,jdbcType=VARCHAR}, + + + Type = #{type,jdbcType=VARCHAR}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_inoutitem + set Name = #{name,jdbcType=VARCHAR}, + Type = #{type,jdbcType=VARCHAR}, + Remark = #{remark,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/InOutItemMapperEx.xml b/src/main/resources/mapper_xml/InOutItemMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..effc54b271e964433955b50333dc7ea9c8411902 --- /dev/null +++ b/src/main/resources/mapper_xml/InOutItemMapperEx.xml @@ -0,0 +1,36 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/LogMapper.xml b/src/main/resources/mapper_xml/LogMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..f13bde0d18f8d49e0811c4151a4b31514d55aacb --- /dev/null +++ b/src/main/resources/mapper_xml/LogMapper.xml @@ -0,0 +1,318 @@ + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, userID, operation, clientIP, createtime, status, contentdetails, remark + + + + + + delete from jsh_log + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_log + + + + + + + insert into jsh_log (id, userID, operation, + clientIP, createtime, status, + contentdetails, remark) + values (#{id,jdbcType=BIGINT}, #{userid,jdbcType=BIGINT}, #{operation,jdbcType=VARCHAR}, + #{clientip,jdbcType=VARCHAR}, #{createtime,jdbcType=TIMESTAMP}, #{status,jdbcType=TINYINT}, + #{contentdetails,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}) + + + + insert into jsh_log + + + id, + + + userID, + + + operation, + + + clientIP, + + + createtime, + + + status, + + + contentdetails, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{userid,jdbcType=BIGINT}, + + + #{operation,jdbcType=VARCHAR}, + + + #{clientip,jdbcType=VARCHAR}, + + + #{createtime,jdbcType=TIMESTAMP}, + + + #{status,jdbcType=TINYINT}, + + + #{contentdetails,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + update jsh_log + + + id = #{record.id,jdbcType=BIGINT}, + + + userID = #{record.userid,jdbcType=BIGINT}, + + + operation = #{record.operation,jdbcType=VARCHAR}, + + + clientIP = #{record.clientip,jdbcType=VARCHAR}, + + + createtime = #{record.createtime,jdbcType=TIMESTAMP}, + + + status = #{record.status,jdbcType=TINYINT}, + + + contentdetails = #{record.contentdetails,jdbcType=VARCHAR}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + update jsh_log + set id = #{record.id,jdbcType=BIGINT}, + userID = #{record.userid,jdbcType=BIGINT}, + operation = #{record.operation,jdbcType=VARCHAR}, + clientIP = #{record.clientip,jdbcType=VARCHAR}, + createtime = #{record.createtime,jdbcType=TIMESTAMP}, + status = #{record.status,jdbcType=TINYINT}, + contentdetails = #{record.contentdetails,jdbcType=VARCHAR}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + + update jsh_log + + + userID = #{userid,jdbcType=BIGINT}, + + + operation = #{operation,jdbcType=VARCHAR}, + + + clientIP = #{clientip,jdbcType=VARCHAR}, + + + createtime = #{createtime,jdbcType=TIMESTAMP}, + + + status = #{status,jdbcType=TINYINT}, + + + contentdetails = #{contentdetails,jdbcType=VARCHAR}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_log + set userID = #{userid,jdbcType=BIGINT}, + operation = #{operation,jdbcType=VARCHAR}, + clientIP = #{clientip,jdbcType=VARCHAR}, + createtime = #{createtime,jdbcType=TIMESTAMP}, + status = #{status,jdbcType=TINYINT}, + contentdetails = #{contentdetails,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/LogMapperEx.xml b/src/main/resources/mapper_xml/LogMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..875583e5204532d11363bb283a94a4cefe377370 --- /dev/null +++ b/src/main/resources/mapper_xml/LogMapperEx.xml @@ -0,0 +1,61 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/MaterialCategoryMapper.xml b/src/main/resources/mapper_xml/MaterialCategoryMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..8fccced58602c2ba598cb2d59905f9ab04d0d75a --- /dev/null +++ b/src/main/resources/mapper_xml/MaterialCategoryMapper.xml @@ -0,0 +1,256 @@ + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Name, CategoryLevel, ParentId + + + + + + delete from jsh_materialcategory + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_materialcategory + + + + + + + insert into jsh_materialcategory (Id, Name, CategoryLevel, + ParentId) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{categorylevel,jdbcType=SMALLINT}, + #{parentid,jdbcType=BIGINT}) + + + + insert into jsh_materialcategory + + + Id, + + + Name, + + + CategoryLevel, + + + ParentId, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{categorylevel,jdbcType=SMALLINT}, + + + #{parentid,jdbcType=BIGINT}, + + + + + + + update jsh_materialcategory + + + Id = #{record.id,jdbcType=BIGINT}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + CategoryLevel = #{record.categorylevel,jdbcType=SMALLINT}, + + + ParentId = #{record.parentid,jdbcType=BIGINT}, + + + + + + + + + update jsh_materialcategory + set Id = #{record.id,jdbcType=BIGINT}, + Name = #{record.name,jdbcType=VARCHAR}, + CategoryLevel = #{record.categorylevel,jdbcType=SMALLINT}, + ParentId = #{record.parentid,jdbcType=BIGINT} + + + + + + + update jsh_materialcategory + + + Name = #{name,jdbcType=VARCHAR}, + + + CategoryLevel = #{categorylevel,jdbcType=SMALLINT}, + + + ParentId = #{parentid,jdbcType=BIGINT}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_materialcategory + set Name = #{name,jdbcType=VARCHAR}, + CategoryLevel = #{categorylevel,jdbcType=SMALLINT}, + ParentId = #{parentid,jdbcType=BIGINT} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/MaterialCategoryMapperEx.xml b/src/main/resources/mapper_xml/MaterialCategoryMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..9ad69e8553604c919fc8f848d41a8dc8ddc8bb32 --- /dev/null +++ b/src/main/resources/mapper_xml/MaterialCategoryMapperEx.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/MaterialMapper.xml b/src/main/resources/mapper_xml/MaterialMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..6f4ac744b4a9cea131af9333ba173c3b3adcc7c4 --- /dev/null +++ b/src/main/resources/mapper_xml/MaterialMapper.xml @@ -0,0 +1,555 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, CategoryId, Name, Mfrs, Packing, SafetyStock, Model, Standard, Color, Unit, Remark, + RetailPrice, LowPrice, PresetPriceOne, PresetPriceTwo, UnitId, FirstOutUnit, FirstInUnit, + PriceStrategy, Enabled, OtherField1, OtherField2, OtherField3 + + + + + + delete from jsh_material + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_material + + + + + + + insert into jsh_material (Id, CategoryId, Name, + Mfrs, Packing, SafetyStock, + Model, Standard, Color, + Unit, Remark, RetailPrice, + LowPrice, PresetPriceOne, PresetPriceTwo, + UnitId, FirstOutUnit, FirstInUnit, + PriceStrategy, Enabled, OtherField1, + OtherField2, OtherField3) + values (#{id,jdbcType=BIGINT}, #{categoryid,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, + #{mfrs,jdbcType=VARCHAR}, #{packing,jdbcType=DOUBLE}, #{safetystock,jdbcType=DOUBLE}, + #{model,jdbcType=VARCHAR}, #{standard,jdbcType=VARCHAR}, #{color,jdbcType=VARCHAR}, + #{unit,jdbcType=VARCHAR}, #{remark,jdbcType=VARCHAR}, #{retailprice,jdbcType=DOUBLE}, + #{lowprice,jdbcType=DOUBLE}, #{presetpriceone,jdbcType=DOUBLE}, #{presetpricetwo,jdbcType=DOUBLE}, + #{unitid,jdbcType=BIGINT}, #{firstoutunit,jdbcType=VARCHAR}, #{firstinunit,jdbcType=VARCHAR}, + #{pricestrategy,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}, #{otherfield1,jdbcType=VARCHAR}, + #{otherfield2,jdbcType=VARCHAR}, #{otherfield3,jdbcType=VARCHAR}) + + + + insert into jsh_material + + + Id, + + + CategoryId, + + + Name, + + + Mfrs, + + + Packing, + + + SafetyStock, + + + Model, + + + Standard, + + + Color, + + + Unit, + + + Remark, + + + RetailPrice, + + + LowPrice, + + + PresetPriceOne, + + + PresetPriceTwo, + + + UnitId, + + + FirstOutUnit, + + + FirstInUnit, + + + PriceStrategy, + + + Enabled, + + + OtherField1, + + + OtherField2, + + + OtherField3, + + + + + #{id,jdbcType=BIGINT}, + + + #{categoryid,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{mfrs,jdbcType=VARCHAR}, + + + #{packing,jdbcType=DOUBLE}, + + + #{safetystock,jdbcType=DOUBLE}, + + + #{model,jdbcType=VARCHAR}, + + + #{standard,jdbcType=VARCHAR}, + + + #{color,jdbcType=VARCHAR}, + + + #{unit,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + #{retailprice,jdbcType=DOUBLE}, + + + #{lowprice,jdbcType=DOUBLE}, + + + #{presetpriceone,jdbcType=DOUBLE}, + + + #{presetpricetwo,jdbcType=DOUBLE}, + + + #{unitid,jdbcType=BIGINT}, + + + #{firstoutunit,jdbcType=VARCHAR}, + + + #{firstinunit,jdbcType=VARCHAR}, + + + #{pricestrategy,jdbcType=VARCHAR}, + + + #{enabled,jdbcType=BIT}, + + + #{otherfield1,jdbcType=VARCHAR}, + + + #{otherfield2,jdbcType=VARCHAR}, + + + #{otherfield3,jdbcType=VARCHAR}, + + + + + + + update jsh_material + + + Id = #{record.id,jdbcType=BIGINT}, + + + CategoryId = #{record.categoryid,jdbcType=BIGINT}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + Mfrs = #{record.mfrs,jdbcType=VARCHAR}, + + + Packing = #{record.packing,jdbcType=DOUBLE}, + + + SafetyStock = #{record.safetystock,jdbcType=DOUBLE}, + + + Model = #{record.model,jdbcType=VARCHAR}, + + + Standard = #{record.standard,jdbcType=VARCHAR}, + + + Color = #{record.color,jdbcType=VARCHAR}, + + + Unit = #{record.unit,jdbcType=VARCHAR}, + + + Remark = #{record.remark,jdbcType=VARCHAR}, + + + RetailPrice = #{record.retailprice,jdbcType=DOUBLE}, + + + LowPrice = #{record.lowprice,jdbcType=DOUBLE}, + + + PresetPriceOne = #{record.presetpriceone,jdbcType=DOUBLE}, + + + PresetPriceTwo = #{record.presetpricetwo,jdbcType=DOUBLE}, + + + UnitId = #{record.unitid,jdbcType=BIGINT}, + + + FirstOutUnit = #{record.firstoutunit,jdbcType=VARCHAR}, + + + FirstInUnit = #{record.firstinunit,jdbcType=VARCHAR}, + + + PriceStrategy = #{record.pricestrategy,jdbcType=VARCHAR}, + + + Enabled = #{record.enabled,jdbcType=BIT}, + + + OtherField1 = #{record.otherfield1,jdbcType=VARCHAR}, + + + OtherField2 = #{record.otherfield2,jdbcType=VARCHAR}, + + + OtherField3 = #{record.otherfield3,jdbcType=VARCHAR}, + + + + + + + + + update jsh_material + set Id = #{record.id,jdbcType=BIGINT}, + CategoryId = #{record.categoryid,jdbcType=BIGINT}, + Name = #{record.name,jdbcType=VARCHAR}, + Mfrs = #{record.mfrs,jdbcType=VARCHAR}, + Packing = #{record.packing,jdbcType=DOUBLE}, + SafetyStock = #{record.safetystock,jdbcType=DOUBLE}, + Model = #{record.model,jdbcType=VARCHAR}, + Standard = #{record.standard,jdbcType=VARCHAR}, + Color = #{record.color,jdbcType=VARCHAR}, + Unit = #{record.unit,jdbcType=VARCHAR}, + Remark = #{record.remark,jdbcType=VARCHAR}, + RetailPrice = #{record.retailprice,jdbcType=DOUBLE}, + LowPrice = #{record.lowprice,jdbcType=DOUBLE}, + PresetPriceOne = #{record.presetpriceone,jdbcType=DOUBLE}, + PresetPriceTwo = #{record.presetpricetwo,jdbcType=DOUBLE}, + UnitId = #{record.unitid,jdbcType=BIGINT}, + FirstOutUnit = #{record.firstoutunit,jdbcType=VARCHAR}, + FirstInUnit = #{record.firstinunit,jdbcType=VARCHAR}, + PriceStrategy = #{record.pricestrategy,jdbcType=VARCHAR}, + Enabled = #{record.enabled,jdbcType=BIT}, + OtherField1 = #{record.otherfield1,jdbcType=VARCHAR}, + OtherField2 = #{record.otherfield2,jdbcType=VARCHAR}, + OtherField3 = #{record.otherfield3,jdbcType=VARCHAR} + + + + + + + update jsh_material + + + CategoryId = #{categoryid,jdbcType=BIGINT}, + + + Name = #{name,jdbcType=VARCHAR}, + + + Mfrs = #{mfrs,jdbcType=VARCHAR}, + + + Packing = #{packing,jdbcType=DOUBLE}, + + + SafetyStock = #{safetystock,jdbcType=DOUBLE}, + + + Model = #{model,jdbcType=VARCHAR}, + + + Standard = #{standard,jdbcType=VARCHAR}, + + + Color = #{color,jdbcType=VARCHAR}, + + + Unit = #{unit,jdbcType=VARCHAR}, + + + Remark = #{remark,jdbcType=VARCHAR}, + + + RetailPrice = #{retailprice,jdbcType=DOUBLE}, + + + LowPrice = #{lowprice,jdbcType=DOUBLE}, + + + PresetPriceOne = #{presetpriceone,jdbcType=DOUBLE}, + + + PresetPriceTwo = #{presetpricetwo,jdbcType=DOUBLE}, + + + UnitId = #{unitid,jdbcType=BIGINT}, + + + FirstOutUnit = #{firstoutunit,jdbcType=VARCHAR}, + + + FirstInUnit = #{firstinunit,jdbcType=VARCHAR}, + + + PriceStrategy = #{pricestrategy,jdbcType=VARCHAR}, + + + Enabled = #{enabled,jdbcType=BIT}, + + + OtherField1 = #{otherfield1,jdbcType=VARCHAR}, + + + OtherField2 = #{otherfield2,jdbcType=VARCHAR}, + + + OtherField3 = #{otherfield3,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_material + set CategoryId = #{categoryid,jdbcType=BIGINT}, + Name = #{name,jdbcType=VARCHAR}, + Mfrs = #{mfrs,jdbcType=VARCHAR}, + Packing = #{packing,jdbcType=DOUBLE}, + SafetyStock = #{safetystock,jdbcType=DOUBLE}, + Model = #{model,jdbcType=VARCHAR}, + Standard = #{standard,jdbcType=VARCHAR}, + Color = #{color,jdbcType=VARCHAR}, + Unit = #{unit,jdbcType=VARCHAR}, + Remark = #{remark,jdbcType=VARCHAR}, + RetailPrice = #{retailprice,jdbcType=DOUBLE}, + LowPrice = #{lowprice,jdbcType=DOUBLE}, + PresetPriceOne = #{presetpriceone,jdbcType=DOUBLE}, + PresetPriceTwo = #{presetpricetwo,jdbcType=DOUBLE}, + UnitId = #{unitid,jdbcType=BIGINT}, + FirstOutUnit = #{firstoutunit,jdbcType=VARCHAR}, + FirstInUnit = #{firstinunit,jdbcType=VARCHAR}, + PriceStrategy = #{pricestrategy,jdbcType=VARCHAR}, + Enabled = #{enabled,jdbcType=BIT}, + OtherField1 = #{otherfield1,jdbcType=VARCHAR}, + OtherField2 = #{otherfield2,jdbcType=VARCHAR}, + OtherField3 = #{otherfield3,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/MaterialMapperEx.xml b/src/main/resources/mapper_xml/MaterialMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..be0e7f66d1897df6961d5e3d338a1b10d0af3d16 --- /dev/null +++ b/src/main/resources/mapper_xml/MaterialMapperEx.xml @@ -0,0 +1,47 @@ + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/MaterialPropertyMapper.xml b/src/main/resources/mapper_xml/MaterialPropertyMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..59ddf8d6a16b2aee2d393b0f819f0703d37fa4c9 --- /dev/null +++ b/src/main/resources/mapper_xml/MaterialPropertyMapper.xml @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, nativeName, enabled, sort, anotherName + + + + + + delete from jsh_materialproperty + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_materialproperty + + + + + + + insert into jsh_materialproperty (id, nativeName, enabled, + sort, anotherName) + values (#{id,jdbcType=BIGINT}, #{nativename,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}, + #{sort,jdbcType=VARCHAR}, #{anothername,jdbcType=VARCHAR}) + + + + insert into jsh_materialproperty + + + id, + + + nativeName, + + + enabled, + + + sort, + + + anotherName, + + + + + #{id,jdbcType=BIGINT}, + + + #{nativename,jdbcType=VARCHAR}, + + + #{enabled,jdbcType=BIT}, + + + #{sort,jdbcType=VARCHAR}, + + + #{anothername,jdbcType=VARCHAR}, + + + + + + + update jsh_materialproperty + + + id = #{record.id,jdbcType=BIGINT}, + + + nativeName = #{record.nativename,jdbcType=VARCHAR}, + + + enabled = #{record.enabled,jdbcType=BIT}, + + + sort = #{record.sort,jdbcType=VARCHAR}, + + + anotherName = #{record.anothername,jdbcType=VARCHAR}, + + + + + + + + + update jsh_materialproperty + set id = #{record.id,jdbcType=BIGINT}, + nativeName = #{record.nativename,jdbcType=VARCHAR}, + enabled = #{record.enabled,jdbcType=BIT}, + sort = #{record.sort,jdbcType=VARCHAR}, + anotherName = #{record.anothername,jdbcType=VARCHAR} + + + + + + + update jsh_materialproperty + + + nativeName = #{nativename,jdbcType=VARCHAR}, + + + enabled = #{enabled,jdbcType=BIT}, + + + sort = #{sort,jdbcType=VARCHAR}, + + + anotherName = #{anothername,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_materialproperty + set nativeName = #{nativename,jdbcType=VARCHAR}, + enabled = #{enabled,jdbcType=BIT}, + sort = #{sort,jdbcType=VARCHAR}, + anotherName = #{anothername,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/MaterialPropertyMapperEx.xml b/src/main/resources/mapper_xml/MaterialPropertyMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..0cde7348bfd2af26cd9db9180eb92b04e9aa7259 --- /dev/null +++ b/src/main/resources/mapper_xml/MaterialPropertyMapperEx.xml @@ -0,0 +1,24 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/PersonMapper.xml b/src/main/resources/mapper_xml/PersonMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..7349448222ae6e7343369d6b66690ada400dc1f9 --- /dev/null +++ b/src/main/resources/mapper_xml/PersonMapper.xml @@ -0,0 +1,241 @@ + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Type, Name + + + + + + delete from jsh_person + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_person + + + + + + + insert into jsh_person (Id, Type, Name + ) + values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR} + ) + + + + insert into jsh_person + + + Id, + + + Type, + + + Name, + + + + + #{id,jdbcType=BIGINT}, + + + #{type,jdbcType=VARCHAR}, + + + #{name,jdbcType=VARCHAR}, + + + + + + + update jsh_person + + + Id = #{record.id,jdbcType=BIGINT}, + + + Type = #{record.type,jdbcType=VARCHAR}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + + + + + + + update jsh_person + set Id = #{record.id,jdbcType=BIGINT}, + Type = #{record.type,jdbcType=VARCHAR}, + Name = #{record.name,jdbcType=VARCHAR} + + + + + + + update jsh_person + + + Type = #{type,jdbcType=VARCHAR}, + + + Name = #{name,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_person + set Type = #{type,jdbcType=VARCHAR}, + Name = #{name,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/PersonMapperEx.xml b/src/main/resources/mapper_xml/PersonMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..86b8b4a4cdbf35bc6bc1f1cfd944cc9532159c13 --- /dev/null +++ b/src/main/resources/mapper_xml/PersonMapperEx.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/RoleMapper.xml b/src/main/resources/mapper_xml/RoleMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..0a9ecee0c6e79a62866afe091339b5c5e56a3a99 --- /dev/null +++ b/src/main/resources/mapper_xml/RoleMapper.xml @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Name, type, value, description + + + + + + delete from jsh_role + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_role + + + + + + + insert into jsh_role (Id, Name, type, + value, description) + values (#{id,jdbcType=BIGINT}, #{name,jdbcType=VARCHAR}, #{type,jdbcType=VARCHAR}, + #{value,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}) + + + + insert into jsh_role + + + Id, + + + Name, + + + type, + + + value, + + + description, + + + + + #{id,jdbcType=BIGINT}, + + + #{name,jdbcType=VARCHAR}, + + + #{type,jdbcType=VARCHAR}, + + + #{value,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + + + + + update jsh_role + + + Id = #{record.id,jdbcType=BIGINT}, + + + Name = #{record.name,jdbcType=VARCHAR}, + + + type = #{record.type,jdbcType=VARCHAR}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + + + + + + + update jsh_role + set Id = #{record.id,jdbcType=BIGINT}, + Name = #{record.name,jdbcType=VARCHAR}, + type = #{record.type,jdbcType=VARCHAR}, + value = #{record.value,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR} + + + + + + + update jsh_role + + + Name = #{name,jdbcType=VARCHAR}, + + + type = #{type,jdbcType=VARCHAR}, + + + value = #{value,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_role + set Name = #{name,jdbcType=VARCHAR}, + type = #{type,jdbcType=VARCHAR}, + value = #{value,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/RoleMapperEx.xml b/src/main/resources/mapper_xml/RoleMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..343b3d4ba22cf8f2124e3e7d4b41e2480b475a3f --- /dev/null +++ b/src/main/resources/mapper_xml/RoleMapperEx.xml @@ -0,0 +1,24 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/SupplierMapper.xml b/src/main/resources/mapper_xml/SupplierMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..3254130012f0dd55a58ffeb185a7969f29ab71b8 --- /dev/null +++ b/src/main/resources/mapper_xml/SupplierMapper.xml @@ -0,0 +1,525 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, supplier, contacts, phonenum, email, description, isystem, type, enabled, AdvanceIn, + BeginNeedGet, BeginNeedPay, AllNeedGet, AllNeedPay, fax, telephone, address, taxNum, + bankName, accountNumber, taxRate + + + + + + delete from jsh_supplier + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_supplier + + + + + + + insert into jsh_supplier (id, supplier, contacts, + phonenum, email, description, + isystem, type, enabled, + AdvanceIn, BeginNeedGet, BeginNeedPay, + AllNeedGet, AllNeedPay, fax, + telephone, address, taxNum, + bankName, accountNumber, taxRate + ) + values (#{id,jdbcType=BIGINT}, #{supplier,jdbcType=VARCHAR}, #{contacts,jdbcType=VARCHAR}, + #{phonenum,jdbcType=VARCHAR}, #{email,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}, + #{isystem,jdbcType=TINYINT}, #{type,jdbcType=VARCHAR}, #{enabled,jdbcType=BIT}, + #{advancein,jdbcType=DOUBLE}, #{beginneedget,jdbcType=DOUBLE}, #{beginneedpay,jdbcType=DOUBLE}, + #{allneedget,jdbcType=DOUBLE}, #{allneedpay,jdbcType=DOUBLE}, #{fax,jdbcType=VARCHAR}, + #{telephone,jdbcType=VARCHAR}, #{address,jdbcType=VARCHAR}, #{taxnum,jdbcType=VARCHAR}, + #{bankname,jdbcType=VARCHAR}, #{accountnumber,jdbcType=VARCHAR}, #{taxrate,jdbcType=DOUBLE} + ) + + + + insert into jsh_supplier + + + id, + + + supplier, + + + contacts, + + + phonenum, + + + email, + + + description, + + + isystem, + + + type, + + + enabled, + + + AdvanceIn, + + + BeginNeedGet, + + + BeginNeedPay, + + + AllNeedGet, + + + AllNeedPay, + + + fax, + + + telephone, + + + address, + + + taxNum, + + + bankName, + + + accountNumber, + + + taxRate, + + + + + #{id,jdbcType=BIGINT}, + + + #{supplier,jdbcType=VARCHAR}, + + + #{contacts,jdbcType=VARCHAR}, + + + #{phonenum,jdbcType=VARCHAR}, + + + #{email,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + #{isystem,jdbcType=TINYINT}, + + + #{type,jdbcType=VARCHAR}, + + + #{enabled,jdbcType=BIT}, + + + #{advancein,jdbcType=DOUBLE}, + + + #{beginneedget,jdbcType=DOUBLE}, + + + #{beginneedpay,jdbcType=DOUBLE}, + + + #{allneedget,jdbcType=DOUBLE}, + + + #{allneedpay,jdbcType=DOUBLE}, + + + #{fax,jdbcType=VARCHAR}, + + + #{telephone,jdbcType=VARCHAR}, + + + #{address,jdbcType=VARCHAR}, + + + #{taxnum,jdbcType=VARCHAR}, + + + #{bankname,jdbcType=VARCHAR}, + + + #{accountnumber,jdbcType=VARCHAR}, + + + #{taxrate,jdbcType=DOUBLE}, + + + + + + + update jsh_supplier + + + id = #{record.id,jdbcType=BIGINT}, + + + supplier = #{record.supplier,jdbcType=VARCHAR}, + + + contacts = #{record.contacts,jdbcType=VARCHAR}, + + + phonenum = #{record.phonenum,jdbcType=VARCHAR}, + + + email = #{record.email,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + isystem = #{record.isystem,jdbcType=TINYINT}, + + + type = #{record.type,jdbcType=VARCHAR}, + + + enabled = #{record.enabled,jdbcType=BIT}, + + + AdvanceIn = #{record.advancein,jdbcType=DOUBLE}, + + + BeginNeedGet = #{record.beginneedget,jdbcType=DOUBLE}, + + + BeginNeedPay = #{record.beginneedpay,jdbcType=DOUBLE}, + + + AllNeedGet = #{record.allneedget,jdbcType=DOUBLE}, + + + AllNeedPay = #{record.allneedpay,jdbcType=DOUBLE}, + + + fax = #{record.fax,jdbcType=VARCHAR}, + + + telephone = #{record.telephone,jdbcType=VARCHAR}, + + + address = #{record.address,jdbcType=VARCHAR}, + + + taxNum = #{record.taxnum,jdbcType=VARCHAR}, + + + bankName = #{record.bankname,jdbcType=VARCHAR}, + + + accountNumber = #{record.accountnumber,jdbcType=VARCHAR}, + + + taxRate = #{record.taxrate,jdbcType=DOUBLE}, + + + + + + + + + update jsh_supplier + set id = #{record.id,jdbcType=BIGINT}, + supplier = #{record.supplier,jdbcType=VARCHAR}, + contacts = #{record.contacts,jdbcType=VARCHAR}, + phonenum = #{record.phonenum,jdbcType=VARCHAR}, + email = #{record.email,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR}, + isystem = #{record.isystem,jdbcType=TINYINT}, + type = #{record.type,jdbcType=VARCHAR}, + enabled = #{record.enabled,jdbcType=BIT}, + AdvanceIn = #{record.advancein,jdbcType=DOUBLE}, + BeginNeedGet = #{record.beginneedget,jdbcType=DOUBLE}, + BeginNeedPay = #{record.beginneedpay,jdbcType=DOUBLE}, + AllNeedGet = #{record.allneedget,jdbcType=DOUBLE}, + AllNeedPay = #{record.allneedpay,jdbcType=DOUBLE}, + fax = #{record.fax,jdbcType=VARCHAR}, + telephone = #{record.telephone,jdbcType=VARCHAR}, + address = #{record.address,jdbcType=VARCHAR}, + taxNum = #{record.taxnum,jdbcType=VARCHAR}, + bankName = #{record.bankname,jdbcType=VARCHAR}, + accountNumber = #{record.accountnumber,jdbcType=VARCHAR}, + taxRate = #{record.taxrate,jdbcType=DOUBLE} + + + + + + + update jsh_supplier + + + supplier = #{supplier,jdbcType=VARCHAR}, + + + contacts = #{contacts,jdbcType=VARCHAR}, + + + phonenum = #{phonenum,jdbcType=VARCHAR}, + + + email = #{email,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + isystem = #{isystem,jdbcType=TINYINT}, + + + type = #{type,jdbcType=VARCHAR}, + + + enabled = #{enabled,jdbcType=BIT}, + + + AdvanceIn = #{advancein,jdbcType=DOUBLE}, + + + BeginNeedGet = #{beginneedget,jdbcType=DOUBLE}, + + + BeginNeedPay = #{beginneedpay,jdbcType=DOUBLE}, + + + AllNeedGet = #{allneedget,jdbcType=DOUBLE}, + + + AllNeedPay = #{allneedpay,jdbcType=DOUBLE}, + + + fax = #{fax,jdbcType=VARCHAR}, + + + telephone = #{telephone,jdbcType=VARCHAR}, + + + address = #{address,jdbcType=VARCHAR}, + + + taxNum = #{taxnum,jdbcType=VARCHAR}, + + + bankName = #{bankname,jdbcType=VARCHAR}, + + + accountNumber = #{accountnumber,jdbcType=VARCHAR}, + + + taxRate = #{taxrate,jdbcType=DOUBLE}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_supplier + set supplier = #{supplier,jdbcType=VARCHAR}, + contacts = #{contacts,jdbcType=VARCHAR}, + phonenum = #{phonenum,jdbcType=VARCHAR}, + email = #{email,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR}, + isystem = #{isystem,jdbcType=TINYINT}, + type = #{type,jdbcType=VARCHAR}, + enabled = #{enabled,jdbcType=BIT}, + AdvanceIn = #{advancein,jdbcType=DOUBLE}, + BeginNeedGet = #{beginneedget,jdbcType=DOUBLE}, + BeginNeedPay = #{beginneedpay,jdbcType=DOUBLE}, + AllNeedGet = #{allneedget,jdbcType=DOUBLE}, + AllNeedPay = #{allneedpay,jdbcType=DOUBLE}, + fax = #{fax,jdbcType=VARCHAR}, + telephone = #{telephone,jdbcType=VARCHAR}, + address = #{address,jdbcType=VARCHAR}, + taxNum = #{taxnum,jdbcType=VARCHAR}, + bankName = #{bankname,jdbcType=VARCHAR}, + accountNumber = #{accountnumber,jdbcType=VARCHAR}, + taxRate = #{taxrate,jdbcType=DOUBLE} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/SupplierMapperEx.xml b/src/main/resources/mapper_xml/SupplierMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..d890226e44fd6e998b782f4144a6b19d728c3a4f --- /dev/null +++ b/src/main/resources/mapper_xml/SupplierMapperEx.xml @@ -0,0 +1,48 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/SystemConfigMapper.xml b/src/main/resources/mapper_xml/SystemConfigMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..4a12824249b974ce79e5f2eaa9da15dfa205fe9d --- /dev/null +++ b/src/main/resources/mapper_xml/SystemConfigMapper.xml @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, type, name, value, description + + + + + + delete from jsh_systemconfig + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_systemconfig + + + + + + + insert into jsh_systemconfig (id, type, name, + value, description) + values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{name,jdbcType=VARCHAR}, + #{value,jdbcType=VARCHAR}, #{description,jdbcType=VARCHAR}) + + + + insert into jsh_systemconfig + + + id, + + + type, + + + name, + + + value, + + + description, + + + + + #{id,jdbcType=BIGINT}, + + + #{type,jdbcType=VARCHAR}, + + + #{name,jdbcType=VARCHAR}, + + + #{value,jdbcType=VARCHAR}, + + + #{description,jdbcType=VARCHAR}, + + + + + + + update jsh_systemconfig + + + id = #{record.id,jdbcType=BIGINT}, + + + type = #{record.type,jdbcType=VARCHAR}, + + + name = #{record.name,jdbcType=VARCHAR}, + + + value = #{record.value,jdbcType=VARCHAR}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + + + + + + + update jsh_systemconfig + set id = #{record.id,jdbcType=BIGINT}, + type = #{record.type,jdbcType=VARCHAR}, + name = #{record.name,jdbcType=VARCHAR}, + value = #{record.value,jdbcType=VARCHAR}, + description = #{record.description,jdbcType=VARCHAR} + + + + + + + update jsh_systemconfig + + + type = #{type,jdbcType=VARCHAR}, + + + name = #{name,jdbcType=VARCHAR}, + + + value = #{value,jdbcType=VARCHAR}, + + + description = #{description,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_systemconfig + set type = #{type,jdbcType=VARCHAR}, + name = #{name,jdbcType=VARCHAR}, + value = #{value,jdbcType=VARCHAR}, + description = #{description,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/SystemConfigMapperEx.xml b/src/main/resources/mapper_xml/SystemConfigMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..fb930632b6463ef81609377b448bc79f2b1ed302 --- /dev/null +++ b/src/main/resources/mapper_xml/SystemConfigMapperEx.xml @@ -0,0 +1,18 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/UnitMapper.xml b/src/main/resources/mapper_xml/UnitMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..dce89400e33d9b66b05c524961d2f4fc2d3b861a --- /dev/null +++ b/src/main/resources/mapper_xml/UnitMapper.xml @@ -0,0 +1,224 @@ + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, UName + + + + + + delete from jsh_unit + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_unit + + + + + + + insert into jsh_unit (id, UName) + values (#{id,jdbcType=BIGINT}, #{uname,jdbcType=VARCHAR}) + + + + insert into jsh_unit + + + id, + + + UName, + + + + + #{id,jdbcType=BIGINT}, + + + #{uname,jdbcType=VARCHAR}, + + + + + + + update jsh_unit + + + id = #{record.id,jdbcType=BIGINT}, + + + UName = #{record.uname,jdbcType=VARCHAR}, + + + + + + + + + update jsh_unit + set id = #{record.id,jdbcType=BIGINT}, + UName = #{record.uname,jdbcType=VARCHAR} + + + + + + + update jsh_unit + + + UName = #{uname,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_unit + set UName = #{uname,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/UnitMapperEx.xml b/src/main/resources/mapper_xml/UnitMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..c96d50ae2c4d8249224d078bf51625bfe4da8c41 --- /dev/null +++ b/src/main/resources/mapper_xml/UnitMapperEx.xml @@ -0,0 +1,24 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/UserBusinessMapper.xml b/src/main/resources/mapper_xml/UserBusinessMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..536c01249cec7b38ee778eace1d772c77e3e780d --- /dev/null +++ b/src/main/resources/mapper_xml/UserBusinessMapper.xml @@ -0,0 +1,271 @@ + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + Id, Type, KeyId, Value, BtnStr + + + + + + delete from jsh_userbusiness + where Id = #{id,jdbcType=BIGINT} + + + + delete from jsh_userbusiness + + + + + + + insert into jsh_userbusiness (Id, Type, KeyId, + Value, BtnStr) + values (#{id,jdbcType=BIGINT}, #{type,jdbcType=VARCHAR}, #{keyid,jdbcType=VARCHAR}, + #{value,jdbcType=VARCHAR}, #{btnstr,jdbcType=VARCHAR}) + + + + insert into jsh_userbusiness + + + Id, + + + Type, + + + KeyId, + + + Value, + + + BtnStr, + + + + + #{id,jdbcType=BIGINT}, + + + #{type,jdbcType=VARCHAR}, + + + #{keyid,jdbcType=VARCHAR}, + + + #{value,jdbcType=VARCHAR}, + + + #{btnstr,jdbcType=VARCHAR}, + + + + + + + update jsh_userbusiness + + + Id = #{record.id,jdbcType=BIGINT}, + + + Type = #{record.type,jdbcType=VARCHAR}, + + + KeyId = #{record.keyid,jdbcType=VARCHAR}, + + + Value = #{record.value,jdbcType=VARCHAR}, + + + BtnStr = #{record.btnstr,jdbcType=VARCHAR}, + + + + + + + + + update jsh_userbusiness + set Id = #{record.id,jdbcType=BIGINT}, + Type = #{record.type,jdbcType=VARCHAR}, + KeyId = #{record.keyid,jdbcType=VARCHAR}, + Value = #{record.value,jdbcType=VARCHAR}, + BtnStr = #{record.btnstr,jdbcType=VARCHAR} + + + + + + + update jsh_userbusiness + + + Type = #{type,jdbcType=VARCHAR}, + + + KeyId = #{keyid,jdbcType=VARCHAR}, + + + Value = #{value,jdbcType=VARCHAR}, + + + BtnStr = #{btnstr,jdbcType=VARCHAR}, + + + where Id = #{id,jdbcType=BIGINT} + + + + update jsh_userbusiness + set Type = #{type,jdbcType=VARCHAR}, + KeyId = #{keyid,jdbcType=VARCHAR}, + Value = #{value,jdbcType=VARCHAR}, + BtnStr = #{btnstr,jdbcType=VARCHAR} + where Id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/UserMapper.xml b/src/main/resources/mapper_xml/UserMapper.xml new file mode 100644 index 0000000000000000000000000000000000000000..c275733aa14d6021c12207083dadc3b4d61fa02f --- /dev/null +++ b/src/main/resources/mapper_xml/UserMapper.xml @@ -0,0 +1,398 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + + + + + + + + and ${criterion.condition} + + + and ${criterion.condition} #{criterion.value} + + + and ${criterion.condition} #{criterion.value} and #{criterion.secondValue} + + + and ${criterion.condition} + + #{listItem} + + + + + + + + + + + + id, username, loginame, password, position, department, email, phonenum, ismanager, + isystem, status, description, remark + + + + + + delete from jsh_user + where id = #{id,jdbcType=BIGINT} + + + + delete from jsh_user + + + + + + + insert into jsh_user (id, username, loginame, + password, position, department, + email, phonenum, ismanager, + isystem, status, description, + remark) + values (#{id,jdbcType=BIGINT}, #{username,jdbcType=VARCHAR}, #{loginame,jdbcType=VARCHAR}, + #{password,jdbcType=VARCHAR}, #{position,jdbcType=VARCHAR}, #{department,jdbcType=VARCHAR}, + #{email,jdbcType=VARCHAR}, #{phonenum,jdbcType=VARCHAR}, #{ismanager,jdbcType=TINYINT}, + #{isystem,jdbcType=TINYINT}, #{status,jdbcType=TINYINT}, #{description,jdbcType=VARCHAR}, + #{remark,jdbcType=VARCHAR}) + + + + insert into jsh_user + + + id, + + + username, + + + loginame, + + + password, + + + position, + + + department, + + + email, + + + phonenum, + + + ismanager, + + + isystem, + + + status, + + + description, + + + remark, + + + + + #{id,jdbcType=BIGINT}, + + + #{username,jdbcType=VARCHAR}, + + + #{loginame,jdbcType=VARCHAR}, + + + #{password,jdbcType=VARCHAR}, + + + #{position,jdbcType=VARCHAR}, + + + #{department,jdbcType=VARCHAR}, + + + #{email,jdbcType=VARCHAR}, + + + #{phonenum,jdbcType=VARCHAR}, + + + #{ismanager,jdbcType=TINYINT}, + + + #{isystem,jdbcType=TINYINT}, + + + #{status,jdbcType=TINYINT}, + + + #{description,jdbcType=VARCHAR}, + + + #{remark,jdbcType=VARCHAR}, + + + + + + + update jsh_user + + + id = #{record.id,jdbcType=BIGINT}, + + + username = #{record.username,jdbcType=VARCHAR}, + + + loginame = #{record.loginame,jdbcType=VARCHAR}, + + + password = #{record.password,jdbcType=VARCHAR}, + + + position = #{record.position,jdbcType=VARCHAR}, + + + department = #{record.department,jdbcType=VARCHAR}, + + + email = #{record.email,jdbcType=VARCHAR}, + + + phonenum = #{record.phonenum,jdbcType=VARCHAR}, + + + ismanager = #{record.ismanager,jdbcType=TINYINT}, + + + isystem = #{record.isystem,jdbcType=TINYINT}, + + + status = #{record.status,jdbcType=TINYINT}, + + + description = #{record.description,jdbcType=VARCHAR}, + + + remark = #{record.remark,jdbcType=VARCHAR}, + + + + + + + + + update jsh_user + set id = #{record.id,jdbcType=BIGINT}, + username = #{record.username,jdbcType=VARCHAR}, + loginame = #{record.loginame,jdbcType=VARCHAR}, + password = #{record.password,jdbcType=VARCHAR}, + position = #{record.position,jdbcType=VARCHAR}, + department = #{record.department,jdbcType=VARCHAR}, + email = #{record.email,jdbcType=VARCHAR}, + phonenum = #{record.phonenum,jdbcType=VARCHAR}, + ismanager = #{record.ismanager,jdbcType=TINYINT}, + isystem = #{record.isystem,jdbcType=TINYINT}, + status = #{record.status,jdbcType=TINYINT}, + description = #{record.description,jdbcType=VARCHAR}, + remark = #{record.remark,jdbcType=VARCHAR} + + + + + + + update jsh_user + + + username = #{username,jdbcType=VARCHAR}, + + + loginame = #{loginame,jdbcType=VARCHAR}, + + + password = #{password,jdbcType=VARCHAR}, + + + position = #{position,jdbcType=VARCHAR}, + + + department = #{department,jdbcType=VARCHAR}, + + + email = #{email,jdbcType=VARCHAR}, + + + phonenum = #{phonenum,jdbcType=VARCHAR}, + + + ismanager = #{ismanager,jdbcType=TINYINT}, + + + isystem = #{isystem,jdbcType=TINYINT}, + + + status = #{status,jdbcType=TINYINT}, + + + description = #{description,jdbcType=VARCHAR}, + + + remark = #{remark,jdbcType=VARCHAR}, + + + where id = #{id,jdbcType=BIGINT} + + + + update jsh_user + set username = #{username,jdbcType=VARCHAR}, + loginame = #{loginame,jdbcType=VARCHAR}, + password = #{password,jdbcType=VARCHAR}, + position = #{position,jdbcType=VARCHAR}, + department = #{department,jdbcType=VARCHAR}, + email = #{email,jdbcType=VARCHAR}, + phonenum = #{phonenum,jdbcType=VARCHAR}, + ismanager = #{ismanager,jdbcType=TINYINT}, + isystem = #{isystem,jdbcType=TINYINT}, + status = #{status,jdbcType=TINYINT}, + description = #{description,jdbcType=VARCHAR}, + remark = #{remark,jdbcType=VARCHAR} + where id = #{id,jdbcType=BIGINT} + + \ No newline at end of file diff --git a/src/main/resources/mapper_xml/UserMapperEx.xml b/src/main/resources/mapper_xml/UserMapperEx.xml new file mode 100644 index 0000000000000000000000000000000000000000..5f005bf6eadd119cd84e1a2e06aafa42560dbafd --- /dev/null +++ b/src/main/resources/mapper_xml/UserMapperEx.xml @@ -0,0 +1,30 @@ + + + + + + \ No newline at end of file diff --git a/src/main/resources/spring/basic-applicationContext.xml b/src/main/resources/spring/basic-applicationContext.xml deleted file mode 100644 index 29f61596721b24e0bbaa7807454c572be6aef5da..0000000000000000000000000000000000000000 --- a/src/main/resources/spring/basic-applicationContext.xml +++ /dev/null @@ -1,387 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/spring/dao-applicationContext.xml b/src/main/resources/spring/dao-applicationContext.xml deleted file mode 100644 index 48ad2418279d0c4cd86da462e72088213fe51f04..0000000000000000000000000000000000000000 --- a/src/main/resources/spring/dao-applicationContext.xml +++ /dev/null @@ -1,61 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/resources/spring/quartz-applicationContext.xml.xml b/src/main/resources/spring/quartz-applicationContext.xml.xml deleted file mode 100644 index 444ff888ff04c2f09988b74bd1c7247e4e8d9839..0000000000000000000000000000000000000000 --- a/src/main/resources/spring/quartz-applicationContext.xml.xml +++ /dev/null @@ -1,36 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - 0 45 9,10,11,12 * * ? - - - - - - - - timerTest - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/account-struts.xml b/src/main/resources/struts2/account-struts.xml deleted file mode 100644 index e96a081d763a9884646acb66d5a2afb49801e11a..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/account-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/src/main/resources/struts2/accountHead-struts.xml b/src/main/resources/struts2/accountHead-struts.xml deleted file mode 100644 index 927330b66c1d52a8bef732d91638913776be5ec9..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/accountHead-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/src/main/resources/struts2/accountItem-struts.xml b/src/main/resources/struts2/accountItem-struts.xml deleted file mode 100644 index c470d14b013ad1dee4d4356127655b1f58e3a8cd..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/accountItem-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/src/main/resources/struts2/app-struts.xml b/src/main/resources/struts2/app-struts.xml deleted file mode 100644 index e856de878c14522a9da473bf4042dffe32472432..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/app-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/asset-struts.xml b/src/main/resources/struts2/asset-struts.xml deleted file mode 100644 index 50c75347458a605ff8ce5a4131e0aa9f60699233..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/asset-struts.xml +++ /dev/null @@ -1,32 +0,0 @@ - - - - - - - - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - /pages/asset/asset.jsp - - - \ No newline at end of file diff --git a/src/main/resources/struts2/assetname-struts.xml b/src/main/resources/struts2/assetname-struts.xml deleted file mode 100644 index 5aeb1016a838ba1af34c8c4953d992514708740c..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/assetname-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/category-struts.xml b/src/main/resources/struts2/category-struts.xml deleted file mode 100644 index 3322bbba8ddcac8851a792a6e52d5cfcfd970afc..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/category-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/channel-struts.xml b/src/main/resources/struts2/channel-struts.xml deleted file mode 100644 index 1b245309e98483f87873f1c9d0a7604b76cc7b0b..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/channel-struts.xml +++ /dev/null @@ -1,13 +0,0 @@ - - - - - - - - - - - diff --git a/src/main/resources/struts2/depot-struts.xml b/src/main/resources/struts2/depot-struts.xml deleted file mode 100644 index c3c219b7bc41e102b056da0c9596b2518894f047..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/depot-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/depotHead-struts.xml b/src/main/resources/struts2/depotHead-struts.xml deleted file mode 100644 index e6f581fae72db1abd574bed1c704aa3f549e780c..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/depotHead-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/depotItem-struts.xml b/src/main/resources/struts2/depotItem-struts.xml deleted file mode 100644 index 2d10661358059d7f93e19466f4a66b087bfe5835..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/depotItem-struts.xml +++ /dev/null @@ -1,21 +0,0 @@ - - - - - - - - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/functions-struts.xml b/src/main/resources/struts2/functions-struts.xml deleted file mode 100644 index 5fb66ff64ea64f40014a4f78a5cd57ce86e261ce..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/functions-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/inOutItem-struts.xml b/src/main/resources/struts2/inOutItem-struts.xml deleted file mode 100644 index 99d49db8135799de07694829d8c5816f2464ed9f..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/inOutItem-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - diff --git a/src/main/resources/struts2/log-struts.xml b/src/main/resources/struts2/log-struts.xml deleted file mode 100644 index 77fb29498b8b709ec5539abd0518249a47120448..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/log-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/material-struts.xml b/src/main/resources/struts2/material-struts.xml deleted file mode 100644 index 1e590ba71826b250d724732872763e3e786255a1..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/material-struts.xml +++ /dev/null @@ -1,30 +0,0 @@ - - - - - - - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - /pages/materials/material.jsp - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/materialCategory-struts.xml b/src/main/resources/struts2/materialCategory-struts.xml deleted file mode 100644 index d682bdaaa7f4eb55d8337df51b0663767a5516d6..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/materialCategory-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/materialProperty-struts.xml b/src/main/resources/struts2/materialProperty-struts.xml deleted file mode 100644 index 9c29f29fc668f27379e55e18635292ba83557256..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/materialProperty-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/person-struts.xml b/src/main/resources/struts2/person-struts.xml deleted file mode 100644 index 47fb0b1613ab908b9974709dd50fdef6061b96c8..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/person-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/report-struts.xml b/src/main/resources/struts2/report-struts.xml deleted file mode 100644 index b34945fd23eabefdc0750f4ef7c56c3ceb63f6aa..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/report-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/role-struts.xml b/src/main/resources/struts2/role-struts.xml deleted file mode 100644 index 09fb1c67c60528c16d3f51a23898a0ddb04b4421..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/role-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/struts.properties b/src/main/resources/struts2/struts.properties deleted file mode 100644 index 8847c128aa6f4de07e473c06d0aced2ac4b4de9c..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/struts.properties +++ /dev/null @@ -1,2 +0,0 @@ -# struts.properties -#struts.custom.i18n.resources=messages diff --git a/src/main/resources/struts2/struts.xml b/src/main/resources/struts2/struts.xml deleted file mode 100644 index 6f8de0785173b6b8768a9de055fee237fd90d08f..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/struts.xml +++ /dev/null @@ -1,46 +0,0 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - /pages/common/admin.jsp - - - /pages/common/{1}.jsp - - - /pages/common/admin.jsp - - - \ No newline at end of file diff --git a/src/main/resources/struts2/supplier-struts.xml b/src/main/resources/struts2/supplier-struts.xml deleted file mode 100644 index 3545c13e9aeeb28342d1e9fbfa4721dfbeef10fc..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/supplier-struts.xml +++ /dev/null @@ -1,52 +0,0 @@ - - - - - - - - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - /pages/manage/vendor.jsp - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - /pages/manage/customer.jsp - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - /pages/manage/member.jsp - - - - - - application/vnd.ms-excel - excelStream - attachment;filename="${fileName}" - 1024 - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/systemConfig-struts.xml b/src/main/resources/struts2/systemConfig-struts.xml deleted file mode 100644 index dacd7978f08c15105c3e92ebeeb0ec86c960dfc3..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/systemConfig-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/unit-struts.xml b/src/main/resources/struts2/unit-struts.xml deleted file mode 100644 index 6a3dd7c1a26c03a4a0a53f0ee9a5b9c2b72fd10e..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/unit-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/user-struts.xml b/src/main/resources/struts2/user-struts.xml deleted file mode 100644 index 02abc3916901a12a92868a8a40f76c9f8e0a7274..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/user-struts.xml +++ /dev/null @@ -1,23 +0,0 @@ - - - - - - - - - - /logout.jsp - - - - \ No newline at end of file diff --git a/src/main/resources/struts2/userBusiness-struts.xml b/src/main/resources/struts2/userBusiness-struts.xml deleted file mode 100644 index 467130c4af5627cbe584ad8ca8aecbe32e46fcbf..0000000000000000000000000000000000000000 --- a/src/main/resources/struts2/userBusiness-struts.xml +++ /dev/null @@ -1,11 +0,0 @@ - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/META-INF/MANIFEST.MF b/src/main/webapp/META-INF/MANIFEST.MF deleted file mode 100644 index 254272e1c0740423e25eb40be9a98ce1556474b1..0000000000000000000000000000000000000000 --- a/src/main/webapp/META-INF/MANIFEST.MF +++ /dev/null @@ -1,3 +0,0 @@ -Manifest-Version: 1.0 -Class-Path: - diff --git a/src/main/webapp/WEB-INF/lib/hibernate3-1.0.0.jar b/src/main/webapp/WEB-INF/lib/hibernate3-1.0.0.jar deleted file mode 100644 index 7275ad6e372e23aa5a90219e367920a039f17379..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/WEB-INF/lib/hibernate3-1.0.0.jar and /dev/null differ diff --git a/src/main/webapp/WEB-INF/lib/javaee-1.0.0.jar b/src/main/webapp/WEB-INF/lib/javaee-1.0.0.jar deleted file mode 100644 index ee9b2ad4173b191f2b3100712634c5851e09e5f0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/WEB-INF/lib/javaee-1.0.0.jar and /dev/null differ diff --git a/src/main/webapp/WEB-INF/lib/jta-1.1.jar b/src/main/webapp/WEB-INF/lib/jta-1.1.jar deleted file mode 100644 index 6d225b764fa29a66b9a3804d5ea9026e49300b56..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/WEB-INF/lib/jta-1.1.jar and /dev/null differ diff --git a/src/main/webapp/WEB-INF/web.xml b/src/main/webapp/WEB-INF/web.xml deleted file mode 100644 index a93c65e0fec50f4e86c0cae9a4c59403aa475ba6..0000000000000000000000000000000000000000 --- a/src/main/webapp/WEB-INF/web.xml +++ /dev/null @@ -1,81 +0,0 @@ - - - - webAppRootKey - webApp.log4j.path - - - log4jConfigLocation - classpath:log4j/log4j.properties - - - log4jRefreshInterval - 60000 - - - org.springframework.web.util.Log4jConfigListener - - - contextConfigLocation - classpath:spring/*-applicationContext.xml - - - org.springframework.web.context.ContextLoaderListener - - - session的过滤器 - SessionValidateFilter - com.jsh.util.SessionFilter - - - SessionValidateFilter - /pages/* - - - encodingFilter - org.springframework.web.filter.CharacterEncodingFilter - - encoding - UTF-8 - - - forceEncoding - true - - - - encodingFilter - /* - - - hibernateFilter - com.jsh.util.OpenSessionInViewFilterExtend - - singleSession - true - - - - hibernateFilter - /* - - - struts2 - org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter - - config - struts2/struts.xml - - - - struts2 - /* - - - 60 - - - - login.jsp - - \ No newline at end of file diff --git a/src/main/webapp/css/bill_detail.css b/src/main/webapp/css/bill_detail.css deleted file mode 100644 index e15da1659dd7294141f30d17b7b2b297b712c27c..0000000000000000000000000000000000000000 --- a/src/main/webapp/css/bill_detail.css +++ /dev/null @@ -1,54 +0,0 @@ -#bill { - width: 100%; -} -#bill .retail_out{ - display: none; -} -#bill .retail_back{ - display: none; -} -#bill .purchase_in{ - display: none; -} -#bill .purchase_back{ - display: none; -} -#bill .sale_out{ - display: none; -} -#bill .sale_back{ - display: none; -} -#bill .other_in{ - display: none; -} -#bill .other_out{ - display: none; -} -#bill .allocation_out{ - display: none; -} -#bill .gift_recharge{ - display: none; -} -#bill .gift_out{ - display: none; -} -#bill .item_in{ - display: none; -} -#bill .item_out{ - display: none; -} -#bill .money_in{ - display: none; -} -#bill .money_out{ - display: none; -} -#bill .giro{ - display: none; -} -#bill .advance_in{ - display: none; -} \ No newline at end of file diff --git a/src/main/webapp/css/common.css b/src/main/webapp/css/common.css deleted file mode 100644 index 861c2e72ee084884be98c40ea6fb98f7e77842fc..0000000000000000000000000000000000000000 --- a/src/main/webapp/css/common.css +++ /dev/null @@ -1,52 +0,0 @@ - -.datagrid-body,.datagrid-footer,.datagrid-pager ,.datagrid-view { - background-color:#EAF2FD; -} - -.easyui-dialog .fitem label{ - width:60px; - float:left; - padding:5px; -} - -#tablePanel .action-show { - background: url('../js/easyui-1.3.5/themes/icons/list.png') no-repeat left center; -} - -#tablePanel .action-edit { - background: url('../js/easyui-1.3.5/themes/icons/pencil.png') no-repeat left center; - padding: 0 8px 0 20px; -} - -#tablePanel .action-delete { - background: url('../js/easyui-1.3.5/themes/icons/edit_remove.png') no-repeat left center; - padding-left: 20px; -} - -.system-config { - padding: 5px; - font-size: 13px; -} - -.system-config td{ - padding: 10px 0px 10px 10px; - -} - -#accountDetailListDlg .n-link{ - color:blue; - text-decoration:underline; - cursor:pointer; -} - -#tablePanel .n-link{ - color:blue; - text-decoration:underline; - cursor:pointer; -} - -#materialDetailListDlg .n-link{ - color:blue; - text-decoration:underline; - cursor:pointer; -} \ No newline at end of file diff --git a/src/main/webapp/css/css.css b/src/main/webapp/css/css.css deleted file mode 100644 index 27148e1f3db96c8aedda53e11811835fb4ff6283..0000000000000000000000000000000000000000 --- a/src/main/webapp/css/css.css +++ /dev/null @@ -1,762 +0,0 @@ -@charset "utf-8"; -/* CSS Document */ -ul,ol,li,dl,dt,dd,h1,h2,h3,body,p,form,input,textarea{ - padding:0; - margin:0; -} -ul,li{ - list-style:none; -} -h1{ - font-size:18px; -} -h2{ - font-size:14px; -} -h3{ - font-size:12px; -} -table{ - border-collapse:collapse; -} -textarea{ - font-size:12px; - padding:3px; -} -img{ - border:0; -} -a:link,a:visited{ - color:#333; - text-decoration:none; -} -a:hover,a:active{ - text-decoration:underline; -} -body{ - font:12px/18px Arial, Helvetica, sans-serif,"宋体"; -} -#header{ - height:56px; - width:100%; - position:relative; - background:url(../images/bg_head.jpg) repeat-x; -} -#logo{ - position:absolute; - left: 17px; - top: 1px; -} -#nav_top{ - position:absolute; - right:5px; - top:20px; -} -#nav_top li{ - float:left; - padding-right:8px; -} -#nav_top li a{ - display:block; - height:16px; - float:left; - padding-left:18px; - text-decoration:underline; -} -#nav_top li a:hover{ - color:#006DC1; -} -#nav_top li a#navtop_home{ - background:url(../images/house.png) 0 1px no-repeat; -} -#nav_top li a#navtop_help{ - background:url(../images/vavtop_help.gif) 0 1px no-repeat; -} -#nav_top li a#navtop_logout{ - background:url(../images/680.png) 2px 2px no-repeat; -} -#menubar{ - width:170px; - padding-top:5px; - overflow:hidden; -} -#menubar a{ - width:130px; - padding:5px 0 0 40px; - height:23px; - display:block; - color:#000; - font-weight:bold; - font-size:14px; - background:url(../images/bg_menulist.jpg) no-repeat; -} -#menubar a:hover{ - text-decoration:none; - background:url(../images/bg_menuliston.jpg) no-repeat; -} -#menubar a#menu_on{ - background:url(../images/bg_menuliston.jpg) no-repeat; -} -#menubar a#menusub_on{ - color:#006BFF; - text-decoration:none; - background:#FFFFFF; -} -#menubar dl a{ - font-size:12px; - color:#333; - height:18px; - padding-left:60px; - font-weight:normal; - background:url(../images/bg_notebook.gif) 40px 5px no-repeat; -} -#menubar dl{ - display:none; - padding-bottom:5px; -} -#menubar dl a:hover{ - color:#006DC1; - text-decoration:none; -} -#menubar_top{ - width:182px; - height:16px; - overflow:hidden; -} -#menu_switchHide{ - position:absolute; - width:7px; - height:9px; - left:173px; - top:4px; - z-index:100; - overflow:hidden; -} -#menu_switchShow{ - position:absolute; - width:10px; - height:17px; - left:0px; - top:0px; - overflow:hidden; - z-index:100; - display:none; -} -#wrap_menu{ - width:175px; - overflow:hidden; - padding-left:5px; - border:1px solid #97B9DF; - border-top:none; - background:#EAF2FD; -} -#position{ - height:29px; - width:100%; - overflow:hidden; - position:relative; - background:url(../images/bg_positionm.jpg) repeat-x; -} - -#position p{ - line-height:29px; - padding-left:13px; - color:#FFF; - background:url(../images/bg_positionl.gif) no-repeat; -} -#position p a{ - color:#FFF; -} -#pright{ - width:8px; - height:29px; - overflow:hidden; - position:absolute; - top:0; - right:0; - background:url(../images/bg_positionr.jpg) 3px 0 no-repeat; -} -#cnt_body{ - padding:0 5px; -} -#searchbar{ - background:#EAF2FD; - margin:8px 0 5px 0; - width:100%; - position:relative; -} -#txt_search{ - position:absolute; - left: 11px; - top: -8px; - color:#000; - font-weight:bold; -} -#search_itemlist{ - border:1px solid #97B9DF; - padding:10px 10px 3px 10px; -} -#search_itemlist ul{ - width:100%; - overflow:hidden; -} -#search_itemlist li{ - float:left; - height:22px; - padding:0 10px 5px 0; -} -#searchbar li span img,#search_itemlist li span img{ - position:relative; - top:3px; - margin-left:2px; -} -#search_itemlist input,#search_itemlist select{ - width:80px; - margin-top:2px; -} -#search_itemlist input.btn_sendData{ - width:49px; - height:22px; - border:none; - margin-top:0; - padding:0 1px; - cursor:pointer; - background:url(../images/btn_check.gif) no-repeat; -} -#search_itemlist input.btn_sendData:hover{ - background:url(../images/btn_checkon.gif) no-repeat; -} -.databar{ - border:1px solid #97B9DF; - background:#EAF2FD; - overflow:hidden; - _height:29px; -} -.btn_confirmpage{ - height:22px; - width:35px; - border:none; - cursor:pointer; - background:url(../images/btn_goto.gif) 0 2px no-repeat; -} -.btn_confirmpage:hover{ - background:url(../images/btn_gotoon.gif) 0 2px no-repeat; -} -.btnbar{ - float:left; -} -.btnbar ul{ - padding:2px 0 2px 10px; - overflow:hidden; - width:400px; - overflow:hidden; -} -.btnbar li{ - float:left; - padding-right:5px; -} -.btnbar a{ - display:block; - height:25px; - float:left; - overflow:hidden; - padding-left:10px; - background:url(../images/bg_btnl.gif) no-repeat; -} -.btnbar a:hover{ - text-decoration:none; - background:url(../images/bg_btnlon.gif) no-repeat; -} -.btnbar b{ - display:block; - height:20px; - float:left; - padding:5px 10px 0 0; - font-weight:normal; - background:#EAF2FD url(../images/bg_btnr.gif) top right no-repeat; -} -.btnbar a:hover b{ - background:#EAF2FD url(../images/bg_btnron.gif) top right no-repeat; -} -.pagebar{ - float:right; -} -.pagebar ul{ - overflow:hidden; - padding:3px 3px 1px 3px; -} -.pagebar li{ - float:left; - padding:0 5px; - line-height:22px; - background:url(../images/bg_psplit.jpg) right 1px no-repeat; -} -.pagebar li.jump_num{ -} -.pagebar li.lastpageli{ - background:none; -} -.pagebar li.jump_num input{ - width:15px; - height:15px; -} -.pagebar li.pnum_list a{ - padding:1px 5px; - margin-left:2px; - border:1px solid #97B9DF; -} -.pagebar li.pnum_list a:hover{ - background:#FFFED9; - text-decoration:none; -} -.pagebar li.pnum_list a#this_page{ - border:1px solid #EAF2FD; - color:#F00; -} -.data_list,.data_view,.data_edit{ - margin:5px 0; -} -.data_list table{ - width:100%; - text-align:center; -} -.data_list th{ - color:#515151; - color:#3B64A4; - padding:5px 2px; - border:1px solid #97B8E0; - background: url(../images/bg_datath.jpg) repeat-x; -} -.data_list td{ - padding:4px 2px; - border:1px solid #97B8E0; -} -td a.detail_link{ - color:#006DC1; - text-decoration:none; -} -td a.detail_link:hover{ - color:#F90; - text-decoration:underline; -} -td.editbar{ - width:100px; -} -td.txt_leftalign,th.txt_leftalign{ - text-align:left; - padding-left:8px; -} -.data_list td.editbar a{ - padding:0 3px; -} -.data_list th.checkboxbar{ - width:20px; -} - -tr.tr_evenview,td.td_evenview{ - background:#f3f9fe; -} -tr.tr_even,td.td_even{ - background:#E9F0F9; -} -tr.tr_hover,td.td_hover{ - background:#FFFED9; -} -#foot{ - text-align:center; - height:25px; - overflow:hidden; - margin-top:5px; - line-height:30px; - color:#3a65a3; - font-family:Arial, Helvetica, sans-serif; - background:url(../images/bg_foot.jpg) repeat-x; -} -.data_view th,.data_edit th{ - padding:4px 4px 4px 18px; - text-align:left; - color:#515151; - width:120px; - border:1px solid #97B8E0; - background:#E9F0F9; -} -.data_view td,.data_edit td{ - padding:4px 4px 4px 10px; - border:1px solid #97B8E0; -} -.view_nav,.draw_time,#dialog_title{ - font-size:14px; - height:21px; - line-height:18px; - padding:5px 0 0 15px; - color:#0067B2; - border:1px solid #AEC7E5; - border-bottom:none; - margin:5px 0 -5px 0; - font-weight:bold; - background:url(../images/bg_cntnav.jpg) repeat-x; -} -.draw_time{ - border:1px solid #AEC7E5; - margin:5px 0; - font-weight:normal; - font-size:12px; - padding-top:1px; - padding-bottom:3px; -} -.btnlistbar{ - height:24px; - padding:4px 0 0 153px; - border:1px solid #AEC7E5; - border-top:none; - overflow:hidden; - background:#DEEAFB; - margin-top:-5px; -} -input.inputstyle{ - width:62px; - font-size:12px; - height:20px; - overflow:hidden; - line-height:22px; - text-align:center; - border:none; - color:#006DC1; - margin:0 32px 0 0; - padding:0; - background:url(../images/bg_btn.gif) top center no-repeat; -} -input.inputstyle:hover{ - background:url(../images/bg_btnon.gif) top center no-repeat; -} -#treebar{ - width:148px; - position:absolute; - left:5px; - top:34px; - padding:5px; - overflow:hidden; - border:1px solid #AEC7E5; - background:#EAF2FD; -} -#treebar_only{ - width:200px; - padding:5px; - overflow:hidden; -} -#treebar ul,#treebar li,#treebar_only ul,#treebar_only li{ - clear:both; -} -#treebar ul,#treebar_only ul{ - padding-left:20px; -} -#treebar ul#tree_rootul,#treebar_only ul#tree_rootul{ - padding-left:0; -} -#treebar li span,#treebar_only li span{ - float:left; - height:20px; - line-height:20px; - display:block; -} -#treebar li span a:hover,#treebar_only li span a:hover{ - color:#006DC1; - text-decoration:underline; -} -#treebar li span a.thisNode,#treebar_only li span a.thisNode{ - background:#334B75; - color:#FFF; -} -#treebar li span input,#treebar_only li span input{ - vertical-align:middle; - width:15px; - height:15px; - margin-right:2px; -} -#treebar span.tree_show,#treebar span.tree_hide,#treebar_only span.tree_show,#treebar_only span.tree_hide{ - width:15px; - display:block; - background:url(../images/btn_minus.gif) 3px 5px no-repeat; -} -#treebar span.tree_hide,#treebar_only span.tree_hide{ - background:url(../images/btn_plus.gif) 3px 5px no-repeat; -} -#treebar_cnt{ - padding-left:165px; -} -/*tab start*/ -#tab_switchdraw{ - height:31px; - margin-top:5px; - overflow:hidden; - position:relative; - background:url(../images/bg_actlistcon.gif) repeat-x; -} -#tab_switchdraw ul{ - padding-top:2px; -} -#tab_switchdraw li{ - float:left; - padding-right:3px; -} -#tab_switchdraw li a{ - display:block; - width:72px; - height:20px; - padding:9px 0 0 0; - text-align:center; - text-decoration:none; - color:#3965A3; - line-height:12px; - background:url(../images/bg_actlist.jpg) no-repeat; -} -#tab_switchdraw li a#draw_on{ - color:#515151; - padding-top:9px; - height:20px; - background:url(../images/bg_actliston.jpg) no-repeat; -} -#source_selected{ - display:none; -} -/*tab endding*/ -.img_list{ - padding:5px; - padding-left:50px; - width:100%; -} -#dialog{ - border:2px solid #AEC7E5; - padding:1px; - width:200px; - height:200px; - position:absolute; - left:0; - top:0; - z-index:100; - background:#FFF; -} -#dialog_title{ - position:relative; - border:none; - margin:0; - padding-left:8px; -} -#dialog_btnlist{ - border-top:1px dashed #CCC; - height:25px; - width:100%; - overflow:hidden; - padding-top:5px; - margin-top:2px; - position:absolute; - bottom:0; - text-align:center; - background:#FFF; -} -#dialog_close{ - width:16px; - height:16px; - position:absolute; - right:4px; - top:4px; - cursor:pointer; - background:url(../images/btn_close.png) no-repeat; -} -#dialog_bg{ - width:100%; - height:auto; - position:absolute; - left:0; - top:0; - z-index:99; - background:#666; - opacity: 0.0; - filter:alpha(opacity=0); - -moz-opacity:0.0; -} -.dialogbtnlist{ - border-top:1px dashed #AEC7E5; - text-align:center; - margin:5px 0 0 0; - padding:5px 5px 2px 5px; -} -.dialogbtnlist input{ - padding:0 5px; -} -.must_input,.error_input{ - color:#F00; - padding:0 3px; -} -.tip_input{ - color:#BBB; - padding:0 3px; -} -.tip_important a{ - color:#F00; - text-decoration:underline; -} -.select_left,.select_right{ - width:150px; - height:150px; - overflow:hidden; - float:left; -} -.select_left p,.select_right p{ - height:20px; - line-height:20px; -} -.select_left select,.select_right select{ - margin:0; - padding:0; - width:150px; - height:130px; -} -.select_btn{ - width:50px; - padding-top:35px; - height:115px; - float:left; - text-align:center; -} -.select_btn input{ - width:30px; - padding:2px 1px; -} -.select_right{ -} -#menu_mask{ - width:9px; - height:500px; - position:absolute; - top:0; - left:0; - border:1px solid #AEC7E5; - border-left:none; - background:#EAF2FD; - z-index:90; -} -#login_body{ - background:#93bbe5 url(../images/bg_login.jpg) top center no-repeat; -} -#login_main{ - width:459px; - overflow:hidden; - margin:160px auto 0 auto; -} -#login{ - width:459px; - height:263px; - overflow:hidden; - position:relative; - background:url(../images/bg_loginmain.jpg) no-repeat; -} -#login_signal{ - position:absolute; - left: 63px; - top: 19px; -} -#txt_username{ - position:absolute; - left: 66px; - top: 84px; - width: 52px; -} -#txt_userpwd{ - position:absolute; - left: 65px; - top: 119px; - width: 54px; -} -#txt_vcode{ - position:absolute; - left: 66px; - top: 153px; - width: 51px; -} -#user_name{ - position:absolute; - width:132px; - padding:0 4px; - height:23px; - line-height:23px; - border:none; - font-family:Arial, Helvetica, sans-serif; - background:url(../images/bg_logininout.jpg) no-repeat; - left: 118px; - top: 84px; -} -#user_pwd{ - position:absolute; - width:132px; - padding:0 4px; - height:23px; - line-height:23px; - border:none; - font-family:Arial, Helvetica, sans-serif; - background:url(../images/bg_logininout.jpg) no-repeat; - left: 118px; - top: 118px; -} -#vcode{ - position:absolute; - width:67px; - padding:0 4px; - height:23px; - line-height:23px; - font-family:Arial, Helvetica, sans-serif; - border:none; - background:url(../images/bg_keycode.jpg) no-repeat; - left: 118px; - top: 151px; -} -#vcode_pic{ - position:absolute; - left: 198px; - top: 151px; -} -#btn_login{ - position:absolute; - width:81px; - height:30px; - border:none; - cursor:pointer; - background:url(../images/btn_login.jpg) no-repeat; - left: 120px; - top: 170px; -} -#btn_login:hover{ - background:url(../images/btn_loginon.jpg) no-repeat; -} -#tip_username{ - position:absolute; - left: 262px; - top: 86px; - width: 174px; -} -#tip_userpwd{ - position:absolute; - left: 263px; - top: 121px; - width: 173px; -} -#tip_vcode{ - position:absolute; - left: 264px; - top: 154px; - width: 172px; -} -#login_tip{ - padding:3px 5px; - color:#4C4C4C; -} -#copyright{ - color:#3a69ad; - text-align:center; - padding:10px 1px; -} -#login_logo{ - padding:3px 8px; - font-size: medium; - font-weight: bold; -} diff --git a/src/main/webapp/css/in_out.css b/src/main/webapp/css/in_out.css deleted file mode 100644 index 13d2dd0610829aab95a5d96ef615691f12b2c451..0000000000000000000000000000000000000000 --- a/src/main/webapp/css/in_out.css +++ /dev/null @@ -1,107 +0,0 @@ -/*价格*/ -#depotHeadFM .price-list { - width:110px; - float:left; - position:absolute; - border:1px solid #95B8E7; -} - -#depotHeadFM .price-list ul{ - padding: 0px; - margin: 0px; - background-color: #fff; -} - -#depotHeadFM .price-list ul li{ - list-style: none; - padding: 3px; -} - -#depotHeadFM .price-list ul li:hover{ - background-color: #e9f1fc; -} - -/*零售*/ -#depotHeadFM .retail-amount tr td{ - padding: 5px; -} - -#depotHeadFM .retail-amount tr td input{ - width: 225px; - height: 30px; - line-height: 30px; - font-size: 24px; - border-color: #878787; - border-style: solid; - border-top-width: 0px; - border-right-width: 0px; - border-bottom-width: 1px; - border-left-width: 0px -} - -#depotHeadFM .retail-amount .change-amount{ - color:purple; -} - -#depotHeadFM .retail-amount .get-amount{ - color:red; -} - -#depotHeadFM .retail-amount .back-amount{ - color: green; - text-align: right; -} - -#depotHeadDlgShow .retail-amount-show tr td{ - padding: 5px; -} - -#depotHeadDlgShow .retail-amount-show .change-amount-show{ - color:purple; - font-size: 24px; -} - -#depotHeadDlgShow .retail-amount-show .get-amount-show{ - color:red; - font-size: 24px; -} - -#depotHeadDlgShow .retail-amount-show .back-amount-show{ - color: green; - text-align: right; - font-size: 24px; -} - -/*计量单位*/ -#depotHeadFM .unit-list { - width:68px; - float:left; - position:absolute; - border:1px solid #95B8E7; -} - -#depotHeadFM .unit-list ul{ - padding: 0px; - margin: 0px; - background-color: #fff; -} - -#depotHeadFM .unit-list ul li{ - list-style: none; - padding: 3px; -} - -#depotHeadFM .unit-list ul li:hover{ - background-color: #e9f1fc; -} - -#depotHeadDlg .org-list{ - float: left; - width:135px; -} - -#depotHeadDlg .add-org-btn{ - float: left; - width:30px; - padding: 2px; -} \ No newline at end of file diff --git a/src/main/webapp/css/material.css b/src/main/webapp/css/material.css deleted file mode 100644 index e6399c5e2eae523b0a1874e3c73dc54faa353dbd..0000000000000000000000000000000000000000 --- a/src/main/webapp/css/material.css +++ /dev/null @@ -1,11 +0,0 @@ -.first-select-unit{ - display: none; -} - -.price-list { - display: none; -} - -.price-list input{ - width: 120px; -} diff --git a/src/main/webapp/css/retail_list.css b/src/main/webapp/css/retail_list.css deleted file mode 100644 index 72b3464553b9fd7c5b0f711847bca531f816df53..0000000000000000000000000000000000000000 --- a/src/main/webapp/css/retail_list.css +++ /dev/null @@ -1,49 +0,0 @@ -#depotHeadFM .retail-amount tr td{ - padding: 5px; -} - -#depotHeadFM .retail-amount tr td input{ - width: 185px; - height: 30px; - line-height: 30px; - font-size: 24px; - border-color: #878787; - border-style: solid; - border-top-width: 0px; - border-right-width: 0px; - border-bottom-width: 1px; - border-left-width: 0px -} - -#depotHeadFM .retail-amount .change-amount{ - color:purple; -} - -#depotHeadFM .retail-amount .get-amount{ - color:red; -} - -#depotHeadFM .retail-amount .back-amount{ - color: green; - text-align: right; -} - -#depotHeadDlgShow .retail-amount-show tr td{ - padding: 5px; -} - -#depotHeadDlgShow .retail-amount-show .change-amount-show{ - color:purple; - font-size: 24px; -} - -#depotHeadDlgShow .retail-amount-show .get-amount-show{ - color:red; - font-size: 24px; -} - -#depotHeadDlgShow .retail-amount-show .back-amount-show{ - color: green; - text-align: right; - font-size: 24px; -} diff --git a/src/main/webapp/images/004.jpg b/src/main/webapp/images/004.jpg deleted file mode 100644 index a4dea9143de49ad360bc74e89c547bd0b53b8de4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/004.jpg and /dev/null differ diff --git a/src/main/webapp/images/007.png b/src/main/webapp/images/007.png deleted file mode 100644 index 1cf366268afd3cf1c69e92488a8e23b15dd73555..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/007.png and /dev/null differ diff --git a/src/main/webapp/images/020.png b/src/main/webapp/images/020.png deleted file mode 100644 index 184ed1701c4b9a5917acbbc1c9741c979a96cb1c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/020.png and /dev/null differ diff --git a/src/main/webapp/images/657.png b/src/main/webapp/images/657.png deleted file mode 100644 index 2724394ae4bb8eb073c93cbf6a8079e8887a4d95..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/657.png and /dev/null differ diff --git a/src/main/webapp/images/680.png b/src/main/webapp/images/680.png deleted file mode 100644 index 65fb464e54fd5e0b409b887ee7bb38231840efb9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/680.png and /dev/null differ diff --git a/src/main/webapp/images/894.png b/src/main/webapp/images/894.png deleted file mode 100644 index d4a140236eedd30ca58ff703afa08e61b2ebe0c6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/894.png and /dev/null differ diff --git a/src/main/webapp/images/a1.gif b/src/main/webapp/images/a1.gif deleted file mode 100644 index a98d7491f115446415f9b8a3cc4e6734a98c74be..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/a1.gif and /dev/null differ diff --git a/src/main/webapp/images/admin.png b/src/main/webapp/images/admin.png deleted file mode 100644 index f9668f73bf101607e93521adbdbabe7afdf3360d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/admin.png and /dev/null differ diff --git a/src/main/webapp/images/bg_actlist.jpg b/src/main/webapp/images/bg_actlist.jpg deleted file mode 100644 index 711841728c9a4a75ec7066ab3d5c04f9dd407ef8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_actlist.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_actlistcon.gif b/src/main/webapp/images/bg_actlistcon.gif deleted file mode 100644 index 5cb86d2f5c41d46fc3716c29320e2fba0c395754..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_actlistcon.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_actliston.jpg b/src/main/webapp/images/bg_actliston.jpg deleted file mode 100644 index 01f55912b62b82368cd792fc7d5ab6d4ec6ae25b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_actliston.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_btn.gif b/src/main/webapp/images/bg_btn.gif deleted file mode 100644 index 62d23aa7e874546169eef9f078c087e4e834dceb..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_btn.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_btnl.gif b/src/main/webapp/images/bg_btnl.gif deleted file mode 100644 index 4c4ca5d7bb1e484fe9246f73ad78567d6137de26..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_btnl.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_btnlon.gif b/src/main/webapp/images/bg_btnlon.gif deleted file mode 100644 index 496f683b9bf81f0d3adb617a913d55a9e4c0a598..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_btnlon.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_btnon.gif b/src/main/webapp/images/bg_btnon.gif deleted file mode 100644 index 36279a64c5b6ca0ba9147362a3ce3f2f137f3e5b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_btnon.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_btnr.gif b/src/main/webapp/images/bg_btnr.gif deleted file mode 100644 index 58853d510e0e3b5c8ea65c628f00b7821745b6e7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_btnr.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_btnron.gif b/src/main/webapp/images/bg_btnron.gif deleted file mode 100644 index 2a110d9f954761627f600cbd14fdc15c0aaf663a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_btnron.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_cntnav.jpg b/src/main/webapp/images/bg_cntnav.jpg deleted file mode 100644 index 0818d01f726a0e3d1235ec62abc1fb03e29b4f4f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_cntnav.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_datath.jpg b/src/main/webapp/images/bg_datath.jpg deleted file mode 100644 index 715019a7c499c854d6eb5be957c85cc4a7ed5331..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_datath.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_foot.jpg b/src/main/webapp/images/bg_foot.jpg deleted file mode 100644 index d1649e8cbb89563ac734f649181bb674aeebc2ff..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_foot.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_head.jpg b/src/main/webapp/images/bg_head.jpg deleted file mode 100644 index a97e5a4bd2e9d90f18d08869b80b73e4c41e1462..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_head.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_keycode.jpg b/src/main/webapp/images/bg_keycode.jpg deleted file mode 100644 index 0168a2c4a1c8b52810cd127c78ac8543fc9cfa25..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_keycode.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_login.jpg b/src/main/webapp/images/bg_login.jpg deleted file mode 100644 index 334d42eae49aeab2ab9a82873c9122e364c9cfbe..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_login.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_logininout.jpg b/src/main/webapp/images/bg_logininout.jpg deleted file mode 100644 index 98b37eab7990127b18ca9227f69e9c7a16ac9713..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_logininout.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_loginmain.jpg b/src/main/webapp/images/bg_loginmain.jpg deleted file mode 100644 index 42784a2658a43b5e3a6629b8d21d26ee2866bf2f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_loginmain.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_menulist.jpg b/src/main/webapp/images/bg_menulist.jpg deleted file mode 100644 index 496b5a3425ccf5ea7961c66280555cf29c9dc54d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_menulist.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_menuliston.jpg b/src/main/webapp/images/bg_menuliston.jpg deleted file mode 100644 index dad5c364e0e3ccaca311323b34aeff32b84bcc79..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_menuliston.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_menutop.jpg b/src/main/webapp/images/bg_menutop.jpg deleted file mode 100644 index aabb81d71b8e6edf88f525a41b91f43aee57e17c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_menutop.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_notebook.gif b/src/main/webapp/images/bg_notebook.gif deleted file mode 100644 index 1cb907265a3077dd73754f407ac77363d158c342..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_notebook.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_positionl.gif b/src/main/webapp/images/bg_positionl.gif deleted file mode 100644 index 3a39d13be474ea472817afca491474ae43cf53c1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_positionl.gif and /dev/null differ diff --git a/src/main/webapp/images/bg_positionm.jpg b/src/main/webapp/images/bg_positionm.jpg deleted file mode 100644 index a6c2108ef7f6cb3cff5f74bb190fe8184c1a31ba..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_positionm.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_positionr.jpg b/src/main/webapp/images/bg_positionr.jpg deleted file mode 100644 index 3fffa172f237ae28668d7a56ccf8e6c9c2739ad4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_positionr.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_positionrbak.jpg b/src/main/webapp/images/bg_positionrbak.jpg deleted file mode 100644 index 9b3aaaffe1c90339a9593b8ddff62231f65a7166..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_positionrbak.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_positionrpos.jpg b/src/main/webapp/images/bg_positionrpos.jpg deleted file mode 100644 index b94d1aa6888c36eac8769bac401b9a09d3729257..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_positionrpos.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_psplit.jpg b/src/main/webapp/images/bg_psplit.jpg deleted file mode 100644 index 9b7407fbbf3d6c606a0b9d2d94bd13312391a834..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_psplit.jpg and /dev/null differ diff --git a/src/main/webapp/images/bg_tipfailth.png b/src/main/webapp/images/bg_tipfailth.png deleted file mode 100644 index 44e67929e28a82267641e06739352a2c04af12b0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_tipfailth.png and /dev/null differ diff --git a/src/main/webapp/images/bg_tipsuccess.png b/src/main/webapp/images/bg_tipsuccess.png deleted file mode 100644 index b223b160c8d339ef3db2d49d7fc50fed04402146..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/bg_tipsuccess.png and /dev/null differ diff --git a/src/main/webapp/images/blogging.png b/src/main/webapp/images/blogging.png deleted file mode 100644 index 57f98c1066a4ec565df7b275997827b3379285f9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/blogging.png and /dev/null differ diff --git a/src/main/webapp/images/btn_check.gif b/src/main/webapp/images/btn_check.gif deleted file mode 100644 index 4c3fe4e081e460c2f8879b7eff67f40d15080a45..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_check.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_checkon.gif b/src/main/webapp/images/btn_checkon.gif deleted file mode 100644 index b31e480793ad4fad8783df3ee4e70f8822b71a2c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_checkon.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_close.gif b/src/main/webapp/images/btn_close.gif deleted file mode 100644 index 8871cead31cbd7d66f1428d3de9d2392f0a3de2a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_close.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_close.png b/src/main/webapp/images/btn_close.png deleted file mode 100644 index 8e0286fd1bba2e2a631aea533058637eaa7223d7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_close.png and /dev/null differ diff --git a/src/main/webapp/images/btn_display.gif b/src/main/webapp/images/btn_display.gif deleted file mode 100644 index f2ecfe50a8fa2119101c353b911768ef74b04a69..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_display.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_goto.gif b/src/main/webapp/images/btn_goto.gif deleted file mode 100644 index b8732d334d2b9d9700aa009ca54849785cc7a4d6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_goto.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_gotoon.gif b/src/main/webapp/images/btn_gotoon.gif deleted file mode 100644 index d032bb7e5469b64230ce1d94c185d7d70cd3829d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_gotoon.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_login.jpg b/src/main/webapp/images/btn_login.jpg deleted file mode 100644 index befb7c0265bbb13a9de8bb75cba1798528df3885..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_login.jpg and /dev/null differ diff --git a/src/main/webapp/images/btn_loginon.jpg b/src/main/webapp/images/btn_loginon.jpg deleted file mode 100644 index 86f6424cd888239504ae8e3b513173dcc2c08783..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_loginon.jpg and /dev/null differ diff --git a/src/main/webapp/images/btn_minus.gif b/src/main/webapp/images/btn_minus.gif deleted file mode 100644 index 40e487e292626e51cbc5f5a18adc67362836d557..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_minus.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_openm.gif b/src/main/webapp/images/btn_openm.gif deleted file mode 100644 index f2ecfe50a8fa2119101c353b911768ef74b04a69..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_openm.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_plus.gif b/src/main/webapp/images/btn_plus.gif deleted file mode 100644 index 8f52d96ebb17df0f7431d827f73decd6c35e80c3..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_plus.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_scolse.gif b/src/main/webapp/images/btn_scolse.gif deleted file mode 100644 index 88533f9ac32d9a1fb08d10d9760b652cd7f4f10b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_scolse.gif and /dev/null differ diff --git a/src/main/webapp/images/btn_sopen.gif b/src/main/webapp/images/btn_sopen.gif deleted file mode 100644 index 9d7408e0a088a7dfc5a7e02ef069d7d530b187a8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/btn_sopen.gif and /dev/null differ diff --git a/src/main/webapp/images/butterfly.jpg b/src/main/webapp/images/butterfly.jpg deleted file mode 100644 index 64ba6b03027197696d22f3c314392a4bae8dde53..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/butterfly.jpg and /dev/null differ diff --git a/src/main/webapp/images/categories.png b/src/main/webapp/images/categories.png deleted file mode 100644 index f829b6ba1bce30d23ce6e6af6ebe0fe2e1b61712..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/categories.png and /dev/null differ diff --git a/src/main/webapp/images/chart_bar.png b/src/main/webapp/images/chart_bar.png deleted file mode 100644 index 2cec9fd81d342bf9462fc82be245ce8fe90571bd..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/chart_bar.png and /dev/null differ diff --git a/src/main/webapp/images/clock.png b/src/main/webapp/images/clock.png deleted file mode 100644 index e2672c20676177efb2fdea593b8f000fd5f12342..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/clock.png and /dev/null differ diff --git a/src/main/webapp/images/comment.png b/src/main/webapp/images/comment.png deleted file mode 100644 index 296b830934f94120f7d623532272b9bc1cc834a5..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/comment.png and /dev/null differ diff --git a/src/main/webapp/images/computer.png b/src/main/webapp/images/computer.png deleted file mode 100644 index 283355814e64c04fbc49a5e72fbdc7f193d0eeeb..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/computer.png and /dev/null differ diff --git a/src/main/webapp/images/contacts.png b/src/main/webapp/images/contacts.png deleted file mode 100644 index 2470bbc357f351e449182f3f47e9c2372b348364..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/contacts.png and /dev/null differ diff --git a/src/main/webapp/images/date_packer.gif b/src/main/webapp/images/date_packer.gif deleted file mode 100644 index 3ee595139da7bd9ed28bf9e46969d86df656becf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/date_packer.gif and /dev/null differ diff --git a/src/main/webapp/images/draw1.jpg b/src/main/webapp/images/draw1.jpg deleted file mode 100644 index 78355c801d91916e207132532c7218f374666337..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/draw1.jpg and /dev/null differ diff --git a/src/main/webapp/images/draw2.jpg b/src/main/webapp/images/draw2.jpg deleted file mode 100644 index 07d8cfab11ec2870ffa6a00ee65f4af40450e03b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/draw2.jpg and /dev/null differ diff --git a/src/main/webapp/images/draw3.jpg b/src/main/webapp/images/draw3.jpg deleted file mode 100644 index a721aee12e6121ac5c2f0e862dd15d31557aa77a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/draw3.jpg and /dev/null differ diff --git a/src/main/webapp/images/draw4.jpg b/src/main/webapp/images/draw4.jpg deleted file mode 100644 index 64a22ea2879203110368bc22c620e959f4b8bcf6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/draw4.jpg and /dev/null differ diff --git a/src/main/webapp/images/edit_kiii.png b/src/main/webapp/images/edit_kiii.png deleted file mode 100644 index 8d6df43b12d63c7c1f60a0030f7183de243f84c8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_kiii.png and /dev/null differ diff --git a/src/main/webapp/images/edit_lock.png b/src/main/webapp/images/edit_lock.png deleted file mode 100644 index b5de7c4d78ab421dae924f39bd668a3ed7e7a056..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_lock.png and /dev/null differ diff --git a/src/main/webapp/images/edit_lockon.png b/src/main/webapp/images/edit_lockon.png deleted file mode 100644 index 5c4180e967e7e00d05a8f3ab686eedd1db43059a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_lockon.png and /dev/null differ diff --git a/src/main/webapp/images/edit_monitor.png b/src/main/webapp/images/edit_monitor.png deleted file mode 100644 index 491a82b82a9a78ce28a72b3fefcd652b766c1829..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_monitor.png and /dev/null differ diff --git a/src/main/webapp/images/edit_notebook.png b/src/main/webapp/images/edit_notebook.png deleted file mode 100644 index d99cfe9d1ba4ccb0638a8214208edeca61f2467c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_notebook.png and /dev/null differ diff --git a/src/main/webapp/images/edit_pencil.png b/src/main/webapp/images/edit_pencil.png deleted file mode 100644 index 8cbc274630d0deb2cb06e6116c9e7df5d497d5b7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_pencil.png and /dev/null differ diff --git a/src/main/webapp/images/edit_set.png b/src/main/webapp/images/edit_set.png deleted file mode 100644 index 9b2443980e12cf1405be8e2e8c2fa69066f73347..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_set.png and /dev/null differ diff --git a/src/main/webapp/images/edit_time.gif b/src/main/webapp/images/edit_time.gif deleted file mode 100644 index bb2f0746d520fa8034671d06bc4f20bc0100004c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/edit_time.gif and /dev/null differ diff --git a/src/main/webapp/images/evernote-alt.png b/src/main/webapp/images/evernote-alt.png deleted file mode 100644 index 9cb455ecc22c2398f5de2843b758b0b9f9db374c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/evernote-alt.png and /dev/null differ diff --git a/src/main/webapp/images/favicon.ico b/src/main/webapp/images/favicon.ico deleted file mode 100644 index 0cea3f1b670357bf419efc21151a1052d56cdcd3..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/favicon.ico and /dev/null differ diff --git a/src/main/webapp/images/favicon.ico.bak b/src/main/webapp/images/favicon.ico.bak deleted file mode 100644 index 7388651f97c6bf98dc8f168cbb9d87cffaafade6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/favicon.ico.bak and /dev/null differ diff --git a/src/main/webapp/images/house.png b/src/main/webapp/images/house.png deleted file mode 100644 index 8df234ff82e40f63a888215be77212372b9c5699..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/house.png and /dev/null differ diff --git a/src/main/webapp/images/imac.png b/src/main/webapp/images/imac.png deleted file mode 100644 index f3c95abc836722c7029df2cae19e97dcc3d6a881..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/imac.png and /dev/null differ diff --git a/src/main/webapp/images/loading1.gif b/src/main/webapp/images/loading1.gif deleted file mode 100644 index 788f9921000a75115ca99d858476eb2a89d30ba5..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/loading1.gif and /dev/null differ diff --git a/src/main/webapp/images/lock_unlock.png b/src/main/webapp/images/lock_unlock.png deleted file mode 100644 index 535dc1dd955d0dd0c7cec9f2609ca4791eebf7eb..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/lock_unlock.png and /dev/null differ diff --git a/src/main/webapp/images/login_tip.jpg b/src/main/webapp/images/login_tip.jpg deleted file mode 100644 index a41eb2d1d13e3c1e5842563cd753d9ae1d4e6678..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/login_tip.jpg and /dev/null differ diff --git a/src/main/webapp/images/logo.jpg b/src/main/webapp/images/logo.jpg deleted file mode 100644 index 9eecd705711f73fe6d5a2c0439c4e0ed58644a37..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/logo.jpg and /dev/null differ diff --git a/src/main/webapp/images/logo.png b/src/main/webapp/images/logo.png deleted file mode 100644 index a2cd73f286231bf39193621fc2008bc65ebc73df..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/logo.png and /dev/null differ diff --git a/src/main/webapp/images/man.png b/src/main/webapp/images/man.png deleted file mode 100644 index 66ded5d5d952dca2c5f87b8c411f67d3cd1f6940..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/man.png and /dev/null differ diff --git a/src/main/webapp/images/navtop_home.gif b/src/main/webapp/images/navtop_home.gif deleted file mode 100644 index 1a8657012b841f6f502c5f1807b761ba12ecead6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/navtop_home.gif and /dev/null differ diff --git a/src/main/webapp/images/navtop_logout.gif b/src/main/webapp/images/navtop_logout.gif deleted file mode 100644 index eaa8c2865994e3d2c2b8c392a123d25192a8c1ea..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/navtop_logout.gif and /dev/null differ diff --git a/src/main/webapp/images/preferences1.png b/src/main/webapp/images/preferences1.png deleted file mode 100644 index 39b9a2ca2dc50c74b465f15e18ae6698e6c8a886..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/preferences1.png and /dev/null differ diff --git a/src/main/webapp/images/receipt-excel.png b/src/main/webapp/images/receipt-excel.png deleted file mode 100644 index e36dfc3186a38a5d0693ba9db7b9cb6fb04f837a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/receipt-excel.png and /dev/null differ diff --git a/src/main/webapp/images/suma_logo.png b/src/main/webapp/images/suma_logo.png deleted file mode 100644 index a1c13095550b57ae843a205fc7f9b96efb55e1a9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/suma_logo.png and /dev/null differ diff --git a/src/main/webapp/images/sysetem_name.jpg b/src/main/webapp/images/sysetem_name.jpg deleted file mode 100644 index f1a0dccead9d432bb170b1ab96e41e2ab16a3755..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/sysetem_name.jpg and /dev/null differ diff --git a/src/main/webapp/images/sysetem_name3.jpg b/src/main/webapp/images/sysetem_name3.jpg deleted file mode 100644 index 35b86b12503e00d19bb8b862f427ed57d124ee81..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/sysetem_name3.jpg and /dev/null differ diff --git a/src/main/webapp/images/time.png b/src/main/webapp/images/time.png deleted file mode 100644 index 67176824857edc4734aa45e7c1058ef53b4113f6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/time.png and /dev/null differ diff --git a/src/main/webapp/images/user-red.png b/src/main/webapp/images/user-red.png deleted file mode 100644 index bdd2e4d1f7dbae065a46c4a6c8ba6f41353d3f6a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/user-red.png and /dev/null differ diff --git a/src/main/webapp/images/user.png b/src/main/webapp/images/user.png deleted file mode 100644 index c4b84e2ec8a63baf55e25c2bdefcc23210f0b397..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/user.png and /dev/null differ diff --git a/src/main/webapp/images/user_business_boss.png b/src/main/webapp/images/user_business_boss.png deleted file mode 100644 index 0ac1ddb0864aeb4f05c2a047533063feb672b6ec..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/user_business_boss.png and /dev/null differ diff --git a/src/main/webapp/images/user_suit.png b/src/main/webapp/images/user_suit.png deleted file mode 100644 index bf9321d36b1ff69841b19e9c357e7417661781e8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/user_suit.png and /dev/null differ diff --git a/src/main/webapp/images/valid_code.jpg b/src/main/webapp/images/valid_code.jpg deleted file mode 100644 index 15d8fdf7f99ff52aa75c3a5c3779afe5d833d1d7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/valid_code.jpg and /dev/null differ diff --git a/src/main/webapp/images/vavtop_help.gif b/src/main/webapp/images/vavtop_help.gif deleted file mode 100644 index 85accc6fb6281bb3a4a21128f133018078f87bd1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/vavtop_help.gif and /dev/null differ diff --git a/src/main/webapp/images/windvane.png b/src/main/webapp/images/windvane.png deleted file mode 100644 index a49441db803524026d85ac7d5f70f328585036d9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/images/windvane.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/favicon.ico b/src/main/webapp/js/HoorayOS_mini/favicon.ico deleted file mode 100644 index c013eaf3c2395b72fbab025c9198041393a81144..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/favicon.ico and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/box.psd b/src/main/webapp/js/HoorayOS_mini/img/box.psd deleted file mode 100644 index 6067aeb0b64c29b0a9457ef052d1caafc17602e2..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/box.psd and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/exit.png b/src/main/webapp/js/HoorayOS_mini/img/exit.png deleted file mode 100644 index 7b45dd86b74c09239e5806e193650cb0eeee541c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/exit.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/18-6.png b/src/main/webapp/js/HoorayOS_mini/img/ui/18-6.png deleted file mode 100644 index d2315b2309757ce1820ddb8e27eb7ebe46b93e56..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/18-6.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/6-18.png b/src/main/webapp/js/HoorayOS_mini/img/ui/6-18.png deleted file mode 100644 index 8f95ff3c0cdcf52ee6940db1b96584756ac3dd27..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/6-18.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_1.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_1.png deleted file mode 100644 index c44c3dbfcbaa79524c0cd8dd42a94ec6958be155..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_1.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_2.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_2.png deleted file mode 100644 index b801c2695da2209362e049c6b83e691718283b9a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_2.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_3.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_3.png deleted file mode 100644 index 6a850d067a9dfe15b3a9722347a6f519fee4bca1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_3.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_4.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_4.png deleted file mode 100644 index 2bf07727b1dd86c90de3e4681efd6e4979505b26..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_4.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_5.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_5.png deleted file mode 100644 index a4ce9df4175ef9624e6e8f2b37d1e28d41936e8d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_5.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_body.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_body.png deleted file mode 100644 index 4c8f073a3af271cc6cd082d9d1ee2f5e4895c69e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_body.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_line_y.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_line_y.png deleted file mode 100644 index 39b5ff84bec9ae39698907b304d081dd32f92202..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_line_y.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_shortcut_hover.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_shortcut_hover.png deleted file mode 100644 index 3ad1cf568bac652c86e62c528ccb258bcd987e04..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_shortcut_hover.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_top.png b/src/main/webapp/js/HoorayOS_mini/img/ui/amg_top.png deleted file mode 100644 index 659db57650bbdec4028a3f6da48094d2e654611e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/amg_top.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/app_list.png b/src/main/webapp/js/HoorayOS_mini/img/ui/app_list.png deleted file mode 100644 index ea5babdfb0a98c446ce80dad1b14b181b800bbc0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/app_list.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/app_spr_img.png b/src/main/webapp/js/HoorayOS_mini/img/ui/app_spr_img.png deleted file mode 100644 index ebe31271db1f140eb57e3840591e5570f293a282..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/app_spr_img.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/app_spr_x.png b/src/main/webapp/js/HoorayOS_mini/img/ui/app_spr_x.png deleted file mode 100644 index 5d3a7e3fe8aec3d9242e193a5d9438186c6c991b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/app_spr_x.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_120.jpg b/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_120.jpg deleted file mode 100644 index fe790abaf11f8bcc35a9bd09dc8073298bab8e87..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_120.jpg and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_24.jpg b/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_24.jpg deleted file mode 100644 index 7726e5c43bb01bf36d018169f9a68745d9a31d2e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_24.jpg and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_48.jpg b/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_48.jpg deleted file mode 100644 index 0a393fa774caaef8260b8ee5161368a107777e44..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/avatar_48.jpg and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/bought-table.png b/src/main/webapp/js/HoorayOS_mini/img/ui/bought-table.png deleted file mode 100644 index 144c3c504b02fa536cf93062d3c3a2a6658bbd87..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/bought-table.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/browser.png b/src/main/webapp/js/HoorayOS_mini/img/ui/browser.png deleted file mode 100644 index 07654920adcb15c4b133efcf342c6ddbb3d2fa76..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/browser.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/browser_backup.png b/src/main/webapp/js/HoorayOS_mini/img/ui/browser_backup.png deleted file mode 100644 index b54329557cbfa7a6d514fb641bd662ea18106b3c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/browser_backup.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/commend_day.gif b/src/main/webapp/js/HoorayOS_mini/img/ui/commend_day.gif deleted file mode 100644 index 39ff71655151e65f85d072adb34118528ac60bd4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/commend_day.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/default_icon.png b/src/main/webapp/js/HoorayOS_mini/img/ui/default_icon.png deleted file mode 100644 index f7edb5d7d780b8d5e80c5c960fe73c571535481c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/default_icon.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/desk_sprite.png b/src/main/webapp/js/HoorayOS_mini/img/ui/desk_sprite.png deleted file mode 100644 index f7c85a44a56ef828c68e37dbe875ace6f028fe29..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/desk_sprite.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/dock-tools.png b/src/main/webapp/js/HoorayOS_mini/img/ui/dock-tools.png deleted file mode 100644 index 4096ceeaea7ebafddc407bc02c7232f1415d0cfa..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/dock-tools.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/dock_setting.jpg b/src/main/webapp/js/HoorayOS_mini/img/ui/dock_setting.jpg deleted file mode 100644 index 33c64ddb81d568ab305cb9f578327b551d831428..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/dock_setting.jpg and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_default.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_default.png deleted file mode 100644 index 772a8d295b7f77082f2e7ab4c507c9d1610f24f3..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_default.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_excel.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_excel.png deleted file mode 100644 index eb64738645b5a8f877e2e379435c288e333b4b60..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_excel.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_image.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_image.png deleted file mode 100644 index d680ba6d42a16567ace874e5ee507151106adce5..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_image.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_music.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_music.png deleted file mode 100644 index ec4fc46fe942d2da11a91e755e7f6518fdd084a6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_music.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_pdf.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_pdf.png deleted file mode 100644 index 57833e269e00b395f5dad30b0306f6a44ddeda33..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_pdf.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_ppt.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_ppt.png deleted file mode 100644 index 8d98a96b9347008bacda26b779451d645e6621cc..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_ppt.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_rar.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_rar.png deleted file mode 100644 index 37c6cd92bbc1edc733156de5747f3fc55a30e247..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_rar.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_txt.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_txt.png deleted file mode 100644 index ef0f1a72e0f6c0ab8b84d834277831ee90ad6ec6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_txt.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_video.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_video.png deleted file mode 100644 index 4fbc80928fb5159713b5ea45a9ef8b39c353308b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_video.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/file_word.png b/src/main/webapp/js/HoorayOS_mini/img/ui/file_word.png deleted file mode 100644 index 20c2de9c9fd5a6a9d65cc18d75265b03fd906f8e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/file_word.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_default.png b/src/main/webapp/js/HoorayOS_mini/img/ui/folder_default.png deleted file mode 100644 index a1dacdbbaad8c3c8d73688aa528d86dd04fa6ce3..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_default.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_doc.png b/src/main/webapp/js/HoorayOS_mini/img/ui/folder_doc.png deleted file mode 100644 index 0f3559f04b68c0f787ec744652f198bfc748a8e6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_doc.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_game.png b/src/main/webapp/js/HoorayOS_mini/img/ui/folder_game.png deleted file mode 100644 index ff42043bafdccd96ee6eb8e43021b05faf007184..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_game.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_life.png b/src/main/webapp/js/HoorayOS_mini/img/ui/folder_life.png deleted file mode 100644 index 28993212d8a38b2124b4b006c94e33f5ba50c276..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_life.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_music.png b/src/main/webapp/js/HoorayOS_mini/img/ui/folder_music.png deleted file mode 100644 index 5e4c15d487eb4c7f4600fe903617f2d65af63aea..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_music.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_tool.png b/src/main/webapp/js/HoorayOS_mini/img/ui/folder_tool.png deleted file mode 100644 index 661c26afe7c32440fbde37f24daee5972fce5d6d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_tool.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_video.png b/src/main/webapp/js/HoorayOS_mini/img/ui/folder_video.png deleted file mode 100644 index fa2358e94a5bada3a2a3b9b8fc2318bf7bcb18b2..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/folder_video.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/forder_selector.png b/src/main/webapp/js/HoorayOS_mini/img/ui/forder_selector.png deleted file mode 100644 index 47707a9ca0ce916c761368d244ce506688be69f8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/forder_selector.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/globle.css b/src/main/webapp/js/HoorayOS_mini/img/ui/globle.css deleted file mode 100644 index 042de4929e89b0571ef1e55f41fb400f591ff220..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/img/ui/globle.css +++ /dev/null @@ -1,8 +0,0 @@ -::selection{background:#99cc00;color:white /* Safari */} -::-moz-selection{background:#99cc00;color:white /* Firefox */} - -/*webkit滚动条样式*/ -::-webkit-scrollbar-track-piece{background-color:#f5f5f5;border-left:1px solid #d2d2d2} -::-webkit-scrollbar{width:13px;height:13px} -::-webkit-scrollbar-thumb{background-color:#c2c2c2;background-clip:padding-box;border:1px solid #979797;min-height:28px} -::-webkit-scrollbar-thumb:hover{border:1px solid #636363;background-color:#929292} \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/google_ui_sprite.png b/src/main/webapp/js/HoorayOS_mini/img/ui/google_ui_sprite.png deleted file mode 100644 index 7f137dfa2f327f86b3ab849e7b66ab8e6ee4df72..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/google_ui_sprite.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/icon_main.png b/src/main/webapp/js/HoorayOS_mini/img/ui/icon_main.png deleted file mode 100644 index 3914acad08eec6ffa5a51ec9080ce50dec77b3a1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/icon_main.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/index.css b/src/main/webapp/js/HoorayOS_mini/img/ui/index.css deleted file mode 100644 index 64b85d7aaa315377213d4d307f55d2d7cde17f5c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/img/ui/index.css +++ /dev/null @@ -1,209 +0,0 @@ -*{margin:0;padding:0} -form,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,p{list-style:none outside none} -a{text-decoration:none;color:#ccc;outline:none} -a:hover{text-decoration:none} -a img{border:none} -.fr{float:right} -.fl{float:left} -.disn{display:none} - -/*webkit滚动条样式*/ -::-webkit-scrollbar-track-piece{background-color:#f5f5f5;border-left:1px solid #d2d2d2} -::-webkit-scrollbar{width:13px;height:13px} -::-webkit-scrollbar-thumb{background-color:#c2c2c2;background-clip:padding-box;border:1px solid #979797;min-height:28px} -::-webkit-scrollbar-thumb:hover{border:1px solid #636363;background-color:#929292} - -html{height:100%;overflow:hidden} -body{font:12px/1.8 'Segoe UI','微软雅黑',sans-serif;-moz-user-select:none;-webkit-user-select:none;user-select:none} -#desktop{position:absolute;z-index:1;width:100%;height:100%;display:none} -#accessory_zoom{position:absolute} - -/*浏览器缩放提示*/ -#zoom-tip{display:none;width:100%;background:#FEF8E3;position:relative;z-index:99} -#zoom-tip div{width:960px;height:50px;line-height:50px;font-size:14px;margin:0 auto;color:#984B12;position:relative} -#zoom-tip div i{width:27px;height:27px;background:url(warning.png) no-repeat;position:absolute;top:12px} -#zoom-tip div span{padding-left:30px} -#zoom-tip .close{font-size:6px;position:absolute;right:10px;top:6px;text-decoration:none} - -/** - * 浏览器升级提示 - * 5个浏览器图片为MorchaDesign版权所有,本项目使用已得到官方授权 - * 9 Browsers Icons Designed by Morcha Design - * http://www.morcha.net/post/46.html - */ -.update_browser_box{display:none;background:url(loginbg.png) repeat;position:absolute;z-index:9998;top:0;left:0;width:100%;height:100%;_height:expression(eval(document.documentElement.scrollTop+document.documentElement.clientHeight))} -.update_browser{width:640px;height:350px;position:absolute;left:50%;top:50%;margin-left:-320px;margin-top:-175px} -.update_browser .subtitle{width:640px;height:36px;line-height:18px;font-size:14px;color:#777} -.update_browser .title{width:640px;height:106px;line-height:96px;font-size:48px;text-align:center;color:#009AD9} -.update_browser .title span{font-size:60px;color:#F33} -.update_browser .browser{background:url(browser.png) no-repeat;width:640px;height:128px;overflow:hidden} -.update_browser .browser a{display:block;width:128px;height:128px;float:left;text-indent:-999em} -.update_browser .bottomtitle{width:640px;height:78px;line-height:78px;text-align:center;font-size:14px;color:#777} -.update_browser .bottomtitle a{color:#777} -.update_browser .bottomtitle a:hover{color:#999} - -/*遮罩层*/ -#maskbox{z-index:9000000;display:none;cursor:default;background:none;width:100%;height:100%;position:absolute;top:0;left:0} - -/*图标*/ -.appbtn, -#shortcut_shadow{width:86px;height:88px;text-align:center;position:absolute;z-index:0;cursor:pointer} -.appbtn:hover{background:url(desk_sprite.png) no-repeat -250px -100px} -.appbtn div{cursor:pointer;height:48px;width:48px;overflow:hidden;position:relative;margin:0 auto;margin-top:6px} -#shortcut_shadow, -#shortcut_shadow2{z-index:9999999;display:none} -.appbtn img, -#shortcut_shadow img{border-radius:3px 3px 3px 3px;display:block;height:48px;width:48px;margin:auto} -#shortcut_shadow img, -#shortcut_shadow span, -#shortcut_shadow2 img, -#shortcut_shadow2 span{filter:alpha(opacity=50);opacity:0.5} -.appbtn span, -#shortcut_shadow span{background:none repeat scroll 0 0 rgba(0, 0, 0, 0.3);border-radius:10px 10px 10px 10px;filter:none;color:#fff;display:inline-block;max-width:60px;height:20px;line-height:20px;margin-top:8px;overflow:hidden;padding:0 8px;position:relative;text-align:center;text-overflow:ellipsis;white-space:nowrap;z-index:1;filter:progid:DXImageTransform.Microsoft.AlphaImageLoader(src='img/ui/shortcut_text.png', sizingMethod='scale')} - -/*桌面*/ -#desk{position:absolute;z-index:1;top:0;bottom:30px;left:0;right:0;width:100%;height:100%;overflow:hidden} -#desk .desktop-container{width:100%;height:100%;overflow:hidden;position:absolute} -#desk .desktop-container .scrollbar{position:absolute;z-index:2;background:#ccc;display:none;-moz-border-radius:5px;-khtml-border-radius:5px;-webkit-border-radius:5px;border-radius:5px} -#desk .desktop-container .scrollbar:hover{background:#999} -#desk .desktop-container .scrollbar-x{bottom:0;height:10px} -#desk .desktop-container .scrollbar-y{right:0;width:10px} -#desk .desktop-container i.addicon{display:block;margin:auto;width:50px;height:50px;margin-top:5px;background:url(desk_sprite.png) no-repeat -420px -100px;cursor:pointer} - -/*窗口*/ -.window-container{position:absolute;background:#ccc;border:1px solid #000} -/*当前窗口*/ -.window-current{background:#fff} -/*最大化窗口*/ -.window-maximize{border:none !important} -/*标题*/ -.title-bar{position:relative;z-index:1;height:30px;line-height:30px;overflow:hidden;cursor:default;background:#ccc} -/*当前窗口标题*/ -.window-current .title-bar{background:#fff} -/*标题图标*/ -.title-bar .icon{position:absolute;top:7px;left:7px;width:16px;height:16px} -/*标题文字*/ -.title-bar .title{display:inline-block;width:100%;text-align:center;color:#000;font-size:14px} -/*窗口右上角操作按钮*/ -.title-handle{position:absolute;z-index:1;top:4px;right:4px;font-size:0;cursor:pointer} -.title-handle a{position:relative;text-decoration:none;letter-spacing:normal;text-align:center;display:inline-block;*display:inline;zoom:1;vertical-align:top;font-family:tahoma,arial,\5b8b\4f53,sans-serif;color:#000;font-size:22px;width:22px;height:22px;line-height:22px} -.title-handle a b{display:block;position:absolute;overflow:hidden;cursor:pointer} -.title-handle .ha-close{} -.title-handle .ha-close:hover{color:#03F} -.title-handle .ha-fullscreen{} -.title-handle .ha-fullscreen:hover{color:#03F} -.title-handle .ha-max .max-b{top:6px;left:4px;width:10px;height:5px;border:2px solid #000;border-top-width:4px} -.title-handle .ha-max:hover .max-b{border-color:#03F} -.title-handle .ha-revert .revert-b{top:5px;left:6px;width:8px;height:4px;border:2px solid #000;border-top-width:3px} -.title-handle .ha-revert .revert-t{top:9px;left:3px;width:8px;height:4px;border:2px solid #000;border-top-width:3px;background:#fff} -.title-handle .ha-revert:hover .revert-b, -.title-handle .ha-revert:hover .revert-t{border-color:#03F} -.title-handle .ha-hide .hide-b{top:12px;left:5px;width:12px;height:2px;border-bottom:2px solid #000} -.title-handle .ha-hide:hover .hide-b{border-color:#03F} -/*窗口内部iframe*/ -.window-frame{position:absolute;top:30px;right:0;bottom:0;left:0;background:#fff;border-top:1px solid #000} -*html .window-frame{ - height:expression((function(el){ - el.style.height=el.parentNode.clientHeight-30+"px"; - })(this)); -} -.window-frame iframe{position:absolute;border:0;height:100%;width:100%;top:0;bottom:0;left:0;right:0} -/*遮罩层*/ -.window-mask{position:absolute;z-index:9998;height:100%;width:100%;display:none;overflow:hidden;background:url(window_mask_bg.png) repeat-x} -.window-mask div{width:100%;text-align:center;margin-top:20px} -.window-mask .maskbg{margin-top:70px;height:75px;background:url(window_mask_icon.png) no-repeat center} -.window-loading{position:absolute;z-index:9999;width:100%;height:100%;background:#fff url(loading_48.gif) center center no-repeat} -.window-mask-noflash{background:none;filter:alpha(opacity=0);-moz-opacity:0;opacity:0;} -.window-resize{position:absolute;overflow:hidden;background:url(transparent.gif) repeat;display:block} -.window-resize-t{left:0;top:-8px;width:100%;height:10px;z-index:1;cursor:n-resize} -.window-resize-r{right:-8px;top:0;width:10px;height:100%;z-index:1;cursor:e-resize} -.window-resize-b{left:0;bottom:-8px;width:100%;height:10px;z-index:1;cursor:s-resize} -.window-resize-l{left:-8px;top:0;width:10px;height:100%;z-index:1;cursor:w-resize} -.window-resize-rt{right:-8px;top:-8px;width:10px;height:10px;z-index:2;cursor:ne-resize} -.window-resize-rb{right:-8px;bottom:-8px;width:10px;height:10px;z-index:2;cursor:se-resize} -.window-resize-lt{left:-8px;top:-8px;width:10px;height:10px;z-index:2;cursor:nw-resize} -.window-resize-lb{left:-8px;bottom:-8px;width:10px;height:10px;z-index:2;cursor:sw-resize} - -/*小挂件*/ -.widget{position:absolute} -.widget .move{width:100%;height:29px;background:url(widget_title_bg.png) repeat-x;cursor:move;border-radius:5px;display:none} -.widget:hover .move{display:block} -.widget a{position:absolute;display:none;top:4px;width:21px;height:21px;background:url(desk_sprite.png) no-repeat} -.widget:hover a{display:block} -.widget a.ha-close{right:5px;background-position:-350px -500px} -.widget a.ha-close:hover{background-position:-380px -500px} -.widget a.ha-star{right:30px;background-position:-350px -560px} -.widget a.ha-star:hover{background-position:-380px -560px} -.widget a.ha-share{right:55px;background-position:-350px -530px} -.widget a.ha-share:hover{background-position:-380px -530px} -.widget .frame{position:absolute;top:30px;bottom:0;left:0;right:0} -.widget .frame iframe{position:absolute;top:0;left:0;width:100%;height:100%} - -/*应用码头*/ -#dock-bar{position:absolute;display:none} -.top-bar{width:100%;height:73px;left:0;top:0} -.left-bar{width:73px;height:100%;left:0;top:0} -.right-bar{width:73px;height:100%;right:0;top:0} -#dock-container{position:absolute} -.dock-middle{background:url(desk_sprite.png) no-repeat 0 0} -.dock-left{width:73px;height:523px;top:50%;left:0;margin:-261px 0 0 0} -.dock-left .dock-middle{height:513px;padding-top:10px;background-position:0 -100px} -#dock-container .appbtn{width:58px;height:58px} -#dock-container .appbtn:hover{background:url(desk_sprite.png) no-repeat -350px -100px} -#dock-container .appbtn span{display:none} -.dock-applist{position:relative} -.dock-left .dock-applist{width:70px;height:443px;float:left;margin-top:3px;margin-left:3px} -.dock-left .dock-toollist{margin-left:5px;margin-top:8px;width:73px;height:60px;float:left;overflow:hidden} -.dock-toollist a{float:left;display:block;width:20px;height:20px;cursor:pointer;margin:0 6px 8px 3px} -.dock-toollist a img{width:20px;height:20px;border:none} - -.dock-top .dock-applist .appbtn{margin-top:1px} -.dock-left .dock-applist .appbtn{margin-left:1px} -.dock-right .dock-applist .appbtn{margin-left:3px} - -/*任务栏*/ -#task-bar-bg1{width:100%;height:130px;position:absolute;z-index:-1;bottom:0;background:url(task_bg1.png) repeat-x} -#task-bar-bg2{width:100%;height:64px;position:absolute;z-index:-1;bottom:0;background:url(task_bg2.png) repeat-x 0 41px} -#task-bar{height:64px;position:absolute;bottom:0;right:0} -#task-bar.min-zIndex{z-index:-1} -#task-next, -#task-pre{width:54px;height:100%;float:right;margin:0 1px;overflow:hidden;display:none} -#task-next{position:relative;z-index:9990;background:url(desk_sprite.png) no-repeat -200px -264px} -#task-next a{display:block;width:45px;height:35px;margin-top:20px;margin-left:15px;background:url(desk_sprite.png) no-repeat -265px -450px;cursor:pointer} -#task-next a:hover{background-position:-265px -402px} -#task-next a.disable{background-position:-265px -497px;cursor:default} -#task-pre{position:relative;z-index:9990;background:url(desk_sprite.png) no-repeat -350px -195px} -#task-pre a{display:block;width:20px;height:35px;margin-top:20px;margin-left:17px;background:url(desk_sprite.png) no-repeat -215px -450px;cursor:pointer} -#task-pre a:hover{background-position:-215px -402px} -#task-pre a.disable{background-position:-215px -497px;cursor:default} -#task-content{height:64px;float:right;overflow:hidden} -#task-content-inner{height:100%;float:right} -#task-content-inner.fl{float:left} -.task-item{position:relative;z-index:9990;display:block;width:112px;height:100%;float:right;margin:0 1px;vertical-align:middle;overflow:hidden;cursor:pointer;background:url(desk_sprite.png) no-repeat -200px -200px} -.task-item:hover{background-position:-200px -328px} -.task-item-current{background-position:-200px -264px} -.task-item-icon{width:32px;height:32px;margin:22px 5px;float:left} -.task-item-icon img{width:32px;height:32px;float:left} -.task-item-txt{width:70px;height:36px;line-height:36px;margin-top:27px;color:#fff;float:left;overflow:hidden} - -/*右键菜单*/ -.popup-menu{background:url(popup_menu.gif) repeat-y scroll 0 0 #FFFFFF;border:1px solid #AEAEAE;box-shadow:0 0 6px rgba(0, 0, 0, 0.4);position:absolute;width:125px} -.popup-menu ul{padding:1px;position:relative} -.popup-menu li{height:24px;position:relative;vertical-align:middle} -.popup-menu a{background-position:100px 100px;border-radius:2px 2px 2px 2px;color:#333333;display:block;height:24px;line-height:24px;overflow:hidden;padding-left:35px} -.popup-menu a:hover, -.popup-menu a.focus{background-color:#3B7CE6;background-position:0 -780px;color:#FFFFFF;text-decoration:none} -.popup-menu a.disabled, -.popup-menu a.disabled:hover{background-color:transparent;background-position:100px 100px;color:#ccc} -.popup-menu b{position:absolute;top:4px;left:5px;height:16px;width:16px;background:url(icon_main.png) no-repeat} -.popup-menu .arrow{background:none;top:0;left:108px;height:20px;line-height:20px;font-size:14px} -.popup-menu .folder{background-position:0 0} -.popup-menu .edit{background-position:0 -16px} -.popup-menu .setting{background-position:0 -32px} -.popup-menu .themes{background-position:0 -48px} -.popup-menu .hook{background-position:0 -64px;display:none} -.popup-menu .refresh{background-position:0 -80px} -.popup-menu .uninstall{background-position:0 -96px} -.popup-menu .del{background-position:0 -112px} -.popup-menu .upload{background-position:0 -128px} -.popup-menu .customapp{background-position:0 -144px} \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/input-label.png b/src/main/webapp/js/HoorayOS_mini/img/ui/input-label.png deleted file mode 100644 index 9f2943f844467319cc70e3b4d5ae077d6f312e19..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/input-label.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/loading_16.gif b/src/main/webapp/js/HoorayOS_mini/img/ui/loading_16.gif deleted file mode 100644 index 5b33f7e54f4e55b6b8774d86d96895db9af044b4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/loading_16.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/loading_24.gif b/src/main/webapp/js/HoorayOS_mini/img/ui/loading_24.gif deleted file mode 100644 index 0393133bc994043d7a3b27f3758c12e45eefb401..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/loading_24.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/loading_48.gif b/src/main/webapp/js/HoorayOS_mini/img/ui/loading_48.gif deleted file mode 100644 index a2eae442eaf4a079b5e304c968dc37453b618bff..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/loading_48.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/login_icon.png b/src/main/webapp/js/HoorayOS_mini/img/ui/login_icon.png deleted file mode 100644 index ce3814b93d4a891b3eaa0c30be173dfed348de4b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/login_icon.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/loginbg.png b/src/main/webapp/js/HoorayOS_mini/img/ui/loginbg.png deleted file mode 100644 index ae4fe07d19ee6bad0588616c6504b70e1dba3f4a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/loginbg.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/loginsubmit.png b/src/main/webapp/js/HoorayOS_mini/img/ui/loginsubmit.png deleted file mode 100644 index 121fc90bf98dd949eea309527f8a1512273dd919..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/loginsubmit.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/nav_bar.png b/src/main/webapp/js/HoorayOS_mini/img/ui/nav_bar.png deleted file mode 100644 index 26491baa1ab75f4807eb3066c7ab0fe240efc810..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/nav_bar.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/open.png b/src/main/webapp/js/HoorayOS_mini/img/ui/open.png deleted file mode 100644 index c8660229e80de9a38e3b33c72d05097ba8409d89..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/open.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/papp.png b/src/main/webapp/js/HoorayOS_mini/img/ui/papp.png deleted file mode 100644 index 005cd632c7b4ddd2bf92461ffe792a270d43968a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/papp.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/popup_menu.gif b/src/main/webapp/js/HoorayOS_mini/img/ui/popup_menu.gif deleted file mode 100644 index 4ee2a503db98d6b3d207aef91d374f6de799d998..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/popup_menu.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/quick_view.png b/src/main/webapp/js/HoorayOS_mini/img/ui/quick_view.png deleted file mode 100644 index f4fee3298ca91490c0aafbc55f2465eb50362e62..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/quick_view.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/scrollbar_bg.png b/src/main/webapp/js/HoorayOS_mini/img/ui/scrollbar_bg.png deleted file mode 100644 index 87d0a07fb71244668124fc89713340f9ca513c4a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/scrollbar_bg.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/scrollbar_bgy.png b/src/main/webapp/js/HoorayOS_mini/img/ui/scrollbar_bgy.png deleted file mode 100644 index bffd2bc4eb7806b6618744ebc876522c5716e2a2..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/scrollbar_bgy.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/selected.gif b/src/main/webapp/js/HoorayOS_mini/img/ui/selected.gif deleted file mode 100644 index 8659cc21ced2c1ff40ea0fc124754b23d52db815..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/selected.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/selected.png b/src/main/webapp/js/HoorayOS_mini/img/ui/selected.png deleted file mode 100644 index c78d40bf9f7275c9a463a27bb871abba0d3e935a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/selected.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/share_icon.png b/src/main/webapp/js/HoorayOS_mini/img/ui/share_icon.png deleted file mode 100644 index b502127091d0ddba37cd8d582467d6d36f291505..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/share_icon.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/shortcut_text.png b/src/main/webapp/js/HoorayOS_mini/img/ui/shortcut_text.png deleted file mode 100644 index 5d35cdcf1391b6ae5daf1f8ee475a9bdc27f615c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/shortcut_text.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/spr_x.png b/src/main/webapp/js/HoorayOS_mini/img/ui/spr_x.png deleted file mode 100644 index 94a3e7f92b36a5f3275222ff06c9819a8fe72a94..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/spr_x.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/suggess_list_bg.png b/src/main/webapp/js/HoorayOS_mini/img/ui/suggess_list_bg.png deleted file mode 100644 index f5dc2bd31f524922435fe8cc519d3d285c24630c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/suggess_list_bg.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/sys.css b/src/main/webapp/js/HoorayOS_mini/img/ui/sys.css deleted file mode 100644 index ed634ae5aafe8f2f002d95ed3fdfe1772fb0ca11..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/img/ui/sys.css +++ /dev/null @@ -1,246 +0,0 @@ -*{margin:0;padding:0} -form,ul,ol,li,dl,dt,dd,h1,h2,h3,h4,h5,p{list-style:none outside none} -textarea{resize:none;padding:5px} -.fr{float:right} -.fl{float:left} -.disn{display:none} -.breakword{ -white-space: pre; /* CSS 2.0 */ -white-space: pre-wrap; /* CSS 2.1 */ -white-space: pre-line; /* CSS 3.0 */ -white-space: -pre-wrap; /* Opera 4-6 */ -white-space: -o-pre-wrap; /* Opera 7 */ -white-space: -moz-pre-wrap; /* Mozilla */ -white-space: -hp-pre-wrap; /* HP Printers */ -word-wrap: break-word; /* IE 5 */ -} - -body{font:12px/1.8 'Segoe UI','微软雅黑',sans-serif} - -.title{background:url(app_spr_x.png) repeat-x 0 -40px #E6F2FA;border-bottom:1px solid #DDD;padding-left:10px;height:27px;line-height:27px;color:#666;clear:both} -.title{background-image:url(app_spr_x.png);background-repeat:repeat-x;position:relative;height:27px;padding:0 5px;line-height:27px;border-bottom:1px solid #DDD;background-position:0 -40px} -.title b{color:#F60} -.title .btn-back{float:left;margin:4px 5px 0 0} -.title ul{margin:0;position:absolute;top:0;left:-1px;height:28px;overflow:hidden} -.title li{float:left;height:28px;padding:0 10px;line-height:28px} -.title li.focus{padding:0 9px;font-weight:bold;border-left:1px solid #DDD;border-right:1px solid #DDD;background:#FFF;cursor:default} -.title li a{color:#555;cursor:pointer;text-decoration:none} -.title li a:hover{color:#36C} - -.detile-title{padding:10px 0;margin:0;text-indent:15px;border-bottom:2px solid #ddd;font-weight:bold} -.input-label{float:left;width:100%;background:url(input-label.png) repeat-y;padding:10px 0;line-height:28px;border-bottom:1px solid #eee;clear:both} -.input-label .label-text{float:left;padding-right:20px;text-align:right;width:130px;margin-bottom:0;line-height:28px} -.input-label .label-box{margin:0 10px;padding-left:150px} - -/*列表*/ -.list-table{width:100%;border-collapse:collapse} -.list-table .col-name th{font-weight:normal;height:31px;text-align:center;background:url(bought-table.png) repeat-x;border-top:1px solid #c4d5e0;border-bottom:1px solid #c4d5e0;color:black} -.list-table .sep-row{height:7px} -.list-table .toolbar{height:30px;background-color:#F3F3F3} -.list-table .toolbar td{border:1px solid #DEDEE0;border-width:1px 0} -.list-table .list-hd{background:#E8F2FF;color:#404040} -.list-table .list-hd td{border:1px solid #D4E7FF;height:28px;padding-bottom:1px;line-height:28px} -.list-table .list-bd td{padding:8px 5px;overflow:hidden;text-align:center;vertical-align:middle;border:1px solid #D4E7FF;border-left-color:#E6E6E6;border-right-color:#E6E6E6} -.list-table .list-count{font-family:'Courier New',Courier,mono;font-style:italic;font-weight:bold;margin:0 8px 0 5px;font-size:14px} - -/* 壁纸设置 */ -.wallpapertype{width:500px;height:40px;line-height:40px;margin:auto;margin-top:10px} -.wallpaper{width:500px;margin:auto;margin-top:10px} -.wallpaper li{width:150px;height:110px;float:left;margin-right:10px;border:5px solid #fff;background:#fff;cursor:pointer} -.wallpaper li.three{margin-right:0} -.wallpaper li:hover{border-color:#9FF;background:#9FF} -.wallpaper li div{width:150px;height:20px;line-height:20px;text-align:center} -.wapppapercustom{width:500px;margin:auto;margin-top:10px;border:1px solid #ccc} -.wapppapercustom .tip{padding:10px} -.wapppapercustom .view{width:500px;height:250px} -.wapppapercustom .view ul{width:480px;height:230px;line-height:230px;margin:auto;margin-bottom:15px;text-align:center} -.wapppapercustom .view ul li{border:5px solid #fff;overflow:hidden;float:left;width:150px;height:105px;margin:5px 0;position:relative} -.wapppapercustom .view ul li a{display:none;position:absolute;z-index:2;top:-5px;right:-5px;text-decoration:none;width:48px;height:32px;line-height:32px;text-align:center;background-color:#ccc} -.wapppapercustom .view ul li:hover{border-color:#ccc;cursor:pointer} -.wapppapercustom .view ul li:hover a{display:block} -.wapppaperwebsite{width:480px;margin:auto;margin-top:10px;padding:10px;border:1px solid #ccc} - -/* 皮肤设置 */ -.skin{width:550px;margin:auto;margin-top:10px} -.skin li{width:256px;height:156px;margin:0 4px 10px 4px;float:left;border:5px solid #fff;background:#fff;cursor:pointer;position:relative} -.skin li:hover{border-color:#9FF;background:#9FF} -.skin li div{display:none;width:48px;height:48px;background:url(selected.png) no-repeat;position:absolute;right:-15px;bottom:-15px} -.skin li.selected div{display:block} - -/* 应用码头位置设置 */ -.dock_setting{width:710px;margin:auto} -.dock_setting table{width:100%} -.dock_setting .set_top{padding:10px 0 10px 320px} -.dock_setting .set_left{padding:0 5px} -.dock_setting .set_right{padding:0 5px} -.dock_setting .set_view{display:inline;float:left;width:550px;height:280px;background-image:url(dock_setting.jpg)} -.dock_setting .set_view_top{background-position:0 0} -.dock_setting .set_view_left{background-position:0 -280px} -.dock_setting .set_view_right{background-position:0 -560px} - -/* 应用市场 */ -.sub-nav{position:absolute;z-index:2;top:0;bottom:0;left:0;width:60px;height:100%} -.sub-nav ul{position:absolute;width:54px;height:100%;margin:0 0 0 5px} -.sub-nav ul .all{margin-top:5px} -.sub-nav ul .myapps{position:absolute;bottom:10px} -.sub-nav ul li a{padding-right:0;min-width:28px!important} -.sub-nav ul li a:hover, -.sub-nav ul .active a, -.sub-nav ul .active a:hover{background:#EEE} - -.wrap{position:absolute;top:0;right:0;bottom:0;left:60px;_position:relative;_left:0;_height:100%;_margin-left:60px;overflow:auto;background:#EEE} -.mbox{border:1px solid #DDD;background:#FFF} -.app-contents, -.col-main{position:relative;padding:10px;overflow:hidden} -.col-sub{float:right;width:215px;padding:10px 10px 0 0;overflow:hidden} -.app-list-box{height:400px;overflow:hidden} - -.app-list-box .app-list{margin:0;height:324px;overflow:hidden;background:url(app_list.png)} -.app-list-box .app-list li{position:relative;height:54px;padding:6px 0 6px 68px;vertical-align:middle;overflow:hidden} -.app-list-box .app-list li:hover{background:#FBEFCE} -.app-list-box .app-list li a{color:#555;text-decoration:none} -.app-list-box .app-list li a:hover{color:#36C} -.app-list-box .app-list img{position:absolute;top:9px;left:10px;width:48px;height:48px} -.app-list-box .app-list .app-name, -.app-list-box .app-list .app-desc{display:block;width:240px;height:27px;line-height:27px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis} -.app-list-box .app-list .app-name{font-weight:bold} -.app-list-box .app-list .app-desc{color:#999} -.app-list-box .app-list .app-desc b{font-weight:normal} -.btn-add-s, -.btn-run-s, -.btn-remove-s, -.btn-loading-s{display:inline-block;width:24px;height:24px;line-height:20;overflow:hidden;background-position:0 -110px;position:absolute;top:21px;right:20px;background:url(app_spr_img.png) no-repeat} -.btn-add-s{background-position:0 -110px} -.btn-add-s:hover{background-position:-25px -110px} -.btn-add-s:active{background-position:-50px -110px} -.btn-run-s{background-position:0 -135px} -.btn-run-s:hover{background-position:-25px -135px} -.btn-run-s:active{background-position:-50px -135px} -.btn-remove-s{background-position:0 -160px} -.btn-remove-s:hover{background-position:-25px -160px} -.btn-remove-s:active{background-position:-50px -160px} -.btn-loading-s{background:url(loading_24.gif) no-repeat} - -.app-list .star-box, -.app-list .star-box i{background:url(app_spr_img.png) no-repeat} -.app-list .star-box{position:relative;top:-46px;left:252px;display:inline-block;width:85px;height:15px;background-position:0 -62px} -.app-list .star-box i{position:absolute;font-style:normal;top:0;left:0;height:15px;overflow:hidden;background-position:0 -78px} -.app-list .star-num{position:absolute;top:10px;left:415px;display:inline-block;height:21px;line-height:21px;font-family:Georgia;font-weight:bold;font-size:16px;color:#F60} -.app-list .app-stat{position:absolute;top:36px;right:93px;color:#999} -.app-list .app-list-box .app-list b{color:#F60} - -.search-box{position:relative;height:28px;margin-bottom:8px} - -.btn-add, -.btn-run{float:right;display:inline-block;width:93px;height:30px;line-height:31px;text-indent:29px;overflow:hidden;color:#fff;background:url(app_spr_img.png) no-repeat;text-decoration:none} -.btn-add:hover{background-position:-94px 0} -.btn-add:active{background-position:-188px 0} -.btn-run{background-position:0 -31px} -.btn-run:hover{background-position:-94px -31px} -.btn-run:active{background-position:-188px -31px} - -.commend-day{height:176px;margin-bottom:10px;overflow:hidden} -.commend-day h3{margin:0;padding:0 10px;height:30px;line-height:31px;font-size:12px;overflow:hidden;border-bottom:1px solid #DDD;background-image:url(app_spr_x.png);background-repeat:repeat-x;background-position:0 -37px} -.commend-day .star-box, -.commend-day .star-box i{background:url(app_spr_img.png) no-repeat} -.commend-day .star-box{position:relative;left:0;top:0;float:left;margin:5px 0 0 8px;display:inline-block;width:85px;height:15px;background-position:0 -62px} -.commend-day .star-box i{position:absolute;font-style:normal;top:0;left:0;height:15px;overflow:hidden;background-position:0 -78px} -.commend-container{position:relative;float:left;width:48px;height:48px;margin:10px 0 0 5px;overflow:hidden;padding:7px 21px 45px;background:url(commend_day.gif) no-repeat 0 0;_display:inline} -.commend-text{float:right;width:100px;padding:0 10px 0 0;line-height:18px;color:#999} -.commend-text h4{margin-top:0;margin-bottom:3px;padding:3px 0;font-size:12px;color:#555;border-bottom:1px solid #DDD} -.commend-text h4 strong, -.commend-text h4 span{display:block} -.commend-text h4 span{font-weight:normal;color:#999} -.commend-text .con{width:100px;height:54px;word-wrap:break-word;overflow:hidden} -.commend-text .btn-add, -.commend-text .btn-run{margin-top:5px;margin-right:5px;color:#fff;text-decoration:none} - -.detail-wrap{background:#EEE} -.detail-wrap .btn-back{display:inline-block;width:35px;height:20px;padding-left:15px;line-height:21px;overflow:hidden;color:#fff;background:url(app_spr_img.png) no-repeat -129px -83px;text-decoration:none} -.detail-wrap .btn-back:hover{background-position:-180px -83px} -.detail-wrap .btn-back:active{background-position:-231px -83px} - -.app-title{position:relative;height:48px;padding:9px 0 8px 68px;border-bottom:1px solid #DDD;background:url(app_spr_x.png) repeat-x 0 -68px} -.app-title img{position:absolute;top:9px;left:10px;width:48px;height:48px} -.app-title span{display:block;line-height:24px} -.app-title .app-name{font-weight:bold;font-size:14px} -.app-title .app-desc{color:#999} -.app-title .app-desc i{color:#F60;font-style:normal} -.app-title .btn-add, -.app-title .btn-run{position:absolute;top:17px;right:10px;color:#fff;text-decoration:none} - -.grade-box{width:100px;height:18px;position:absolute;top:75px;right:10px} -.grade-box .star-box, -.grade-box .star-box i, -.grade-box .star-box a{background-image:url(app_spr_img.png);_background-image:url(app_spr_img.gif);background-repeat:no-repeat} -.grade-box .star-box{float:right} -.grade-box .star-num{float:right;margin:-3px 0 0 4px} -.grade-box .star-box{position:relative;display:inline-block;width:85px;height:15px;background-position:0 -62px} -.grade-box .star-box div{width:40px;height:18px;line-height:18px;float:left;position:relative;left:-40px} -.grade-box .star-box i{position:absolute;top:0;left:0;height:15px;overflow:hidden;background-position:0 -78px;font-style:normal} -.grade-box .star-box ul, -.grade-box .star-box li{position:absolute;margin:0} -.grade-box .star-box a{display:block;height:15px;background-position:100px 100px} -.grade-box .star-box a:hover{background-position:0 -94px} -.grade-box .star-box a em{visibility:hidden;position:absolute;top:-2px;left:-84px;width:80px;text-align:right;color:#999;font-style:normal;background-color:#fff} -.grade-box .star-box a:hover em{visibility:visible} -.grade-box .grade-1{width:17px;z-index:10} -.grade-box .grade-2{width:34px;z-index:9} -.grade-box .grade-3{width:51px;z-index:8} -.grade-box .grade-4{width:68px;z-index:7} -.grade-box .grade-5{width:85px;z-index:6} -.grade-box .star-num{display:inline-block;height:21px;line-height:21px;font-family:Georgia;font-weight:bold;font-size:16px;color:#F60} - -.app-contents h4{margin:0 10px;line-height:31px;font-size:12px} -.app-contents h5{margin:0 10px;line-height:23px;font-weight:normal;font-size:12px} -.app-contents h5 em{color:#999;font-style:normal} -.app-text{margin:5px 10px;padding:5px;border-top:1px dotted #DDD} - -/* 应用管理 */ -.bottom-bar{border-top:1px solid #ddd;width:100%;height:62px;overflow:hidden;position:fixed;z-index:999;bottom:0} -.bottom-bar .con{background:#F2F2F2;height:42px;padding:10px} - -.creatbox{position:absolute;top:0;bottom:0;left:0;right:0} -.creatbox .middle{border-bottom:1px solid #fff;position:absolute;top:0;bottom:50px;left:0;right:0;overflow:auto} - -.shortcutbox{display:inline-block;width:58px;height:58px;border:1px solid #fff;position:relative;z-index:1000} -.shortcutbox:hover{border:1px solid #ccc;border-right:1px solid #fff} -.shortcutbox:hover .shortcut-selicon{display:block} - -.shortcut-addicon{display:inline-block;width:50px;height:50px;margin:4px;background:url(desk_sprite.png) no-repeat -420px -100px;cursor:pointer;position:relative;overflow:hidden} -.shortcut-addicon.bgnone{background:none} -.shortcut-addicon img{width:48px;height:48px;margin:1px} -.shortcut-selicon{position:absolute;top:-1px;left:58px;width:340px;padding:10px 0 0 10px;background:#fff;border:1px solid #ccc;display:none} -.shortcut-selicon a{display:block;width:48px;height:48px;padding:5px;margin-right:10px;margin-bottom:10px;float:left} -.shortcut-selicon a:hover{background:url(desk_sprite.png) no-repeat -350px -100px} -.shortcut-selicon img{width:48px;height:48px} - -/*权限管理*/ -.permissions_apps{width:100%;float:left;clear:right} -.permissions_apps .app{width:48px;height:48px;margin:0 10px 10px;float:left;position:relative} -.permissions_apps .app img{width:48px;height:48px} -.permissions_apps .app .del{display:none;position:absolute;right:-6px;top:-6px;text-align:center;font-size:12px;width:20px;height:20px;line-height:20px;cursor:pointer;background:#E6110E;color:#fff;border-radius:10px;-moz-border-radius:10px;-webkit-border-radius:10px} -.permissions_apps .app:hover .del{display:block} - -.alert_addapps{width:340px;margin:auto} -.alert_addapps .app{width:48px;height:48px;margin:10px 10px 20px 10px;float:left;position:relative;cursor:pointer} -.alert_addapps .app img{width:48px;height:48px} -.alert_addapps .app .name{width:100%;height:24px;line-height:24px;overflow:hidden} -.alert_addapps .app .selected{display:none;position:absolute;width:16px;height:16px;right:0;bottom:0;background:url(selected.gif) no-repeat} -.alert_addapps .act .selected{display:block} - - - - - - - - - - - - - - - - diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-chart-bar.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-chart-bar.png deleted file mode 100644 index 572e0ad32814febeb295f0fff5e9f37cdfd9a445..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-chart-bar.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-document-edit.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-document-edit.png deleted file mode 100644 index 5c5d6b2bb2b25e6853d4fc7e76357caea70fe32d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-document-edit.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-documents.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-documents.png deleted file mode 100644 index 5c09fca622bf1e27f605ad22a7b1c5da771dcca5..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-documents.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-gear.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-gear.png deleted file mode 100644 index fc96cdd88a59cbfde64b78ecd5c363afe109c8bd..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-gear.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-mail.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-mail.png deleted file mode 100644 index ff05394b7993ed6006cfa5321d874f8891ed9297..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-mail.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-puzzle.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-puzzle.png deleted file mode 100644 index 1452e2bf998a9e10eb8c7ad202b4561847171acb..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-puzzle.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-shapes.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-shapes.png deleted file mode 100644 index 269372b409f7be436a57b3a5b818a0c6fe2947fd..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-shapes.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-star.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-star.png deleted file mode 100644 index 072c32794a3961705034712fda5666b5250612d1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-star.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-users.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-users.png deleted file mode 100644 index 89d38727143b30ef224d1559d0f0f4b790ef5ffc..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-users.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/system-wrench.png b/src/main/webapp/js/HoorayOS_mini/img/ui/system-wrench.png deleted file mode 100644 index 6f97a05e97a4eb57cc4e804c5290c7c0212cb33d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/system-wrench.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/task_bg1.png b/src/main/webapp/js/HoorayOS_mini/img/ui/task_bg1.png deleted file mode 100644 index 380acfae7cf74291961bba50aab73a9f8bdd23dd..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/task_bg1.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/task_bg2.png b/src/main/webapp/js/HoorayOS_mini/img/ui/task_bg2.png deleted file mode 100644 index 405478030f8536b3014c5fa737e089c29b839e1a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/task_bg2.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/transparent.gif b/src/main/webapp/js/HoorayOS_mini/img/ui/transparent.gif deleted file mode 100644 index 35d42e808f0a8017b8d52a06be2f8fec0b466a66..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/transparent.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/warning.png b/src/main/webapp/js/HoorayOS_mini/img/ui/warning.png deleted file mode 100644 index 0e3aed53639c702f21ed9d639a20a4855619f115..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/warning.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/widget_title_bg.png b/src/main/webapp/js/HoorayOS_mini/img/ui/widget_title_bg.png deleted file mode 100644 index 6030ff70acc9f64c9e3b6a34ece1960d3d2cf74b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/widget_title_bg.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/window_mask_bg.png b/src/main/webapp/js/HoorayOS_mini/img/ui/window_mask_bg.png deleted file mode 100644 index 01cd25ab5ec67e230f9cd39bf6bba16e031e11a2..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/window_mask_bg.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/ui/window_mask_icon.png b/src/main/webapp/js/HoorayOS_mini/img/ui/window_mask_icon.png deleted file mode 100644 index b6af786beb22134e2a28b0a478b834b2abc608c5..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/ui/window_mask_icon.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/img/wallpaper/wallpaper.jpg b/src/main/webapp/js/HoorayOS_mini/img/wallpaper/wallpaper.jpg deleted file mode 100644 index ae25fc3685e0050d8d4a418de935bcd0a0db94e6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/img/wallpaper/wallpaper.jpg and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/index.html b/src/main/webapp/js/HoorayOS_mini/index.html deleted file mode 100644 index e874165011a29c8f5cc11aa6c1ee69e2adb524d4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/index.html +++ /dev/null @@ -1,105 +0,0 @@ - - - - -HoorayOS桌面应用框架 - - - - - -

- -
- -
-
×
-
-
-
-
-
-
- -
- - - - - - - - - - - - - -
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/ZeroClipboard.swf b/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/ZeroClipboard.swf deleted file mode 100644 index 13bf8e396202964e0048333d878f4b949a2f5e6a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/ZeroClipboard.swf and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_layer.png b/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_layer.png deleted file mode 100644 index 74ab5f5a2a8f88b647f3dc57c6419cd61b57ae42..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_layer.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_layer_ie6.png b/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_layer_ie6.png deleted file mode 100644 index 9b4c806d91b74d5afc22ee688f8086fc6f5d2878..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_layer_ie6.png and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_loading.gif b/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_loading.gif deleted file mode 100644 index e846e1d6c58796558015ffee1fdec546bc207ee8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/gb_tip_loading.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.css b/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.css deleted file mode 100644 index 906646715259d71c18c5be35720a7a18ed734c71..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.css +++ /dev/null @@ -1,41 +0,0 @@ -#topcontrol{z-index:999} -#topcontrol a{display:block;width:54px;height:41px;background:url(scrolltotop.gif) no-repeat 0 0} -#topcontrol a:hover{display:block;width:54px;height:41px;background:url(scrolltotop.gif) no-repeat -54px 0} - -.zeng_msgbox_layer, -.zeng_msgbox_layer .gtl_ico_succ, -.zeng_msgbox_layer .gtl_ico_fail, -.zeng_msgbox_layer .gtl_ico_hits, -.zeng_msgbox_layer .gtl_ico_clear, -.zeng_msgbox_layer .gtl_end{display:inline-block;height:54px;line-height:54px;font-weight:bold;font-size:14px;color:#606060;background-image:url(gb_tip_layer.png);_background-image:url(gb_tip_layer_ie6.png);background-repeat:no-repeat} -.zeng_msgbox_layer_wrap{width:100%;position:fixed;_position:absolute;top:46%;left:0;text-align:center;z-index:65533} -.zeng_msgbox_layer{background-position:0 -161px;background-repeat:repeat-x;padding:0 18px 0 9px;margin:0 auto;position:relative} -.zeng_msgbox_layer .gtl_ico_succ{background-position:-6px 0;left:-45px;top:0;width:45px;position:absolute} -.zeng_msgbox_layer .gtl_end{background-position:0 0;position:absolute;right:-6px;top:0;width:6px} -.zeng_msgbox_layer .gtl_ico_fail{background-position:-6px -108px;position:absolute;left:-45px;top:0;width:45px} -.zeng_msgbox_layer .gtl_ico_hits{background-position:-6px -54px;position:absolute;left:-45px;top:0;width:45px} -.zeng_msgbox_layer .gtl_ico_clear{background-position:-6px 0;left:-5px;width:5px;position:absolute;top:0} -.zeng_msgbox_layer .gtl_ico_loading{width:16px;height:16px;border:0;background-image:url(gb_tip_loading.gif);float:left;margin:19px 10px 0 5px} - -.colorTip{display:none;position:absolute;left:50%;top:-30px;padding:6px;background-color:white;font-family:Arial,Helvetica,sans-serif;font-size:11px;font-style:normal;line-height:1;text-decoration:none;text-align:center;text-shadow:0 0 1px white;white-space:nowrap;-moz-border-radius:4px;-webkit-border-radius:4px;border-radius:4px} -.pointyTip,.pointyTipShadow{border:6px solid transparent;bottom:-12px;height:0;left:50%;margin-left:-6px;position:absolute;width:0} -.pointyTipShadow{border-width:7px;bottom:-14px;margin-left:-7px} -.colorTipContainer{position:relative;text-decoration:none!important} -.white .pointyTip{border-top-color:white} -.white .pointyTipShadow{border-top-color:#ddd} -.white .colorTip{background-color:white;border:1px solid #ddd;color:#555} -.yellow .pointyTip{border-top-color:#f9f2ba} -.yellow .pointyTipShadow{border-top-color:#e9d315} -.yellow .colorTip{background-color:#f9f2ba;border:1px solid #e9d315;color:#5b5316} -.blue .pointyTip{border-top-color:#d9f1fb} -.blue .pointyTipShadow{border-top-color:#7fcdee} -.blue .colorTip{background-color:#d9f1fb;border:1px solid #7fcdee;color:#1b475a} -.green .pointyTip{border-top-color:#f2fdf1} -.green .pointyTipShadow{border-top-color:#b6e184} -.green .colorTip{background-color:#f2fdf1;border:1px solid #b6e184;color:#558221} -.red .pointyTip{border-top-color:#bb3b1d} -.red .pointyTipShadow{border-top-color:#8f2a0f} -.red .colorTip{background-color:#bb3b1d;border:1px solid #8f2a0f;color:#fcfcfc;text-shadow:none} -.black .pointyTip{border-top-color:#333} -.black .pointyTipShadow{border-top-color:#111} -.black .colorTip{background-color:#333;border:1px solid #111;color:#fcfcfc;text-shadow:none} \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.js b/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.js deleted file mode 100644 index 572f6ddbe7b3e1543f9e5e10c5e83ca9ed1c5cdb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/hooraylibs.js +++ /dev/null @@ -1,120 +0,0 @@ -/** - * 整理:胡尐睿丶 - * 联系:hooray0905@foxmail.com - */ - - -/** - * ie6 png透明修正 - * DD_belatedPNG.fix('.png_bg'); - * DD_belatedPNG.fixPng( someNode ); - * http://www.dillerdesign.com/experiment/DD_belatedPNG/ - */ -if($.browser.msie&&($.browser.version=="6.0")&&!$.support.style){var DD_belatedPNG={ns:"DD_belatedPNG",imgSize:{},delay:10,nodesFixed:0,createVmlNameSpace:function(){if(document.namespaces&&!document.namespaces[this.ns]){document.namespaces.add(this.ns,"urn:schemas-microsoft-com:vml")}},createVmlStyleSheet:function(){var b,a;b=document.createElement("style");b.setAttribute("media","screen");document.documentElement.firstChild.insertBefore(b,document.documentElement.firstChild.firstChild);if(b.styleSheet){b=b.styleSheet;b.addRule(this.ns+"\\:*","{behavior:url(#default#VML)}");b.addRule(this.ns+"\\:shape","position:absolute;");b.addRule("img."+this.ns+"_sizeFinder","behavior:none; border:none; position:absolute; z-index:-1; top:-10000px; visibility:hidden;");this.screenStyleSheet=b;a=document.createElement("style");a.setAttribute("media","print");document.documentElement.firstChild.insertBefore(a,document.documentElement.firstChild.firstChild);a=a.styleSheet;a.addRule(this.ns+"\\:*","{display: none !important;}");a.addRule("img."+this.ns+"_sizeFinder","{display: none !important;}")}},readPropertyChange:function(){var b,c,a;b=event.srcElement;if(!b.vmlInitiated){return}if(event.propertyName.search("background")!=-1||event.propertyName.search("border")!=-1){DD_belatedPNG.applyVML(b)}if(event.propertyName=="style.display"){c=(b.currentStyle.display=="none")?"none":"block";for(a in b.vml){if(b.vml.hasOwnProperty(a)){b.vml[a].shape.style.display=c}}}if(event.propertyName.search("filter")!=-1){DD_belatedPNG.vmlOpacity(b)}},vmlOpacity:function(b){if(b.currentStyle.filter.search("lpha")!=-1){var a=b.currentStyle.filter;a=parseInt(a.substring(a.lastIndexOf("=")+1,a.lastIndexOf(")")),10)/100;b.vml.color.shape.style.filter=b.currentStyle.filter;b.vml.image.fill.opacity=a}},handlePseudoHover:function(a){setTimeout(function(){DD_belatedPNG.applyVML(a)},1)},fix:function(a){if(this.screenStyleSheet){var c,b;c=a.split(",");for(b=0;bn.H){i.B=n.H}d.vml.image.shape.style.clip="rect("+i.T+"px "+(i.R+a)+"px "+i.B+"px "+(i.L+a)+"px)"}else{d.vml.image.shape.style.clip="rect("+f.T+"px "+f.R+"px "+f.B+"px "+f.L+"px)"}},figurePercentage:function(d,c,f,a){var b,e;e=true;b=(f=="X");switch(a){case"left":case"top":d[f]=0;break;case"center":d[f]=0.5;break;case"right":case"bottom":d[f]=1;break;default:if(a.search("%")!=-1){d[f]=parseInt(a,10)/100}else{e=false}}d[f]=Math.ceil(e?((c[b?"W":"H"]*d[f])-(c[b?"w":"h"]*d[f])):parseInt(a,10));if(d[f]%2===0){d[f]++}return d[f]},fixPng:function(c){c.style.behavior="none";var g,b,f,a,d;if(c.nodeName=="BODY"||c.nodeName=="TD"||c.nodeName=="TR"){return}c.isImg=false;if(c.nodeName=="IMG"){if(c.src.toLowerCase().search(/\.png$/)!=-1){c.isImg=true;c.style.visibility="hidden"}else{return}}else{if(c.currentStyle.backgroundImage.toLowerCase().search(".png")==-1){return}}g=DD_belatedPNG;c.vml={color:{},image:{}};b={shape:{},fill:{}};for(a in c.vml){if(c.vml.hasOwnProperty(a)){for(d in b){if(b.hasOwnProperty(d)){f=g.ns+":"+d;c.vml[a][d]=document.createElement(f)}}c.vml[a].shape.stroked=false;c.vml[a].shape.appendChild(c.vml[a].fill);c.parentNode.insertBefore(c.vml[a].shape,c)}}c.vml.image.shape.fillcolor="none";c.vml.image.fill.type="tile";c.vml.color.fill.on=false;g.attachHandlers(c);g.giveLayout(c);g.giveLayout(c.offsetParent);c.vmlInitiated=true;g.applyVML(c)}};try{document.execCommand("BackgroundImageCache",false,true)}catch(r){}DD_belatedPNG.createVmlNameSpace();DD_belatedPNG.createVmlStyleSheet();} - -/** - * SWFObject v2.2 - * http://code.google.com/p/swfobject/ - * swfobject.embedSWF("test.swf", "myContent", "300", "120", "9.0.0", "expressInstall.swf"); - */ -var swfobject=function(){var D="undefined",r="object",S="Shockwave Flash",W="ShockwaveFlash.ShockwaveFlash",q="application/x-shockwave-flash",R="SWFObjectExprInst",x="onreadystatechange",O=window,j=document,t=navigator,T=false,U=[h],o=[],N=[],I=[],l,Q,E,B,J=false,a=false,n,G,m=true,M=function(){var aa=typeof j.getElementById!=D&&typeof j.getElementsByTagName!=D&&typeof j.createElement!=D,ah=t.userAgent.toLowerCase(),Y=t.platform.toLowerCase(),ae=Y?/win/.test(Y):/win/.test(ah),ac=Y?/mac/.test(Y):/mac/.test(ah),af=/webkit/.test(ah)?parseFloat(ah.replace(/^.*webkit\/(\d+(\.\d+)?).*$/,"$1")):false,X=!+"\v1",ag=[0,0,0],ab=null;if(typeof t.plugins!=D&&typeof t.plugins[S]==r){ab=t.plugins[S].description;if(ab&&!(typeof t.mimeTypes!=D&&t.mimeTypes[q]&&!t.mimeTypes[q].enabledPlugin)){T=true;X=false;ab=ab.replace(/^.*\s+(\S+\s+\S+$)/,"$1");ag[0]=parseInt(ab.replace(/^(.*)\..*$/,"$1"),10);ag[1]=parseInt(ab.replace(/^.*\.(.*)\s.*$/,"$1"),10);ag[2]=/[a-zA-Z]/.test(ab)?parseInt(ab.replace(/^.*[a-zA-Z]+(.*)$/,"$1"),10):0}}else{if(typeof O.ActiveXObject!=D){try{var ad=new ActiveXObject(W);if(ad){ab=ad.GetVariable("$version");if(ab){X=true;ab=ab.split(" ")[1].split(",");ag=[parseInt(ab[0],10),parseInt(ab[1],10),parseInt(ab[2],10)]}}}catch(Z){}}}return{w3:aa,pv:ag,wk:af,ie:X,win:ae,mac:ac}}(),k=function(){if(!M.w3){return}if((typeof j.readyState!=D&&j.readyState=="complete")||(typeof j.readyState==D&&(j.getElementsByTagName("body")[0]||j.body))){f()}if(!J){if(typeof j.addEventListener!=D){j.addEventListener("DOMContentLoaded",f,false)}if(M.ie&&M.win){j.attachEvent(x,function(){if(j.readyState=="complete"){j.detachEvent(x,arguments.callee);f()}});if(O==top){(function(){if(J){return}try{j.documentElement.doScroll("left")}catch(X){setTimeout(arguments.callee,0);return}f()})()}}if(M.wk){(function(){if(J){return}if(!/loaded|complete/.test(j.readyState)){setTimeout(arguments.callee,0);return}f()})()}s(f)}}();function f(){if(J){return}try{var Z=j.getElementsByTagName("body")[0].appendChild(C("span"));Z.parentNode.removeChild(Z)}catch(aa){return}J=true;var X=U.length;for(var Y=0;Y0){for(var af=0;af0){var ae=c(Y);if(ae){if(F(o[af].swfVersion)&&!(M.wk&&M.wk<312)){w(Y,true);if(ab){aa.success=true;aa.ref=z(Y);ab(aa)}}else{if(o[af].expressInstall&&A()){var ai={};ai.data=o[af].expressInstall;ai.width=ae.getAttribute("width")||"0";ai.height=ae.getAttribute("height")||"0";if(ae.getAttribute("class")){ai.styleclass=ae.getAttribute("class")}if(ae.getAttribute("align")){ai.align=ae.getAttribute("align")}var ah={};var X=ae.getElementsByTagName("param");var ac=X.length;for(var ad=0;ad'}}aa.outerHTML='"+af+"";N[N.length]=ai.id;X=c(ai.id)}else{var Z=C(r);Z.setAttribute("type",q);for(var ac in ai){if(ai[ac]!=Object.prototype[ac]){if(ac.toLowerCase()=="styleclass"){Z.setAttribute("class",ai[ac])}else{if(ac.toLowerCase()!="classid"){Z.setAttribute(ac,ai[ac])}}}}for(var ab in ag){if(ag[ab]!=Object.prototype[ab]&&ab.toLowerCase()!="movie"){e(Z,ab,ag[ab])}}aa.parentNode.replaceChild(Z,aa);X=Z}}return X}function e(Z,X,Y){var aa=C("param");aa.setAttribute("name",X);aa.setAttribute("value",Y);Z.appendChild(aa)}function y(Y){var X=c(Y);if(X&&X.nodeName=="OBJECT"){if(M.ie&&M.win){X.style.display="none";(function(){if(X.readyState==4){b(Y)}else{setTimeout(arguments.callee,10)}})()}else{X.parentNode.removeChild(X)}}}function b(Z){var Y=c(Z);if(Y){for(var X in Y){if(typeof Y[X]=="function"){Y[X]=null}}Y.parentNode.removeChild(Y)}}function c(Z){var X=null;try{X=j.getElementById(Z)}catch(Y){}return X}function C(X){return j.createElement(X)}function i(Z,X,Y){Z.attachEvent(X,Y);I[I.length]=[Z,X,Y]}function F(Z){var Y=M.pv,X=Z.split(".");X[0]=parseInt(X[0],10);X[1]=parseInt(X[1],10)||0;X[2]=parseInt(X[2],10)||0;return(Y[0]>X[0]||(Y[0]==X[0]&&Y[1]>X[1])||(Y[0]==X[0]&&Y[1]==X[1]&&Y[2]>=X[2]))?true:false}function v(ac,Y,ad,ab){if(M.ie&&M.mac){return}var aa=j.getElementsByTagName("head")[0];if(!aa){return}var X=(ad&&typeof ad=="string")?ad:"screen";if(ab){n=null;G=null}if(!n||G!=X){var Z=C("style");Z.setAttribute("type","text/css");Z.setAttribute("media",X);n=aa.appendChild(Z);if(M.ie&&M.win&&typeof j.styleSheets!=D&&j.styleSheets.length>0){n=j.styleSheets[j.styleSheets.length-1]}G=X}if(M.ie&&M.win){if(n&&typeof n.addRule==r){n.addRule(ac,Y)}}else{if(n&&typeof j.createTextNode!=D){n.appendChild(j.createTextNode(ac+" {"+Y+"}"))}}}function w(Z,X){if(!m){return}var Y=X?"visible":"hidden";if(J&&c(Z)){c(Z).style.visibility=Y}else{v("#"+Z,"visibility:"+Y)}}function L(Y){var Z=/[\\\"<>\.;]/;var X=Z.exec(Y)!=null;return X&&typeof encodeURIComponent!=D?encodeURIComponent(Y):Y}var d=function(){if(M.ie&&M.win){window.attachEvent("onunload",function(){var ac=I.length;for(var ab=0;ab500){g=g.substr(0,500)+"...\n\n("+(g.length-500)+" characters not shown)"}e.removeClass("hover");alert("Copied text to clipboard:\n\n "+g)}if(b.clickAfter){e.trigger("click")}});d.glue(e[0],e.parent()[0]);a(window).bind("load resize",function(){d.reposition()})}})}else{if(typeof c=="string"){return this.each(function(){var f=a(this);c=c.toLowerCase();var e=f.data("zclipId");var d=a("#"+e+".zclip");if(c=="remove"){d.remove();f.removeClass("active hover")}else{if(c=="hide"){d.hide();f.removeClass("active hover")}else{if(c=="show"){d.show()}}}})}}}})(jQuery);var ZeroClipboard={version:"1.0.7",clients:{},moviePath:"ZeroClipboard.swf",nextId:1,$:function(a){if(typeof(a)=="string"){a=document.getElementById(a)}if(!a.addClass){a.hide=function(){this.style.display="none"};a.show=function(){this.style.display=""};a.addClass=function(b){this.removeClass(b);this.className+=" "+b};a.removeClass=function(d){var e=this.className.split(/\s+/);var b=-1;for(var c=0;c-1){e.splice(b,1);this.className=e.join(" ")}return this};a.hasClass=function(b){return !!this.className.match(new RegExp("\\s*"+b+"\\s*"))}}return a},setMoviePath:function(a){this.moviePath=a},dispatch:function(d,b,c){var a=this.clients[d];if(a){a.receiveEvent(b,c)}},register:function(b,a){this.clients[b]=a},getDOMObjectPosition:function(c,a){var b={left:0,top:0,width:c.width?c.width:c.offsetWidth,height:c.height?c.height:c.offsetHeight};if(c&&(c!=a)){b.left+=c.offsetLeft;b.top+=c.offsetTop}return b},Client:function(a){this.handlers={};this.id=ZeroClipboard.nextId++;this.movieId="ZeroClipboardMovie_"+this.id;ZeroClipboard.register(this.id,this);if(a){this.glue(a)}}};ZeroClipboard.Client.prototype={id:0,ready:false,movie:null,clipText:"",handCursorEnabled:true,cssEffects:true,handlers:null,glue:function(d,b,e){this.domElement=ZeroClipboard.$(d);var f=99;if(this.domElement.style.zIndex){f=parseInt(this.domElement.style.zIndex,10)+1}if(typeof(b)=="string"){b=ZeroClipboard.$(b)}else{if(typeof(b)=="undefined"){b=document.getElementsByTagName("body")[0]}}var c=ZeroClipboard.getDOMObjectPosition(this.domElement,b);this.div=document.createElement("div");this.div.className="zclip";this.div.id="zclip-"+this.movieId;$(this.domElement).data("zclipId","zclip-"+this.movieId);var a=this.div.style;a.position="absolute";a.left=""+c.left+"px";a.top=""+c.top+"px";a.width=""+c.width+"px";a.height=""+c.height+"px";a.zIndex=f;if(typeof(e)=="object"){for(addedStyle in e){a[addedStyle]=e[addedStyle]}}b.appendChild(this.div);this.div.innerHTML=this.getHTML(c.width,c.height)},getHTML:function(d,a){var c="";var b="id="+this.id+"&width="+d+"&height="+a;if(navigator.userAgent.match(/MSIE/)){var e=location.href.match(/^https/i)?"https://":"http://";c+=''}else{c+=''}return c},hide:function(){if(this.div){this.div.style.left="-2000px"}},show:function(){this.reposition()},destroy:function(){if(this.domElement&&this.div){this.hide();this.div.innerHTML="";var a=document.getElementsByTagName("body")[0];try{a.removeChild(this.div)}catch(b){}this.domElement=null;this.div=null}},reposition:function(c){if(c){this.domElement=ZeroClipboard.$(c);if(!this.domElement){this.hide()}}if(this.domElement&&this.div){var b=ZeroClipboard.getDOMObjectPosition(this.domElement);var a=this.div.style;a.left=""+b.left+"px";a.top=""+b.top+"px"}},setText:function(a){this.clipText=a;if(this.ready){this.movie.setText(a)}},addEventListener:function(a,b){a=a.toString().toLowerCase().replace(/^on/,"");if(!this.handlers[a]){this.handlers[a]=[]}this.handlers[a].push(b)},setHandCursor:function(a){this.handCursorEnabled=a;if(this.ready){this.movie.setHandCursor(a)}},setCSSEffects:function(a){this.cssEffects=!!a},receiveEvent:function(d,f){d=d.toString().toLowerCase().replace(/^on/,"");switch(d){case"load":this.movie=document.getElementById(this.movieId);if(!this.movie){var c=this;setTimeout(function(){c.receiveEvent("load",null)},1);return}if(!this.ready&&navigator.userAgent.match(/Firefox/)&&navigator.userAgent.match(/Windows/)){var c=this;setTimeout(function(){c.receiveEvent("load",null)},100);this.ready=true;return}this.ready=true;try{this.movie.setText(this.clipText)}catch(h){}try{this.movie.setHandCursor(this.handCursorEnabled)}catch(h){}break;case"mouseover":if(this.domElement&&this.cssEffects){this.domElement.addClass("hover");if(this.recoverActive){this.domElement.addClass("active")}}break;case"mouseout":if(this.domElement&&this.cssEffects){this.recoverActive=false;if(this.domElement.hasClass("active")){this.domElement.removeClass("active");this.recoverActive=true}this.domElement.removeClass("hover")}break;case"mousedown":if(this.domElement&&this.cssEffects){this.domElement.addClass("active")}break;case"mouseup":if(this.domElement&&this.cssEffects){this.domElement.removeClass("active");this.recoverActive=false}break}if(this.handlers[d]){for(var b=0,a=this.handlers[d].length;bc?b=!0:m[d]=0;b||(p=!1)}function A(a,c,b,d,g){var f,e,h=[],j=b.type;if(!l[a])return[];"keyup"==j&&u(a)&&(c=[a]);for(f=0;fd||h.hasOwnProperty(d)&&(q[h[d]]=d)}b=q[a]?"keydown":"keypress"}"keypress"==b&&c.length&&(b="keydown");return b}function C(a,c,b,d,g){r[a+":"+b]=c;a=a.replace(/\s+/g," ");var f=a.split(" "),e,h,j=[];if(1":".","?":"/","|":"\\"},E={option:"alt",command:"meta","return":"enter",escape:"esc"},q,l={},r={},m={},D,x=!1,p=!1,g=1;20>g;++g)h[111+g]="f"+g;for(g=0;9>=g;++g)h[g+96]=g;s(document,"keypress",w);s(document,"keydown",w);s(document,"keyup",w);var k={bind:function(a,c,b){a=a instanceof Array?a:[a];for(var d=0;dne_half?Math.max(Math.min(current_page-ne_half,upper_limit),0):0;var end=current_page>ne_half?Math.min(current_page+ne_half+(this.opts.num_display_entries%2),np):Math.min(this.opts.num_display_entries,np);return{start:start,end:end}}});$.PaginationRenderers={};$.PaginationRenderers.defaultRenderer=function(maxentries,opts){this.maxentries=maxentries;this.opts=opts;this.pc=new $.PaginationCalculator(maxentries,opts)};$.extend($.PaginationRenderers.defaultRenderer.prototype,{createLink:function(page_id,current_page,appendopts){var lnk,np=this.pc.numPages();page_id=page_id<0?0:(page_id"+appendopts.text+"")}else{lnk=$("
  • "+appendopts.text+"
  • ")}}else{lnk=$("
  • "+appendopts.text+"
  • ")}if(appendopts.classes){lnk.addClass(appendopts.classes)}lnk.data("page_id",page_id);return lnk},appendRange:function(container,current_page,start,end,opts){var i;for(i=start;i");if(this.opts.prev_text&&(current_page>0||this.opts.prev_show_always)){fragment.append(this.createLink(current_page-1,current_page,{text:this.opts.prev_text,classes:"prev"}))}if(interval.start>0&&this.opts.num_edge_entries>0){end=Math.min(this.opts.num_edge_entries,interval.start);this.appendRange(fragment,current_page,0,end,{classes:"sp"});if(this.opts.num_edge_entries"+this.opts.ellipse_text+"").appendTo(fragment)}}this.appendRange(fragment,current_page,interval.start,interval.end);if(interval.end0){if(np-this.opts.num_edge_entries>interval.end&&this.opts.ellipse_text){$("
  • "+this.opts.ellipse_text+"
  • ").appendTo(fragment)}begin=Math.max(np-this.opts.num_edge_entries,interval.end);this.appendRange(fragment,current_page,begin,np,{classes:"ep"})}if(this.opts.next_text&&(current_page=0&&page_id0){selectPage(current_page-1)}return false});containers.off("nextPage").on("nextPage",{numPages:np},function(evt){var current_page=$(this).data("current_page");if(current_page=1?"":("alpha(opacity="+Math.round(h*100)+")")}}else{if(a=="backgroundPositionX"||a=="backgroundPositionY"){e=a.slice(-1)=="X"?"Y":"X";if(d){var i=ZENG.dom.getStyle(c,"backgroundPosition"+e);a="backgroundPosition";typeof(h)=="number"&&(h=h+"px");h=e=="Y"?(h+" "+(i||"top")):((i||"left")+" "+h)}}}}if(typeof c.style[a]!="undefined"){c.style[a]=h+(typeof h==="number"&&!f.test(a)?"px":"");b=b&&true}else{b=b&&false}}return b},getScrollTop:function(a){var b=a||document;return Math.max(b.documentElement.scrollTop,b.body.scrollTop)},getClientHeight:function(a){var b=a||document;return b.compatMode=="CSS1Compat"?b.documentElement.clientHeight:b.body.clientHeight}};ZENG.string={RegExps:{trim:/^\s+|\s+$/g,ltrim:/^\s+/,rtrim:/\s+$/,nl2br:/\n/g,s2nb:/[\x20]{2}/g,URIencode:/[\x09\x0A\x0D\x20\x21-\x29\x2B\x2C\x2F\x3A-\x3F\x5B-\x5E\x60\x7B-\x7E]/g,escHTML:{re_amp:/&/g,re_lt://g,re_apos:/\x27/g,re_quot:/\x22/g},escString:{bsls:/\\/g,sls:/\//g,nl:/\n/g,rt:/\r/g,tab:/\t/g},restXHTML:{re_amp:/&/g,re_lt://g,re_apos:/&(?:apos|#0?39);/g,re_quot:/"/g},write:/\{(\d{1,2})(?:\:([xodQqb]))?\}/g,isURL:/^(?:ht|f)tp(?:s)?\:\/\/(?:[\w\-\.]+)\.\w+/i,cut:/[\x00-\xFF]/,getRealLen:{r0:/[^\x00-\xFF]/g,r1:/[\x00-\xFF]/g},format:/\{([\d\w\.]+)\}/g},commonReplace:function(a,c,b){return a.replace(c,b)},format:function(c){var b=Array.prototype.slice.call(arguments),a;c=String(b.shift());if(b.length==1&&typeof(b[0])=="object"){b=b[0]}ZENG.string.RegExps.format.lastIndex=0;return c.replace(ZENG.string.RegExps.format,function(d,e){a=ZENG.object.route(b,e);return a===undefined?d:a})}};ZENG.object={routeRE:/([\d\w_]+)/g,route:function(d,c){d=d||{};c=String(c);var b=ZENG.object.routeRE,a;b.lastIndex=0;while((a=b.exec(c))!==null){d=d[a[0]];if(d===undefined||d===null){break}}return d}};var ua=ZENG.userAgent={},agent=navigator.userAgent;ua.ie=9-((agent.indexOf("Trident/5.0")>-1)?0:1)-(window.XDomainRequest?0:1)-(window.XMLHttpRequest?0:1);if(typeof(ZENG.msgbox)=="undefined"){ZENG.msgbox={}}ZENG.msgbox._timer=null;ZENG.msgbox.loadingAnimationPath=ZENG.msgbox.loadingAnimationPath||("gb_tip_loading.gif");ZENG.msgbox.show=function(c,g,h,a){if(typeof(a)=="number"){a={topPosition:a}}a=a||{};var j=ZENG.msgbox,i='',d='',e=[0,0,0,0,"succ","fail","clear"],b,f;j._loadCss&&j._loadCss(a.cssPath);b=ZENG.dom.get("q_Msgbox")||ZENG.dom.createElementIn("div",document.body,false,{className:"zeng_msgbox_layer_wrap"});b.id="q_Msgbox";b.style.display="";b.innerHTML=ZENG.string.format(i,{type:e[g]||"hits",msgHtml:c||"",loadIcon:g==6?d:""});j._setPosition(b,h,a.topPosition)};ZENG.msgbox._setPosition=function(a,f,d){f=f||5000;var g=ZENG.msgbox,b=ZENG.dom.getScrollTop(),e=ZENG.dom.getClientHeight(),c=Math.floor(e/2)-40;ZENG.dom.setStyle(a,"top",((document.compatMode=="BackCompat"||ZENG.userAgent.ie<7)?b:0)+((typeof(d)=="number")?d:c)+"px");clearTimeout(g._timer);a.firstChild.style.display="";f&&(g._timer=setTimeout(g.hide,f))};ZENG.msgbox.hide=function(a){var b=ZENG.msgbox;if(a){clearTimeout(b._timer);b._timer=setTimeout(b._hide,a)}else{b._hide()}};ZENG.msgbox._hide=function(){var a=ZENG.dom.get("q_Msgbox"),b=ZENG.msgbox;clearTimeout(b._timer);if(a){var c=a.firstChild;ZENG.dom.setStyle(a,"display","none")}}; - -/** - * 全屏插件 - * http://johndyer.name/native-fullscreen-javascript-api-plus-jquery-plugin/ - */ -(function(){var d={supportsFullScreen:false,isFullScreen:function(){return false;},requestFullScreen:function(){},cancelFullScreen:function(){},fullScreenEventName:"",prefix:""},c="webkit moz o ms khtml".split(" ");if(typeof document.cancelFullScreen!="undefined"){d.supportsFullScreen=true;}else{for(var b=0,a=c.length;b"']/g,function(a){return{"<":"<",">":">",'"':""","'":"'","&":"&"}[a]}):a},$string:function(a){return"string"==typeof a||"number"==typeof a?a:"function"==typeof a?a():""}};var b=Array.prototype.forEach||function(a,b){for(var c=this.length>>>0,d=0;c>d;d++)d in this&&a.call(b,this[d],d,this)},c=function(a,c){b.call(a,c)},d="break,case,catch,continue,debugger,default,delete,do,else,false,finally,for,function,if,in,instanceof,new,null,return,switch,this,throw,true,try,typeof,var,void,while,with,abstract,boolean,byte,char,class,const,double,enum,export,extends,final,float,goto,implements,import,int,interface,long,native,package,private,protected,public,short,static,super,synchronized,throws,transient,volatile,arguments,let,yield,undefined",e=/\/\*(?:.|\n)*?\*\/|\/\/[^\n]*\n|\/\/[^\n]*$|'[^']*'|"[^"]*"|[\s\t\n]*\.[\s\t\n]*[$\w\.]+/g,f=/[^\w$]+/g,g=RegExp(["\\b"+d.replace(/,/g,"\\b|\\b")+"\\b"].join("|"),"g"),h=/\b\d[^,]*/g,i=/^,+|,+$/g,j=function(a){return a=a.replace(e,"").replace(f,",").replace(g,"").replace(h,"").replace(i,""),a=a?a.split(/,+/):[]};return function(b,d){function w(b){return k+=b.split(/\n/).length-1,a.isCompress&&(b=b.replace(/[\n\r\t\s]+/g," ")),b=b.replace(/('|\\)/g,"\\$1").replace(/\r/g,"\\r").replace(/\n/g,"\\n"),b=q[1]+"'"+b+"'"+q[2],b+"\n"}function x(b){var c=k;if(g?b=g(b):d&&(b=b.replace(/\n/g,function(){return k++,"$line="+k+";"})),0===b.indexOf("=")){var e=0!==b.indexOf("==");if(b=b.replace(/^=*|[\s;]*$/g,""),e&&a.isEscape){var f=b.replace(/\s*\([^\)]+\)/,"");m.hasOwnProperty(f)||/^(include|print)$/.test(f)||(b="$escape($string("+b+"))")}else b="$string("+b+")";b=q[1]+b+q[2]}return d&&(b="$line="+c+";"+b),y(b),b+"\n"}function y(a){a=j(a),c(a,function(a){l.hasOwnProperty(a)||(z(a),l[a]=!0)})}function z(a){var b;"print"===a?b=s:"include"===a?(n.$render=m.$render,b=t):(b="$data."+a,m.hasOwnProperty(a)&&(n[a]=m[a],b=0===a.indexOf("$")?"$helpers."+a:b+"===undefined?$helpers."+a+":"+b)),o+=a+"="+b+","}var e=a.openTag,f=a.closeTag,g=a.parser,h=b,i="",k=1,l={$data:!0,$helpers:!0,$out:!0,$line:!0},m=a.prototype,n={},o="var $helpers=this,"+(d?"$line=0,":""),p="".trim,q=p?["$out='';","$out+=",";","$out"]:["$out=[];","$out.push(",");","$out.join('')"],r=p?"if(content!==undefined){$out+=content;return content}":"$out.push(content);",s="function(content){"+r+"}",t="function(id,data){if(data===undefined){data=$data}var content=$helpers.$render(id,data);"+r+"}";c(h.split(e),function(a){a=a.split(f);var c=a[0],d=a[1];1===a.length?i+=w(c):(i+=x(c),d&&(i+=w(d)))}),h=i,d&&(h="try{"+h+"}catch(e){"+"e.line=$line;"+"throw e"+"}"),h="'use strict';"+o+q[0]+h+"return new String("+q[3]+")";try{var u=Function("$data",h);return u.prototype=n,u}catch(v){throw v.temp="function anonymous($data) {"+h+"}",v}}}()})(template,this),"function"==typeof define?define(function(a,b,c){c.exports=template}):"undefined"!=typeof exports&&(module.exports=template); - -/** - * colortip-1.0 - */ -(function($){$.fn.colorTip=function(settings){var defaultSettings={color:"yellow",timeout:500};var supportedColors=["red","green","blue","white","yellow","black"];settings=$.extend(defaultSettings,settings);return this.each(function(){var elem=$(this);if(!elem.attr("title")){return true;}var scheduleEvent=new eventScheduler();var tip=new Tip(elem.attr("title"));elem.append(tip.generate()).addClass("colorTipContainer");var hasClass=false;for(var i=0;i'+this.content+''));},show:function(){if(this.shown){return;}this.tip.css("margin-left",-this.tip.outerWidth()/2).fadeIn("fast");this.shown=true;},hide:function(){this.tip.fadeOut();this.shown=false;}};})(jQuery); - -/** - * 返回顶部插件scrolltotop - * scrolltotop.controlHTML='返回顶部'; - * scrolltotop.init(); - */ -scrolltotop={setting:{startline:100,scrollto:0,scrollduration:500,fadeduration:[500,100]},controlHTML:'',controlattrs:{offsetx:5,offsety:5},anchorkeyword:'#top',state:{isvisible:false,shouldvisible:false},scrollup:function(){if(!this.cssfixedsupport){if(this.$control!=undefined)this.$control.css({opacity:0})};var A=isNaN(this.setting.scrollto)?this.setting.scrollto:parseInt(this.setting.scrollto);if(typeof A=="string"&&jQuery('#'+A).length==1){A=jQuery('#'+A).offset().top;}else {A=this.setting.scrollto;};if(this.$body!=undefined)this.$body.animate({scrollTop:A},this.setting.scrollduration);},keepfixed:function(){var $A=jQuery(A);var B=$A.scrollLeft()+$A.width()-this.$control.width()-this.controlattrs.offsetx;var C=$A.scrollTop()+$A.height()-this.$control.height()-this.controlattrs.offsety;this.$control.css({left:B+'px',top:C+'px'});},togglecontrol:function(){var A=jQuery(window).scrollTop();if(!this.cssfixedsupport){this.keepfixed();};this.state.shouldvisible=(A>=this.setting.startline)?true:false;if(this.state.shouldvisible&&!this.state.isvisible){this.$control.stop().animate({opacity:1},this.setting.fadeduration[0]);this.state.isvisible=true;}else if(this.state.shouldvisible==false&&this.state.isvisible){this.$control.stop().animate({opacity:0},this.setting.fadeduration[1]);this.state.isvisible=false;}},init:function(){jQuery(document).ready(function($){if($("body").attr('scrolltotop')!='no'){scrolltotop.cssfixedsupport=!document.all||document.all&&document.compatMode=="CSS1Compat"&&window.XMLHttpRequest;scrolltotop.$body=(window.opera)?(document.compatMode=="CSS1Compat"?$('html'):$('body')):$('html,body');scrolltotop.$control=$('
    '+scrolltotop.controlHTML+'
    ').css({position:scrolltotop.cssfixedsupport?'fixed':'absolute',bottom:scrolltotop.controlattrs.offsety,right:scrolltotop.controlattrs.offsetx,opacity:0,cursor:'pointer'}).click(function(){scrolltotop.scrollup();return false;}).appendTo('body');if(document.all&&!window.XMLHttpRequest&&scrolltotop.$control.text()!=''){scrolltotop.$control.css({width:scrolltotop.$control.width()});};scrolltotop.togglecontrol();$('a[href="'+scrolltotop.anchorkeyword+'"]').click(function(){scrolltotop.scrollup();return false;});$(window).bind('scroll resize',function(e){scrolltotop.togglecontrol();});}});}}; - -/** - * 定时器 - * $("#close-button").oneTime(1000,function(){}); - * $("#close-button").stopTime(); - * 1. everyTime(时间间隔, [计时器名称], 函式名称, [次数限制], [等待函式程序完成]) - * 2. oneTime(时间间隔, [计时器名称], 呼叫的函式) - * 3. stopTime ([计时器名称], [函式名称]) - */ -jQuery.fn.extend({everyTime:function(A,B,C,D,E){return this.each(function(){jQuery.timer.add(this,A,B,C,D,E);});},oneTime:function(A,B,C){return this.each(function(){jQuery.timer.add(this,A,B,C,1);});},stopTime:function(A,B){return this.each(function(){jQuery.timer.remove(this,A,B);});}});jQuery.extend({timer:{guid:1,global:{},regex:/^([0-9]+)\s*(.*s)?$/,powers:{'ms':1,'cs':10,'ds':100,'s':1000,'das':10000,'hs':100000,'ks':1000000},timeParse:function(A){if(A==undefined||A==null)return null;var B=this.regex.exec(jQuery.trim(A.toString()));if(B[2]){var C=parseInt(B[1],10);var D=this.powers[B[2]]||1;return C*D;}else {return A;}},add:function(A,B,C,D,E,F){var G=0;if(jQuery.isFunction(C)){if(!E)E=D;D=C;C=B;}B=jQuery.timer.timeParse(B);if(typeof B!='number'||isNaN(B)||B<=0)return;if(E&&E.constructor!=Number){F=!!E;E=0;}E=E||0;F=F||false;if(!A.$timers)A.$timers={};if(!A.$timers[C])A.$timers[C]={};D.$timerID=D.$timerID||this.guid++;var H=function(){if(F&&this.inProgress)return;this.inProgress=true;if((++G>E&&E!==0)||D.call(A,G)===false)jQuery.timer.remove(A,C,D);this.inProgress=false;};H.$timerID=D.$timerID;if(!A.$timers[C][D.$timerID])A.$timers[C][D.$timerID]=window.setInterval(H,B);if(!this.global[C])this.global[C]=[];this.global[C].push(A);},remove:function(A,B,E){var D=A.$D,ret;if(D){if(!B){for(B in D)this.remove(A,B,E);}else if(D[B]){if(E){if(E.$timerID){window.clearInterval(D[B][E.$timerID]);delete D[B][E.$timerID];}}else {for(var E in D[B]){window.clearInterval(D[B][E]);delete D[B][E];}}for(ret in D[B])break;if(!ret){ret=null;delete D[B];}}for(ret in D)break;if(!ret)A.$D=null;}}}});if(jQuery.browser.msie)jQuery(window).one("unload",function(){var A=jQuery.timer.global;for(var B in A){var C=A[B],i=C.length;while(--i)jQuery.timer.remove(C[i],B);}}); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/scrolltotop.gif b/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/scrolltotop.gif deleted file mode 100644 index f24aa2162985e60a75cc4459bd79b5ddbc279dd7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/js/HoorayLibs/scrolltotop.gif and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/js/core.js b/src/main/webapp/js/HoorayOS_mini/js/core.js deleted file mode 100644 index 564ca88c5403c05a86cd875b7bf2b7e77813cf4d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/core.js +++ /dev/null @@ -1,25 +0,0 @@ -/* -** HoorayOS开源桌面应用框架 -** 作者:胡尐睿丶 -** 地址:http://hoorayos.com -** 我希望能将这项目继续开源下去,所以请手下留情,保留以上这段版权信息,授权用户可删除代码中任何信息 -*/ - -var TEMP = {}; -var HROS = {}; - -HROS.CONFIG = { - appButtonTop : 20, //快捷方式top初始位置 - appButtonLeft : 20, //快捷方式left初始位置 - windowIndexid : 10000, //窗口z-index初始值 - widgetIndexid : 1, //挂件z-index初始值 - windowMinWidth : 215, //窗口最小宽度 - windowMinHeight : 59, //窗口最小高度 - wallpaper : '' //壁纸 -}; - -HROS.VAR = { - zoomLevel : 1, - dock : '', - desk : '' -}; \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.app.js b/src/main/webapp/js/HoorayOS_mini/js/hros.app.js deleted file mode 100644 index 904eaf63ed67b1e14750a42831953a47c32ffb0d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.app.js +++ /dev/null @@ -1,170 +0,0 @@ -/* -** 应用 -*/ -HROS.app = (function(){ - return { - /* - ** 初始化桌面应用 - */ - init : function(){ - //绑定应用打开事件 - HROS.app.click(); - //绑定滚动条拖动事件 - HROS.app.moveScrollbar(); - HROS.app.get(); - }, - get : function(){ - $.getJSON('../../app/findDesk.action', function (sc) { - HROS.VAR.dock = sc['dock']; - HROS.VAR.desk = sc['desk']; - //输出桌面应用 - HROS.app.set(); - }); - }, - /* - ** 输出应用 - */ - set : function(){ - //绘制应用表格 - var grid = HROS.grid.getAppGrid(), dockGrid = HROS.grid.getDockAppGrid(); - //加载应用码头应用 - if(HROS.VAR.dock != ''){ - var dock_append = ''; - $(HROS.VAR.dock).each(function(i){ - dock_append += appbtnTemp({ - 'top' : dockGrid[i]['startY'], - 'left' : dockGrid[i]['startX'], - 'title' : this.title, - 'type' : this.type, - 'id' : 'd_' + this.id, - 'appid' : this.id, - 'imgsrc' : this.icon - }); - }); - $('#dock-bar .dock-applist').html('').append(dock_append); - }else{ - $('#dock-bar .dock-applist').html(''); - } - //加载桌面应用 - if(HROS.VAR.desk != ''){ - var desk_append = ''; - $(HROS.VAR.desk).each(function(i){ - desk_append += appbtnTemp({ - 'top' : grid[i]['startY'] + 7, - 'left' : grid[i]['startX'] + 16, - 'title' : this.title, - 'type' : this.type, - 'id' : 'd_' + this.id, - 'appid' : this.id, - 'imgsrc' : this.icon - }); - }); - } - $('#desk-1 li').remove(); - $('#desk-1').append(desk_append); - HROS.deskTop.appresize(); - //加载滚动条 - HROS.app.getScrollbar(); - }, - /* - ** 应用打开 - */ - click : function(){ - //应用码头应用拖动 - $('#dock-bar .dock-applist').on('click', 'li', function(e){ - e.preventDefault(); - e.stopPropagation(); - switch($(this).attr('type')){ - case 'app': - HROS.window.create($(this).attr('appid')); - break; - case 'widget': - HROS.widget.create($(this).attr('appid')); - break; - } - }); - //桌面应用拖动 - $('#desktop .desktop-container').on('click', 'li:not(.add)', function(e){ - e.preventDefault(); - e.stopPropagation(); - switch($(this).attr('type')){ - case 'app': - HROS.window.create($(this).attr('appid')); - break; - case 'widget': - HROS.widget.create($(this).attr('appid')); - break; - } - }); - }, - /* - ** 加载滚动条 - */ - getScrollbar : function(){ - setTimeout(function(){ - $('#desk .desktop-container').each(function(){ - var desk = $(this), scrollbar = desk.children('.scrollbar'); - //先清空所有附加样式 - scrollbar.hide(); - desk.scrollLeft(0); - var deskW = parseInt(desk.children('.appbtn').last().css('left')) + 106; - if(desk.width() / deskW < 1){ - desk.children('.scrollbar-x').width(desk.width() / deskW * desk.width()).css('left',0).show(); - } - }); - }, 500); - }, - /* - ** 移动滚动条 - */ - moveScrollbar : function(){ - /* - ** 手动拖动 - */ - $('#desk .scrollbar').on('mousedown', function(e){ - var x, y, cx, cy, deskrealw, deskrealh, movew, moveh; - var scrollbar = $(this), desk = scrollbar.parent('.desktop-container'); - deskrealw = parseInt(desk.children('.appbtn').last().css('left')) + 106; - deskrealh = parseInt(desk.children('.appbtn').last().css('top')) + 108; - movew = desk.width() - scrollbar.width(); - moveh = desk.height() - scrollbar.height(); - if(scrollbar.hasClass('scrollbar-x')){ - x = e.clientX - scrollbar.offset().left; - }else{ - y = e.clientY - scrollbar.offset().top; - } - $(document).on('mousemove', function(e){ - if(scrollbar.hasClass('scrollbar-x')){ - cx = e.clientX - x - 73 < 0 ? 0 : e.clientX - x - 73 > movew ? movew : e.clientX - x - 73; - scrollbar.css('left', cx / desk.width() * deskrealw + cx); - desk.scrollLeft(cx / desk.width() * deskrealw); - }else{ - cy = e.clientY - y < 0 ? 0 : e.clientY - y > moveh ? moveh : e.clientY - y; - scrollbar.css('top', cy / desk.height() * deskrealh + cy); - desk.scrollTop(cy / desk.height() * deskrealh); - } - }).on('mouseup', function(){ - $(this).off('mousemove').off('mouseup'); - }); - }); - /* - ** 鼠标滚动 - */ - $('#desk .desktop-container').each(function(i){ - $('#desk-' + (i + 1)).on('mousewheel', function(event, delta){ - var desk = $(this); - var deskrealw = parseInt(desk.children('.appbtn').last().css('left')) + 106, scrollleftright; - if(delta < 0){ - scrollleftright = desk.scrollLeft() + 200 > deskrealw - desk.width() ? deskrealw - desk.width() : desk.scrollLeft() + 200; - }else{ - scrollleftright = desk.scrollLeft() - 200 < 0 ? 0 : desk.scrollLeft() - 200; - } - desk.stop(false, true).animate({scrollLeft : scrollleftright}, 300); - desk.children('.scrollbar-x').stop(false, true).animate({ - left : scrollleftright / deskrealw * desk.width() + scrollleftright - }, 300); - }); - }); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.base.js b/src/main/webapp/js/HoorayOS_mini/js/hros.base.js deleted file mode 100644 index 596f26e5c9ffe53ac7112f548e79d5d7f3c0c37b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.base.js +++ /dev/null @@ -1,44 +0,0 @@ -/* -** 一个不属于其他模块的模块 -*/ -HROS.base = (function(){ - return { - /* - ** 系统初始化 - */ - init : function(){ - //阻止弹出浏览器默认右键菜单 - $('body').on('contextmenu', function(){ - return false; - }); - //用于判断网页是否缩放 - HROS.zoom.init(); - //桌面(容器)初始化 - HROS.deskTop.init(); - //初始化壁纸 - HROS.wallpaper.init(); - //初始化任务栏 - HROS.taskbar.init(); - /* - ** 当dockPos为top时 当dockPos为left时 当dockPos为right时 - ** ----------------------- ----------------------- ----------------------- - ** | o o o dock | | o | o | | o | o | - ** ----------------------- | o | o | | o | o | - ** | o o | | o | o | | o | o | - ** | o + | | | o | | o | | - ** | o desk | | | o desk | | o desk | | - ** | o | | | + | | + | | - ** ----------------------- ----------------------- ----------------------- - ** 因为desk区域的尺寸和定位受dock位置的影响,所以加载应用前必须先定位好dock的位置 - */ - //初始化应用码头 - HROS.dock.init(); - //初始化桌面应用 - HROS.app.init(); - //初始化widget模块 - HROS.widget.init(); - //初始化窗口模块 - HROS.window.init(); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.desktop.js b/src/main/webapp/js/HoorayOS_mini/js/hros.desktop.js deleted file mode 100644 index cc937304330009e3f6a665ee67e9b99a13345a2f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.desktop.js +++ /dev/null @@ -1,101 +0,0 @@ -/* -** 桌面 -*/ -HROS.deskTop = (function(){ - return { - init : function(){ - //绑定浏览器resize事件 - $(window).on('resize', function(){ - HROS.deskTop.resize(); - }); - $('body').on('click', '#desktop', function(){ - HROS.popupMenu.hide(); - }).on('contextmenu', '#desktop', function(e){ - HROS.popupMenu.hide(); - return false; - }); - }, - /* - ** 处理浏览器改变大小后的事件 - */ - resize : function(){ - HROS.dock.setPos(); - //更新应用定位 - HROS.deskTop.appresize(); - //更新窗口定位 - HROS.deskTop.windowresize(); - HROS.wallpaper.set(false); - }, - /* - ** 重新排列应用 - */ - appresize : function(){ - switch(HROS.CONFIG.appSize){ - case 's': - $('#desk').removeClass('smallIcon').addClass('smallIcon'); - break; - case 'm': - $('#desk').removeClass('smallIcon'); - break; - } - var grid = HROS.grid.getAppGrid(), dockGrid = HROS.grid.getDockAppGrid(); - $('#dock-bar .dock-applist li').each(function(i){ - $(this).css({ - 'left' : dockGrid[i]['startX'], - 'top' : dockGrid[i]['startY'] - }); - $(this).attr('left', $(this).offset().left).attr('top', $(this).offset().top); - }); - $('#desk-1 li').each(function(i){ - var left = grid[i]['startX'] + 16, top = grid[i]['startY'] + 7; - $(this).stop(true, false).animate({ - 'left' : left, - 'top' : top - }, 500); - switch(HROS.CONFIG.dockPos){ - case 'top': - $(this).attr('left', left).attr('top', top + 73); - break; - case 'left': - $(this).attr('left', left + 73).attr('top', top); - break; - case 'right': - $(this).attr('left', left).attr('top', top); - break; - } - }); - //更新滚动条 - HROS.app.getScrollbar(); - }, - /* - ** 重新定位窗口位置 - */ - windowresize : function(){ - $('#desk div.window-container').each(function(){ - var windowdata = $(this).data('info'); - currentW = $(window).width() - $(this).width(); - currentH = $(window).height() - $(this).height(); - var _l = windowdata['left'] / windowdata['emptyW'] * currentW >= currentW ? currentW : windowdata['left'] / windowdata['emptyW'] * currentW; - _l = _l <= 0 ? 0 : _l; - var _t = windowdata['top'] / windowdata['emptyH'] * currentH >= currentH ? currentH : windowdata['top'] / windowdata['emptyH'] * currentH; - _t = _t <= 0 ? 0 : _t; - if($(this).attr('state') != 'hide'){ - $(this).animate({ - 'left' : _l, - 'top' : _t - }, 500, function(){ - windowdata['left'] = _l; - windowdata['top'] = _t; - windowdata['emptyW'] = $(window).width() - $(this).width(); - windowdata['emptyH'] = $(window).height() - $(this).height(); - }); - }else{ - windowdata['left'] = _l; - windowdata['top'] = _t; - windowdata['emptyW'] = $(window).width() - $(this).width(); - windowdata['emptyH'] = $(window).height() - $(this).height(); - } - }); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.dock.js b/src/main/webapp/js/HoorayOS_mini/js/hros.dock.js deleted file mode 100644 index 1cb794b7ff3827c8c9ef0d3957239c98f72eda49..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.dock.js +++ /dev/null @@ -1,37 +0,0 @@ -/* -** 应用码头 -*/ -HROS.dock = (function(){ - return { - /* - ** 初始化 - */ - init : function(){ - $(window).resize(function(){ - HROS.dock.setPos(); - }); - HROS.dock.setPos(); - }, - setPos : function(){ - var desktop = $('#desk-1'), desktops = $('#desk .desktop-container'); - var desk_w = desktop.css('width', '100%').width(), desk_h = desktop.css('height', '100%').height(); - //清除dock位置样式 - $('#dock-container').removeClass('dock-top').removeClass('dock-left').removeClass('dock-right'); - $('#dock-bar').removeClass('top-bar').removeClass('left-bar').removeClass('right-bar').hide(); - - $('#dock-bar').addClass('left-bar').children('#dock-container').addClass('dock-left'); - desktops.css({ - 'width' : desk_w - 73, - 'height' : desk_h - 70, - 'left' : desk_w + 73, - 'top' : 0 - }); - desktop.css({ - 'left' : 73 - }); - - $('#dock-bar').show(); - HROS.taskbar.resize(); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.grid.js b/src/main/webapp/js/HoorayOS_mini/js/hros.grid.js deleted file mode 100644 index a6909e6577046a33b29689b25f713c43658ad220..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.grid.js +++ /dev/null @@ -1,83 +0,0 @@ -/* -** 应用布局格子 -** 这篇文章里有简单说明格子的作用 -** http://www.cnblogs.com/hooray/archive/2012/03/23/2414410.html -*/ -HROS.grid = (function(){ - return { - getAppGrid : function(){ - var width, height; - width = $('#desk-1').width() - HROS.CONFIG.appButtonLeft; - height = $('#desk-1').height() - HROS.CONFIG.appButtonTop; - var appGrid = [], _top = HROS.CONFIG.appButtonTop, _left = HROS.CONFIG.appButtonLeft; - for(var i = 0; i < 10000; i++){ - appGrid.push({ - startY : _top, - endY : _top + 100, - startX : _left, - endX : _left + 120 - }); - _top += 100; - if(_top + 70 > height){ - _top = HROS.CONFIG.appButtonTop; - _left += 120; - } - } - return appGrid; - }, - searchAppGrid : function(x, y){ - var grid = HROS.grid.getAppGrid(), j = grid.length; - var flags = 0, appLength = $('#desk-1 li.appbtn:not(.add)').length - 1; - for(var i = 0; i < j; i++){ - if(x >= grid[i].startX && x <= grid[i].endX){ - flags += 1; - } - if(y >= grid[i].startY && y <= grid[i].endY){ - flags += 1; - } - if(flags === 2){ - return i > appLength ? appLength : i; - }else{ - flags = 0; - } - } - return null; - }, - getDockAppGrid : function(){ - var height = $('#dock-bar .dock-applist').height(); - var dockAppGrid = [], _left = 0, _top = 0; - for(var i = 0; i < 7; i++){ - dockAppGrid.push({ - startY : _top, - endY : _top + 62, - startX : _left, - endX : _left + 62 - }); - _top += 62; - if(_top + 62 > height){ - _top = 0; - _left += 62; - } - } - return dockAppGrid; - }, - searchDockAppGrid : function(x, y){ - var grid = HROS.grid.getDockAppGrid(), j = grid.length, flags = 0, - appLength = $('#dock-bar .dock-applist li').length - 1; - for(var i = 0; i < j; i++){ - if(x >= grid[i].startX && x <= grid[i].endX){ - flags += 1; - } - if(y >= grid[i].startY && y <= grid[i].endY){ - flags += 1; - } - if(flags === 2){ - return i > appLength ? appLength : i; - }else{ - flags = 0; - } - } - return null; - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.maskBox.js b/src/main/webapp/js/HoorayOS_mini/js/hros.maskBox.js deleted file mode 100644 index 96fab31104bdd5f458ac1521bee814490601e5ee..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.maskBox.js +++ /dev/null @@ -1,16 +0,0 @@ -/* -** 透明遮罩层 -** 当拖动应用、窗口等一切可拖动的对象时,会加载一个遮罩层 -** 避免拖动时触发或选中一些不必要的操作,安全第一 -*/ -HROS.maskBox = (function(){ - return { - desk : function(){ - if(!TEMP.maskBoxDesk){ - TEMP.maskBoxDesk = $('
    '); - $('body').append(TEMP.maskBoxDesk); - } - return TEMP.maskBoxDesk; - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.popupMenu.js b/src/main/webapp/js/HoorayOS_mini/js/hros.popupMenu.js deleted file mode 100644 index 06c34d362f309f8763891ba3ebe28f8fda288d94..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.popupMenu.js +++ /dev/null @@ -1,37 +0,0 @@ -/* -** 右键菜单 -*/ -HROS.popupMenu = (function(){ - return { - /* - ** 任务栏右键 - */ - task : function(obj){ - HROS.window.show2under(); - if(!TEMP.popupMenuTask){ - TEMP.popupMenuTask = $(''); - $('body').append(TEMP.popupMenuTask); - $('.task-menu').on('contextmenu', function(){ - return false; - }); - } - //绑定事件 - $('.task-menu a[menu="max"]').off('click').on('click', function(){ - HROS.window.max(obj.attr('appid'), obj.attr('type')); - $('.popup-menu').hide(); - }); - $('.task-menu a[menu="hide"]').off('click').on('click', function(){ - HROS.window.hide(obj.attr('appid'), obj.attr('type')); - $('.popup-menu').hide(); - }); - $('.task-menu a[menu="close"]').off('click').on('click', function(){ - HROS.window.close(obj.attr('appid'), obj.attr('type')); - $('.popup-menu').hide(); - }); - return TEMP.popupMenuTask; - }, - hide : function(){ - $('.popup-menu').hide(); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.taskbar.js b/src/main/webapp/js/HoorayOS_mini/js/hros.taskbar.js deleted file mode 100644 index 847c65c31b437fc11b20e9dadf048f71cfa38ed2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.taskbar.js +++ /dev/null @@ -1,93 +0,0 @@ -/* -** 任务栏 -*/ -HROS.taskbar = (function(){ - return { - /* - ** 初始化 - */ - init : function(){ - //当浏览器窗口改变大小时,任务栏的显示也需进行刷新 - $(window).on('resize', function(){ - HROS.taskbar.resize(); - }); - //绑定任务栏点击事件 - HROS.taskbar.click(); - //绑定任务栏前进后退按钮事件 - HROS.taskbar.pageClick(); - }, - click : function(){ - $('#task-content-inner').on('click', 'a.task-item', function(){ - if($(this).hasClass('task-item-current')){ - HROS.window.hide($(this).attr('appid')); - }else{ - HROS.window.show2top($(this).attr('appid')); - } - }).on('contextmenu', 'a.task-item', function(e){ - HROS.popupMenu.hide(); - var popupmenu = HROS.popupMenu.task($(this)); - var l = $(window).width() - e.clientX < popupmenu.width() ? e.clientX - popupmenu.width() : e.clientX; - var t = e.clientY - popupmenu.height(); - popupmenu.css({ - left : l, - top : t - }).show(); - return false; - }); - }, - pageClick : function(){ - $('#task-next-btn').on('click', function(){ - if($(this).hasClass('disable') == false){ - var w = $('#task-bar').width(), realW = $('#task-content-inner .task-item').length * 114, showW = w - 112, overW = realW - showW; - var marginL = parseInt($('#task-content-inner').css('margin-left')) - 114; - if(marginL <= overW * -1){ - marginL = overW * -1; - $('#task-next a').addClass('disable'); - } - $('#task-pre a').removeClass('disable'); - $('#task-content-inner').animate({ - marginLeft : marginL - }, 200); - } - }); - $('#task-pre-btn').on('click', function(){ - if($(this).hasClass('disable') == false){ - var marginL = parseInt($('#task-content-inner').css('margin-left')) + 114; - if(marginL >= 0){ - marginL = 0; - $('#task-pre a').addClass('disable'); - } - $('#task-next a').removeClass('disable'); - $('#task-content-inner').animate({ - marginLeft : marginL - }, 200); - } - }); - }, - resize : function(){ - $('#task-content-inner').removeClass('fl'); - $('#task-bar').css({ - 'left' : 73, - 'right' : 0 - }); - var w = $('#task-bar').width(), realW = $('#task-content-inner .task-item').length * 114, showW = w - 112; - $('#task-content-inner').css('width', realW); - if(realW >= showW){ - $('#task-next, #task-pre').show(); - $('#task-content').css('width', showW); - $('#task-content-inner').addClass('fl').stop(true, false).animate({ - marginLeft : 0 - }, 200); - $('#task-next a').removeClass('disable'); - $('#task-pre a').addClass('disable'); - }else{ - $('#task-next, #task-pre').hide(); - $('#task-content').css('width','100%'); - $('#task-content-inner').css({ - 'margin-left' : 0, - 'margin-right' : 0 - }); - } - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.wallpaper.js b/src/main/webapp/js/HoorayOS_mini/js/hros.wallpaper.js deleted file mode 100644 index 96a78a67330d4cd37ae59de62fc8082b2ff6802b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.wallpaper.js +++ /dev/null @@ -1,38 +0,0 @@ -/* -** 壁纸 -*/ -HROS.wallpaper = (function(){ - return { - /* - ** 初始化 - */ - init : function(){ - HROS.wallpaper.set(); - }, - /* - ** 设置壁纸 - */ - set : function(isreload){ - /* - ** 判断壁纸是否需要重新载入 - ** 比如当浏览器尺寸改变时,只需更新壁纸,而无需重新载入 - */ - var isreload = typeof(isreload) == 'undefined' ? true : isreload; - if(isreload){ - $('#zoomWallpaperGrid').remove(); - } - var w = $(window).width(), h = $(window).height(); - if(isreload){ - $('body').append('
    '); - $('#zoomWallpaper').attr('src', HROS.CONFIG.wallpaper).on('load', function(){ - $(this).show(); - }); - }else{ - $('#zoomWallpaperGrid, #zoomWallpaperGrid div, #zoomWallpaper').css({ - height : h + 'px', - width : w + 'px' - }); - } - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.widget.js b/src/main/webapp/js/HoorayOS_mini/js/hros.widget.js deleted file mode 100644 index ef0c763b4f19eda1825247be15a2e9b3669dbf44..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.widget.js +++ /dev/null @@ -1,156 +0,0 @@ -/* -** 小挂件 -*/ -HROS.widget = (function(){ - return { - init : function(){ - //挂件上各个按钮 - HROS.widget.handle(); - //挂件移动 - HROS.widget.move(); - }, - /* - ** 创建挂件 - ** 自定义挂件:HROS.widget.createTemp({url,width,height,left,top}); - ** 示例:HROS.widget.createTemp({url:"http://www.baidu.com",width:800,height:400,left:100,top:100}); - */ - createTemp : function(obj){ - var appid = obj.appid == null ? Date.parse(new Date()) : obj.appid; - //判断窗口是否已打开 - var iswidgetopen = false; - $('#desk .widget').each(function(){ - if($(this).attr('appid') == appid){ - iswidgetopen = true; - return false; - } - }); - //如果没有打开,则进行创建 - if(!iswidgetopen){ - function nextDo(options){ - $('#desk').append(widgetWindowTemp({ - 'width' : options.width, - 'height' : options.height, - 'type' : 'widget', - 'id' : 'w_' + options.appid, - 'appid' : options.appid, - 'top' : options.top, - 'right' : options.right, - 'url' : options.url, - 'zIndex' : HROS.CONFIG.widgetIndexid - })); - HROS.CONFIG.widgetIndexid += 1; - } - nextDo({ - appid : appid, - url : obj.url, - width : obj.width, - height : obj.height, - top : obj.top == null ? 0 : obj.top, - right : obj.right == null ? 0 : obj.right - }); - } - }, - create : function(appid){ - //判断窗口是否已打开 - var iswidgetopen = false; - $('#desk .widget').each(function(){ - if($(this).attr('appid') == appid){ - iswidgetopen = true; - return false; - } - }); - //如果没有打开,则进行创建 - if(!iswidgetopen){ - function nextDo(options){ - var widgetId = '#w_' + options.appid; - TEMP.widgetTemp = { - 'title' : options.title, - 'width' : options.width, - 'height' : options.height, - 'type' : options.type, - 'id' : 'w_' + options.appid, - 'appid' : options.appid, - 'top' : options.top, - 'right' : options.right, - 'url' : options.url, - 'zIndex' : HROS.CONFIG.widgetIndexid, - 'issetbar' : 1 - }; - $('#desk').append(widgetWindowTemp(TEMP.widgetTemp)); - $(widgetId).data('info', TEMP.widgetTemp); - HROS.CONFIG.widgetIndexid += 1; - } - $(HROS.VAR.dock).each(function(){ - if(this.id == appid){ - nextDo({ - appid : this.id, - title : this.title, - url : this.url, - type : this.type, - width : this.width, - height : this.height, - top : typeof(this.top) == 'undefined' ? 0 : this.top, - right : typeof(this.right) == 'undefined' ? 0 : this.right - }); - } - }); - $(HROS.VAR.desk).each(function(){ - if(this.id == appid){ - nextDo({ - appid : this.id, - title : this.title, - url : this.url, - type : this.type, - width : this.width, - height : this.height, - top : typeof(this.top) == 'undefined' ? 0 : this.top, - right : typeof(this.right) == 'undefined' ? 0 : this.right - }); - } - }); - } - }, - move : function(){ - $('#desk').on('mousedown', '.widget .move', function(e){ - var obj = $(this).parents('.widget'); - HROS.widget.show2top(obj.attr('appid')); - var lay, x, y; - x = e.clientX - obj.offset().left; - y = e.clientY - obj.offset().top; - //绑定鼠标移动事件 - $(document).on('mousemove', function(e){ - lay = HROS.maskBox.desk(); - lay.show(); - _r = e.clientX - x; - _t = e.clientY - y; - _t = _t < 0 ? 0 : _t; - _r = $(window).width() - obj.width() - _r; - obj.css({ - right : _r, - top : _t - }); - }).on('mouseup', function(){ - $(this).off('mousemove').off('mouseup'); - if(typeof(lay) !== 'undefined'){ - lay.hide(); - } - }); - }); - }, - close : function(appid){ - var widgetId = '#w_' + appid; - $(widgetId).html('').remove(); - }, - show2top : function(appid){ - var widgetId = '#w_' + appid; - $(widgetId).css('z-index', HROS.CONFIG.widgetIndexid); - HROS.CONFIG.widgetIndexid += 1; - }, - handle : function(){ - $('#desk').on('click', '.widget .ha-close', function(e){ - var obj = $(this).parents('.widget'); - HROS.widget.close(obj.attr('appid')); - }); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.window.js b/src/main/webapp/js/HoorayOS_mini/js/hros.window.js deleted file mode 100644 index 6e1016788ca39ed013254e81e9e9c8b85a10fb8e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.window.js +++ /dev/null @@ -1,608 +0,0 @@ -/* -** 应用窗口 -*/ -HROS.window = (function(){ - return { - init : function(){ - //窗口上各个按钮 - HROS.window.handle(); - //窗口移动 - HROS.window.move(); - //窗口拉伸 - HROS.window.resize(); - //绑定窗口遮罩层点击事件 - $('#desk').on('click', '.window-container .window-mask', function(){ - HROS.window.show2top($(this).parents('.window-container').attr('appid'), true); - }); - //屏蔽窗口右键 - $('#desk').on('contextmenu', '.window-container', function(){ - return false; - }); - }, - /* - ** 创建窗口 - ** 自定义窗口:HROS.window.createTemp({title,url,width,height,top,left,resize,isflash}); - ** 后面参数依次为:标题、地址、宽、高、是否可拉伸、是否打开默认最大化、是否为flash - ** 示例:HROS.window.createTemp({title:"百度",url:"http://www.baidu.com",width:800,height:400,top:0,left:100,isresize:false,isopenmax:false,isflash:false}); - */ - createTemp : function(obj){ - var type = 'app', appid = obj.appid == null ? Date.parse(new Date()) : obj.appid; - //判断窗口是否已打开 - var iswindowopen = false; - $('#task-content-inner a.task-item').each(function(){ - if($(this).attr('appid') == appid){ - iswindowopen = true; - HROS.window.show2top($(this).attr('appid')); - return false; - } - }); - //如果没有打开,则进行创建 - if(!iswindowopen){ - function nextDo(options){ - var windowId = '#w_' + options.appid; - //新增任务栏 - $('#task-content-inner').prepend(taskTemp({ - 'type' : options.type, - 'id' : 't_' + options.appid, - 'appid' : options.appid, - 'title' : options.title, - 'imgsrc' : options.imgsrc - })); - HROS.taskbar.resize(); - //新增窗口 - TEMP.windowTemp = { - 'width' : options.width, - 'height' : options.height, - 'top' : options.top, - 'left' : options.left, - 'emptyW' : $(window).width() - options.width, - 'emptyH' : $(window).height() - options.height, - 'zIndex' : HROS.CONFIG.windowIndexid, - 'type' : options.type, - 'id' : 'w_' + options.appid, - 'appid' : options.appid, - 'title' : options.title, - 'url' : options.url, - 'imgsrc' : options.imgsrc, - 'isresize' : options.isresize, - 'isopenmax' : options.isopenmax, - 'istitlebar' : options.isresize, - 'istitlebarFullscreen' : options.isresize ? window.fullScreenApi.supportsFullScreen == true ? true : false : false, - 'isflash' : options.isflash - }; - $('#desk').append(windowTemp(TEMP.windowTemp)); - $(windowId).data('info', TEMP.windowTemp); - HROS.CONFIG.windowIndexid += 1; - //iframe加载完毕后,隐藏loading遮罩层 - $(windowId + ' iframe').load(function(){ - $(windowId + ' .window-frame').children('div').eq(1).fadeOut(); - }); - HROS.window.show2top(options.appid); - } - nextDo({ - type : type, - appid : appid, - imgsrc : 'img/ui/default_icon.png', - title : obj.title, - url : obj.url, - width : obj.width, - height : obj.height, - top : typeof(obj.top) == 'undefined' ? (($(window).height() - obj.height) / 2 <= 0 ? 0 : ($(window).height() - obj.height) / 2) : obj.top, - left : typeof(obj.left) == 'undefined' ? (($(window).width() - obj.width) / 2 <= 0 ? 0 : ($(window).width() - obj.width) / 2) : obj.left, - isresize : typeof(obj.isresize) == 'undefined' ? false : obj.isresize, - isopenmax : typeof(obj.isopenmax) == 'undefined' ? false : obj.isopenmax, - isflash : typeof(obj.isflash) == 'undefined' ? true : obj.isflash - }); - }else{ - //如果设置强制刷新 - if(obj.refresh){ - var windowId = '#w_' + appid; - $(windowId).find('iframe').attr('src', obj.url); - } - } - }, - /* - ** 创建窗口 - ** 系统窗口:HROS.window.create(appid); - ** 示例:HROS.window.create(12); - */ - create : function(appid){ - //判断窗口是否已打开 - var iswindowopen = false; - $('#task-content-inner a.task-item').each(function(){ - if($(this).attr('appid') == appid){ - iswindowopen = true; - HROS.window.show2top(appid); - return false; - } - }); - //如果没有打开,则进行创建 - if(!iswindowopen){ - function nextDo(options){ - var windowId = '#w_' + options.appid; - //新增任务栏 - $('#task-content-inner').prepend(taskTemp({ - 'type' : options.type, - 'id' : 't_' + options.appid, - 'appid' : options.appid, - 'title' : options.title, - 'imgsrc' : options.imgsrc - })); - HROS.taskbar.resize(); - //新增窗口 - TEMP.windowTemp = { - 'width' : options.width, - 'height' : options.height, - 'top' : options.top, - 'left' : options.left, - 'emptyW' : $(window).width() - options.width, - 'emptyH' : $(window).height() - options.height, - 'zIndex' : HROS.CONFIG.windowIndexid, - 'type' : options.type, - 'id' : 'w_' + options.appid, - 'appid' : options.appid, - 'title' : options.title, - 'url' : options.url, - 'imgsrc' : options.imgsrc, - 'isresize' : options.isresize == 1 ? true : false, - 'isopenmax' : options.isresize == 1 ? options.isopenmax == 1 ? true : false : false, - 'istitlebar' : options.isresize == 1 ? true : false, - 'istitlebarFullscreen' : options.isresize == 1 ? window.fullScreenApi.supportsFullScreen == true ? true : false : false, - 'isflash' : options.isflash == 1 ? true : false - }; - $('#desk').append(windowTemp(TEMP.windowTemp)); - $(windowId).data('info', TEMP.windowTemp); - HROS.CONFIG.windowIndexid += 1; - //iframe加载完毕后,隐藏loading遮罩层 - $(windowId + ' iframe').load(function(){ - $(windowId + ' .window-frame').children('div').eq(1).fadeOut(); - }); - HROS.window.show2top(options.appid); - } - $(HROS.VAR.dock).each(function(){ - if(this.id == appid){ - nextDo({ - type : this.type, - id : this.id, - appid : this.id, - title : this.title, - imgsrc : this.icon, - url : this.url, - width : this.width, - height : this.height, - top : typeof(this.top) == 'undefined' ? (($(window).height() - this.height) / 2 <= 0 ? 0 : ($(window).height() - this.height) / 2) : this.top, - left : typeof(this.left) == 'undefined' ? (($(window).width() - this.width) / 2 <= 0 ? 0 : ($(window).width() - this.width) / 2) : this.left, - isresize : this.isresize, - isopenmax : this.isopenmax, - isflash : this.isflash - }); - } - }); - $(HROS.VAR.desk).each(function(){ - if(this.id == appid){ - nextDo({ - type : this.type, - id : this.id, - appid : this.id, - title : this.title, - imgsrc : this.icon, - url : this.url, - width : this.width, - height : this.height, - top : typeof(this.top) == 'undefined' ? (($(window).height() - this.height) / 2 <= 0 ? 0 : ($(window).height() - this.height) / 2) : this.top, - left : typeof(this.left) == 'undefined' ? (($(window).width() - this.width) / 2 <= 0 ? 0 : ($(window).width() - this.width) / 2) : this.left, - isresize : this.isresize, - isopenmax : this.isopenmax, - isflash : this.isflash - }); - } - }); - } - }, - close : function(appid){ - var windowId = '#w_' + appid, taskId = '#t_' + appid; - $(windowId).removeData('info').html('').remove(); - $('#task-content-inner ' + taskId).html('').remove(); - $('#task-content-inner').css('width', $('#task-content-inner .task-item').length * 114); - $('#task-bar, #nav-bar').removeClass('min-zIndex'); - HROS.taskbar.resize(); - }, - closeAll : function(){ - $('#desk .window-container').each(function(){ - HROS.window.close($(this).attr('appid')); - }); - }, - hide : function(appid){ - HROS.window.show2top(appid); - var windowId = '#w_' + appid, taskId = '#t_' + appid; - $(windowId).css('left', -10000).attr('state', 'hide'); - $('#task-content-inner ' + taskId).removeClass('task-item-current'); - if($(windowId).attr('ismax') == 1){ - $('#task-bar, #nav-bar').removeClass('min-zIndex'); - } - }, - hideAll : function(){ - $('#task-content-inner a.task-item').removeClass('task-item-current'); - $('#desk-1').nextAll('div.window-container').css('left', -10000).attr('state', 'hide'); - }, - max : function(appid){ - HROS.window.show2top(appid); - var windowId = '#w_' + appid, taskId = '#t_' + appid; - $(windowId + ' .title-handle .ha-max').hide().next(".ha-revert").show(); - $(windowId).addClass('window-maximize').attr('ismax',1).animate({ - width : '100%', - height : '100%', - top : 0, - left : 0 - }, 200); - $('#task-bar, #nav-bar').addClass('min-zIndex'); - }, - revert : function(appid){ - HROS.window.show2top(appid); - var windowId = '#w_' + appid, taskId = '#t_' + appid; - $(windowId + ' .title-handle .ha-revert').hide().prev('.ha-max').show(); - var obj = $(windowId), windowdata = obj.data('info'); - obj.removeClass('window-maximize').attr('ismax',0).animate({ - width : windowdata['width'], - height : windowdata['height'], - left : windowdata['left'], - top : windowdata['top'] - }, 500); - $('#task-bar, #nav-bar').removeClass('min-zIndex'); - }, - show2top : function(appid, isanimate){ - isanimate = isanimate == null ? false : isanimate; - var windowId = '#w_' + appid, taskId = '#t_' + appid; - var windowdata = $(windowId).data('info'); - var arr = []; - function show(){ - HROS.window.show2under(); - //改变当前任务栏样式 - $('#task-content-inner ' + taskId).addClass('task-item-current'); - if($(windowId).attr('ismax') == 1){ - $('#task-bar, #nav-bar').addClass('min-zIndex'); - } - //改变当前窗口样式 - $(windowId).addClass('window-current').css({ - 'z-index' : HROS.CONFIG.windowIndexid, - 'left' : windowdata['left'], - 'top' : windowdata['top'] - }).attr('state', 'show'); - //如果窗口最小化前是最大化状态的,则坐标位置设为0 - if($(windowId).attr('ismax') == 1){ - $(windowId).css({ - 'left' : 0, - 'top' : 0 - }); - } - //改变当前窗口遮罩层样式 - $(windowId + ' .window-mask').hide(); - //改变当前iframe显示 - $(windowId + ' iframe').show(); - HROS.CONFIG.windowIndexid += 1; - } - if(isanimate){ - var baseStartX = $(windowId).offset().left, baseEndX = baseStartX + $(windowId).width(); - var baseStartY = $(windowId).offset().top, baseEndY = baseStartY + $(windowId).height(); - var baseCenterX = baseStartX + ($(windowId).width() / 2), baseCenterY = baseStartY + ($(windowId).height() / 2); - var baseZIndex = parseInt($(windowId).css('zIndex')); - $('#desk .window-container:not(' + windowId + ')').each(function(){ - var thisStartX = $(this).offset().left, thisEndX = thisStartX + $(this).width(); - var thisStartY = $(this).offset().top, thisEndY = thisStartY + $(this).height(); - var thisCenterX = thisStartX + ($(this).width() / 2), thisCenterY = thisStartY + ($(this).height() / 2); - var thisZIndex = parseInt($(this).css('zIndex')); - var flag = ''; - if(thisZIndex > baseZIndex){ - // 常规情况,只要有一个角处于区域内,则可以判断窗口有覆盖 - // _______ _______ _______ _______ - // | ___|___ ___| | ___|___ | | |___ - // | | | | | | | | | | | | - // |___| | | |_______| | |___| |_______| | - // |_______| |_______| |_______| |_______| - if( - (thisStartX >= baseStartX && thisStartX <= baseEndX && thisStartY >= baseStartY && thisStartY <= baseEndY) - || - (thisStartX >= baseStartX && thisStartX <= baseEndX && thisEndY >= baseStartY && thisEndY <= baseEndY) - || - (thisEndX >= baseStartX && thisEndX <= baseEndX && thisStartY >= baseStartY && thisStartY <= baseEndY) - || - (thisEndX >= baseStartX && thisEndX <= baseEndX && thisEndY >= baseStartY && thisEndY <= baseEndY) - ){ - flag = 'x'; - } - // 非常规情况 - // _______ _______ _____ - // ___| | | |___ _| |___ - // | | | | | | | | | | - // |___| | | |___| |_| |___| - // |_______| |_______| |_____| - if( - (thisStartX >= baseStartX && thisStartX <= baseEndX && thisStartY < baseStartY && thisEndY > baseEndY) - || - (thisEndX >= baseStartX && thisEndX <= baseEndX && thisStartY < baseStartY && thisEndY > baseEndY) - ){ - flag = 'x'; - } - // _____ ___________ _____ - // __|_____|__ | | _|_____|___ - // | | | | | | - // | | |___________| |___________| - // |___________| |_____| |_____| - if( - (thisStartY >= baseStartY && thisStartY <= baseEndY && thisStartX < baseStartX && thisEndX > baseEndX) - || - (thisEndY >= baseStartY && thisEndY <= baseEndY && thisStartX < baseStartX && thisEndX > baseEndX) - ){ - flag = 'y'; - } - // 两个角处于区域内,另外两种情况不用处理,因为这两种情况下,被移动的窗口是需要进行上下滑动,而非左右 - // _____ ___________ - // __| |__ | _____ | - // | | | | | | | | - // | |_____| | |__| |__| - // |___________| |_____| - if( - (thisStartX >= baseStartX && thisStartX <= baseEndX && thisEndY >= baseStartY && thisEndY <= baseEndY) - && - (thisEndX >= baseStartX && thisEndX <= baseEndX && thisEndY >= baseStartY && thisEndY <= baseEndY) - || - (thisStartX >= baseStartX && thisStartX <= baseEndX && thisStartY >= baseStartY && thisStartY <= baseEndY) - && - (thisEndX >= baseStartX && thisEndX <= baseEndX && thisStartY >= baseStartY && thisStartY <= baseEndY) - ){ - flag = 'y'; - } - } - if(flag != ''){ - var direction, distance; - if(flag == 'x'){ - if(thisCenterX > baseCenterX){ - direction = 'right'; - distance = baseEndX - thisStartX + 30; - }else{ - direction = 'left'; - distance = thisEndX - baseStartX + 30; - } - }else{ - if(thisCenterY > baseCenterY){ - direction = 'bottom'; - distance = baseEndY - thisStartY + 30; - }else{ - direction = 'top'; - distance = thisEndY - baseStartY + 30; - } - } - arr.push({ - id : $(this).attr('id'), - direction : direction, //移动方向 - distance : distance //移动距离 - }); - } - }); - //开始移动 - var delayTime = 0; - for(var i = 0; i < arr.length; i++){ - var baseLeft = $('#' + arr[i].id).offset().left, baseTop = $('#' + arr[i].id).offset().top; - if(arr[i].direction == 'left'){ - $('#' + arr[i].id).delay(delayTime).animate({ - left : baseLeft - arr[i].distance - }, 300).animate({ - left : baseLeft - }, 300); - }else if(arr[i].direction == 'right'){ - $('#' + arr[i].id).delay(delayTime).animate({ - left : baseLeft + arr[i].distance - }, 300).animate({ - left : baseLeft - }, 300); - }else if(arr[i].direction == 'top'){ - $('#' + arr[i].id).delay(delayTime).animate({ - top : baseTop - arr[i].distance - }, 300).animate({ - top : baseTop - }, 300); - }else if(arr[i].direction == 'bottom'){ - $('#' + arr[i].id).delay(delayTime).animate({ - top : baseTop + arr[i].distance - }, 300).animate({ - top : baseTop - }, 300); - } - delayTime += 100; - } - setTimeout(show, delayTime + 100); - }else{ - show(); - } - }, - show2under : function(){ - //改变任务栏样式 - $('#task-content-inner a.task-item').removeClass('task-item-current'); - //改变窗口样式 - $('#desk .window-container').removeClass('window-current'); - //改变窗口遮罩层样式 - $('#desk .window-container .window-mask').show(); - //改变iframe显示 - $('#desk .window-container-flash iframe').hide(); - }, - handle : function(){ - $('#desk').on('dblclick', '.window-container .title-bar', function(e){ - var obj = $(this).parents('.window-container'); - //判断当前窗口是否已经是最大化 - if(obj.find('.ha-max').is(':hidden')){ - obj.find('.ha-revert').click(); - }else{ - obj.find('.ha-max').click(); - } - }).on('click', '.window-container .ha-hide', function(){ - var obj = $(this).parents('.window-container'); - HROS.window.hide(obj.attr('appid')); - }).on('click', '.window-container .ha-max', function(){ - var obj = $(this).parents('.window-container'); - HROS.window.max(obj.attr('appid')); - }).on('click', '.window-container .ha-revert', function(){ - var obj = $(this).parents('.window-container'); - HROS.window.revert(obj.attr('appid')); - }).on('click', '.window-container .ha-fullscreen', function(){ - var obj = $(this).parents('.window-container'); - window.fullScreenApi.requestFullScreen(document.getElementById(obj.find('iframe').attr('id'))); - }).on('click', '.window-container .ha-close', function(){ - var obj = $(this).parents('.window-container'); - HROS.window.close(obj.attr('appid')); - }).on('contextmenu', '.window-container', function(){ - $('.popup-menu').hide(); - $('.quick_view_container').remove(); - return false; - }); - }, - move : function(){ - $('#desk').on('mousedown', '.window-container .title-bar', function(e){ - var obj = $(this).parents('.window-container'); - if(obj.attr('ismax') == 1){ - return false; - } - HROS.window.show2top(obj.attr('appid')); - var windowdata = obj.data('info'), lay, x, y; - x = e.clientX - obj.offset().left; - y = e.clientY - obj.offset().top; - //绑定鼠标移动事件 - $(document).on('mousemove', function(e){ - lay = HROS.maskBox.desk(); - lay.show(); - //强制把右上角还原按钮隐藏,最大化按钮显示 - obj.find('.ha-revert').hide().prev('.ha-max').show(); - _l = e.clientX - x; - _t = e.clientY - y; - _w = windowdata['width']; - _h = windowdata['height']; - //窗口贴屏幕顶部10px内 || 底部60px内 - _t = _t <= 10 ? 0 : _t >= lay.height()-30 ? lay.height()-30 : _t; - obj.css({ - width : _w, - height : _h, - left : _l, - top : _t - }); - obj.data('info').left = obj.offset().left; - obj.data('info').top = obj.offset().top; - }).on('mouseup', function(){ - $(this).off('mousemove').off('mouseup'); - if(typeof(lay) !== 'undefined'){ - lay.hide(); - } - }); - }); - }, - resize : function(obj){ - $('#desk').on('mousedown', '.window-container .window-resize', function(e){ - var obj = $(this).parents('.window-container'); - //增加背景遮罩层 - var resizeobj = $(this), lay, x = e.clientX, y = e.clientY, w = obj.width(), h = obj.height(); - $(document).on('mousemove', function(e){ - lay = HROS.maskBox.desk(); - lay.show(); - _x = e.clientX; - _y = e.clientY; - //当拖动到屏幕边缘时,自动贴屏 - _x = _x <= 10 ? 0 : _x >= (lay.width()-12) ? (lay.width()-2) : _x; - _y = _y <= 10 ? 0 : _y >= (lay.height()-12) ? lay.height() : _y; - switch(resizeobj.attr('resize')){ - case 't': - h + y - _y > HROS.CONFIG.windowMinHeight ? obj.css({ - height : h + y - _y, - top : _y - }) : obj.css({ - height : HROS.CONFIG.windowMinHeight - }); - break; - case 'r': - w - x + _x > HROS.CONFIG.windowMinWidth ? obj.css({ - width : w - x + _x - }) : obj.css({ - width : HROS.CONFIG.windowMinWidth - }); - break; - case 'b': - h - y + _y > HROS.CONFIG.windowMinHeight ? obj.css({ - height : h - y + _y - }) : obj.css({ - height : HROS.CONFIG.windowMinHeight - }); - break; - case 'l': - w + x - _x > HROS.CONFIG.windowMinWidth ? obj.css({ - width : w + x - _x, - left : _x - }) : obj.css({ - width : HROS.CONFIG.windowMinWidth - }); - break; - case 'rt': - h + y - _y > HROS.CONFIG.windowMinHeight ? obj.css({ - height : h + y - _y, - top : _y - }) : obj.css({ - height : HROS.CONFIG.windowMinHeight - }); - w - x + _x > HROS.CONFIG.windowMinWidth ? obj.css({ - width : w - x + _x - }) : obj.css({ - width : HROS.CONFIG.windowMinWidth - }); - break; - case 'rb': - w - x + _x > HROS.CONFIG.windowMinWidth ? obj.css({ - width : w - x + _x - }) : obj.css({ - width : HROS.CONFIG.windowMinWidth - }); - h - y + _y > HROS.CONFIG.windowMinHeight ? obj.css({ - height : h - y + _y - }) : obj.css({ - height : HROS.CONFIG.windowMinHeight - }); - break; - case 'lt': - w + x - _x > HROS.CONFIG.windowMinWidth ? obj.css({ - width : w + x - _x, - left : _x - }) : obj.css({ - width : HROS.CONFIG.windowMinWidth - }); - h + y - _y > HROS.CONFIG.windowMinHeight ? obj.css({ - height : h + y - _y, - top : _y - }) : obj.css({ - height : HROS.CONFIG.windowMinHeight - }); - break; - case 'lb': - w + x - _x > HROS.CONFIG.windowMinWidth ? obj.css({ - width : w + x - _x, - left : _x - }) : obj.css({ - width : HROS.CONFIG.windowMinWidth - }); - h - y + _y > HROS.CONFIG.windowMinHeight ? obj.css({ - height : h - y + _y - }) : obj.css({ - height : HROS.CONFIG.windowMinHeight - }); - break; - } - }).on('mouseup',function(){ - if(typeof(lay) !== 'undefined'){ - lay.hide(); - } - obj.data('info').width = obj.width(); - obj.data('info').height = obj.height(); - obj.data('info').left = obj.offset().left; - obj.data('info').top = obj.offset().top; - obj.data('info').emptyW = $(window).width() - obj.width(); - obj.data('info').emptyH = $(window).height() - obj.height(); - $(this).off('mousemove').off('mouseup'); - }); - }); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/hros.zoom.js b/src/main/webapp/js/HoorayOS_mini/js/hros.zoom.js deleted file mode 100644 index f1b333567454cde656a6a7a6c1230ee67bbec7e3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/hros.zoom.js +++ /dev/null @@ -1,43 +0,0 @@ -/* -** 该功能是从QQ空间里提取出来的 -** 用于判断页面是否处于缩放状态中,并给予提示 -** 可在浏览页时按住ctrl+鼠标滚轮进行测试预览 -*/ -HROS.zoom = (function(){ - return { - /* - ** 初始化 - ** 其实也不用初始化,可以直接把object代码写在页面上 - ** 需要注意的是onchange参数,调用的是HROS.zoom.check方法 - */ - init : function(){ - $('body').append('
    '); - /* - ** 使用SWFObject.js插入flash - ** http://www.cnblogs.com/wuxinxi007/archive/2009/10/27/1590709.html - */ - //swfobject.embedSWF('js/zoom.swf?onchange=HROS.zoom.check', 'zoombox', '10', '10', '6.0.0', 'expressInstall.swf', '', {allowScriptAccess : 'always', wmode : 'transparent', scale : 'noScale'}, {id : 'accessory_zoom', name : 'zoom_detect'}); - }, - /* - ** 为什么会有个参数o?其实我也不知道 - ** o.scale的值是数字,当o.scale大于1时,页面处于放大状态,反之则为缩小状态 - */ - check : function(o){ - var s = o.scale, m = s > 1 ? '放大' : '缩小'; - if(s != 1){ - HROS.VAR.zoomLevel = s; - $('#zoom-tip').show().find('span').text('您的浏览器目前处于' + m + '状态,会导致显示不正常,您可以键盘按“ctrl+数字0”组合键恢复初始状态!'); - }else{ - if(s != HROS.VAR.zoomLevel){ - $('#zoom-tip').fadeOut(); - } - } - }, - /* - ** 关闭,其实是删除,如果想做关闭,把代码改成hide()即可 - */ - close : function(){ - $('#zoom-tip').remove(); - } - } -})(); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/jquery-1.8.3.min.js b/src/main/webapp/js/HoorayOS_mini/js/jquery-1.8.3.min.js deleted file mode 100644 index 83589daa707a25a1fb3e4112075d382e9a1611ab..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/jquery-1.8.3.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v1.8.3 jquery.com | jquery.org/license */ -(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
    a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
    t
    ",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
    ",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
    ",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

    ",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
    ","
    "]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
    ").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/templates.js b/src/main/webapp/js/HoorayOS_mini/js/templates.js deleted file mode 100644 index 847220302214f8a6d04eb52325c05bef80896e3d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/HoorayOS_mini/js/templates.js +++ /dev/null @@ -1,66 +0,0 @@ -//桌面应用 -var appbtnTemp = template( - '
  • '+ - '
    <%=title%>
    '+ - '<%=title%>'+ - '
  • ' -); -//任务栏 -var taskTemp = template( - ''+ - '
    '+ - ''+ - '
    '+ - '
    <%=title%>
    '+ - '
    ' -); -//小挂件 -var widgetWindowTemp = template( - '
    '+ - '
    '+ - ''+ - '
    '+ - ''+ - '
    '+ - '
    ' -); -//应用窗口 -var windowTemp = template( - '
    '+ - '
    '+ - '
    '+ - '<%=title%>'+ - '
    '+ - '
    '+ - ''+ - '<% if(istitlebar){ %>'+ - 'style="display:none"<% } %>>'+ - 'style="display:none"<% } %>>'+ - '<% } %>'+ - '<% if(istitlebarFullscreen){ %>'+ - ''+ - '<% } %>'+ - '×'+ - '
    '+ - '
    '+ - '<% if(isflash){ %>'+ - '
    运行中,点击恢复显示 :)
    '+ - '<% }else{ %>'+ - '
    '+ - '<% } %>'+ - '
    '+ - ''+ - '
    '+ - '
    '+ - '<% if(isresize){ %>'+ - '
    '+ - '
    '+ - '
    '+ - '
    '+ - '
    '+ - '
    '+ - '
    '+ - '
    '+ - '<% } %>'+ - '
    ' -); \ No newline at end of file diff --git a/src/main/webapp/js/HoorayOS_mini/js/wallpaper.jpg b/src/main/webapp/js/HoorayOS_mini/js/wallpaper.jpg deleted file mode 100644 index e7becba858c81a4b2e40c6c91e2263e23959dc6f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/js/wallpaper.jpg and /dev/null differ diff --git a/src/main/webapp/js/HoorayOS_mini/js/zoom.swf b/src/main/webapp/js/HoorayOS_mini/js/zoom.swf deleted file mode 100644 index 188bbc0a7eba3ba82df4bd9db3ae20ee7ea83935..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/HoorayOS_mini/js/zoom.swf and /dev/null differ diff --git "a/src/main/webapp/js/HoorayOS_mini/\350\257\264\346\230\216.txt" "b/src/main/webapp/js/HoorayOS_mini/\350\257\264\346\230\216.txt" deleted file mode 100644 index e255451ab0637873187750e223b5efc616392f66..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/HoorayOS_mini/\350\257\264\346\230\216.txt" +++ /dev/null @@ -1,57 +0,0 @@ -===== 桌面应用数据 ===== -桌面通过读取data.js里的json数据显示桌面应用,其data.js可替换成后端输出,打开hros.app.js,找到17行,把data.js的路径替换成后端输出桌面json数据的地址即可。 - -===== 应用结构参数说明 ===== - -app应用 - -id : 0, //应用id,确保该id唯一不重复,因为打开、关闭等操作都是根据这个唯一id来查找应用的 -title : "我的博客", //应用名称 -type : "app", //应用类型,分别有app、widget可选,app为窗口应用,widget为挂件应用 -icon : "img/ui/system-shapes.png", //应用图标 -url : "http://www.cnblogs.com/hooray", //应用地址 -width : 1000, //应用显示宽度 -height : 500, //应用显示高度 -left : 100, //距离页面左部偏移量,不设置默认水平居中 -top : 100, //距离页面顶部偏移量,不设置默认垂直居中 -isresize : true, //应用是否可以拉伸 -isopenmax : false, //应用是否打开自动最大化状态 -isflash : false //应用是否为flash应用 - -widget应用 - -id : 0, //应用id,确保该id唯一不重复,因为打开、关闭等操作都是根据这个唯一id来查找应用的 -title : "我的博客", //应用名称 -type : "widget", //应用类型,分别有app、widget可选,app为窗口应用,widget为挂件应用 -icon : "img/ui/system-shapes.png", //应用图标 -url : "http://www.cnblogs.com/hooray", //应用地址 -width : 1000, //应用显示宽度 -height : 500, //应用显示高度 -right : 100, //距离页面右部偏移量,不设置默认为0 -top : 100 //距离页面顶部偏移量,不设置默认为0 - -===== 如何更换壁纸 ===== - -打开index.html,找到: -HROS.CONFIG.wallpaper = 'img/wallpaper/wallpaper.jpg'; -将后面的地址替换成其它壁纸图片链接即可 - -===== 如何创建临时窗口和挂件 ===== - -创建一个临时窗口,多次调用会多次创建,窗口不唯一 - -HROS.window.createTemp({title:'百度',url:'http://hoorayos.com',width:800,height:400,left:100,top:100,isresize:false,isopenmax:false,isflash:false}); - -创建一个临时挂件,多次调用会多次创建,窗口不唯一 - -HROS.widget.createTemp({url:'http://hoorayos.com',width:800,height:400,right:100,top:100}); - -创建一个临时窗口,多次调用不会重复创建,窗口唯一,需要在参数里加上appid属性,内容随便填写,但确保appid唯一,以免与系统窗口重复 -参数说明:title:标题,url:网址,width:窗口宽度,height:窗口高度,left:挂件距离页面左部偏移量(可不填,默认0),top:挂件距离页面顶部偏移量(可不填,默认0),isresize:窗口是否可以拉伸(可不填,默认false),isopenmax:窗口打开是否默认最大化(可不填,默认false),isflash:窗口内是否为flash应用(可不填,默认false) - -HROS.window.createTemp({appid:'window_baidu',title:'百度',url:'hoorayos.com',width:800,height:400,left:100,top:100,isresize:false,isopenmax:false,isflash:false}); - -创建一个临时挂件,多次调用不会重复创建,窗口唯一,需要在参数里加上appid属性,内容随便填写,但确保appid唯一,以免与系统挂件重复 -参数说明:url:网址,width:窗口宽度,height:窗口高度,right:挂件距离页面左部偏移量(可不填,默认0),top:挂件距离页面顶部偏移量(可不填,默认0) - -HROS.widget.createTemp({appid:'widget_baidu',url:'hoorayos.com',width:800,height:400,right:100,top:100}); \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/My97DatePicker.htm b/src/main/webapp/js/My97DatePicker/My97DatePicker.htm deleted file mode 100644 index 89168714b07f4edda574e4bfb1a1b2012a4ae51d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/My97DatePicker.htm +++ /dev/null @@ -1,49 +0,0 @@ - - - -My97DatePicker - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/WdatePicker.js b/src/main/webapp/js/My97DatePicker/WdatePicker.js deleted file mode 100644 index b4cb3d1ff8fcba759a0da13662bd294b63964e86..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/WdatePicker.js +++ /dev/null @@ -1,39 +0,0 @@ -/* - * My97 DatePicker 4.72 Release - * License: http://www.my97.net/dp/license.asp - */ -var $dp,WdatePicker;(function(){var _={ -$wdate:true, -$dpPath:"", -$crossFrame:true, -doubleCalendar:false, -enableKeyboard:true, -enableInputMask:true, -autoUpdateOnChanged:null, -whichDayIsfirstWeek:4, -position:{}, -lang:"auto", -skin:"default", -dateFmt:"yyyy-MM-dd", -realDateFmt:"yyyy-MM-dd", -realTimeFmt:"HH:mm:ss", -realFullFmt:"%Date %Time", -minDate:"1900-01-01 00:00:00", -maxDate:"2099-12-31 23:59:59", -startDate:"", -alwaysUseStartDate:false, -yearOffset:1911, -firstDayOfWeek:0, -isShowWeek:false, -highLineWeekDay:true, -isShowClear:true, -isShowToday:true, -isShowOK:true, -isShowOthers:true, -readOnly:false, -errDealMode:0, -autoPickDate:null, -qsEnabled:true, -autoShowQS:false, - -specialDates:null,specialDays:null,disabledDates:null,disabledDays:null,opposite:false,onpicking:null,onpicked:null,onclearing:null,oncleared:null,ychanging:null,ychanged:null,Mchanging:null,Mchanged:null,dchanging:null,dchanged:null,Hchanging:null,Hchanged:null,mchanging:null,mchanged:null,schanging:null,schanged:null,eCont:null,vel:null,errMsg:"",quickSel:[],has:{}};WdatePicker=U;var X=window,O="document",J="documentElement",C="getElementsByTagName",V,A,T,I,b;switch(navigator.appName){case"Microsoft Internet Explorer":T=true;break;case"Opera":b=true;break;default:I=true;break}A=L();if(_.$wdate)M(A+"skin/WdatePicker.css");V=X;if(_.$crossFrame){try{while(V.parent&&V.parent[O]!=V[O]&&V.parent[O][C]("frameset").length==0)V=V.parent}catch(P){}}if(!V.$dp)V.$dp={ff:I,ie:T,opera:b,el:null,win:X,status:0,defMinDate:_.minDate,defMaxDate:_.maxDate,flatCfgs:[]};B();if($dp.status==0)Z(X,function(){U(null,true)});if(!X[O].docMD){E(X[O],"onmousedown",D);X[O].docMD=true}if(!V[O].docMD){E(V[O],"onmousedown",D);V[O].docMD=true}E(X,"onunload",function(){if($dp.dd)Q($dp.dd,"none")});function B(){V.$dp=V.$dp||{};obj={$:function($){return(typeof $=="string")?X[O].getElementById($):$},$D:function($,_){return this.$DV(this.$($).value,_)},$DV:function(_,$){if(_!=""){this.dt=$dp.cal.splitDate(_,$dp.cal.dateFmt);if($)for(var B in $)if(this.dt[B]===undefined)this.errMsg="invalid property:"+B;else{this.dt[B]+=$[B];if(B=="M"){var C=$["M"]>0?1:0,A=new Date(this.dt["y"],this.dt["M"],0).getDate();this.dt["d"]=Math.min(A+C,this.dt["d"])}}if(this.dt.refresh())return this.dt}return""},show:function(){var A=V[O].getElementsByTagName("div"),$=100000;for(var B=0;B$)$=_}this.dd.style.zIndex=$+2;Q(this.dd,"block")},hide:function(){Q(this.dd,"none")},attachEvent:E};for(var $ in obj)V.$dp[$]=obj[$];$dp=V.$dp;$dp.dd=V[O].getElementById("_my97DP")}function E(A,$,_){if(T)A.attachEvent($,_);else if(_){var B=$.replace(/on/,"");_._ieEmuEventHandler=function($){return _($)};A.addEventListener(B,_._ieEmuEventHandler,false)}}function L(){var _,A,$=X[O][C]("script");for(var B=0;B<$.length;B++){_=$[B].src.substring(0,$[B].src.toLowerCase().indexOf("wdatepicker.js"));A=_.lastIndexOf("/");if(A>0)_=_.substring(0,A+1);if(_)break}return _}function F(F){var E,C;if(F.substring(0,1)!="/"&&F.indexOf("://")==-1){E=V.location.href;C=location.href;if(E.indexOf("?")>-1)E=E.substring(0,E.indexOf("?"));if(C.indexOf("?")>-1)C=C.substring(0,C.indexOf("?"));var G,I,$="",D="",A="",J,H,B="";for(J=0;J_.scrollTop||A.scrollLeft>_.scrollLeft))?A:_;return{"top":B.scrollTop,"left":B.scrollLeft}}function D($){var _=$?($.srcElement||$.target):null;try{if($dp.cal&&!$dp.eCont&&$dp.dd&&_!=$dp.el&&$dp.dd.style.display=="block")$dp.cal.close()}catch($){}}function Y(){$dp.status=2;H()}function H(){if($dp.flatCfgs.length>0){var $=$dp.flatCfgs.shift();$.el={innerHTML:""};$.autoPickDate=true;$.qsEnabled=false;K($)}}var R,$;function U(J,C){$dp.win=X;B();J=J||{};if(C){if(!G()){$=$||setInterval(function(){if(V[O].readyState=="complete")clearInterval($);U(null,true)},50);return}if($dp.status==0){$dp.status=1;K({el:{innerHTML:""}},true)}else return}else if(J.eCont){J.eCont=$dp.$(J.eCont);$dp.flatCfgs.push(J);if($dp.status==2)H()}else{if($dp.status==0){U(null,true);return}if($dp.status!=2)return;var F=D();if(F){$dp.srcEl=F.srcElement||F.target;F.cancelBubble=true}$dp.el=J.el=$dp.$(J.el||$dp.srcEl);if(!$dp.el||$dp.el["My97Mark"]===true||$dp.el.disabled||($dp.el==$dp.el&&Q($dp.dd)!="none"&&$dp.dd.style.left!="-1970px")){$dp.el["My97Mark"]=false;return}K(J);if(F&&$dp.el.nodeType==1&&$dp.el["My97Mark"]===undefined){$dp.el["My97Mark"]=false;var _,A;if(F.type=="focus"){_="onclick";A="onfocus"}else{_="onfocus";A="onclick"}E($dp.el,_,$dp.el[A])}}function G(){if(T&&V!=X&&V[O].readyState!="complete")return false;return true}function D(){if(I){func=D.caller;while(func!=null){var $=func.arguments[0];if($&&($+"").indexOf("Event")>=0)return $;func=func.caller}return null}return event}}function S(_,$){return _.currentStyle?_.currentStyle[$]:document.defaultView.getComputedStyle(_,false)[$]}function Q(_,$){if(_)if($!=null)_.style.display=$;else return S(_,"display")}function K(H,$){for(var D in _)if(D.substring(0,1)!="$")$dp[D]=_[D];for(D in H)if($dp[D]!==undefined)$dp[D]=H[D];var E=$dp.el?$dp.el.nodeName:"INPUT";if($||$dp.eCont||new RegExp(/input|textarea|div|span|p|a/ig).test(E))$dp.elProp=E=="INPUT"?"value":"innerHTML";else return;if($dp.lang=="auto")$dp.lang=T?navigator.browserLanguage.toLowerCase():navigator.language.toLowerCase();if(!$dp.dd||$dp.eCont||($dp.lang&&$dp.realLang&&$dp.realLang.name!=$dp.lang&&$dp.getLangIndex&&$dp.getLangIndex($dp.lang)>=0)){if($dp.dd&&!$dp.eCont)V[O].body.removeChild($dp.dd);if(_.$dpPath=="")F(A);var B="";if($dp.eCont){$dp.eCont.innerHTML=B;Z($dp.eCont.childNodes[0],Y)}else{$dp.dd=V[O].createElement("DIV");$dp.dd.id="_my97DP";$dp.dd.style.cssText="position:absolute";$dp.dd.innerHTML=B;V[O].body.appendChild($dp.dd);Z($dp.dd.childNodes[0],Y);if($)$dp.dd.style.left=$dp.dd.style.top="-1970px";else{$dp.show();C()}}}else if($dp.cal){$dp.show();$dp.cal.init();if(!$dp.eCont)C()}function C(){var F=$dp.position.left,B=$dp.position.top,C=$dp.el;if(C!=$dp.srcEl&&(Q(C)=="none"||C.type=="hidden"))C=$dp.srcEl;var H=W(C),$=G(X),D=N(V),A=a(V),E=$dp.dd.offsetHeight,_=$dp.dd.offsetWidth;if(isNaN(B)){if(B=="above"||(B!="under"&&(($.topM+H.bottom+E>D.height)&&($.topM+H.top-E>0))))B=A.top+$.topM+H.top-E-2;else B=A.top+$.topM+Math.min(H.bottom,D.height-E)+2}else B+=A.top+$.topM;if(isNaN(F))F=A.left+Math.min($.leftM+H.left,D.width-_-5)-(T?2:0);else F+=A.left+$.leftM;$dp.dd.style.top=B+"px";$dp.dd.style.left=F+"px"}}})() \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/calendar.js b/src/main/webapp/js/My97DatePicker/calendar.js deleted file mode 100644 index c5e8424eb19d2d13bc2c3818dee319160f4a76b3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/calendar.js +++ /dev/null @@ -1,5 +0,0 @@ -/* - * My97 DatePicker 4.72 Release - * License: http://www.my97.net/dp/license.asp - */ -eval(function(p,a,c,k,e,d){e=function(c){return(c35?String.fromCharCode(c+29):c.toString(36))};if(!''.replace(/^/,String)){while(c--)d[e(c)]=k[c]||e(c);k=[function(e){return d[e]}];e=function(){return'\\w+'};c=1;};while(c--)if(k[c])p=p.replace(new RegExp('\\b'+e(c)+'\\b','g'),k[c]);return p;}('o $c;k($5u){5Q.2X.7n("6G",l($){k(!$)h.25();t $});5Q.2X.7e("6w",l(){o $=h.6t;3i($.5M!=1)$=$.7g;t $});7f.2X.2I=l($,b){o A=$.1l(/6p/,"");b.5R=l($){6L.1Y=$;t b()};h.7t(A,b.5R,1m)}}l 5H(){$c=h;h.2Y=[];$d=1Q.7q("x");$d.1d="4d";$d.1L="<1v Y=3M><1v Y=3M><1x 2o=0 2m=0 2u=0><1j><18 7J=2><4h 1D=7L>&4B;<1v Y=7o 4b=2><1v 1g=\\":\\" Y=5P 5N><1v Y=5O 4b=2><1v 1g=\\":\\" Y=5P 5N><1v Y=5O 4b=2><18><1O 1D=7I><1j><18><1O 1D=7Q><1v Y=4e 1D=7G 3o=1O><1v Y=4e 1D=7z 3o=1O><1v Y=4e 1D=7E 3o=1O>";6M($d,l(){3t()});A();$f.1W=[1Q,$d.1M,$d.1t,$d.2V,$d.3r,$d.3I,$d.2S,$d.28,$d.1U];1b(o B=0;B<$f.1W.u;B++){o b=$f.1W[B];b.3q=B==$f.1W.u-1?$f.1W[1]:$f.1W[B+1];$f.2I(b,"4c",4R)}h.5F();$();4Q("y,M,H,m,s");$d.5S.1q=l(){4Z(1)};$d.5T.1q=l(){4Z(-1)};$d.4i.1q=l(){k($d.1E.1c.2h!="6K"){$c.4p();3w($d.1E)}q 1n($d.1E)};1Q.6N.4q($d);l A(){o b=$("a");1r=$("x"),1I=$("1v"),4g=$("1O"),5G=$("4h");$d.3y=b[0];$d.3V=b[1];$d.42=b[3];$d.3Y=b[2];$d.3K=1r[9];$d.1M=1I[0];$d.1t=1I[1];$d.4k=1r[0];$d.3T=1r[4];$d.2J=1r[6];$d.1E=1r[10];$d.2T=1r[11];$d.2H=1r[12];$d.6R=1r[13];$d.6Q=1r[14];$d.6O=1r[15];$d.4i=1r[16];$d.3z=1r[17];$d.2V=1I[2];$d.3r=1I[4];$d.3I=1I[6];$d.2S=1I[7];$d.28=1I[8];$d.1U=1I[9];$d.5S=4g[0];$d.5T=4g[1];$d.5L=5G[0];l $($){t $d.4o($)}}l $(){$d.3y.1q=l(){$1P=$1P<=0?$1P-1:-1;k($1P%5==0){$d.1t.2d();t}$d.1t.1g=$n.y-1;$d.1t.2n()};$d.3V.1q=l(){$n.2C("M",-1);$d.1M.2n()};$d.42.1q=l(){$n.2C("M",1);$d.1M.2n()};$d.3Y.1q=l(){$1P=$1P>=0?$1P+1:1;k($1P%5==0){$d.1t.2d();t}$d.1t.1g=$n.y+1;$d.1t.2n()}}}5H.2X={5F:l(){$1P=0;$f.5K=h;k($f.3N&&$f.z.3N!=1i){$f.z.3N=19;$f.z.4w()}$();h.5j();$n=h.6f=1a 1C();$1B=1a 1C();$1w=h.2w=1a 1C();h.1y=h.34($f.1y);h.2P=$f.2P==1i?($f.Z.2a&&$f.Z.2a?1m:19):$f.2P;$f.2z=$f.2z==1i?($f.4j&&$f.Z.d?1m:19):$f.2z;h.49=h.3f("8a");h.68=h.3f("8b");h.64=h.3f("89");h.5C=h.3f("87");h.1X=h.3P($f.1X,$f.1X!=$f.5D?$f.1S:$f.3j,$f.5D);h.1Z=h.3P($f.1Z,$f.1Z!=$f.5E?$f.1S:$f.3j,$f.5E);k(h.1X.2r(h.1Z)>0)$f.4f=$1k.7V;k(h.1R()){h.5J();h.3O=$f.z[$f.1z]}q h.3m(1m,2);4u($n);$d.5L.1L=$1k.7R;$d.2S.1g=$1k.7S;$d.28.1g=$1k.7Z;$d.1U.1g=$1k.80;$d.1U.1N=!$c.1u($1w);h.5c();h.6l();k($f.4f)7Y($f.4f);h.4C();k($f.z.5M==1&&$f.z["4m"]===4Y){$f.2I($f.z,"4c",4R);$f.2I($f.z,"2n",l(){k($f.1K.1c.2h=="2E"){$c.3Q();k($f.5K.3O!=$f.z[$f.1z]&&$f.z.75)4I($f.z,"73")}})}$c.1f=$f.z;3t();l $(){o b,$;1b(b=0;($=1Q.4o("71")[b]);b++)k($["72"].1o("1c")!=-1&&$["5I"]){$.1N=19;k($["5I"]==$f.79)$.1N=1m}}},5J:l(){o b=h.2L();k(b!=0){o $;k(b>0)$=h.1Z;q $=h.1X;k($f.Z.3u){$n.y=$.y;$n.M=$.M;$n.d=$.d}k($f.Z.2a){$n.H=$.H;$n.m=$.m;$n.s=$.s}}},3b:l(J,C,Q,E,B,G,F,K,L){o $;k(J&&J.1R)$=J;q{$=1a 1C();k(J!=""){C=C||$f.1y;o H,P=0,O,A=/3a|2l|36|y|2A|2Z|3U|M|1K|d|%2k|4J|H|4K|m|4G|s|3c|D|4H|W|w/g,b=C.35(A);A.2x=0;k(L)O=J.4O(/\\W+/);q{o D=0,M="^";3i((O=A.3h(C))!==1i){k(D>=0)M+=C.1F(D,O.3x);D=A.2x;2G(O[0]){1e"3a":M+="(\\\\d{4})";1h;1e"2l":M+="(\\\\d{3})";1h;1e"2A":1e"2Z":1e"3c":1e"D":M+="(\\\\D+)";1h;5X:M+="(\\\\d\\\\d?)";1h}}M+=".*$";O=1a 4r(M).3h(J);P=1}k(O){1b(H=0;H=0){A=A.1l(/%2k/g,"0");$.d=0;$.M=2e($.M)+1}$.20()}t $},1R:l(){o b,$;k($f.7b||($f.6b!=""&&$f.z[$f.1z]=="")){b=h.34($f.6b);$=$f.1S}q{b=$f.z[$f.1z];$=h.1y}$n.2c(h.3b(b,$));k(b!=""){o A=1;k($f.Z.3u&&!h.44($n)){$n.y=$1B.y;$n.M=$1B.M;$n.d=$1B.d;A=0}k($f.Z.2a&&!h.4a($n)){$n.H=$1B.H;$n.m=$1B.m;$n.s=$1B.s;A=0}t A&&h.1u($n)}t 1},44:l($){k($.y!=1i)$=3n($.y,4)+"-"+$.M+"-"+$.d;t $.35(/^((\\d{2}(([69][7p])|([6a][26]))[\\-\\/\\s]?((((0?[6h])|(1[6i]))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(3[6g])))|(((0?[6e])|(11))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])))))|(\\d{2}(([69][74])|([6a][7u]))[\\-\\/\\s]?((((0?[6h])|(1[6i]))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(3[6g])))|(((0?[6e])|(11))[\\-\\/\\s]?((0?[1-9])|([1-2][0-9])|(30)))|(0?2[\\-\\/\\s]?((0?[1-9])|(1[0-9])|(2[0-8]))))))(\\s(((0?[0-9])|([1-2][0-3]))\\:([0-5]?[0-9])((\\s)|(\\:([0-5]?[0-9])))))?$/)},4a:l($){k($.H!=1i)$=$.H+":"+$.m+":"+$.s;t $.35(/^([0-9]|([0-1][0-9])|([2][0-3])):([0-9]|([0-5][0-9])):([0-9]|([0-5][0-9]))$/)},2L:l($,A){$=$||$n;o b=$.2r(h.1X,A);k(b>0){b=$.2r(h.1Z,A);k(b<0)b=0}t b},1u:l($,A,B){A=A||$f.Z.3A;o b=h.2L($,A);k(b==0){b=1;k(A=="d"&&B==1i)B=2y.5Y((1a 1G($.y,$.M-1,$.d).21()-$f.41)%7);b=!h.67(B)&&!h.5Z($,A)}q b=0;t b},62:l(){o b=$f.z,A=h,$=$f.z[$f.1z];k($!=1i){k($!="")A.2w.2c(A.3b($,A.1y));k($==""||(A.44(A.2w)&&A.4a(A.2w)&&A.1u(A.2w))){k($!=""){A.6f.2c(A.2w);A.2p()}q A.3R("")}q t 1m}t 19},3Q:l($){3t();k(h.62()){h.3m(19);$f.1n()}q{k($){3k($);h.3m(1m,2)}q h.3m(1m);$f.24()}},3F:l(){o E,C,D,K,A,H=1a 2s(),F=$1k.5y,G=$f.41,I="",$="",b=1a 1C($n.y,$n.M,$n.d,0,0,0),J=b.y,B=b.M;A=1-1a 1G(J,B-1,1).21()+G;k(A>1)A-=7;H.a("<1x Y=5g 2U=3p% 2u=0 2o=0 2m=0>");H.a("<1j Y=5f 4A=5h>");k($f.61)H.a("<18>"+F[0]+"");1b(E=0;E<7;E++)H.a("<18>"+F[(G+E)%7+1]+"");H.a("");1b(E=1,C=A;E<7;E++){H.a("<1j>");1b(D=0;D<7;D++){b.1R(J,B,C++);b.20();k(b.M==B){K=19;k(b.2r($1w,"d")==0)I="7s";q k(b.2r($1B,"d")==0)I="7d";q I=($f.63&&(0==(G+D)%7||6==(G+D)%7)?"7k":"7l");$=($f.63&&(0==(G+D)%7||6==(G+D)%7)?"7i":"7j")}q k($f.5s){K=19;I="7c";$="8L"}q K=1m;k($f.61&&D==0&&(E<4||K))H.a("<18 Y=8H>"+4t(b,$f.41==0?1:0)+"");H.a("<18 ");k(K){k(h.1u(b,"d",D)){k(h.65(2y.5Y((1a 1G(b.y,b.M-1,b.d).21()-$f.41)%7))||h.66(b))I="8K";H.a("1q=\\"2O("+b.y+","+b.M+","+b.d+");\\" ");H.a("2t=\\"h.1d=\'"+$+"\'\\" ");H.a("2q=\\"h.1d=\'"+I+"\'\\" ")}q I="8M";H.a("Y="+I);H.a(">"+b.d+"")}q H.a(">")}H.a("")}H.a("");t H.j()},5Z:l(b,A){o $=h.47(b,h.49,A);t(h.49&&$f.5e)?!$:$},67:l($){t h.4x($,h.68)},66:l($){t h.47($,h.64)},65:l($){t h.4x($,h.5C)},47:l($,B,A){o b=A=="d"?$f.4l:$f.1S;t B?B.4P(h.3S(b,$)):0},4x:l(b,$){t $?$.4P(b):0},2R:l(p,c,r,e,2j){o s=1a 2s(),4y=2j?"r"+p:p;5b=$n[p];s.a("<1x 2o=0 2m=3 2u=0");1b(o i=0;i");1b(o j=0;j"+(p=="M"?$1k.29[$n[p]-1]:$n[p])+"")}s.a("")}s.a("");$n[p]=5b;t s.j()},4E:l($,b){k($){o A=$.8Q;k($6m)A=$.8V().2v;b.1c.2v=A}},8E:l($){h.4E($,$d.3T);$d.3T.1L=h.2R("M",2,6,"i+j*6+1",$==$d.2i)},4v:l(b,A){o $=1a 2s();A=2K(A,$n.y-5);$.a(h.2R("y",2,5,A+"+i+j*5",b==$d.2D));$.a("<1x 2o=0 2m=3 2u=0 4A=5h><1j><18 ");$.a(h.1X.y\\8l<18 Y=\'1A\' 2t=\\"h.1d=\'3e\'\\" 2q=\\"h.1d=\'1A\'\\" 3Z=\\"1n($d.2J);$d.1t.4w();\\">\\5l<18 ");$.a(h.1Z.y>A+10?"Y=\'1A\' 2t=\\"h.1d=\'3e\'\\" 2q=\\"h.1d=\'1A\'\\" 3Z=\'k(1Y.25)1Y.25();1Y.4S=19;$c.4v(0,"+(A+10)+")\'":"Y=\'4z\'");$.a(">\\8p");h.4E(b,$d.2J);$d.2J.1L=$.j()},3C:l(A,b,$){$d[A+"D"].1L=h.2R(A,6,b,$)},8n:l(){h.3C("H",4,"i * 6 + j")},8e:l(){h.3C("m",2,"i * 30 + j * 5")},8c:l(){h.3C("s",1,"j * 10")},4p:l(A){h.6F();o b=h.2Y,C=b.1c,$=1a 2s();$.a("<1x Y=5g 2U=3p% 2f=3p% 2u=0 2o=0 2m=0>");$.a("<1j Y=5f><18>"+$1k.8g+"");k(!A)$.a("\\5l");$.a("");1b(o B=0;B<18 1c=\'55-4A:2v\' 3d=\'3d\' Y=\'1A\' 2t=\\"h.1d=\'3e\'\\" 2q=\\"h.1d=\'1A\'\\" 1q=\\"");$.a("2O("+b[B].y+", "+b[B].M+", "+b[B].d+","+b[B].H+","+b[B].m+","+b[B].s+");\\">");$.a("&4B;"+h.3S(1i,b[B]));$.a("")}q $.a("<1j><18 Y=\'1A\'>&4B;");$.a("");$d.1E.1L=$.j()},5j:l(){$(/w/);$(/4H|W/);$(/3c|D/);$(/3a|2l|36|y/);$(/2A|2Z|3U|M/);$(/1K|d/);$(/4J|H/);$(/4K|m/);$(/4G|s/);$f.Z.3u=($f.Z.y||$f.Z.M||$f.Z.d)?19:1m;$f.Z.2a=($f.Z.H||$f.Z.m||$f.Z.s)?19:1m;$f.3j=$f.3j.1l(/%1G/,$f.4l).1l(/%8w/,$f.5d);k($f.Z.3u){k($f.Z.2a)$f.1S=$f.3j;q $f.1S=$f.4l}q $f.1S=$f.5d;l $(b){o $=(b+"").4T(1,2);$f.Z[$]=b.3h($f.1y)?($f.Z.3A=$,19):1m}},5c:l(){o $=0;$f.Z.y?($=1,24($d.1t,$d.3y,$d.3Y)):1n($d.1t,$d.3y,$d.3Y);$f.Z.M?($=1,24($d.1M,$d.3V,$d.42)):1n($d.1M,$d.3V,$d.42);$?24($d.4k):1n($d.4k);k($f.Z.2a){24($d.2H);3G($d.2V,$f.Z.H);3G($d.3r,$f.Z.m);3G($d.3I,$f.Z.s)}q 1n($d.2H);2M($d.2S,$f.5w);2M($d.28,$f.5x);2M($d.1U,$f.4j);2M($d.4i,!$f.5n&&$f.Z.d&&$f.8t);k($f.6v||!($f.5w||$f.5x||$f.4j))1n($d.3z);q 24($d.3z)},3m:l(B,D){o A=$f.z,b=$5u?"Y":"1d";k(B)C(A);q{k(D==1i)D=$f.8s;2G(D){1e 0:k(8B($1k.8C)){A[$f.1z]=h.3O;C(A)}q $(A);1h;1e 1:A[$f.1z]=h.3O;C(A);1h;1e 2:$(A);1h}}l C(A){o B=A.1d;k(B){o $=B.1l(/5B/g,"");k(B!=$)A.5A(b,$)}}l $($){$.5A(b,$.1d+" 5B")}},1V:l(D,b,$){$=$||$1w;o H,C=[D+D,D],E,A=$[D],F=l($){t 3n(A,$.u)};2G(D){1e"w":A=21($);1h;1e"D":o G=21($)+1;F=l($){t $.u==2?$1k.8A[G]:$1k.5y[G]};1h;1e"W":A=4t($);1h;1e"y":C=["3a","2l","36","y"];b=b||C[0];F=l(b){t 3n((b.u<4)?(b.u<3?$.y%3p:($.y+5z-$f.5p)%8x):A,b.u)};1h;1e"M":C=["2A","2Z","3U","M"];F=l($){t($.u==4)?$1k.5m[A-1]:($.u==3)?$1k.29[A-1]:3n(A,$.u)};1h}b=b||D+D;k("2N".1o(D)>-1&&D!="y"&&!$f.Z[D])k("8h".1o(D)>-1)A=0;q A=1;o B=[];1b(H=0;H=0){B[H]=F(E);b=b.1l(E,"{"+H+"}")}}1b(H=0;H=0){o A=1a 1C();A.2c($);A.d=0;A.M=2e(A.M)+1;A.20();b=b.1l(/%2k/g,A.d)}o B="8d";1b(o D=0;D<1j><18 5q=5r>");$.a(h.3F());$.a("<18 5q=5r>");$n.2C("M",1);$.a(h.3F());$d.2i=$d.1M.5o(19);$d.2D=$d.1t.5o(19);$d.3K.4q($d.2i);$d.3K.4q($d.2D);$d.2i.1g=$1k.29[$n.M-1];$d.2i["3v"]=$n.M;$d.2D.1g=$n.y;4Q("6H,6E");$d.2i.1d=$d.2D.1d="3M";$n.2C("M",-1);$.a("");$d.2T.1L=$.j()}q{$d.1d="4d";$d.2T.1L=h.3F()}k(!$f.Z.d||$f.8J){h.4p(19);3w($d.1E)}q 1n($d.1E);h.6P()},6P:l(){o b=8W.1Q.4o("8k");1b(o C=0;C=B){A+=B;$d.1c.2f=A}q $d.1c.2f=$;b[C].1c.2f=2y.5v(A,$d.3l)+"6s"}}$d.1E.1c.2U=$d.2T.6q;$d.1E.1c.2f=$d.2T.3l},4W:l(){$n.d=2y.8D(1a 1G($n.y,$n.M,0).2F(),$n.d);$1w.2c($n);h.2p();k(!$f.6v)k(h.1u($n)){4n();1n($f.1K)}k($f.6u)2g("6u")},6l:l(){$d.2S.1q=l(){k(!2g("8q")){$f.z[$f.1z]="";$c.3R("");4n();1n($f.1K);k($f.6n)2g("6n")}};$d.1U.1q=l(){2O()};k(h.1u($1B)){$d.28.1N=1m;$d.28.1q=l(){$n.2c($1B);2O()}}q $d.28.1N=19},6F:l(){o H,G,A,F,C=[],$=5,E=$f.6I.u,b=$f.Z.3A;k(E>$)E=$;q k(b=="m"||b=="s")C=[-60,-30,0,30,60,-15,15,-45,45];q 1b(H=0;H<$;H++)C[H]=$n[b]-2+H;1b(H=G=0;H=0)1H=43(1H,0,59);k($1w[p]!=1H&&!2g(p+"7U")){o 6o="1T(\\""+p+"\\","+1H+")",3B=$c.2L();k(3B==0)2W(6o);q k(3B<0)4D($c.1X);q k(3B>0)4D($c.1Z);$d.1U.1N=!$c.1u($1w);k("7C".1o(p)>=0)$c.4C();2g(p+"7D")}l 4D($){4u($c.1u($)?$:$1w)}}l 4u($){1T("y",$.y);1T("M",$.M);1T("d",$.d);1T("H",$.H);1T("m",$.m);1T("s",$.s)}l 2O(F,B,b,D,C,A){o $=1a 1C($n.y,$n.M,$n.d,$n.H,$n.m,$n.s);$n.1R(F,B,b,D,C,A);k(!2g("7H")){o E=$.y==F&&$.M==B&&$.d==b;k(!E&&2Q.u!=0){c("y",F);c("M",B);c("d",b);$c.1f=$f.z;k($f.2z)$c.2p()}k($c.2P||E||2Q.u==0)$c.4W()}q $n=$}l 2g($){o b;k($f[$])b=$f[$].4V($f.z,$f);t b}l 1T(b,$){k($==1i)$=$n[b];$1w[b]=$n[b]=$;k("7K".1o(b)>=0)$d[b+"I"].1g=$;k(b=="M"){$d.1M["3v"]=$;$d.1M.1g=$1k.29[$-1]}}l 43(b,$,A){k(b<$)b=$;q k(b>A)b=A;t b}l 6M($,b){$.2I("4c",l(){o $=1Y,A=($.4M==4Y)?$.4F:$.4M;k(A==9)b()})}l 3n($,b){$=$+"";3i($.u=0?C:5;1b(o D=0;D<=C;D++){B=A.1J(D);b=h[B]-$[B];k(b>0)t 1;q k(b<0)t-1}t 0},20:l(){o $=1a 1G(h.y,h.M-1,h.d,h.H,h.m,h.s);h.y=$.52();h.M=$.5a()+1;h.d=$.2F();h.H=$.54();h.m=$.53();h.s=$.56();t!6j(h.y)},2C:l(b,$){k("2N".1o(b)>=0){o A=h.d;k(b=="M")h.d=1;h[b]+=$;h.20();h.d=A}}};l 2e($){t 7F($,10)}l 3E($,b){t 2K(2e($),b)}l 1p($,A,b){t 3E($,2K(A,b))}l 2K($,b){t $==1i||6j($)?b:$}l 4I(A,$){k($6m)A.4I("6p"+$);q{o b=1Q.82("88");b.7W($,19,19);A.7X(b)}}l 3J($){o A,B,b="y,M,H,m,s,6E,6H".4O(",");1b(B=0;B=0?6B(v):$n[p];k(p=="y"){2j=h==$d.2D;k(2j&&$n.M==12)$n.y-=1}q k(p=="M"){2j=h==$d.2i;k(2j){51=$1k.29[$n[p]-1];k(6C==12)$n.y+=1;$n.2C("M",-1)}k($1w.M==$n.M)h.1g=51||$1k.29[$n[p]-1];k(($1w.y!=$n.y))c("y",$n.y)}2W("c(\\""+p+"\\","+$n[p]+")");k(6y!==19){k(p=="y"||p=="M")h.1d="3M";1n($d[p+"D"])}k($f.2z)$c.2p()}l 3k($){k($.25){$.25();$.8i()}q{$.4S=19;$.6G=1m}k($5t)$.4F=0}l 4Q($){o A=$.4O(",");1b(o B=0;B=8m&&Q<=8U)Q-=48;k($f.8I&&58){k(!H.3q){H.3q=$f.1W[1];$c.1f=$f.z}k(H==$f.z)$c.1f=$f.z;k(Q==27)k(H==$f.z){$c.3Q();t}q $f.z.2d();k(Q>=37&&Q<=40){o U;k($c.1f==$f.z||$c.1f==$d.1U)k($f.Z.d){U="d";k(Q==38)$n[U]-=7;q k(Q==39)$n[U]+=1;q k(Q==37)$n[U]-=1;q $n[U]+=7;$n.20();c("y",$n["y"]);c("M",$n["M"]);c("d",$n[U]);3k(M);t}q{U=$f.Z.3A;$d[U+"I"].2d()}U=U||3J($c.1f);k(U){k(Q==38||Q==39)$n[U]+=1;q $n[U]-=1;$n.20();$c.1f.1g=$n[U];3L.4V($c.1f,19);$c.1f.4U()}}q k(Q==9){o D=H.3q;1b(o R=0;R<$f.1W.u;R++)k(D.1N==19||D.3l==0)D=D.3q;q 1h;k($c.1f!=D){$c.1f=D;D.2d()}}q k(Q==13){3L.4V($c.1f);k($c.1f.3o=="1O")$c.1f.8P();q $c.4W();$c.1f=$f.z}}q k(Q==9&&H==$f.z)$c.3Q();k($f.8S&&!$5t&&!$f.3N&&$c.1f==$f.z&&(Q>=48&&Q<=57)){o T=$f.z,S=T.1g,F=E(T),I={22:"",1s:[]},R=0,K,N=0,X=0,O=0,J,b=/3a|2l|36|y|3U|M|1K|d|%2k|4J|H|4K|m|4G|s|4H|W|w/g,L=$f.1y.35(b),B,A,$,V,W,G,J=0;k(S!=""){O=S.35(/[0-9]/g);O=O==1i?0:O.u;1b(R=0;R=0?1:0;k(O==1&&F>=S.u)F=S.u-1}S=S.1F(0,F)+8r.8v(Q)+S.1F(F+O);F++;1b(R=0;R=0){S+=$f.1y.1F(N,X);k(F>=N+J&&F<=X+J)F+=X-N}N=b.2x;G=N-X;B=I.22.1F(0,G);A=K[0].1J(0);$=2e(B.1J(0));k(I.22.u>1){V=I.22.1J(1);W=$*10+2e(V)}q{V="";W=$}k(I.1s[X+1]||A=="M"&&W>12||A=="d"&&W>31||A=="H"&&W>23||"5k".1o(A)>=0&&W>59){k(K[0].u==2)B="0"+$;q B=$;F++}q k(G==1){B=W;G++;J++}S+=B;I.22=I.22.1F(G);k(I.22=="")1h}T.1g=S;P(T,F);3k(M)}k(58&&$c.1f!=$f.z&&!((Q>=48&&Q<=57)||Q==8||Q==46))3k(M);l E(A){o b=0;k($f.4N.1Q.6d){o B=$f.4N.1Q.6d.6U(),$=B.55.u;B.5V("4X",-A.1g.u);b=B.55.u-$}q k(A.4L||A.4L=="0")b=A.4L;t b}l P(b,A){k(b.5U){b.2d();b.5U(A,A)}q k(b.5W){o $=b.5W();$.7w(19);$.7y("4X",A);$.5V("4X",A);$.4U()}}}',62,555,'|||||||||||_||||dp||this|||if|function||dt|var||else|||return|length|||div||el|||||||||||||||||||||||||class|has|||||||||td|true|new|for|style|className|case|currFocus|value|break|null|tr|lang|replace|false|hide|indexOf|pInt3|onclick|divs|arr|yI|checkValid|input|sdt|table|dateFmt|elProp|menu|tdt|DPDate|id|qsDivSel|substring|Date|pv|ipts|charAt|dd|innerHTML|MI|disabled|button|ny|document|loadDate|realFmt|sv|okI|getP|focusArr|minDate|event|maxDate|refresh|getDay|str||show|preventDefault|||todayI|aMonStr|st|9700|loadFromDate|focus|pInt|height|callFunc|display|rMI|isR|ld|yyy|cellpadding|onblur|cellspacing|update|onmouseout|compareWith|sb|onmouseover|border|left|date|lastIndex|Math|autoUpdateOnChanged|MMMM|tmpEval|attr|ryI|none|getDate|switch|tDiv|attachEvent|yD|rtn|checkRange|shorH|yMdHms|day_Click|autoPickDate|arguments|_f|clearI|dDiv|width|HI|eval|prototype|QS|MMM||||menuSel|doExp|match|yy||||yyyy|splitDate|DD|nowrap|menuOn|_initRe|float|exec|while|realFullFmt|_cancelKey|offsetHeight|mark|doStr|type|100|nextCtrl|mI|setDisp|hideSel|sd|realValue|showB|index|navLeftImg|bDiv|minUnit|rv|_fHMS|ps|pInt2|_fd|disHMS|navImg|sI|_foundInput|rMD|_blur|yminput|readOnly|oldValue|doCustomDate|close|setRealValue|getDateStr|MD|MM|leftImg|href|toLowerCase|navRightImg|onmousedown||firstDayOfWeek|rightImg|makeInRange|isDate|||testDate||ddateRe|isTime|maxlength|onkeydown|WdateDiv|dpButton|errMsg|btns|span|qsDiv|isShowOK|titleDiv|realDateFmt|My97Mark|elFocus|getElementsByTagName|_fillQS|appendChild|RegExp|getNewDateStr|getWeek|_setAll|_fy|blur|testDay|fp|invalidMenu|align|nbsp|draw|_setFrom|_fMyPos|keyCode|ss|WW|fireEvent|HH|mm|selectionStart|which|win|split|test|_inputBindEvent|_tab|cancelBubble|slice|select|call|pickDate|character|undefined|updownEvent||mStr|getFullYear|getMinutes|getHours|text|getSeconds||isShow||getMonth|bak|initShowAndHide|realTimeFmt|opposite|MTitle|WdayTable|center|right|_dealFmt|ms|xd7|aLongMonStr|doubleCalendar|cloneNode|yearOffset|valign|top|isShowOthers|OPERA|FF|max|isShowClear|isShowToday|aWeekStr|2000|setAttribute|WdateFmtErr|sdayRe|defMinDate|defMaxDate|init|spans|My97DP|title|_makeDateInRange|cal|timeSpan|nodeType|readonly|tE|tm|Event|_ieEmuEventHandler|upButton|downButton|setSelectionRange|moveStart|createTextRange|default|abs|testDisDate||isShowWeek|checkAndUpdate|highLineWeekDay|sdateRe|testSpeDay|testSpeDate|testDisDay|ddayRe|02468|13579|startDate|re|selection|469|newdate|01|13578|02|isNaN|_focus|initBtn|IE|oncleared|func|on|offsetWidth|coverDate|px|target|onpicked|eCont|srcElement|yminputfocus|showDiv|setDate|hidden|Number|oldv|nodeName|ry|initQS|returnValue|rM|quickSel|valueOf|block|window|attachTabEvent|body|sD|autoSize|mD|HD|Function|86400000|createRange|vel|NavImgll|round|dpTitle|typeof|object|link|rel|change|1235679|onchange|NavImgl|substr|1900|skin|MMenu|alwaysUseStartDate|WotherDay|Wtoday|__defineGetter__|HTMLElement|parentNode|Array|WwdayOn|WdayOn|Wwday|Wday|setMonth|__defineSetter__|tB|048|createElement|join|Wselday|addEventListener|01345789|whichDayIsfirstWeek|collapse|dpTime|moveEnd|dpTodayInput|hhMenu|overflow|yMd|changed|dpOkInput|parseInt|dpClearInput|onpicking|dpTimeUp|rowspan|yHms|dpTimeStr|mmMenu|dpControl|dpQS|ssMenu|dpTimeDown|timeStr|clearStr|00|changing|err_1|initEvent|dispatchEvent|alert|todayStr|okStr|YMenu|createEvent|NavImgrr|NavImgr|absolute|position|specialDays|HTMLEvents|specialDates|disabledDates|disabledDays|_fs|ydHmswW|_fm|scrollHeight|quickStr|Hms|stopPropagation|contentWindow|iframe|u2190|96|_fH|getNewP|u2192|onclearing|String|errDealMode|qsEnabled|onfocus|fromCharCode|Time|1000|pointer|cursor|aLongWeekStr|confirm|errAlertMsg|min|_fM|try|textarea|Wweek|enableKeyboard|autoShowQS|WspecialDay|WotherDayOn|WinvalidDay|srcEl|catch|click|offsetLeft|WdayTable2|enableInputMask|WdateDiv2|105|getBoundingClientRect|parent'.split('|'),0,{})) \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/config.js b/src/main/webapp/js/My97DatePicker/config.js deleted file mode 100644 index 032e7ed26e35c7977e41c320d832df2d4a524e70..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/config.js +++ /dev/null @@ -1,12 +0,0 @@ -var langList = -[ - {name:'en', charset:'UTF-8'}, - {name:'zh-cn', charset:'UTF-8'}, - {name:'zh-tw', charset:'UTF-8'} -]; - -var skinList = -[ - {name:'default', charset:'UTF-8'}, - {name:'whyGreen', charset:'UTF-8'} -]; \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/lang/en.js b/src/main/webapp/js/My97DatePicker/lang/en.js deleted file mode 100644 index e3ff1102fe43a93e07b189639e85cbe3b5d0c63f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/lang/en.js +++ /dev/null @@ -1,14 +0,0 @@ -var $lang={ -errAlertMsg: "Invalid date or the date out of range,redo or not?", -aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], -aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], -aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], -aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], -clearStr: "Clear", -todayStr: "Today", -okStr: "OK", -updateStr: "OK", -timeStr: "Time", -quickStr: "Quick Selection", -err_1: 'MinDate Cannot be bigger than MaxDate!' -} \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/lang/zh-cn.js b/src/main/webapp/js/My97DatePicker/lang/zh-cn.js deleted file mode 100644 index 1252785661098b7c1c49a25c169ab63c7897a83a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/lang/zh-cn.js +++ /dev/null @@ -1,14 +0,0 @@ -var $lang={ -errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u8303\u56F4,\u9700\u8981\u64A4\u9500\u5417?", -aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], -aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], -aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], -aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], -clearStr: "\u6E05\u7A7A", -todayStr: "\u4ECA\u5929", -okStr: "\u786E\u5B9A", -updateStr: "\u786E\u5B9A", -timeStr: "\u65F6\u95F4", -quickStr: "\u5FEB\u901F\u9009\u62E9", -err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u4E8E\u6700\u5927\u65E5\u671F!' -} \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/lang/zh-tw.js b/src/main/webapp/js/My97DatePicker/lang/zh-tw.js deleted file mode 100644 index 32c04e013f5461b47db5933f7fad43a5c51f9d0f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/lang/zh-tw.js +++ /dev/null @@ -1,14 +0,0 @@ -var $lang={ -errAlertMsg: "\u4E0D\u5408\u6CD5\u7684\u65E5\u671F\u683C\u5F0F\u6216\u8005\u65E5\u671F\u8D85\u51FA\u9650\u5B9A\u7BC4\u570D,\u9700\u8981\u64A4\u92B7\u55CE?", -aWeekStr: ["\u5468","\u65E5","\u4E00","\u4E8C","\u4E09","\u56DB","\u4E94","\u516D"], -aLongWeekStr:["\u5468","\u661F\u671F\u65E5","\u661F\u671F\u4E00","\u661F\u671F\u4E8C","\u661F\u671F\u4E09","\u661F\u671F\u56DB","\u661F\u671F\u4E94","\u661F\u671F\u516D"], -aMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00","\u5341\u4E8C"], -aLongMonStr: ["\u4E00\u6708","\u4E8C\u6708","\u4E09\u6708","\u56DB\u6708","\u4E94\u6708","\u516D\u6708","\u4E03\u6708","\u516B\u6708","\u4E5D\u6708","\u5341\u6708","\u5341\u4E00\u6708","\u5341\u4E8C\u6708"], -clearStr: "\u6E05\u7A7A", -todayStr: "\u4ECA\u5929", -okStr: "\u78BA\u5B9A", -updateStr: "\u78BA\u5B9A", -timeStr: "\u6642\u9593", -quickStr: "\u5FEB\u901F\u9078\u64C7", -err_1: '\u6700\u5C0F\u65E5\u671F\u4E0D\u80FD\u5927\u65BC\u6700\u5927\u65E5\u671F!' -} \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/skin/WdatePicker.css b/src/main/webapp/js/My97DatePicker/skin/WdatePicker.css deleted file mode 100644 index 74a75e847be3d8cda783db47889f1c043d5c0fb2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/skin/WdatePicker.css +++ /dev/null @@ -1,10 +0,0 @@ -.Wdate{ - border:#999 1px solid; - height:20px; - background:#fff url(datePicker.gif) no-repeat right; -} - -.WdateFmtErr{ - font-weight:bold; - color:red; -} \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/skin/datePicker.gif b/src/main/webapp/js/My97DatePicker/skin/datePicker.gif deleted file mode 100644 index d6bf40c9f290161c87230787a1056d977d36c821..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/My97DatePicker/skin/datePicker.gif and /dev/null differ diff --git a/src/main/webapp/js/My97DatePicker/skin/default/datepicker.css b/src/main/webapp/js/My97DatePicker/skin/default/datepicker.css deleted file mode 100644 index 8c8ea7b94d13ae9f8dc17bbc103ebbc988de74b0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/skin/default/datepicker.css +++ /dev/null @@ -1,246 +0,0 @@ -/* - * My97 DatePicker 4.7 - */ - -.WdateDiv{ - width:180px; - background-color:#FFFFFF; - border:#bbb 1px solid; - padding:2px; -} - -.WdateDiv2{ - width:360px; -} -.WdateDiv *{font-size:9pt;} - -.WdateDiv .NavImg a{ - display:block; - cursor:pointer; - height:16px; - width:16px; -} - -.WdateDiv .NavImgll a{ - float:left; - background:transparent url(img.gif) no-repeat scroll 0 0; -} -.WdateDiv .NavImgl a{ - float:left; - background:transparent url(img.gif) no-repeat scroll -16px 0; -} -.WdateDiv .NavImgr a{ - float:right; - background:transparent url(img.gif) no-repeat scroll -32px 0; -} -.WdateDiv .NavImgrr a{ - float:right; - background:transparent url(img.gif) no-repeat scroll -48px 0; -} - -.WdateDiv #dpTitle{ - height:24px; - margin-bottom:2px; - padding:1px; -} - -.WdateDiv .yminput{ - margin-top:2px; - text-align:center; - height:20px; - border:0px; - width:50px; - cursor:pointer; -} - -.WdateDiv .yminputfocus{ - margin-top:2px; - text-align:center; - font-weight:bold; - height:20px; - color:blue; - border:#ccc 1px solid; - width:50px; -} - -.WdateDiv .menuSel{ - z-index:1; - position:absolute; - background-color:#FFFFFF; - border:#ccc 1px solid; - display:none; -} - -.WdateDiv .menu{ - cursor:pointer; - background-color:#fff; -} - -.WdateDiv .menuOn{ - cursor:pointer; - background-color:#BEEBEE; -} - -.WdateDiv .invalidMenu{ - color:#aaa; -} - -.WdateDiv .YMenu{ - margin-top:20px; - -} - -.WdateDiv .MMenu{ - margin-top:20px; - *width:62px; -} - -.WdateDiv .hhMenu{ - margin-top:-90px; - margin-left:26px; -} - -.WdateDiv .mmMenu{ - margin-top:-46px; - margin-left:26px; -} - -.WdateDiv .ssMenu{ - margin-top:-24px; - margin-left:26px; -} - - .WdateDiv .Wweek { - text-align:center; - background:#DAF3F5; - border-right:#BDEBEE 1px solid; - } - -.WdateDiv .MTitle{ - background-color:#BDEBEE; -} -.WdateDiv .WdayTable2{ - border-collapse:collapse; - border:#c5d9e8 1px solid; -} -.WdateDiv .WdayTable2 table{ - border:0; -} - -.WdateDiv .WdayTable{ - line-height:20px; - border:#c5d9e8 1px solid; -} -.WdateDiv .WdayTable td{ - text-align:center; -} - -.WdateDiv .Wday{ - cursor:pointer; -} - -.WdateDiv .WdayOn{ - cursor:pointer; - background-color:#C0EBEF; -} - -.WdateDiv .Wwday{ - cursor:pointer; - color:#FF2F2F; -} - -.WdateDiv .WwdayOn{ - cursor:pointer; - color:#000; - background-color:#C0EBEF; -} -.WdateDiv .Wtoday{ - cursor:pointer; - color:blue; -} -.WdateDiv .Wselday{ - background-color:#A9E4E9; -} -.WdateDiv .WspecialDay{ - background-color:#66F4DF; -} - -.WdateDiv .WotherDay{ - cursor:pointer; - color:#6A6AFF; -} - -.WdateDiv .WotherDayOn{ - cursor:pointer; - background-color:#C0EBEF; -} - -.WdateDiv .WinvalidDay{ - color:#aaa; -} - -.WdateDiv #dpTime{ - float:left; - margin-top:3px; - margin-right:30px; -} - -.WdateDiv #dpTime #dpTimeStr{ - margin-left:1px; -} - -.WdateDiv #dpTime input{ - width:18px; - height:20px; - text-align:center; - border:#ccc 1px solid; -} - -.WdateDiv #dpTime .tB{ - border-right:0px; -} - -.WdateDiv #dpTime .tE{ - border-left:0; - border-right:0; -} - -.WdateDiv #dpTime .tm{ - width:7px; - border-left:0; - border-right:0; -} - -.WdateDiv #dpTime #dpTimeUp{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -32px -16px; -} - -.WdateDiv #dpTime #dpTimeDown{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -48px -16px; -} - - .WdateDiv #dpQS { - float:left; - margin-right:3px; - margin-top:3px; - background:url(img.gif) no-repeat 0px -16px; - width:20px; - height:20px; - cursor:pointer; - } -.WdateDiv #dpControl { - text-align:right; -} -.WdateDiv .dpButton{ - height:20px; - width:45px; - border:#ccc 1px solid; - margin-top:2px; - margin-right:1px; -} \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/skin/default/img.gif b/src/main/webapp/js/My97DatePicker/skin/default/img.gif deleted file mode 100644 index 053205d8201a3a59fb9870c6a4743fc3efd305fa..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/My97DatePicker/skin/default/img.gif and /dev/null differ diff --git a/src/main/webapp/js/My97DatePicker/skin/whyGreen/bg.jpg b/src/main/webapp/js/My97DatePicker/skin/whyGreen/bg.jpg deleted file mode 100644 index 75516a6380f3a18d246e090d47999698e4193d6c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/My97DatePicker/skin/whyGreen/bg.jpg and /dev/null differ diff --git a/src/main/webapp/js/My97DatePicker/skin/whyGreen/datepicker.css b/src/main/webapp/js/My97DatePicker/skin/whyGreen/datepicker.css deleted file mode 100644 index 3069215d210ba1e132d067adf4478bc9dc08d125..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/My97DatePicker/skin/whyGreen/datepicker.css +++ /dev/null @@ -1,256 +0,0 @@ -/* - * My97 DatePicker 4.7 Skin:whyGreen - */ -.WdateDiv{ - width:180px; - background-color:#fff; - border:#C5E1E4 1px solid; - padding:2px; -} - -.WdateDiv2{ - width:360px; -} -.WdateDiv *{font-size:9pt;} - -.WdateDiv .NavImg a{ - cursor:pointer; - display:block; - width:16px; - height:16px; - margin-top:1px; -} - -.WdateDiv .NavImgll a{ - float:left; - background:url(img.gif) no-repeat; -} -.WdateDiv .NavImgl a{ - float:left; - background:url(img.gif) no-repeat -16px 0px; -} -.WdateDiv .NavImgr a{ - float:right; - background:url(img.gif) no-repeat -32px 0px; -} -.WdateDiv .NavImgrr a{ - float:right; - background:url(img.gif) no-repeat -48px 0px; -} - -.WdateDiv #dpTitle{ - height:24px; - padding:1px; - border:#c5d9e8 1px solid; - background:url(bg.jpg); - margin-bottom:2px; -} - -.WdateDiv .yminput{ - margin-top:2px; - text-align:center; - border:0px; - height:20px; - width:50px; - color:#034c50; - background-color:transparent; - cursor:pointer; -} - -.WdateDiv .yminputfocus{ - margin-top:2px; - text-align:center; - border:#939393 1px solid; - font-weight:bold; - color:#034c50; - height:20px; - width:50px; -} - -.WdateDiv .menuSel{ - z-index:1; - position:absolute; - background-color:#FFFFFF; - border:#A3C6C8 1px solid; - display:none; -} - -.WdateDiv .menu{ - cursor:pointer; - background-color:#fff; - color:#11777C; -} - -.WdateDiv .menuOn{ - cursor:pointer; - background-color:#BEEBEE; -} - -.WdateDiv .invalidMenu{ - color:#aaa; -} - -.WdateDiv .YMenu{ - margin-top:20px; -} - -.WdateDiv .MMenu{ - margin-top:20px; - *width:62px; -} - -.WdateDiv .hhMenu{ - margin-top:-90px; - margin-left:26px; -} - -.WdateDiv .mmMenu{ - margin-top:-46px; - margin-left:26px; -} - -.WdateDiv .ssMenu{ - margin-top:-24px; - margin-left:26px; -} - - .WdateDiv .Wweek { - text-align:center; - background:#DAF3F5; - border-right:#BDEBEE 1px solid; - } - -.WdateDiv .MTitle{ - color:#13777e; - background-color:#bdebee; -} -.WdateDiv .WdayTable2{ - border-collapse:collapse; - border:#BEE9F0 1px solid; -} -.WdateDiv .WdayTable2 table{ - border:0; -} - -.WdateDiv .WdayTable{ - line-height:20px; - color:#13777e; - background-color:#edfbfb; - border:#BEE9F0 1px solid; -} -.WdateDiv .WdayTable td{ - text-align:center; -} - -.WdateDiv .Wday{ - cursor:pointer; -} - -.WdateDiv .WdayOn{ - cursor:pointer; - background-color:#74d2d9 ; -} - -.WdateDiv .Wwday{ - cursor:pointer; - color:#ab1e1e; -} - -.WdateDiv .WwdayOn{ - cursor:pointer; - background-color:#74d2d9; -} -.WdateDiv .Wtoday{ - cursor:pointer; - color:blue; -} -.WdateDiv .Wselday{ - background-color:#A7E2E7; -} -.WdateDiv .WspecialDay{ - background-color:#66F4DF; -} - -.WdateDiv .WotherDay{ - cursor:pointer; - color:#0099CC; -} - -.WdateDiv .WotherDayOn{ - cursor:pointer; - background-color:#C0EBEF; -} - -.WdateDiv .WinvalidDay{ - color:#aaa; -} - -.WdateDiv #dpTime{ - float:left; - margin-top:3px; - margin-right:30px; -} - -.WdateDiv #dpTime #dpTimeStr{ - margin-left:1px; - color:#497F7F; -} - -.WdateDiv #dpTime input{ - height:20px; - width:18px; - text-align:center; - color:#333; - border:#61CAD0 1px solid; -} - -.WdateDiv #dpTime .tB{ - border-right:0px; -} - -.WdateDiv #dpTime .tE{ - border-left:0; - border-right:0; -} - -.WdateDiv #dpTime .tm{ - width:7px; - border-left:0; - border-right:0; -} - -.WdateDiv #dpTime #dpTimeUp{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -32px -16px; -} - -.WdateDiv #dpTime #dpTimeDown{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -48px -16px; -} - - .WdateDiv #dpQS { - float:left; - margin-right:3px; - margin-top:3px; - background:url(img.gif) no-repeat 0px -16px; - width:20px; - height:20px; - cursor:pointer; - } -.WdateDiv #dpControl { - text-align:right; - margin-top:3px; -} -.WdateDiv .dpButton{ - height:20px; - width:45px; - margin-top:2px; - border:#38B1B9 1px solid; - background-color:#CFEBEE; - color:#08575B; -} \ No newline at end of file diff --git a/src/main/webapp/js/My97DatePicker/skin/whyGreen/img.gif b/src/main/webapp/js/My97DatePicker/skin/whyGreen/img.gif deleted file mode 100644 index 4003f20fb1197edf0433ff99759cb6399d0f99f9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/My97DatePicker/skin/whyGreen/img.gif and /dev/null differ diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/en.js" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/en.js" deleted file mode 100644 index e3ff1102fe43a93e07b189639e85cbe3b5d0c63f..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/en.js" +++ /dev/null @@ -1,14 +0,0 @@ -var $lang={ -errAlertMsg: "Invalid date or the date out of range,redo or not?", -aWeekStr: ["wk", "Sun", "Mon", "Tue", "Wed", "Thu", "Fri", "Sat"], -aLongWeekStr:["wk","Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday","Sunday"], -aMonStr: ["Jan", "Feb", "Mar", "Apr", "May", "Jun", "Jul", "Aug", "Sep", "Oct", "Nov", "Dec"], -aLongMonStr: ["January","February","March","April","May","June","July","August","September","October","November","December"], -clearStr: "Clear", -todayStr: "Today", -okStr: "OK", -updateStr: "OK", -timeStr: "Time", -quickStr: "Quick Selection", -err_1: 'MinDate Cannot be bigger than MaxDate!' -} \ No newline at end of file diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/zh-cn.js" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/zh-cn.js" deleted file mode 100644 index 5ffa216d9913f1342840d17ce33a938f23d2c1d7..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/zh-cn.js" +++ /dev/null @@ -1,14 +0,0 @@ -var $lang={ -errAlertMsg: "Ϸڸʽڳ޶Χ,Ҫ?", -aWeekStr: ["","","һ","","","","",""], -aLongWeekStr:["","","һ","ڶ","","","",""], -aMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], -aLongMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], -clearStr: "", -todayStr: "", -okStr: "ȷ", -updateStr: "ȷ", -timeStr: "ʱ", -quickStr: "ѡ", -err_1: 'Сڲܴ!' -} \ No newline at end of file diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/zh-tw.js" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/zh-tw.js" deleted file mode 100644 index aa716ad70bef049dfab35fadfb9640fc84ccde52..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/lang/zh-tw.js" +++ /dev/null @@ -1,14 +0,0 @@ -var $lang={ -errAlertMsg: "Ϸڸʽڳ޶,ҪN?", -aWeekStr: ["","","һ","","","","",""], -aLongWeekStr:["","","һ","ڶ","","","",""], -aMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], -aLongMonStr: ["һ","","","","","","","","","ʮ","ʮһ","ʮ"], -clearStr: "", -todayStr: "", -okStr: "_", -updateStr: "_", -timeStr: "rg", -quickStr: "x", -err_1: 'Сڲܴ!' -} \ No newline at end of file diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/readme.txt" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/readme.txt" deleted file mode 100644 index 96f03c249e87439d1937f0a37533028d7ee51a2e..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/readme.txt" +++ /dev/null @@ -1,3 +0,0 @@ -ʽʱ,ɽļɾȥ - - diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/WdatePicker.css" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/WdatePicker.css" deleted file mode 100644 index 74a75e847be3d8cda783db47889f1c043d5c0fb2..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/WdatePicker.css" +++ /dev/null @@ -1,10 +0,0 @@ -.Wdate{ - border:#999 1px solid; - height:20px; - background:#fff url(datePicker.gif) no-repeat right; -} - -.WdateFmtErr{ - font-weight:bold; - color:red; -} \ No newline at end of file diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/datePicker.gif" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/datePicker.gif" deleted file mode 100644 index d6bf40c9f290161c87230787a1056d977d36c821..0000000000000000000000000000000000000000 Binary files "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/datePicker.gif" and /dev/null differ diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/default/datepicker.css" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/default/datepicker.css" deleted file mode 100644 index ecf944f14a9d4848cf075b72c8b20a191221f792..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/default/datepicker.css" +++ /dev/null @@ -1,267 +0,0 @@ -/* - * My97 DatePicker 4.7 - * Ƥ:default - */ - -/* ѡ DIV */ -.WdateDiv{ - width:180px; - background-color:#FFFFFF; - border:#bbb 1px solid; - padding:2px; -} -/* ˫Ŀ */ -.WdateDiv2{ - width:360px; -} -.WdateDiv *{font-size:9pt;} - -/**************************** - * ͼ ȫAǩ - ***************************/ -.WdateDiv .NavImg a{ - display:block; - cursor:pointer; - height:16px; - width:16px; -} - -.WdateDiv .NavImgll a{ - float:left; - background:transparent url(img.gif) no-repeat scroll 0 0; -} -.WdateDiv .NavImgl a{ - float:left; - background:transparent url(img.gif) no-repeat scroll -16px 0; -} -.WdateDiv .NavImgr a{ - float:right; - background:transparent url(img.gif) no-repeat scroll -32px 0; -} -.WdateDiv .NavImgrr a{ - float:right; - background:transparent url(img.gif) no-repeat scroll -48px 0; -} - -/**************************** - * · - ***************************/ -/* · DIV */ -.WdateDiv #dpTitle{ - height:24px; - margin-bottom:2px; - padding:1px; -} -/* · INPUT */ -.WdateDiv .yminput{ - margin-top:2px; - text-align:center; - height:20px; - border:0px; - width:50px; - cursor:pointer; -} -/* ·ýʱʽ INPUT */ -.WdateDiv .yminputfocus{ - margin-top:2px; - text-align:center; - font-weight:bold; - height:20px; - color:blue; - border:#ccc 1px solid; - width:50px; -} -/* ˵ѡ DIV */ -.WdateDiv .menuSel{ - z-index:1; - position:absolute; - background-color:#FFFFFF; - border:#ccc 1px solid; - display:none; -} -/* ˵ʽ TD */ -.WdateDiv .menu{ - cursor:pointer; - background-color:#fff; -} -/* ˵mouseoverʽ TD */ -.WdateDiv .menuOn{ - cursor:pointer; - background-color:#BEEBEE; -} -/* ˵Чʱʽ TD */ -.WdateDiv .invalidMenu{ - color:#aaa; -} -/* ѡƫ DIV */ -.WdateDiv .YMenu{ - margin-top:20px; - -} -/* ѡƫ DIV */ -.WdateDiv .MMenu{ - margin-top:20px; - *width:62px; -} -/* ʱѡλ DIV */ -.WdateDiv .hhMenu{ - margin-top:-90px; - margin-left:26px; -} -/* ѡλ DIV */ -.WdateDiv .mmMenu{ - margin-top:-46px; - margin-left:26px; -} -/* ѡλ DIV */ -.WdateDiv .ssMenu{ - margin-top:-24px; - margin-left:26px; -} - -/**************************** - * - ***************************/ - .WdateDiv .Wweek { - text-align:center; - background:#DAF3F5; - border-right:#BDEBEE 1px solid; - } -/**************************** - * , - ***************************/ -/* TR */ -.WdateDiv .MTitle{ - background-color:#BDEBEE; -} -.WdateDiv .WdayTable2{ - border-collapse:collapse; - border:#c5d9e8 1px solid; -} -.WdateDiv .WdayTable2 table{ - border:0; -} -/* TABLE */ -.WdateDiv .WdayTable{ - line-height:20px; - border:#c5d9e8 1px solid; -} -.WdateDiv .WdayTable td{ - text-align:center; -} -/* ڸʽ TD */ -.WdateDiv .Wday{ - cursor:pointer; -} -/* ڸmouseoverʽ TD */ -.WdateDiv .WdayOn{ - cursor:pointer; - background-color:#C0EBEF; -} -/* ĩڸʽ TD */ -.WdateDiv .Wwday{ - cursor:pointer; - color:#FF2F2F; -} -/* ĩڸmouseoverʽ TD */ -.WdateDiv .WwdayOn{ - cursor:pointer; - color:#000; - background-color:#C0EBEF; -} -.WdateDiv .Wtoday{ - cursor:pointer; - color:blue; -} -.WdateDiv .Wselday{ - background-color:#A9E4E9; -} -.WdateDiv .WspecialDay{ - background-color:#66F4DF; -} -/* ·ݵ */ -.WdateDiv .WotherDay{ - cursor:pointer; - color:#6A6AFF; -} -/* ·ݵmouseoverʽ */ -.WdateDiv .WotherDayOn{ - cursor:pointer; - background-color:#C0EBEF; -} -/* Чڵʽ,ڷΧڸʽ,ѡ */ -.WdateDiv .WinvalidDay{ - color:#aaa; -} - -/**************************** - * ʱ - ***************************/ -/* ʱ DIV */ -.WdateDiv #dpTime{ - float:left; - margin-top:3px; - margin-right:30px; -} -/* ʱ SPAN */ -.WdateDiv #dpTime #dpTimeStr{ - margin-left:1px; -} -/* ʱ INPUT */ -.WdateDiv #dpTime input{ - width:18px; - height:20px; - text-align:center; - border:#ccc 1px solid; -} -/* ʱ ʱ INPUT */ -.WdateDiv #dpTime .tB{ - border-right:0px; -} -/* ʱ ֺͼ ':' INPUT */ -.WdateDiv #dpTime .tE{ - border-left:0; - border-right:0; -} -/* ʱ INPUT */ -.WdateDiv #dpTime .tm{ - width:7px; - border-left:0; - border-right:0; -} -/* ʱұߵϰť BUTTON */ -.WdateDiv #dpTime #dpTimeUp{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -32px -16px; -} -/* ʱұߵ°ť BUTTON */ -.WdateDiv #dpTime #dpTimeDown{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -48px -16px; -} -/**************************** - * - ***************************/ - .WdateDiv #dpQS { - float:left; - margin-right:3px; - margin-top:3px; - background:url(img.gif) no-repeat 0px -16px; - width:20px; - height:20px; - cursor:pointer; - } -.WdateDiv #dpControl { - text-align:right; -} -.WdateDiv .dpButton{ - height:20px; - width:45px; - border:#ccc 1px solid; - margin-top:2px; - margin-right:1px; -} \ No newline at end of file diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/default/img.gif" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/default/img.gif" deleted file mode 100644 index 053205d8201a3a59fb9870c6a4743fc3efd305fa..0000000000000000000000000000000000000000 Binary files "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/default/img.gif" and /dev/null differ diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/bg.jpg" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/bg.jpg" deleted file mode 100644 index 75516a6380f3a18d246e090d47999698e4193d6c..0000000000000000000000000000000000000000 Binary files "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/bg.jpg" and /dev/null differ diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/datepicker.css" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/datepicker.css" deleted file mode 100644 index 2c3b9b7420d597fdaf09833dcc86c53188b6630c..0000000000000000000000000000000000000000 --- "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/datepicker.css" +++ /dev/null @@ -1,277 +0,0 @@ -/* - * My97 DatePicker 4.7 - * Ƥ:whyGreen - */ - -/* ѡ DIV */ -.WdateDiv{ - width:180px; - background-color:#fff; - border:#C5E1E4 1px solid; - padding:2px; -} -/* ˫Ŀ */ -.WdateDiv2{ - width:360px; -} -.WdateDiv *{font-size:9pt;} - -/**************************** - * ͼ ȫAǩ - ***************************/ -.WdateDiv .NavImg a{ - cursor:pointer; - display:block; - width:16px; - height:16px; - margin-top:1px; -} - -.WdateDiv .NavImgll a{ - float:left; - background:url(img.gif) no-repeat; -} -.WdateDiv .NavImgl a{ - float:left; - background:url(img.gif) no-repeat -16px 0px; -} -.WdateDiv .NavImgr a{ - float:right; - background:url(img.gif) no-repeat -32px 0px; -} -.WdateDiv .NavImgrr a{ - float:right; - background:url(img.gif) no-repeat -48px 0px; -} -/**************************** - * · - ***************************/ -/* · DIV */ -.WdateDiv #dpTitle{ - height:24px; - padding:1px; - border:#c5d9e8 1px solid; - background:url(bg.jpg); - margin-bottom:2px; -} -/* · INPUT */ -.WdateDiv .yminput{ - margin-top:2px; - text-align:center; - border:0px; - height:20px; - width:50px; - color:#034c50; - background-color:transparent; - cursor:pointer; -} -/* ·ýʱʽ INPUT */ -.WdateDiv .yminputfocus{ - margin-top:2px; - text-align:center; - border:#939393 1px solid; - font-weight:bold; - color:#034c50; - height:20px; - width:50px; -} -/* ˵ѡ DIV */ -.WdateDiv .menuSel{ - z-index:1; - position:absolute; - background-color:#FFFFFF; - border:#A3C6C8 1px solid; - display:none; -} -/* ˵ʽ TD */ -.WdateDiv .menu{ - cursor:pointer; - background-color:#fff; - color:#11777C; -} -/* ˵mouseoverʽ TD */ -.WdateDiv .menuOn{ - cursor:pointer; - background-color:#BEEBEE; -} -/* ˵Чʱʽ TD */ -.WdateDiv .invalidMenu{ - color:#aaa; -} -/* ѡƫ DIV */ -.WdateDiv .YMenu{ - margin-top:20px; -} -/* ѡƫ DIV */ -.WdateDiv .MMenu{ - margin-top:20px; - *width:62px; -} -/* ʱѡλ DIV */ -.WdateDiv .hhMenu{ - margin-top:-90px; - margin-left:26px; -} -/* ѡλ DIV */ -.WdateDiv .mmMenu{ - margin-top:-46px; - margin-left:26px; -} -/* ѡλ DIV */ -.WdateDiv .ssMenu{ - margin-top:-24px; - margin-left:26px; -} - -/**************************** - * - ***************************/ - .WdateDiv .Wweek { - text-align:center; - background:#DAF3F5; - border-right:#BDEBEE 1px solid; - } -/**************************** - * , - ***************************/ - /* TR */ -.WdateDiv .MTitle{ - color:#13777e; - background-color:#bdebee; -} -.WdateDiv .WdayTable2{ - border-collapse:collapse; - border:#BEE9F0 1px solid; -} -.WdateDiv .WdayTable2 table{ - border:0; -} -/* TABLE */ -.WdateDiv .WdayTable{ - line-height:20px; - color:#13777e; - background-color:#edfbfb; - border:#BEE9F0 1px solid; -} -.WdateDiv .WdayTable td{ - text-align:center; -} -/* ڸʽ TD */ -.WdateDiv .Wday{ - cursor:pointer; -} -/* ڸmouseoverʽ TD */ -.WdateDiv .WdayOn{ - cursor:pointer; - background-color:#74d2d9 ; -} -/* ĩڸʽ TD */ -.WdateDiv .Wwday{ - cursor:pointer; - color:#ab1e1e; -} -/* ĩڸmouseoverʽ TD */ -.WdateDiv .WwdayOn{ - cursor:pointer; - background-color:#74d2d9; -} -.WdateDiv .Wtoday{ - cursor:pointer; - color:blue; -} -.WdateDiv .Wselday{ - background-color:#A7E2E7; -} -.WdateDiv .WspecialDay{ - background-color:#66F4DF; -} -/* ·ݵ */ -.WdateDiv .WotherDay{ - cursor:pointer; - color:#0099CC; -} -/* ·ݵmouseoverʽ */ -.WdateDiv .WotherDayOn{ - cursor:pointer; - background-color:#C0EBEF; -} -/* Чڵʽ,ڷΧڸʽ,ѡ */ -.WdateDiv .WinvalidDay{ - color:#aaa; -} - -/**************************** - * ʱ - ***************************/ -/* ʱ DIV */ -.WdateDiv #dpTime{ - float:left; - margin-top:3px; - margin-right:30px; -} -/* ʱ SPAN */ -.WdateDiv #dpTime #dpTimeStr{ - margin-left:1px; - color:#497F7F; -} -/* ʱ INPUT */ -.WdateDiv #dpTime input{ - height:20px; - width:18px; - text-align:center; - color:#333; - border:#61CAD0 1px solid; -} -/* ʱ ʱ INPUT */ -.WdateDiv #dpTime .tB{ - border-right:0px; -} -/* ʱ ֺͼ ':' INPUT */ -.WdateDiv #dpTime .tE{ - border-left:0; - border-right:0; -} -/* ʱ INPUT */ -.WdateDiv #dpTime .tm{ - width:7px; - border-left:0; - border-right:0; -} -/* ʱұߵϰť BUTTON */ -.WdateDiv #dpTime #dpTimeUp{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -32px -16px; -} -/* ʱұߵ°ť BUTTON */ -.WdateDiv #dpTime #dpTimeDown{ - height:10px; - width:13px; - border:0px; - background:url(img.gif) no-repeat -48px -16px; -} -/**************************** - * - ***************************/ - .WdateDiv #dpQS { - float:left; - margin-right:3px; - margin-top:3px; - background:url(img.gif) no-repeat 0px -16px; - width:20px; - height:20px; - cursor:pointer; - } -.WdateDiv #dpControl { - text-align:right; - margin-top:3px; -} -.WdateDiv .dpButton{ - height:20px; - width:45px; - margin-top:2px; - border:#38B1B9 1px solid; - background-color:#CFEBEE; - color:#08575B; -} \ No newline at end of file diff --git "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/img.gif" "b/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/img.gif" deleted file mode 100644 index 4003f20fb1197edf0433ff99759cb6399d0f99f9..0000000000000000000000000000000000000000 Binary files "a/src/main/webapp/js/My97DatePicker/\345\274\200\345\217\221\345\214\205/skin/whyGreen/img.gif" and /dev/null differ diff --git a/src/main/webapp/js/StringBuffer.js b/src/main/webapp/js/StringBuffer.js deleted file mode 100644 index df67c04ccc437d47540ab301a33be630bca30ad3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/StringBuffer.js +++ /dev/null @@ -1,11 +0,0 @@ -function StringBuffer() { - this.array = new Array(); -} -StringBuffer.prototype.append = function(value) { - this.array[this.array.length] = value; - return this; -} -StringBuffer.prototype.toString = function() { - var _string = this.array.join(""); - return _string; -} \ No newline at end of file diff --git a/src/main/webapp/js/channel/imagepreview.js b/src/main/webapp/js/channel/imagepreview.js deleted file mode 100644 index a5d97e15df2748d1befa32639b4e28bac530b2dd..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/channel/imagepreview.js +++ /dev/null @@ -1,113 +0,0 @@ -function imagepreview(file, view, call) { - - var maxHeight = view.clientHeight, - maxWidth = view.clientWidth, - doc = document; - - function setsize(info, img){ - var iwidth, iheight; - if((info.width / maxWidth) > (info.height / maxHeight)){ - iwidth = maxWidth; - iheight = Math.round(iwidth * info.height / info.width); - } else { - iheight = maxHeight; - iwidth = Math.round(iheight * info.width / info.height); - } - with(view.style){ - height = iheight + "px"; - width = iwidth + "px"; - overflow = "hidden"; - } - if(img){ - with(img.style){ - height = width = "100%"; - } - view.innerHTML = ""; - view.appendChild(img); - } - - } - - try{ - new FileReader(); - file.addEventListener("change", function(e){ - var image = this.files[0]; - function fireError(){ - var evObj = doc.createEvent('Events'); - evObj.initEvent( 'error', true, false ); - file.dispatchEvent(evObj); - file.value = ""; - } - if(!/^image\//.test(image.type)){ - e.stopPropagation(); - e.preventDefault(); - fireError(); - return false; - } - var reader = new FileReader(), - img = new Image(); - reader.onerror = img.onerror = fireError; - img.onload = function(){ - var info = { - height: img.height, - width: img.width, - name: image.name, - size: image.size - }; - if( call(info) !== false ){ - setsize(info, img); - } - img.onload = img.onerror = null; - } - reader.onload = function (){ - img.src = reader.result; - } - reader.readAsDataURL(image); - - }, false); - }catch(ex){ - - file.attachEvent("onchange", function() { - var path = file.value, - tt = doc.createElement("tt"), - name = path.slice(path.lastIndexOf("\\") + 1 ); - - if("XMLHttpRequest" in window){ - file.select(); - path = doc.selection.createRange().text, - doc.selection.empty(); - } - - function imgloader (mode){ - return "progid:DXImageTransform.Microsoft.AlphaImageLoader(src='" + path + "', sizingMethod='" + mode + "')"; - } - (doc.body || doc.documentElement).appendChild(tt); - with(tt.runtimeStyle){ - filter = imgloader("image"); - zoom = width = height = 1; - position = "absolute"; - right = "9999em"; - top = "-9999em"; - border = 0; - } - var info = { - height: tt.offsetHeight, - width: tt.offsetWidth, - name: name - }; - if( info.height > 1 || info.width > 1 ){ - if(call(info) !== false ){ - view.style.filter = imgloader("scale"); - setsize(info); - } - } else { - file.fireEvent("onerror"); - event.cancelBubble = true; - event.returnValue = false; - this.value = ""; - } - tt.parentNode.removeChild(tt); - }); - } - -} \ No newline at end of file diff --git a/src/main/webapp/js/channel/imgup.css b/src/main/webapp/js/channel/imgup.css deleted file mode 100644 index aa3ffa4d4dae631c0b9ad7c37e29de3b7d6f8092..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/channel/imgup.css +++ /dev/null @@ -1,199 +0,0 @@ -.preview { - position: relative; - display: block; - margin: auto; -} -.thumb { - border: 1px solid #ccc; - position: relative; - overflow: hidden; -} -.thumb div { - position: relative; - margin: -50px; - left: -50%; - top: -50%; - zoom: 1; -} -.cropaera * { - background: none; - float: none; - padding: 0; - margin: 0; -} -.cropaera { - -webkit-user-select: none; - -moz-user-select: none; - display: inline-block; - position: relative; - user-select: none; - margin: auto; -} -.cropmask { - position: absolute; - overflow: hidden; - height: 100%; - width: 100%; - left: 0; - top: 0; -} -.cropmask .mask_top, -.cropmask .mask_left, -.cropmask .mask_right, -.cropmask .mask_bottom { - filter: progid:DXImageTransform.Microsoft.gradient(startColorStr=#66000000,endColorStr=#66000000); - background: rgba(0,0,0,.4); - overflow: hidden; -} -.cropmask .mask_top { - height: 25%; -} -.cropmask .mask_middle { - height: 50%; -} -.cropmask .mask_middle { - display: table; - width: 100%; -} -.cropmask .mask_middle .mask_left, -.cropmask .mask_middle .mask_right { - width: 25%; -} -.cropmask .mask_middle .mask_left, -.cropmask .mask_middle .mask_right, -.cropmask .mask_middle .mask_center { - display: table-cell; -} -.cropmask .mask_center { - height: 100%; -} -.cropmask .mask_bottom { - height: 100%; - clear: both; -} -.cropmask .viewport { - border: 1px dashed #ccc; - position: relative; - cursor: move; - margin: -1px; - height: 100%; - width: 100%; -} -.cropmask .resize_n, -.cropmask .resize_e, -.cropmask .resize_s, -.cropmask .resize_w { - position: absolute; - height: 5px; - width: 5px; -} -.cropmask .resize_e, -.cropmask .resize_w { - margin: 0 -3px; - height: 100%; - top: 0; -} -.cropmask .resize_n, -.cropmask .resize_s { - margin: -3px 0; - width: 100%; - left: 0; -} -.cropmask .resize_n { - cursor: n-resize; - top: 0; -} -.cropmask .resize_e { - cursor: e-resize; - right: 0; -} -.cropmask .resize_s { - cursor: s-resize; - bottom: 0; -} -.cropmask .resize_w { - cursor: w-resize; - left: 0; -} -.cropmask .point { - border: 1px solid #fff; - position: absolute; - background: #000; - overflow: hidden; - margin: -4px; - opacity: .4; - height: 7px; - width: 7px; - filter: Alpha(Opacity=40); -} -.cropmask .resize .point { - left: 50%; - top: 50%; -} -.cropmask .point_ne { - cursor: ne-resize; - right: 0; - top: 0; -} -.cropmask .point_nw { - cursor: nw-resize; - left: 0; - top: 0; -} -.cropmask .point_se { - cursor: se-resize; - bottom: 0; - right: 0; -} -.cropmask .point_sw { - cursor: sw-resize; - bottom: 0; - left: 0; -} -.cropaera .ondrag .point, -.cropaera .ondrag .resize, -.cropaera .ondrag .viewport { - cursor: inherit; -} -.cropaera .low .resize_e .point, -.cropaera .low .resize_w .point, -.cropaera .narrow .resize_n .point, -.cropaera .narrow .resize_s .point { - display: none; -} -:root .cropmask .mask_top, -:root .cropmask .mask_left, -:root .cropmask .mask_right, -:root .cropmask .mask_bottom, -:root .cropmask .viewport .point { - filter: none; -} -.cropaera { - *height: expression(firstChild.offsetHeight); - *width: expression(firstChild.offsetWidth); - *display: inline; - *zoom: 1; -} -.cropmask { - *height: expression(offsetParent.clientHeight); - *width: expression(offsetParent.clientWidth); -} -.cropmask .mask_middle { - *overflow: hidden; -} -.cropmask .mask_left { - *float: left; - _margin-right: -3px; -} -.cropmask .mask_right { - *float: right; - _margin-left: -3px; -} -.cropmask .mask_left, -.cropmask .mask_right { - *padding-bottom: 999em; - *margin-bottom: -999em; -} -.cropmask .mask_center { - *zoom: 1; -} \ No newline at end of file diff --git a/src/main/webapp/js/channel/jquery-1.8.3.min.js b/src/main/webapp/js/channel/jquery-1.8.3.min.js deleted file mode 100644 index 83589daa707a25a1fb3e4112075d382e9a1611ab..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/channel/jquery-1.8.3.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v1.8.3 jquery.com | jquery.org/license */ -(function(e,t){function _(e){var t=M[e]={};return v.each(e.split(y),function(e,n){t[n]=!0}),t}function H(e,n,r){if(r===t&&e.nodeType===1){var i="data-"+n.replace(P,"-$1").toLowerCase();r=e.getAttribute(i);if(typeof r=="string"){try{r=r==="true"?!0:r==="false"?!1:r==="null"?null:+r+""===r?+r:D.test(r)?v.parseJSON(r):r}catch(s){}v.data(e,n,r)}else r=t}return r}function B(e){var t;for(t in e){if(t==="data"&&v.isEmptyObject(e[t]))continue;if(t!=="toJSON")return!1}return!0}function et(){return!1}function tt(){return!0}function ut(e){return!e||!e.parentNode||e.parentNode.nodeType===11}function at(e,t){do e=e[t];while(e&&e.nodeType!==1);return e}function ft(e,t,n){t=t||0;if(v.isFunction(t))return v.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return v.grep(e,function(e,r){return e===t===n});if(typeof t=="string"){var r=v.grep(e,function(e){return e.nodeType===1});if(it.test(t))return v.filter(t,r,!n);t=v.filter(t,r)}return v.grep(e,function(e,r){return v.inArray(e,t)>=0===n})}function lt(e){var t=ct.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function At(e,t){if(t.nodeType!==1||!v.hasData(e))return;var n,r,i,s=v._data(e),o=v._data(t,s),u=s.events;if(u){delete o.handle,o.events={};for(n in u)for(r=0,i=u[n].length;r").appendTo(i.body),n=t.css("display");t.remove();if(n==="none"||n===""){Pt=i.body.appendChild(Pt||v.extend(i.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!Ht||!Pt.createElement)Ht=(Pt.contentWindow||Pt.contentDocument).document,Ht.write(""),Ht.close();t=Ht.body.appendChild(Ht.createElement(e)),n=Dt(t,"display"),i.body.removeChild(Pt)}return Wt[e]=n,n}function fn(e,t,n,r){var i;if(v.isArray(t))v.each(t,function(t,i){n||sn.test(e)?r(e,i):fn(e+"["+(typeof i=="object"?t:"")+"]",i,n,r)});else if(!n&&v.type(t)==="object")for(i in t)fn(e+"["+i+"]",t[i],n,r);else r(e,t)}function Cn(e){return function(t,n){typeof t!="string"&&(n=t,t="*");var r,i,s,o=t.toLowerCase().split(y),u=0,a=o.length;if(v.isFunction(n))for(;u)[^>]*$|#([\w\-]*)$)/,E=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,S=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,T=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,N=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,C=/^-ms-/,k=/-([\da-z])/gi,L=function(e,t){return(t+"").toUpperCase()},A=function(){i.addEventListener?(i.removeEventListener("DOMContentLoaded",A,!1),v.ready()):i.readyState==="complete"&&(i.detachEvent("onreadystatechange",A),v.ready())},O={};v.fn=v.prototype={constructor:v,init:function(e,n,r){var s,o,u,a;if(!e)return this;if(e.nodeType)return this.context=this[0]=e,this.length=1,this;if(typeof e=="string"){e.charAt(0)==="<"&&e.charAt(e.length-1)===">"&&e.length>=3?s=[null,e,null]:s=w.exec(e);if(s&&(s[1]||!n)){if(s[1])return n=n instanceof v?n[0]:n,a=n&&n.nodeType?n.ownerDocument||n:i,e=v.parseHTML(s[1],a,!0),E.test(s[1])&&v.isPlainObject(n)&&this.attr.call(e,n,!0),v.merge(this,e);o=i.getElementById(s[2]);if(o&&o.parentNode){if(o.id!==s[2])return r.find(e);this.length=1,this[0]=o}return this.context=i,this.selector=e,this}return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e)}return v.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),v.makeArray(e,this))},selector:"",jquery:"1.8.3",length:0,size:function(){return this.length},toArray:function(){return l.call(this)},get:function(e){return e==null?this.toArray():e<0?this[this.length+e]:this[e]},pushStack:function(e,t,n){var r=v.merge(this.constructor(),e);return r.prevObject=this,r.context=this.context,t==="find"?r.selector=this.selector+(this.selector?" ":"")+n:t&&(r.selector=this.selector+"."+t+"("+n+")"),r},each:function(e,t){return v.each(this,e,t)},ready:function(e){return v.ready.promise().done(e),this},eq:function(e){return e=+e,e===-1?this.slice(e):this.slice(e,e+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(l.apply(this,arguments),"slice",l.call(arguments).join(","))},map:function(e){return this.pushStack(v.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:[].sort,splice:[].splice},v.fn.init.prototype=v.fn,v.extend=v.fn.extend=function(){var e,n,r,i,s,o,u=arguments[0]||{},a=1,f=arguments.length,l=!1;typeof u=="boolean"&&(l=u,u=arguments[1]||{},a=2),typeof u!="object"&&!v.isFunction(u)&&(u={}),f===a&&(u=this,--a);for(;a0)return;r.resolveWith(i,[v]),v.fn.trigger&&v(i).trigger("ready").off("ready")},isFunction:function(e){return v.type(e)==="function"},isArray:Array.isArray||function(e){return v.type(e)==="array"},isWindow:function(e){return e!=null&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return e==null?String(e):O[h.call(e)]||"object"},isPlainObject:function(e){if(!e||v.type(e)!=="object"||e.nodeType||v.isWindow(e))return!1;try{if(e.constructor&&!p.call(e,"constructor")&&!p.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||p.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw new Error(e)},parseHTML:function(e,t,n){var r;return!e||typeof e!="string"?null:(typeof t=="boolean"&&(n=t,t=0),t=t||i,(r=E.exec(e))?[t.createElement(r[1])]:(r=v.buildFragment([e],t,n?null:[]),v.merge([],(r.cacheable?v.clone(r.fragment):r.fragment).childNodes)))},parseJSON:function(t){if(!t||typeof t!="string")return null;t=v.trim(t);if(e.JSON&&e.JSON.parse)return e.JSON.parse(t);if(S.test(t.replace(T,"@").replace(N,"]").replace(x,"")))return(new Function("return "+t))();v.error("Invalid JSON: "+t)},parseXML:function(n){var r,i;if(!n||typeof n!="string")return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(s){r=t}return(!r||!r.documentElement||r.getElementsByTagName("parsererror").length)&&v.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&g.test(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(C,"ms-").replace(k,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,n,r){var i,s=0,o=e.length,u=o===t||v.isFunction(e);if(r){if(u){for(i in e)if(n.apply(e[i],r)===!1)break}else for(;s0&&e[0]&&e[a-1]||a===0||v.isArray(e));if(f)for(;u-1)a.splice(n,1),i&&(n<=o&&o--,n<=u&&u--)}),this},has:function(e){return v.inArray(e,a)>-1},empty:function(){return a=[],this},disable:function(){return a=f=n=t,this},disabled:function(){return!a},lock:function(){return f=t,n||c.disable(),this},locked:function(){return!f},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],a&&(!r||f)&&(i?f.push(t):l(t)),this},fire:function(){return c.fireWith(this,arguments),this},fired:function(){return!!r}};return c},v.extend({Deferred:function(e){var t=[["resolve","done",v.Callbacks("once memory"),"resolved"],["reject","fail",v.Callbacks("once memory"),"rejected"],["notify","progress",v.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return v.Deferred(function(n){v.each(t,function(t,r){var s=r[0],o=e[t];i[r[1]](v.isFunction(o)?function(){var e=o.apply(this,arguments);e&&v.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[s+"With"](this===i?n:this,[e])}:n[s])}),e=null}).promise()},promise:function(e){return e!=null?v.extend(e,r):r}},i={};return r.pipe=r.then,v.each(t,function(e,s){var o=s[2],u=s[3];r[s[1]]=o.add,u&&o.add(function(){n=u},t[e^1][2].disable,t[2][2].lock),i[s[0]]=o.fire,i[s[0]+"With"]=o.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=l.call(arguments),r=n.length,i=r!==1||e&&v.isFunction(e.promise)?r:0,s=i===1?e:v.Deferred(),o=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?l.call(arguments):r,n===u?s.notifyWith(t,n):--i||s.resolveWith(t,n)}},u,a,f;if(r>1){u=new Array(r),a=new Array(r),f=new Array(r);for(;t
    a",n=p.getElementsByTagName("*"),r=p.getElementsByTagName("a")[0];if(!n||!r||!n.length)return{};s=i.createElement("select"),o=s.appendChild(i.createElement("option")),u=p.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={leadingWhitespace:p.firstChild.nodeType===3,tbody:!p.getElementsByTagName("tbody").length,htmlSerialize:!!p.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:r.getAttribute("href")==="/a",opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:u.value==="on",optSelected:o.selected,getSetAttribute:p.className!=="t",enctype:!!i.createElement("form").enctype,html5Clone:i.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:i.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},u.checked=!0,t.noCloneChecked=u.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!o.disabled;try{delete p.test}catch(d){t.deleteExpando=!1}!p.addEventListener&&p.attachEvent&&p.fireEvent&&(p.attachEvent("onclick",h=function(){t.noCloneEvent=!1}),p.cloneNode(!0).fireEvent("onclick"),p.detachEvent("onclick",h)),u=i.createElement("input"),u.value="t",u.setAttribute("type","radio"),t.radioValue=u.value==="t",u.setAttribute("checked","checked"),u.setAttribute("name","t"),p.appendChild(u),a=i.createDocumentFragment(),a.appendChild(p.lastChild),t.checkClone=a.cloneNode(!0).cloneNode(!0).lastChild.checked,t.appendChecked=u.checked,a.removeChild(u),a.appendChild(p);if(p.attachEvent)for(l in{submit:!0,change:!0,focusin:!0})f="on"+l,c=f in p,c||(p.setAttribute(f,"return;"),c=typeof p[f]=="function"),t[l+"Bubbles"]=c;return v(function(){var n,r,s,o,u="padding:0;margin:0;border:0;display:block;overflow:hidden;",a=i.getElementsByTagName("body")[0];if(!a)return;n=i.createElement("div"),n.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",a.insertBefore(n,a.firstChild),r=i.createElement("div"),n.appendChild(r),r.innerHTML="
    t
    ",s=r.getElementsByTagName("td"),s[0].style.cssText="padding:0;margin:0;border:0;display:none",c=s[0].offsetHeight===0,s[0].style.display="",s[1].style.display="none",t.reliableHiddenOffsets=c&&s[0].offsetHeight===0,r.innerHTML="",r.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=r.offsetWidth===4,t.doesNotIncludeMarginInBodyOffset=a.offsetTop!==1,e.getComputedStyle&&(t.pixelPosition=(e.getComputedStyle(r,null)||{}).top!=="1%",t.boxSizingReliable=(e.getComputedStyle(r,null)||{width:"4px"}).width==="4px",o=i.createElement("div"),o.style.cssText=r.style.cssText=u,o.style.marginRight=o.style.width="0",r.style.width="1px",r.appendChild(o),t.reliableMarginRight=!parseFloat((e.getComputedStyle(o,null)||{}).marginRight)),typeof r.style.zoom!="undefined"&&(r.innerHTML="",r.style.cssText=u+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=r.offsetWidth===3,r.style.display="block",r.style.overflow="visible",r.innerHTML="
    ",r.firstChild.style.width="5px",t.shrinkWrapBlocks=r.offsetWidth!==3,n.style.zoom=1),a.removeChild(n),n=r=s=o=null}),a.removeChild(p),n=r=s=o=u=a=p=null,t}();var D=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,P=/([A-Z])/g;v.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(v.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?v.cache[e[v.expando]]:e[v.expando],!!e&&!B(e)},data:function(e,n,r,i){if(!v.acceptData(e))return;var s,o,u=v.expando,a=typeof n=="string",f=e.nodeType,l=f?v.cache:e,c=f?e[u]:e[u]&&u;if((!c||!l[c]||!i&&!l[c].data)&&a&&r===t)return;c||(f?e[u]=c=v.deletedIds.pop()||v.guid++:c=u),l[c]||(l[c]={},f||(l[c].toJSON=v.noop));if(typeof n=="object"||typeof n=="function")i?l[c]=v.extend(l[c],n):l[c].data=v.extend(l[c].data,n);return s=l[c],i||(s.data||(s.data={}),s=s.data),r!==t&&(s[v.camelCase(n)]=r),a?(o=s[n],o==null&&(o=s[v.camelCase(n)])):o=s,o},removeData:function(e,t,n){if(!v.acceptData(e))return;var r,i,s,o=e.nodeType,u=o?v.cache:e,a=o?e[v.expando]:v.expando;if(!u[a])return;if(t){r=n?u[a]:u[a].data;if(r){v.isArray(t)||(t in r?t=[t]:(t=v.camelCase(t),t in r?t=[t]:t=t.split(" ")));for(i=0,s=t.length;i1,null,!1))},removeData:function(e){return this.each(function(){v.removeData(this,e)})}}),v.extend({queue:function(e,t,n){var r;if(e)return t=(t||"fx")+"queue",r=v._data(e,t),n&&(!r||v.isArray(n)?r=v._data(e,t,v.makeArray(n)):r.push(n)),r||[]},dequeue:function(e,t){t=t||"fx";var n=v.queue(e,t),r=n.length,i=n.shift(),s=v._queueHooks(e,t),o=function(){v.dequeue(e,t)};i==="inprogress"&&(i=n.shift(),r--),i&&(t==="fx"&&n.unshift("inprogress"),delete s.stop,i.call(e,o,s)),!r&&s&&s.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return v._data(e,n)||v._data(e,n,{empty:v.Callbacks("once memory").add(function(){v.removeData(e,t+"queue",!0),v.removeData(e,n,!0)})})}}),v.fn.extend({queue:function(e,n){var r=2;return typeof e!="string"&&(n=e,e="fx",r--),arguments.length1)},removeAttr:function(e){return this.each(function(){v.removeAttr(this,e)})},prop:function(e,t){return v.access(this,v.prop,e,t,arguments.length>1)},removeProp:function(e){return e=v.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,s,o,u;if(v.isFunction(e))return this.each(function(t){v(this).addClass(e.call(this,t,this.className))});if(e&&typeof e=="string"){t=e.split(y);for(n=0,r=this.length;n=0)r=r.replace(" "+n[s]+" "," ");i.className=e?v.trim(r):""}}}return this},toggleClass:function(e,t){var n=typeof e,r=typeof t=="boolean";return v.isFunction(e)?this.each(function(n){v(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if(n==="string"){var i,s=0,o=v(this),u=t,a=e.split(y);while(i=a[s++])u=r?u:!o.hasClass(i),o[u?"addClass":"removeClass"](i)}else if(n==="undefined"||n==="boolean")this.className&&v._data(this,"__className__",this.className),this.className=this.className||e===!1?"":v._data(this,"__className__")||""})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;n=0)return!0;return!1},val:function(e){var n,r,i,s=this[0];if(!arguments.length){if(s)return n=v.valHooks[s.type]||v.valHooks[s.nodeName.toLowerCase()],n&&"get"in n&&(r=n.get(s,"value"))!==t?r:(r=s.value,typeof r=="string"?r.replace(R,""):r==null?"":r);return}return i=v.isFunction(e),this.each(function(r){var s,o=v(this);if(this.nodeType!==1)return;i?s=e.call(this,r,o.val()):s=e,s==null?s="":typeof s=="number"?s+="":v.isArray(s)&&(s=v.map(s,function(e){return e==null?"":e+""})),n=v.valHooks[this.type]||v.valHooks[this.nodeName.toLowerCase()];if(!n||!("set"in n)||n.set(this,s,"value")===t)this.value=s})}}),v.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,s=e.type==="select-one"||i<0,o=s?null:[],u=s?i+1:r.length,a=i<0?u:s?i:0;for(;a=0}),n.length||(e.selectedIndex=-1),n}}},attrFn:{},attr:function(e,n,r,i){var s,o,u,a=e.nodeType;if(!e||a===3||a===8||a===2)return;if(i&&v.isFunction(v.fn[n]))return v(e)[n](r);if(typeof e.getAttribute=="undefined")return v.prop(e,n,r);u=a!==1||!v.isXMLDoc(e),u&&(n=n.toLowerCase(),o=v.attrHooks[n]||(X.test(n)?F:j));if(r!==t){if(r===null){v.removeAttr(e,n);return}return o&&"set"in o&&u&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r)}return o&&"get"in o&&u&&(s=o.get(e,n))!==null?s:(s=e.getAttribute(n),s===null?t:s)},removeAttr:function(e,t){var n,r,i,s,o=0;if(t&&e.nodeType===1){r=t.split(y);for(;o=0}})});var $=/^(?:textarea|input|select)$/i,J=/^([^\.]*|)(?:\.(.+)|)$/,K=/(?:^|\s)hover(\.\S+|)\b/,Q=/^key/,G=/^(?:mouse|contextmenu)|click/,Y=/^(?:focusinfocus|focusoutblur)$/,Z=function(e){return v.event.special.hover?e:e.replace(K,"mouseenter$1 mouseleave$1")};v.event={add:function(e,n,r,i,s){var o,u,a,f,l,c,h,p,d,m,g;if(e.nodeType===3||e.nodeType===8||!n||!r||!(o=v._data(e)))return;r.handler&&(d=r,r=d.handler,s=d.selector),r.guid||(r.guid=v.guid++),a=o.events,a||(o.events=a={}),u=o.handle,u||(o.handle=u=function(e){return typeof v=="undefined"||!!e&&v.event.triggered===e.type?t:v.event.dispatch.apply(u.elem,arguments)},u.elem=e),n=v.trim(Z(n)).split(" ");for(f=0;f=0&&(y=y.slice(0,-1),a=!0),y.indexOf(".")>=0&&(b=y.split("."),y=b.shift(),b.sort());if((!s||v.event.customEvent[y])&&!v.event.global[y])return;n=typeof n=="object"?n[v.expando]?n:new v.Event(y,n):new v.Event(y),n.type=y,n.isTrigger=!0,n.exclusive=a,n.namespace=b.join("."),n.namespace_re=n.namespace?new RegExp("(^|\\.)"+b.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,h=y.indexOf(":")<0?"on"+y:"";if(!s){u=v.cache;for(f in u)u[f].events&&u[f].events[y]&&v.event.trigger(n,r,u[f].handle.elem,!0);return}n.result=t,n.target||(n.target=s),r=r!=null?v.makeArray(r):[],r.unshift(n),p=v.event.special[y]||{};if(p.trigger&&p.trigger.apply(s,r)===!1)return;m=[[s,p.bindType||y]];if(!o&&!p.noBubble&&!v.isWindow(s)){g=p.delegateType||y,l=Y.test(g+y)?s:s.parentNode;for(c=s;l;l=l.parentNode)m.push([l,g]),c=l;c===(s.ownerDocument||i)&&m.push([c.defaultView||c.parentWindow||e,g])}for(f=0;f=0:v.find(h,this,null,[s]).length),u[h]&&f.push(c);f.length&&w.push({elem:s,matches:f})}d.length>m&&w.push({elem:this,matches:d.slice(m)});for(r=0;r0?this.on(t,null,e,n):this.trigger(t)},Q.test(t)&&(v.event.fixHooks[t]=v.event.keyHooks),G.test(t)&&(v.event.fixHooks[t]=v.event.mouseHooks)}),function(e,t){function nt(e,t,n,r){n=n||[],t=t||g;var i,s,a,f,l=t.nodeType;if(!e||typeof e!="string")return n;if(l!==1&&l!==9)return[];a=o(t);if(!a&&!r)if(i=R.exec(e))if(f=i[1]){if(l===9){s=t.getElementById(f);if(!s||!s.parentNode)return n;if(s.id===f)return n.push(s),n}else if(t.ownerDocument&&(s=t.ownerDocument.getElementById(f))&&u(t,s)&&s.id===f)return n.push(s),n}else{if(i[2])return S.apply(n,x.call(t.getElementsByTagName(e),0)),n;if((f=i[3])&&Z&&t.getElementsByClassName)return S.apply(n,x.call(t.getElementsByClassName(f),0)),n}return vt(e.replace(j,"$1"),t,n,r,a)}function rt(e){return function(t){var n=t.nodeName.toLowerCase();return n==="input"&&t.type===e}}function it(e){return function(t){var n=t.nodeName.toLowerCase();return(n==="input"||n==="button")&&t.type===e}}function st(e){return N(function(t){return t=+t,N(function(n,r){var i,s=e([],n.length,t),o=s.length;while(o--)n[i=s[o]]&&(n[i]=!(r[i]=n[i]))})})}function ot(e,t,n){if(e===t)return n;var r=e.nextSibling;while(r){if(r===t)return-1;r=r.nextSibling}return 1}function ut(e,t){var n,r,s,o,u,a,f,l=L[d][e+" "];if(l)return t?0:l.slice(0);u=e,a=[],f=i.preFilter;while(u){if(!n||(r=F.exec(u)))r&&(u=u.slice(r[0].length)||u),a.push(s=[]);n=!1;if(r=I.exec(u))s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=r[0].replace(j," ");for(o in i.filter)(r=J[o].exec(u))&&(!f[o]||(r=f[o](r)))&&(s.push(n=new m(r.shift())),u=u.slice(n.length),n.type=o,n.matches=r);if(!n)break}return t?u.length:u?nt.error(e):L(e,a).slice(0)}function at(e,t,r){var i=t.dir,s=r&&t.dir==="parentNode",o=w++;return t.first?function(t,n,r){while(t=t[i])if(s||t.nodeType===1)return e(t,n,r)}:function(t,r,u){if(!u){var a,f=b+" "+o+" ",l=f+n;while(t=t[i])if(s||t.nodeType===1){if((a=t[d])===l)return t.sizset;if(typeof a=="string"&&a.indexOf(f)===0){if(t.sizset)return t}else{t[d]=l;if(e(t,r,u))return t.sizset=!0,t;t.sizset=!1}}}else while(t=t[i])if(s||t.nodeType===1)if(e(t,r,u))return t}}function ft(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function lt(e,t,n,r,i){var s,o=[],u=0,a=e.length,f=t!=null;for(;u-1&&(s[f]=!(o[f]=c))}}else g=lt(g===o?g.splice(d,g.length):g),i?i(null,o,g,a):S.apply(o,g)})}function ht(e){var t,n,r,s=e.length,o=i.relative[e[0].type],u=o||i.relative[" "],a=o?1:0,f=at(function(e){return e===t},u,!0),l=at(function(e){return T.call(t,e)>-1},u,!0),h=[function(e,n,r){return!o&&(r||n!==c)||((t=n).nodeType?f(e,n,r):l(e,n,r))}];for(;a1&&ft(h),a>1&&e.slice(0,a-1).join("").replace(j,"$1"),n,a0,s=e.length>0,o=function(u,a,f,l,h){var p,d,v,m=[],y=0,w="0",x=u&&[],T=h!=null,N=c,C=u||s&&i.find.TAG("*",h&&a.parentNode||a),k=b+=N==null?1:Math.E;T&&(c=a!==g&&a,n=o.el);for(;(p=C[w])!=null;w++){if(s&&p){for(d=0;v=e[d];d++)if(v(p,a,f)){l.push(p);break}T&&(b=k,n=++o.el)}r&&((p=!v&&p)&&y--,u&&x.push(p))}y+=w;if(r&&w!==y){for(d=0;v=t[d];d++)v(x,m,a,f);if(u){if(y>0)while(w--)!x[w]&&!m[w]&&(m[w]=E.call(l));m=lt(m)}S.apply(l,m),T&&!u&&m.length>0&&y+t.length>1&&nt.uniqueSort(l)}return T&&(b=k,c=N),x};return o.el=0,r?N(o):o}function dt(e,t,n){var r=0,i=t.length;for(;r2&&(f=u[0]).type==="ID"&&t.nodeType===9&&!s&&i.relative[u[1].type]){t=i.find.ID(f.matches[0].replace($,""),t,s)[0];if(!t)return n;e=e.slice(u.shift().length)}for(o=J.POS.test(e)?-1:u.length-1;o>=0;o--){f=u[o];if(i.relative[l=f.type])break;if(c=i.find[l])if(r=c(f.matches[0].replace($,""),z.test(u[0].type)&&t.parentNode||t,s)){u.splice(o,1),e=r.length&&u.join("");if(!e)return S.apply(n,x.call(r,0)),n;break}}}return a(e,h)(r,t,s,n,z.test(e)),n}function mt(){}var n,r,i,s,o,u,a,f,l,c,h=!0,p="undefined",d=("sizcache"+Math.random()).replace(".",""),m=String,g=e.document,y=g.documentElement,b=0,w=0,E=[].pop,S=[].push,x=[].slice,T=[].indexOf||function(e){var t=0,n=this.length;for(;ti.cacheLength&&delete e[t.shift()],e[n+" "]=r},e)},k=C(),L=C(),A=C(),O="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",_=M.replace("w","w#"),D="([*^$|!~]?=)",P="\\["+O+"*("+M+")"+O+"*(?:"+D+O+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+_+")|)|)"+O+"*\\]",H=":("+M+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|([^()[\\]]*|(?:(?:"+P+")|[^:]|\\\\.)*|.*))\\)|)",B=":(even|odd|eq|gt|lt|nth|first|last)(?:\\("+O+"*((?:-\\d)?\\d*)"+O+"*\\)|)(?=[^-]|$)",j=new RegExp("^"+O+"+|((?:^|[^\\\\])(?:\\\\.)*)"+O+"+$","g"),F=new RegExp("^"+O+"*,"+O+"*"),I=new RegExp("^"+O+"*([\\x20\\t\\r\\n\\f>+~])"+O+"*"),q=new RegExp(H),R=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,U=/^:not/,z=/[\x20\t\r\n\f]*[+~]/,W=/:not\($/,X=/h\d/i,V=/input|select|textarea|button/i,$=/\\(?!\\)/g,J={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),NAME:new RegExp("^\\[name=['\"]?("+M+")['\"]?\\]"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+P),PSEUDO:new RegExp("^"+H),POS:new RegExp(B,"i"),CHILD:new RegExp("^:(only|nth|first|last)-child(?:\\("+O+"*(even|odd|(([+-]|)(\\d*)n|)"+O+"*(?:([+-]|)"+O+"*(\\d+)|))"+O+"*\\)|)","i"),needsContext:new RegExp("^"+O+"*[>+~]|"+B,"i")},K=function(e){var t=g.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}},Q=K(function(e){return e.appendChild(g.createComment("")),!e.getElementsByTagName("*").length}),G=K(function(e){return e.innerHTML="",e.firstChild&&typeof e.firstChild.getAttribute!==p&&e.firstChild.getAttribute("href")==="#"}),Y=K(function(e){e.innerHTML="";var t=typeof e.lastChild.getAttribute("multiple");return t!=="boolean"&&t!=="string"}),Z=K(function(e){return e.innerHTML="",!e.getElementsByClassName||!e.getElementsByClassName("e").length?!1:(e.lastChild.className="e",e.getElementsByClassName("e").length===2)}),et=K(function(e){e.id=d+0,e.innerHTML="
    ",y.insertBefore(e,y.firstChild);var t=g.getElementsByName&&g.getElementsByName(d).length===2+g.getElementsByName(d+0).length;return r=!g.getElementById(d),y.removeChild(e),t});try{x.call(y.childNodes,0)[0].nodeType}catch(tt){x=function(e){var t,n=[];for(;t=this[e];e++)n.push(t);return n}}nt.matches=function(e,t){return nt(e,null,null,t)},nt.matchesSelector=function(e,t){return nt(t,null,null,[e]).length>0},s=nt.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(i===1||i===9||i===11){if(typeof e.textContent=="string")return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=s(e)}else if(i===3||i===4)return e.nodeValue}else for(;t=e[r];r++)n+=s(t);return n},o=nt.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?t.nodeName!=="HTML":!1},u=nt.contains=y.contains?function(e,t){var n=e.nodeType===9?e.documentElement:e,r=t&&t.parentNode;return e===r||!!(r&&r.nodeType===1&&n.contains&&n.contains(r))}:y.compareDocumentPosition?function(e,t){return t&&!!(e.compareDocumentPosition(t)&16)}:function(e,t){while(t=t.parentNode)if(t===e)return!0;return!1},nt.attr=function(e,t){var n,r=o(e);return r||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):r||Y?e.getAttribute(t):(n=e.getAttributeNode(t),n?typeof e[t]=="boolean"?e[t]?t:null:n.specified?n.value:null:null)},i=nt.selectors={cacheLength:50,createPseudo:N,match:J,attrHandle:G?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},find:{ID:r?function(e,t,n){if(typeof t.getElementById!==p&&!n){var r=t.getElementById(e);return r&&r.parentNode?[r]:[]}}:function(e,n,r){if(typeof n.getElementById!==p&&!r){var i=n.getElementById(e);return i?i.id===e||typeof i.getAttributeNode!==p&&i.getAttributeNode("id").value===e?[i]:t:[]}},TAG:Q?function(e,t){if(typeof t.getElementsByTagName!==p)return t.getElementsByTagName(e)}:function(e,t){var n=t.getElementsByTagName(e);if(e==="*"){var r,i=[],s=0;for(;r=n[s];s++)r.nodeType===1&&i.push(r);return i}return n},NAME:et&&function(e,t){if(typeof t.getElementsByName!==p)return t.getElementsByName(name)},CLASS:Z&&function(e,t,n){if(typeof t.getElementsByClassName!==p&&!n)return t.getElementsByClassName(e)}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace($,""),e[3]=(e[4]||e[5]||"").replace($,""),e[2]==="~="&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),e[1]==="nth"?(e[2]||nt.error(e[0]),e[3]=+(e[3]?e[4]+(e[5]||1):2*(e[2]==="even"||e[2]==="odd")),e[4]=+(e[6]+e[7]||e[2]==="odd")):e[2]&&nt.error(e[0]),e},PSEUDO:function(e){var t,n;if(J.CHILD.test(e[0]))return null;if(e[3])e[2]=e[3];else if(t=e[4])q.test(t)&&(n=ut(t,!0))&&(n=t.indexOf(")",t.length-n)-t.length)&&(t=t.slice(0,n),e[0]=e[0].slice(0,n)),e[2]=t;return e.slice(0,3)}},filter:{ID:r?function(e){return e=e.replace($,""),function(t){return t.getAttribute("id")===e}}:function(e){return e=e.replace($,""),function(t){var n=typeof t.getAttributeNode!==p&&t.getAttributeNode("id");return n&&n.value===e}},TAG:function(e){return e==="*"?function(){return!0}:(e=e.replace($,"").toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[d][e+" "];return t||(t=new RegExp("(^|"+O+")"+e+"("+O+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==p&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r,i){var s=nt.attr(r,e);return s==null?t==="!=":t?(s+="",t==="="?s===n:t==="!="?s!==n:t==="^="?n&&s.indexOf(n)===0:t==="*="?n&&s.indexOf(n)>-1:t==="$="?n&&s.substr(s.length-n.length)===n:t==="~="?(" "+s+" ").indexOf(n)>-1:t==="|="?s===n||s.substr(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r){return e==="nth"?function(e){var t,i,s=e.parentNode;if(n===1&&r===0)return!0;if(s){i=0;for(t=s.firstChild;t;t=t.nextSibling)if(t.nodeType===1){i++;if(e===t)break}}return i-=r,i===n||i%n===0&&i/n>=0}:function(t){var n=t;switch(e){case"only":case"first":while(n=n.previousSibling)if(n.nodeType===1)return!1;if(e==="first")return!0;n=t;case"last":while(n=n.nextSibling)if(n.nodeType===1)return!1;return!0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||nt.error("unsupported pseudo: "+e);return r[d]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?N(function(e,n){var i,s=r(e,t),o=s.length;while(o--)i=T.call(e,s[o]),e[i]=!(n[i]=s[o])}):function(e){return r(e,0,n)}):r}},pseudos:{not:N(function(e){var t=[],n=[],r=a(e.replace(j,"$1"));return r[d]?N(function(e,t,n,i){var s,o=r(e,null,i,[]),u=e.length;while(u--)if(s=o[u])e[u]=!(t[u]=s)}):function(e,i,s){return t[0]=e,r(t,null,s,n),!n.pop()}}),has:N(function(e){return function(t){return nt(e,t).length>0}}),contains:N(function(e){return function(t){return(t.textContent||t.innerText||s(t)).indexOf(e)>-1}}),enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&!!e.checked||t==="option"&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},parent:function(e){return!i.pseudos.empty(e)},empty:function(e){var t;e=e.firstChild;while(e){if(e.nodeName>"@"||(t=e.nodeType)===3||t===4)return!1;e=e.nextSibling}return!0},header:function(e){return X.test(e.nodeName)},text:function(e){var t,n;return e.nodeName.toLowerCase()==="input"&&(t=e.type)==="text"&&((n=e.getAttribute("type"))==null||n.toLowerCase()===t)},radio:rt("radio"),checkbox:rt("checkbox"),file:rt("file"),password:rt("password"),image:rt("image"),submit:it("submit"),reset:it("reset"),button:function(e){var t=e.nodeName.toLowerCase();return t==="input"&&e.type==="button"||t==="button"},input:function(e){return V.test(e.nodeName)},focus:function(e){var t=e.ownerDocument;return e===t.activeElement&&(!t.hasFocus||t.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},active:function(e){return e===e.ownerDocument.activeElement},first:st(function(){return[0]}),last:st(function(e,t){return[t-1]}),eq:st(function(e,t,n){return[n<0?n+t:n]}),even:st(function(e,t){for(var n=0;n=0;)e.push(r);return e}),gt:st(function(e,t,n){for(var r=n<0?n+t:n;++r",e.querySelectorAll("[selected]").length||i.push("\\["+O+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||i.push(":checked")}),K(function(e){e.innerHTML="

    ",e.querySelectorAll("[test^='']").length&&i.push("[*^$]="+O+"*(?:\"\"|'')"),e.innerHTML="",e.querySelectorAll(":enabled").length||i.push(":enabled",":disabled")}),i=new RegExp(i.join("|")),vt=function(e,r,s,o,u){if(!o&&!u&&!i.test(e)){var a,f,l=!0,c=d,h=r,p=r.nodeType===9&&e;if(r.nodeType===1&&r.nodeName.toLowerCase()!=="object"){a=ut(e),(l=r.getAttribute("id"))?c=l.replace(n,"\\$&"):r.setAttribute("id",c),c="[id='"+c+"'] ",f=a.length;while(f--)a[f]=c+a[f].join("");h=z.test(e)&&r.parentNode||r,p=a.join(",")}if(p)try{return S.apply(s,x.call(h.querySelectorAll(p),0)),s}catch(v){}finally{l||r.removeAttribute("id")}}return t(e,r,s,o,u)},u&&(K(function(t){e=u.call(t,"div");try{u.call(t,"[test!='']:sizzle"),s.push("!=",H)}catch(n){}}),s=new RegExp(s.join("|")),nt.matchesSelector=function(t,n){n=n.replace(r,"='$1']");if(!o(t)&&!s.test(n)&&!i.test(n))try{var a=u.call(t,n);if(a||e||t.document&&t.document.nodeType!==11)return a}catch(f){}return nt(n,null,null,[t]).length>0})}(),i.pseudos.nth=i.pseudos.eq,i.filters=mt.prototype=i.pseudos,i.setFilters=new mt,nt.attr=v.attr,v.find=nt,v.expr=nt.selectors,v.expr[":"]=v.expr.pseudos,v.unique=nt.uniqueSort,v.text=nt.getText,v.isXMLDoc=nt.isXML,v.contains=nt.contains}(e);var nt=/Until$/,rt=/^(?:parents|prev(?:Until|All))/,it=/^.[^:#\[\.,]*$/,st=v.expr.match.needsContext,ot={children:!0,contents:!0,next:!0,prev:!0};v.fn.extend({find:function(e){var t,n,r,i,s,o,u=this;if(typeof e!="string")return v(e).filter(function(){for(t=0,n=u.length;t0)for(i=r;i=0:v.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,s=[],o=st.test(e)||typeof e!="string"?v(e,t||this.context):0;for(;r-1:v.find.matchesSelector(n,e)){s.push(n);break}n=n.parentNode}}return s=s.length>1?v.unique(s):s,this.pushStack(s,"closest",e)},index:function(e){return e?typeof e=="string"?v.inArray(this[0],v(e)):v.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(e,t){var n=typeof e=="string"?v(e,t):v.makeArray(e&&e.nodeType?[e]:e),r=v.merge(this.get(),n);return this.pushStack(ut(n[0])||ut(r[0])?r:v.unique(r))},addBack:function(e){return this.add(e==null?this.prevObject:this.prevObject.filter(e))}}),v.fn.andSelf=v.fn.addBack,v.each({parent:function(e){var t=e.parentNode;return t&&t.nodeType!==11?t:null},parents:function(e){return v.dir(e,"parentNode")},parentsUntil:function(e,t,n){return v.dir(e,"parentNode",n)},next:function(e){return at(e,"nextSibling")},prev:function(e){return at(e,"previousSibling")},nextAll:function(e){return v.dir(e,"nextSibling")},prevAll:function(e){return v.dir(e,"previousSibling")},nextUntil:function(e,t,n){return v.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return v.dir(e,"previousSibling",n)},siblings:function(e){return v.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return v.sibling(e.firstChild)},contents:function(e){return v.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:v.merge([],e.childNodes)}},function(e,t){v.fn[e]=function(n,r){var i=v.map(this,t,n);return nt.test(e)||(r=n),r&&typeof r=="string"&&(i=v.filter(r,i)),i=this.length>1&&!ot[e]?v.unique(i):i,this.length>1&&rt.test(e)&&(i=i.reverse()),this.pushStack(i,e,l.call(arguments).join(","))}}),v.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),t.length===1?v.find.matchesSelector(t[0],e)?[t[0]]:[]:v.find.matches(e,t)},dir:function(e,n,r){var i=[],s=e[n];while(s&&s.nodeType!==9&&(r===t||s.nodeType!==1||!v(s).is(r)))s.nodeType===1&&i.push(s),s=s[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)e.nodeType===1&&e!==t&&n.push(e);return n}});var ct="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",ht=/ jQuery\d+="(?:null|\d+)"/g,pt=/^\s+/,dt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,vt=/<([\w:]+)/,mt=/]","i"),Et=/^(?:checkbox|radio)$/,St=/checked\s*(?:[^=]|=\s*.checked.)/i,xt=/\/(java|ecma)script/i,Tt=/^\s*\s*$/g,Nt={option:[1,""],legend:[1,"
    ","
    "],thead:[1,"","
    "],tr:[2,"","
    "],td:[3,"","
    "],col:[2,"","
    "],area:[1,"",""],_default:[0,"",""]},Ct=lt(i),kt=Ct.appendChild(i.createElement("div"));Nt.optgroup=Nt.option,Nt.tbody=Nt.tfoot=Nt.colgroup=Nt.caption=Nt.thead,Nt.th=Nt.td,v.support.htmlSerialize||(Nt._default=[1,"X
    ","
    "]),v.fn.extend({text:function(e){return v.access(this,function(e){return e===t?v.text(this):this.empty().append((this[0]&&this[0].ownerDocument||i).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(v.isFunction(e))return this.each(function(t){v(this).wrapAll(e.call(this,t))});if(this[0]){var t=v(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&e.firstChild.nodeType===1)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return v.isFunction(e)?this.each(function(t){v(this).wrapInner(e.call(this,t))}):this.each(function(){var t=v(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=v.isFunction(e);return this.each(function(n){v(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){v.nodeName(this,"body")||v(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(e,this.firstChild)})},before:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(e,this),"before",this.selector)}},after:function(){if(!ut(this[0]))return this.domManip(arguments,!1,function(e){this.parentNode.insertBefore(e,this.nextSibling)});if(arguments.length){var e=v.clean(arguments);return this.pushStack(v.merge(this,e),"after",this.selector)}},remove:function(e,t){var n,r=0;for(;(n=this[r])!=null;r++)if(!e||v.filter(e,[n]).length)!t&&n.nodeType===1&&(v.cleanData(n.getElementsByTagName("*")),v.cleanData([n])),n.parentNode&&n.parentNode.removeChild(n);return this},empty:function(){var e,t=0;for(;(e=this[t])!=null;t++){e.nodeType===1&&v.cleanData(e.getElementsByTagName("*"));while(e.firstChild)e.removeChild(e.firstChild)}return this},clone:function(e,t){return e=e==null?!1:e,t=t==null?e:t,this.map(function(){return v.clone(this,e,t)})},html:function(e){return v.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return n.nodeType===1?n.innerHTML.replace(ht,""):t;if(typeof e=="string"&&!yt.test(e)&&(v.support.htmlSerialize||!wt.test(e))&&(v.support.leadingWhitespace||!pt.test(e))&&!Nt[(vt.exec(e)||["",""])[1].toLowerCase()]){e=e.replace(dt,"<$1>");try{for(;r1&&typeof f=="string"&&St.test(f))return this.each(function(){v(this).domManip(e,n,r)});if(v.isFunction(f))return this.each(function(i){var s=v(this);e[0]=f.call(this,i,n?s.html():t),s.domManip(e,n,r)});if(this[0]){i=v.buildFragment(e,this,l),o=i.fragment,s=o.firstChild,o.childNodes.length===1&&(o=s);if(s){n=n&&v.nodeName(s,"tr");for(u=i.cacheable||c-1;a0?this.clone(!0):this).get(),v(o[i])[t](r),s=s.concat(r);return this.pushStack(s,e,o.selector)}}),v.extend({clone:function(e,t,n){var r,i,s,o;v.support.html5Clone||v.isXMLDoc(e)||!wt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(kt.innerHTML=e.outerHTML,kt.removeChild(o=kt.firstChild));if((!v.support.noCloneEvent||!v.support.noCloneChecked)&&(e.nodeType===1||e.nodeType===11)&&!v.isXMLDoc(e)){Ot(e,o),r=Mt(e),i=Mt(o);for(s=0;r[s];++s)i[s]&&Ot(r[s],i[s])}if(t){At(e,o);if(n){r=Mt(e),i=Mt(o);for(s=0;r[s];++s)At(r[s],i[s])}}return r=i=null,o},clean:function(e,t,n,r){var s,o,u,a,f,l,c,h,p,d,m,g,y=t===i&&Ct,b=[];if(!t||typeof t.createDocumentFragment=="undefined")t=i;for(s=0;(u=e[s])!=null;s++){typeof u=="number"&&(u+="");if(!u)continue;if(typeof u=="string")if(!gt.test(u))u=t.createTextNode(u);else{y=y||lt(t),c=t.createElement("div"),y.appendChild(c),u=u.replace(dt,"<$1>"),a=(vt.exec(u)||["",""])[1].toLowerCase(),f=Nt[a]||Nt._default,l=f[0],c.innerHTML=f[1]+u+f[2];while(l--)c=c.lastChild;if(!v.support.tbody){h=mt.test(u),p=a==="table"&&!h?c.firstChild&&c.firstChild.childNodes:f[1]===""&&!h?c.childNodes:[];for(o=p.length-1;o>=0;--o)v.nodeName(p[o],"tbody")&&!p[o].childNodes.length&&p[o].parentNode.removeChild(p[o])}!v.support.leadingWhitespace&&pt.test(u)&&c.insertBefore(t.createTextNode(pt.exec(u)[0]),c.firstChild),u=c.childNodes,c.parentNode.removeChild(c)}u.nodeType?b.push(u):v.merge(b,u)}c&&(u=c=y=null);if(!v.support.appendChecked)for(s=0;(u=b[s])!=null;s++)v.nodeName(u,"input")?_t(u):typeof u.getElementsByTagName!="undefined"&&v.grep(u.getElementsByTagName("input"),_t);if(n){m=function(e){if(!e.type||xt.test(e.type))return r?r.push(e.parentNode?e.parentNode.removeChild(e):e):n.appendChild(e)};for(s=0;(u=b[s])!=null;s++)if(!v.nodeName(u,"script")||!m(u))n.appendChild(u),typeof u.getElementsByTagName!="undefined"&&(g=v.grep(v.merge([],u.getElementsByTagName("script")),m),b.splice.apply(b,[s+1,0].concat(g)),s+=g.length)}return b},cleanData:function(e,t){var n,r,i,s,o=0,u=v.expando,a=v.cache,f=v.support.deleteExpando,l=v.event.special;for(;(i=e[o])!=null;o++)if(t||v.acceptData(i)){r=i[u],n=r&&a[r];if(n){if(n.events)for(s in n.events)l[s]?v.event.remove(i,s):v.removeEvent(i,s,n.handle);a[r]&&(delete a[r],f?delete i[u]:i.removeAttribute?i.removeAttribute(u):i[u]=null,v.deletedIds.push(r))}}}}),function(){var e,t;v.uaMatch=function(e){e=e.toLowerCase();var t=/(chrome)[ \/]([\w.]+)/.exec(e)||/(webkit)[ \/]([\w.]+)/.exec(e)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(e)||/(msie) ([\w.]+)/.exec(e)||e.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(e)||[];return{browser:t[1]||"",version:t[2]||"0"}},e=v.uaMatch(o.userAgent),t={},e.browser&&(t[e.browser]=!0,t.version=e.version),t.chrome?t.webkit=!0:t.webkit&&(t.safari=!0),v.browser=t,v.sub=function(){function e(t,n){return new e.fn.init(t,n)}v.extend(!0,e,this),e.superclass=this,e.fn=e.prototype=this(),e.fn.constructor=e,e.sub=this.sub,e.fn.init=function(r,i){return i&&i instanceof v&&!(i instanceof e)&&(i=e(i)),v.fn.init.call(this,r,i,t)},e.fn.init.prototype=e.fn;var t=e(i);return e}}();var Dt,Pt,Ht,Bt=/alpha\([^)]*\)/i,jt=/opacity=([^)]*)/,Ft=/^(top|right|bottom|left)$/,It=/^(none|table(?!-c[ea]).+)/,qt=/^margin/,Rt=new RegExp("^("+m+")(.*)$","i"),Ut=new RegExp("^("+m+")(?!px)[a-z%]+$","i"),zt=new RegExp("^([-+])=("+m+")","i"),Wt={BODY:"block"},Xt={position:"absolute",visibility:"hidden",display:"block"},Vt={letterSpacing:0,fontWeight:400},$t=["Top","Right","Bottom","Left"],Jt=["Webkit","O","Moz","ms"],Kt=v.fn.toggle;v.fn.extend({css:function(e,n){return v.access(this,function(e,n,r){return r!==t?v.style(e,n,r):v.css(e,n)},e,n,arguments.length>1)},show:function(){return Yt(this,!0)},hide:function(){return Yt(this)},toggle:function(e,t){var n=typeof e=="boolean";return v.isFunction(e)&&v.isFunction(t)?Kt.apply(this,arguments):this.each(function(){(n?e:Gt(this))?v(this).show():v(this).hide()})}}),v.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Dt(e,"opacity");return n===""?"1":n}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":v.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(!e||e.nodeType===3||e.nodeType===8||!e.style)return;var s,o,u,a=v.camelCase(n),f=e.style;n=v.cssProps[a]||(v.cssProps[a]=Qt(f,a)),u=v.cssHooks[n]||v.cssHooks[a];if(r===t)return u&&"get"in u&&(s=u.get(e,!1,i))!==t?s:f[n];o=typeof r,o==="string"&&(s=zt.exec(r))&&(r=(s[1]+1)*s[2]+parseFloat(v.css(e,n)),o="number");if(r==null||o==="number"&&isNaN(r))return;o==="number"&&!v.cssNumber[a]&&(r+="px");if(!u||!("set"in u)||(r=u.set(e,r,i))!==t)try{f[n]=r}catch(l){}},css:function(e,n,r,i){var s,o,u,a=v.camelCase(n);return n=v.cssProps[a]||(v.cssProps[a]=Qt(e.style,a)),u=v.cssHooks[n]||v.cssHooks[a],u&&"get"in u&&(s=u.get(e,!0,i)),s===t&&(s=Dt(e,n)),s==="normal"&&n in Vt&&(s=Vt[n]),r||i!==t?(o=parseFloat(s),r||v.isNumeric(o)?o||0:s):s},swap:function(e,t,n){var r,i,s={};for(i in t)s[i]=e.style[i],e.style[i]=t[i];r=n.call(e);for(i in t)e.style[i]=s[i];return r}}),e.getComputedStyle?Dt=function(t,n){var r,i,s,o,u=e.getComputedStyle(t,null),a=t.style;return u&&(r=u.getPropertyValue(n)||u[n],r===""&&!v.contains(t.ownerDocument,t)&&(r=v.style(t,n)),Ut.test(r)&&qt.test(n)&&(i=a.width,s=a.minWidth,o=a.maxWidth,a.minWidth=a.maxWidth=a.width=r,r=u.width,a.width=i,a.minWidth=s,a.maxWidth=o)),r}:i.documentElement.currentStyle&&(Dt=function(e,t){var n,r,i=e.currentStyle&&e.currentStyle[t],s=e.style;return i==null&&s&&s[t]&&(i=s[t]),Ut.test(i)&&!Ft.test(t)&&(n=s.left,r=e.runtimeStyle&&e.runtimeStyle.left,r&&(e.runtimeStyle.left=e.currentStyle.left),s.left=t==="fontSize"?"1em":i,i=s.pixelLeft+"px",s.left=n,r&&(e.runtimeStyle.left=r)),i===""?"auto":i}),v.each(["height","width"],function(e,t){v.cssHooks[t]={get:function(e,n,r){if(n)return e.offsetWidth===0&&It.test(Dt(e,"display"))?v.swap(e,Xt,function(){return tn(e,t,r)}):tn(e,t,r)},set:function(e,n,r){return Zt(e,n,r?en(e,t,r,v.support.boxSizing&&v.css(e,"boxSizing")==="border-box"):0)}}}),v.support.opacity||(v.cssHooks.opacity={get:function(e,t){return jt.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=v.isNumeric(t)?"alpha(opacity="+t*100+")":"",s=r&&r.filter||n.filter||"";n.zoom=1;if(t>=1&&v.trim(s.replace(Bt,""))===""&&n.removeAttribute){n.removeAttribute("filter");if(r&&!r.filter)return}n.filter=Bt.test(s)?s.replace(Bt,i):s+" "+i}}),v(function(){v.support.reliableMarginRight||(v.cssHooks.marginRight={get:function(e,t){return v.swap(e,{display:"inline-block"},function(){if(t)return Dt(e,"marginRight")})}}),!v.support.pixelPosition&&v.fn.position&&v.each(["top","left"],function(e,t){v.cssHooks[t]={get:function(e,n){if(n){var r=Dt(e,t);return Ut.test(r)?v(e).position()[t]+"px":r}}}})}),v.expr&&v.expr.filters&&(v.expr.filters.hidden=function(e){return e.offsetWidth===0&&e.offsetHeight===0||!v.support.reliableHiddenOffsets&&(e.style&&e.style.display||Dt(e,"display"))==="none"},v.expr.filters.visible=function(e){return!v.expr.filters.hidden(e)}),v.each({margin:"",padding:"",border:"Width"},function(e,t){v.cssHooks[e+t]={expand:function(n){var r,i=typeof n=="string"?n.split(" "):[n],s={};for(r=0;r<4;r++)s[e+$t[r]+t]=i[r]||i[r-2]||i[0];return s}},qt.test(e)||(v.cssHooks[e+t].set=Zt)});var rn=/%20/g,sn=/\[\]$/,on=/\r?\n/g,un=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,an=/^(?:select|textarea)/i;v.fn.extend({serialize:function(){return v.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?v.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||an.test(this.nodeName)||un.test(this.type))}).map(function(e,t){var n=v(this).val();return n==null?null:v.isArray(n)?v.map(n,function(e,n){return{name:t.name,value:e.replace(on,"\r\n")}}):{name:t.name,value:n.replace(on,"\r\n")}}).get()}}),v.param=function(e,n){var r,i=[],s=function(e,t){t=v.isFunction(t)?t():t==null?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};n===t&&(n=v.ajaxSettings&&v.ajaxSettings.traditional);if(v.isArray(e)||e.jquery&&!v.isPlainObject(e))v.each(e,function(){s(this.name,this.value)});else for(r in e)fn(r,e[r],n,s);return i.join("&").replace(rn,"+")};var ln,cn,hn=/#.*$/,pn=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,dn=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,vn=/^(?:GET|HEAD)$/,mn=/^\/\//,gn=/\?/,yn=/)<[^<]*)*<\/script>/gi,bn=/([?&])_=[^&]*/,wn=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,En=v.fn.load,Sn={},xn={},Tn=["*/"]+["*"];try{cn=s.href}catch(Nn){cn=i.createElement("a"),cn.href="",cn=cn.href}ln=wn.exec(cn.toLowerCase())||[],v.fn.load=function(e,n,r){if(typeof e!="string"&&En)return En.apply(this,arguments);if(!this.length)return this;var i,s,o,u=this,a=e.indexOf(" ");return a>=0&&(i=e.slice(a,e.length),e=e.slice(0,a)),v.isFunction(n)?(r=n,n=t):n&&typeof n=="object"&&(s="POST"),v.ajax({url:e,type:s,dataType:"html",data:n,complete:function(e,t){r&&u.each(r,o||[e.responseText,t,e])}}).done(function(e){o=arguments,u.html(i?v("
    ").append(e.replace(yn,"")).find(i):e)}),this},v.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(e,t){v.fn[t]=function(e){return this.on(t,e)}}),v.each(["get","post"],function(e,n){v[n]=function(e,r,i,s){return v.isFunction(r)&&(s=s||i,i=r,r=t),v.ajax({type:n,url:e,data:r,success:i,dataType:s})}}),v.extend({getScript:function(e,n){return v.get(e,t,n,"script")},getJSON:function(e,t,n){return v.get(e,t,n,"json")},ajaxSetup:function(e,t){return t?Ln(e,v.ajaxSettings):(t=e,e=v.ajaxSettings),Ln(e,t),e},ajaxSettings:{url:cn,isLocal:dn.test(ln[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":Tn},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":v.parseJSON,"text xml":v.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:Cn(Sn),ajaxTransport:Cn(xn),ajax:function(e,n){function T(e,n,s,a){var l,y,b,w,S,T=n;if(E===2)return;E=2,u&&clearTimeout(u),o=t,i=a||"",x.readyState=e>0?4:0,s&&(w=An(c,x,s));if(e>=200&&e<300||e===304)c.ifModified&&(S=x.getResponseHeader("Last-Modified"),S&&(v.lastModified[r]=S),S=x.getResponseHeader("Etag"),S&&(v.etag[r]=S)),e===304?(T="notmodified",l=!0):(l=On(c,w),T=l.state,y=l.data,b=l.error,l=!b);else{b=T;if(!T||e)T="error",e<0&&(e=0)}x.status=e,x.statusText=(n||T)+"",l?d.resolveWith(h,[y,T,x]):d.rejectWith(h,[x,T,b]),x.statusCode(g),g=t,f&&p.trigger("ajax"+(l?"Success":"Error"),[x,c,l?y:b]),m.fireWith(h,[x,T]),f&&(p.trigger("ajaxComplete",[x,c]),--v.active||v.event.trigger("ajaxStop"))}typeof e=="object"&&(n=e,e=t),n=n||{};var r,i,s,o,u,a,f,l,c=v.ajaxSetup({},n),h=c.context||c,p=h!==c&&(h.nodeType||h instanceof v)?v(h):v.event,d=v.Deferred(),m=v.Callbacks("once memory"),g=c.statusCode||{},b={},w={},E=0,S="canceled",x={readyState:0,setRequestHeader:function(e,t){if(!E){var n=e.toLowerCase();e=w[n]=w[n]||e,b[e]=t}return this},getAllResponseHeaders:function(){return E===2?i:null},getResponseHeader:function(e){var n;if(E===2){if(!s){s={};while(n=pn.exec(i))s[n[1].toLowerCase()]=n[2]}n=s[e.toLowerCase()]}return n===t?null:n},overrideMimeType:function(e){return E||(c.mimeType=e),this},abort:function(e){return e=e||S,o&&o.abort(e),T(0,e),this}};d.promise(x),x.success=x.done,x.error=x.fail,x.complete=m.add,x.statusCode=function(e){if(e){var t;if(E<2)for(t in e)g[t]=[g[t],e[t]];else t=e[x.status],x.always(t)}return this},c.url=((e||c.url)+"").replace(hn,"").replace(mn,ln[1]+"//"),c.dataTypes=v.trim(c.dataType||"*").toLowerCase().split(y),c.crossDomain==null&&(a=wn.exec(c.url.toLowerCase()),c.crossDomain=!(!a||a[1]===ln[1]&&a[2]===ln[2]&&(a[3]||(a[1]==="http:"?80:443))==(ln[3]||(ln[1]==="http:"?80:443)))),c.data&&c.processData&&typeof c.data!="string"&&(c.data=v.param(c.data,c.traditional)),kn(Sn,c,n,x);if(E===2)return x;f=c.global,c.type=c.type.toUpperCase(),c.hasContent=!vn.test(c.type),f&&v.active++===0&&v.event.trigger("ajaxStart");if(!c.hasContent){c.data&&(c.url+=(gn.test(c.url)?"&":"?")+c.data,delete c.data),r=c.url;if(c.cache===!1){var N=v.now(),C=c.url.replace(bn,"$1_="+N);c.url=C+(C===c.url?(gn.test(c.url)?"&":"?")+"_="+N:"")}}(c.data&&c.hasContent&&c.contentType!==!1||n.contentType)&&x.setRequestHeader("Content-Type",c.contentType),c.ifModified&&(r=r||c.url,v.lastModified[r]&&x.setRequestHeader("If-Modified-Since",v.lastModified[r]),v.etag[r]&&x.setRequestHeader("If-None-Match",v.etag[r])),x.setRequestHeader("Accept",c.dataTypes[0]&&c.accepts[c.dataTypes[0]]?c.accepts[c.dataTypes[0]]+(c.dataTypes[0]!=="*"?", "+Tn+"; q=0.01":""):c.accepts["*"]);for(l in c.headers)x.setRequestHeader(l,c.headers[l]);if(!c.beforeSend||c.beforeSend.call(h,x,c)!==!1&&E!==2){S="abort";for(l in{success:1,error:1,complete:1})x[l](c[l]);o=kn(xn,c,n,x);if(!o)T(-1,"No Transport");else{x.readyState=1,f&&p.trigger("ajaxSend",[x,c]),c.async&&c.timeout>0&&(u=setTimeout(function(){x.abort("timeout")},c.timeout));try{E=1,o.send(b,T)}catch(k){if(!(E<2))throw k;T(-1,k)}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var Mn=[],_n=/\?/,Dn=/(=)\?(?=&|$)|\?\?/,Pn=v.now();v.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=Mn.pop()||v.expando+"_"+Pn++;return this[e]=!0,e}}),v.ajaxPrefilter("json jsonp",function(n,r,i){var s,o,u,a=n.data,f=n.url,l=n.jsonp!==!1,c=l&&Dn.test(f),h=l&&!c&&typeof a=="string"&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Dn.test(a);if(n.dataTypes[0]==="jsonp"||c||h)return s=n.jsonpCallback=v.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,o=e[s],c?n.url=f.replace(Dn,"$1"+s):h?n.data=a.replace(Dn,"$1"+s):l&&(n.url+=(_n.test(f)?"&":"?")+n.jsonp+"="+s),n.converters["script json"]=function(){return u||v.error(s+" was not called"),u[0]},n.dataTypes[0]="json",e[s]=function(){u=arguments},i.always(function(){e[s]=o,n[s]&&(n.jsonpCallback=r.jsonpCallback,Mn.push(s)),u&&v.isFunction(o)&&o(u[0]),u=o=t}),"script"}),v.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(e){return v.globalEval(e),e}}}),v.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),v.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=i.head||i.getElementsByTagName("head")[0]||i.documentElement;return{send:function(s,o){n=i.createElement("script"),n.async="async",e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,i){if(i||!n.readyState||/loaded|complete/.test(n.readyState))n.onload=n.onreadystatechange=null,r&&n.parentNode&&r.removeChild(n),n=t,i||o(200,"success")},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(0,1)}}}});var Hn,Bn=e.ActiveXObject?function(){for(var e in Hn)Hn[e](0,1)}:!1,jn=0;v.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&Fn()||In()}:Fn,function(e){v.extend(v.support,{ajax:!!e,cors:!!e&&"withCredentials"in e})}(v.ajaxSettings.xhr()),v.support.ajax&&v.ajaxTransport(function(n){if(!n.crossDomain||v.support.cors){var r;return{send:function(i,s){var o,u,a=n.xhr();n.username?a.open(n.type,n.url,n.async,n.username,n.password):a.open(n.type,n.url,n.async);if(n.xhrFields)for(u in n.xhrFields)a[u]=n.xhrFields[u];n.mimeType&&a.overrideMimeType&&a.overrideMimeType(n.mimeType),!n.crossDomain&&!i["X-Requested-With"]&&(i["X-Requested-With"]="XMLHttpRequest");try{for(u in i)a.setRequestHeader(u,i[u])}catch(f){}a.send(n.hasContent&&n.data||null),r=function(e,i){var u,f,l,c,h;try{if(r&&(i||a.readyState===4)){r=t,o&&(a.onreadystatechange=v.noop,Bn&&delete Hn[o]);if(i)a.readyState!==4&&a.abort();else{u=a.status,l=a.getAllResponseHeaders(),c={},h=a.responseXML,h&&h.documentElement&&(c.xml=h);try{c.text=a.responseText}catch(p){}try{f=a.statusText}catch(p){f=""}!u&&n.isLocal&&!n.crossDomain?u=c.text?200:404:u===1223&&(u=204)}}}catch(d){i||s(-1,d)}c&&s(u,f,c,l)},n.async?a.readyState===4?setTimeout(r,0):(o=++jn,Bn&&(Hn||(Hn={},v(e).unload(Bn)),Hn[o]=r),a.onreadystatechange=r):r()},abort:function(){r&&r(0,1)}}}});var qn,Rn,Un=/^(?:toggle|show|hide)$/,zn=new RegExp("^(?:([-+])=|)("+m+")([a-z%]*)$","i"),Wn=/queueHooks$/,Xn=[Gn],Vn={"*":[function(e,t){var n,r,i=this.createTween(e,t),s=zn.exec(t),o=i.cur(),u=+o||0,a=1,f=20;if(s){n=+s[2],r=s[3]||(v.cssNumber[e]?"":"px");if(r!=="px"&&u){u=v.css(i.elem,e,!0)||n||1;do a=a||".5",u/=a,v.style(i.elem,e,u+r);while(a!==(a=i.cur()/o)&&a!==1&&--f)}i.unit=r,i.start=u,i.end=s[1]?u+(s[1]+1)*n:n}return i}]};v.Animation=v.extend(Kn,{tweener:function(e,t){v.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;r-1,f={},l={},c,h;a?(l=i.position(),c=l.top,h=l.left):(c=parseFloat(o)||0,h=parseFloat(u)||0),v.isFunction(t)&&(t=t.call(e,n,s)),t.top!=null&&(f.top=t.top-s.top+c),t.left!=null&&(f.left=t.left-s.left+h),"using"in t?t.using.call(e,f):i.css(f)}},v.fn.extend({position:function(){if(!this[0])return;var e=this[0],t=this.offsetParent(),n=this.offset(),r=er.test(t[0].nodeName)?{top:0,left:0}:t.offset();return n.top-=parseFloat(v.css(e,"marginTop"))||0,n.left-=parseFloat(v.css(e,"marginLeft"))||0,r.top+=parseFloat(v.css(t[0],"borderTopWidth"))||0,r.left+=parseFloat(v.css(t[0],"borderLeftWidth"))||0,{top:n.top-r.top,left:n.left-r.left}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||i.body;while(e&&!er.test(e.nodeName)&&v.css(e,"position")==="static")e=e.offsetParent;return e||i.body})}}),v.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);v.fn[e]=function(i){return v.access(this,function(e,i,s){var o=tr(e);if(s===t)return o?n in o?o[n]:o.document.documentElement[i]:e[i];o?o.scrollTo(r?v(o).scrollLeft():s,r?s:v(o).scrollTop()):e[i]=s},e,i,arguments.length,null)}}),v.each({Height:"height",Width:"width"},function(e,n){v.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){v.fn[i]=function(i,s){var o=arguments.length&&(r||typeof i!="boolean"),u=r||(i===!0||s===!0?"margin":"border");return v.access(this,function(n,r,i){var s;return v.isWindow(n)?n.document.documentElement["client"+e]:n.nodeType===9?(s=n.documentElement,Math.max(n.body["scroll"+e],s["scroll"+e],n.body["offset"+e],s["offset"+e],s["client"+e])):i===t?v.css(n,r,i,u):v.style(n,r,i,u)},n,o?i:t,o,null)}})}),e.jQuery=e.$=v,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return v})})(window); \ No newline at end of file diff --git a/src/main/webapp/js/channel/jquery.crop.js b/src/main/webapp/js/channel/jquery.crop.js deleted file mode 100644 index 09d947a0f657edbfd74eb988082a88cccd0ab5f2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/channel/jquery.crop.js +++ /dev/null @@ -1,156 +0,0 @@ -(function(win, $, doc){ - var islteie7 /*@cc_on = (document.documentMode || 7) < 8 @*/, - cropmask = '
    '; - cropmask = '
    ' + ( islteie7 ? cropmask : "" ) + '
    ' + ( islteie7 ? "" : cropmask ) + '
    '; - - $.fn.crop = function(onChange, thumb){ - - var aera = $("
    ").addClass("cropaera").css("position", "relative"), - image = $(this).css("margin", "auto"), - parent = image.parent(); - - if(thumb){ - thumb = $(thumb); - setTimeout(function(){ - thumb.html(""); - thumb.append(image.clone().removeAttr("id").css({ - position: "relative" - })); - setThumb(); - }, 300); - } - - if(parent.hasClass("cropaera")){ - parent.find(".mask_top, .mask_middle, .mask_left, .mask_right").attr("style", ""); - return this; - } - - aera.insertBefore(image); - aera.append(image); - aera.append(cropmask); - - aera.bind("selectstart", function(e){ - e.stopPropagation(); - e.preventDefault(); - return false; - }); - - var drag, - size, - maskbox = aera.find(".cropmask"); - mask = { - bottom: maskbox.find(".mask_bottom"), - middle: maskbox.find(".mask_middle"), - viewport: maskbox.find(".viewport"), - right: maskbox.find(".mask_right"), - left: maskbox.find(".mask_left"), - top: maskbox.find(".mask_top"), - mask: maskbox - }; - - function posint(n){ - return Math.max(n, 0); - } - - function prec(n){ - return Math.round(n * 100) + "%"; - } - - function getSize(){ - return { - aeraHeight: mask.mask.height(), - aeraWidth: mask.mask.width(), - height: mask.middle.height(), - width: mask.viewport.width(), - right: mask.right.width(), - left: mask.left.width(), - top: mask.top.height() - }; - } - - function setThumb(){ - var cropSize = getSize(), - rx = cropSize.aeraWidth / cropSize.width * thumb.width(), - ry = cropSize.aeraHeight / cropSize.height * thumb.height(); - $(thumb.children()).css({ - width: rx, - height: ry, - left: cropSize.left / cropSize.aeraWidth * -rx, - top: cropSize.top / cropSize.aeraHeight * -ry - }); - }; - - var setSize = { - height: function(o) { - mask.middle.height(Math.min(mask.mask.height() - mask.top.height(), posint(size.height + o.y))); - }, - right: function(o) { - mask.right.width(Math.min(mask.mask.width() - mask.left.width(), posint(size.right - o.x))); - }, - left: function(o) { - mask.left.width(Math.min(mask.mask.width() - mask.right.width(), posint(size.left + o.x))); - }, - top: function(o) { - return posint(size.top + o.y); - } - }; - - aera.mousedown(function(e) { - var cursor = $(e.target).css("cursor"); - drag = { - x: e.pageX, - y: e.pageY, - type: cursor.replace(/-resize$/, "") - }; - size = getSize(); - aera.css("cursor", cursor) - mask.mask.addClass("ondrag"); - }) - $(document).bind("mouseup blur",function(e) { - if(drag){ - onChange(getSize()); - } - aera.css("cursor", "") - mask.mask.removeClass("ondrag"); - drag = null; - }).mousemove(function(e) { - if(drag){ - if(thumb){ - setThumb(); - } - var type = drag.type, - offset = { - x: e.pageX - drag.x, - y: e.pageY - drag.y - }; - if(type == "move"){ - if(mask.left.width()){ - setSize.right(offset); - } - if(mask.right.width()){ - setSize.left(offset); - } - - mask.top.height(Math.min(mask.mask.height() - mask.middle.height(), setSize.top(offset))); - } else { - if(/n/.test(type)){ - var top = Math.min(mask.bottom.position().top, setSize.top(offset)); - mask.top.height(top); - mask.middle.height(size.height + size.top - top); - } - if(/w/.test(type)){ - setSize.left(offset); - } - if(/e/.test(type)){ - setSize.right(offset); - } - if(/s/.test(type)){ - setSize.height(offset); - } - } - } - }); - - return this; - }; -})(this, this.jQuery, this.document); diff --git a/src/main/webapp/js/channel/json2.js b/src/main/webapp/js/channel/json2.js deleted file mode 100644 index f08919242c29cacfc96d3d04264e20b805ddea86..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/channel/json2.js +++ /dev/null @@ -1,486 +0,0 @@ -/* - json2.js - 2012-10-08 - - Public Domain. - - NO WARRANTY EXPRESSED OR IMPLIED. USE AT YOUR OWN RISK. - - See http://www.JSON.org/js.html - - - This code should be minified before deployment. - See http://javascript.crockford.com/jsmin.html - - USE YOUR OWN COPY. IT IS EXTREMELY UNWISE TO LOAD CODE FROM SERVERS YOU DO - NOT CONTROL. - - - This file creates a global JSON object containing two methods: stringify - and parse. - - JSON.stringify(value, replacer, space) - value any JavaScript value, usually an object or array. - - replacer an optional parameter that determines how object - values are stringified for objects. It can be a - function or an array of strings. - - space an optional parameter that specifies the indentation - of nested structures. If it is omitted, the text will - be packed without extra whitespace. If it is a number, - it will specify the number of spaces to indent at each - level. If it is a string (such as '\t' or ' '), - it contains the characters used to indent at each level. - - This method produces a JSON text from a JavaScript value. - - When an object value is found, if the object contains a toJSON - method, its toJSON method will be called and the result will be - stringified. A toJSON method does not serialize: it returns the - value represented by the name/value pair that should be serialized, - or undefined if nothing should be serialized. The toJSON method - will be passed the key associated with the value, and this will be - bound to the value - - For example, this would serialize Dates as ISO strings. - - Date.prototype.toJSON = function (key) { - function f(n) { - // Format integers to have at least two digits. - return n < 10 ? '0' + n : n; - } - - return this.getUTCFullYear() + '-' + - f(this.getUTCMonth() + 1) + '-' + - f(this.getUTCDate()) + 'T' + - f(this.getUTCHours()) + ':' + - f(this.getUTCMinutes()) + ':' + - f(this.getUTCSeconds()) + 'Z'; - }; - - You can provide an optional replacer method. It will be passed the - key and value of each member, with this bound to the containing - object. The value that is returned from your method will be - serialized. If your method returns undefined, then the member will - be excluded from the serialization. - - If the replacer parameter is an array of strings, then it will be - used to select the members to be serialized. It filters the results - such that only members with keys listed in the replacer array are - stringified. - - Values that do not have JSON representations, such as undefined or - functions, will not be serialized. Such values in objects will be - dropped; in arrays they will be replaced with null. You can use - a replacer function to replace those with JSON values. - JSON.stringify(undefined) returns undefined. - - The optional space parameter produces a stringification of the - value that is filled with line breaks and indentation to make it - easier to read. - - If the space parameter is a non-empty string, then that string will - be used for indentation. If the space parameter is a number, then - the indentation will be that many spaces. - - Example: - - text = JSON.stringify(['e', {pluribus: 'unum'}]); - // text is '["e",{"pluribus":"unum"}]' - - - text = JSON.stringify(['e', {pluribus: 'unum'}], null, '\t'); - // text is '[\n\t"e",\n\t{\n\t\t"pluribus": "unum"\n\t}\n]' - - text = JSON.stringify([new Date()], function (key, value) { - return this[key] instanceof Date ? - 'Date(' + this[key] + ')' : value; - }); - // text is '["Date(---current time---)"]' - - - JSON.parse(text, reviver) - This method parses a JSON text to produce an object or array. - It can throw a SyntaxError exception. - - The optional reviver parameter is a function that can filter and - transform the results. It receives each of the keys and values, - and its return value is used instead of the original value. - If it returns what it received, then the structure is not modified. - If it returns undefined then the member is deleted. - - Example: - - // Parse the text. Values that look like ISO date strings will - // be converted to Date objects. - - myData = JSON.parse(text, function (key, value) { - var a; - if (typeof value === 'string') { - a = -/^(\d{4})-(\d{2})-(\d{2})T(\d{2}):(\d{2}):(\d{2}(?:\.\d*)?)Z$/.exec(value); - if (a) { - return new Date(Date.UTC(+a[1], +a[2] - 1, +a[3], +a[4], - +a[5], +a[6])); - } - } - return value; - }); - - myData = JSON.parse('["Date(09/09/2001)"]', function (key, value) { - var d; - if (typeof value === 'string' && - value.slice(0, 5) === 'Date(' && - value.slice(-1) === ')') { - d = new Date(value.slice(5, -1)); - if (d) { - return d; - } - } - return value; - }); - - - This is a reference implementation. You are free to copy, modify, or - redistribute. -*/ - -/*jslint evil: true, regexp: true */ - -/*members "", "\b", "\t", "\n", "\f", "\r", "\"", JSON, "\\", apply, - call, charCodeAt, getUTCDate, getUTCFullYear, getUTCHours, - getUTCMinutes, getUTCMonth, getUTCSeconds, hasOwnProperty, join, - lastIndex, length, parse, prototype, push, replace, slice, stringify, - test, toJSON, toString, valueOf -*/ - - -// Create a JSON object only if one does not already exist. We create the -// methods in a closure to avoid creating global variables. - -if (typeof JSON !== 'object') { - JSON = {}; -} - -(function () { - 'use strict'; - - function f(n) { - // Format integers to have at least two digits. - return n < 10 ? '0' + n : n; - } - - if (typeof Date.prototype.toJSON !== 'function') { - - Date.prototype.toJSON = function (key) { - - return isFinite(this.valueOf()) - ? this.getUTCFullYear() + '-' + - f(this.getUTCMonth() + 1) + '-' + - f(this.getUTCDate()) + 'T' + - f(this.getUTCHours()) + ':' + - f(this.getUTCMinutes()) + ':' + - f(this.getUTCSeconds()) + 'Z' - : null; - }; - - String.prototype.toJSON = - Number.prototype.toJSON = - Boolean.prototype.toJSON = function (key) { - return this.valueOf(); - }; - } - - var cx = /[\u0000\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - escapable = /[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g, - gap, - indent, - meta = { // table of character substitutions - '\b': '\\b', - '\t': '\\t', - '\n': '\\n', - '\f': '\\f', - '\r': '\\r', - '"' : '\\"', - '\\': '\\\\' - }, - rep; - - - function quote(string) { - -// If the string contains no control characters, no quote characters, and no -// backslash characters, then we can safely slap some quotes around it. -// Otherwise we must also replace the offending characters with safe escape -// sequences. - - escapable.lastIndex = 0; - return escapable.test(string) ? '"' + string.replace(escapable, function (a) { - var c = meta[a]; - return typeof c === 'string' - ? c - : '\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }) + '"' : '"' + string + '"'; - } - - - function str(key, holder) { - -// Produce a string from holder[key]. - - var i, // The loop counter. - k, // The member key. - v, // The member value. - length, - mind = gap, - partial, - value = holder[key]; - -// If the value has a toJSON method, call it to obtain a replacement value. - - if (value && typeof value === 'object' && - typeof value.toJSON === 'function') { - value = value.toJSON(key); - } - -// If we were called with a replacer function, then call the replacer to -// obtain a replacement value. - - if (typeof rep === 'function') { - value = rep.call(holder, key, value); - } - -// What happens next depends on the value's type. - - switch (typeof value) { - case 'string': - return quote(value); - - case 'number': - -// JSON numbers must be finite. Encode non-finite numbers as null. - - return isFinite(value) ? String(value) : 'null'; - - case 'boolean': - case 'null': - -// If the value is a boolean or null, convert it to a string. Note: -// typeof null does not produce 'null'. The case is included here in -// the remote chance that this gets fixed someday. - - return String(value); - -// If the type is 'object', we might be dealing with an object or an array or -// null. - - case 'object': - -// Due to a specification blunder in ECMAScript, typeof null is 'object', -// so watch out for that case. - - if (!value) { - return 'null'; - } - -// Make an array to hold the partial results of stringifying this object value. - - gap += indent; - partial = []; - -// Is the value an array? - - if (Object.prototype.toString.apply(value) === '[object Array]') { - -// The value is an array. Stringify every element. Use null as a placeholder -// for non-JSON values. - - length = value.length; - for (i = 0; i < length; i += 1) { - partial[i] = str(i, value) || 'null'; - } - -// Join all of the elements together, separated with commas, and wrap them in -// brackets. - - v = partial.length === 0 - ? '[]' - : gap - ? '[\n' + gap + partial.join(',\n' + gap) + '\n' + mind + ']' - : '[' + partial.join(',') + ']'; - gap = mind; - return v; - } - -// If the replacer is an array, use it to select the members to be stringified. - - if (rep && typeof rep === 'object') { - length = rep.length; - for (i = 0; i < length; i += 1) { - if (typeof rep[i] === 'string') { - k = rep[i]; - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } else { - -// Otherwise, iterate through all of the keys in the object. - - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = str(k, value); - if (v) { - partial.push(quote(k) + (gap ? ': ' : ':') + v); - } - } - } - } - -// Join all of the member texts together, separated with commas, -// and wrap them in braces. - - v = partial.length === 0 - ? '{}' - : gap - ? '{\n' + gap + partial.join(',\n' + gap) + '\n' + mind + '}' - : '{' + partial.join(',') + '}'; - gap = mind; - return v; - } - } - -// If the JSON object does not yet have a stringify method, give it one. - - if (typeof JSON.stringify !== 'function') { - JSON.stringify = function (value, replacer, space) { - -// The stringify method takes a value and an optional replacer, and an optional -// space parameter, and returns a JSON text. The replacer can be a function -// that can replace values, or an array of strings that will select the keys. -// A default replacer method can be provided. Use of the space parameter can -// produce text that is more easily readable. - - var i; - gap = ''; - indent = ''; - -// If the space parameter is a number, make an indent string containing that -// many spaces. - - if (typeof space === 'number') { - for (i = 0; i < space; i += 1) { - indent += ' '; - } - -// If the space parameter is a string, it will be used as the indent string. - - } else if (typeof space === 'string') { - indent = space; - } - -// If there is a replacer, it must be a function or an array. -// Otherwise, throw an error. - - rep = replacer; - if (replacer && typeof replacer !== 'function' && - (typeof replacer !== 'object' || - typeof replacer.length !== 'number')) { - throw new Error('JSON.stringify'); - } - -// Make a fake root object containing our value under the key of ''. -// Return the result of stringifying the value. - - return str('', {'': value}); - }; - } - - -// If the JSON object does not yet have a parse method, give it one. - - if (typeof JSON.parse !== 'function') { - JSON.parse = function (text, reviver) { - -// The parse method takes a text and an optional reviver function, and returns -// a JavaScript value if the text is a valid JSON text. - - var j; - - function walk(holder, key) { - -// The walk method is used to recursively walk the resulting structure so -// that modifications can be made. - - var k, v, value = holder[key]; - if (value && typeof value === 'object') { - for (k in value) { - if (Object.prototype.hasOwnProperty.call(value, k)) { - v = walk(value, k); - if (v !== undefined) { - value[k] = v; - } else { - delete value[k]; - } - } - } - } - return reviver.call(holder, key, value); - } - - -// Parsing happens in four stages. In the first stage, we replace certain -// Unicode characters with escape sequences. JavaScript handles many characters -// incorrectly, either silently deleting them, or treating them as line endings. - - text = String(text); - cx.lastIndex = 0; - if (cx.test(text)) { - text = text.replace(cx, function (a) { - return '\\u' + - ('0000' + a.charCodeAt(0).toString(16)).slice(-4); - }); - } - -// In the second stage, we run the text against regular expressions that look -// for non-JSON patterns. We are especially concerned with '()' and 'new' -// because they can cause invocation, and '=' because it can cause mutation. -// But just to be safe, we want to reject all unexpected forms. - -// We split the second stage into 4 regexp operations in order to work around -// crippling inefficiencies in IE's and Safari's regexp engines. First we -// replace the JSON backslash pairs with '@' (a non-JSON character). Second, we -// replace all simple value tokens with ']' characters. Third, we delete all -// open brackets that follow a colon or comma or that begin the text. Finally, -// we look to see that the remaining characters are only whitespace or ']' or -// ',' or ':' or '{' or '}'. If that is so, then the text is safe for eval. - - if (/^[\],:{}\s]*$/ - .test(text.replace(/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g, '@') - .replace(/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g, ']') - .replace(/(?:^|:|,)(?:\s*\[)+/g, ''))) { - -// In the third stage we use the eval function to compile the text into a -// JavaScript structure. The '{' operator is subject to a syntactic ambiguity -// in JavaScript: it can begin a block or an object literal. We wrap the text -// in parens to eliminate the ambiguity. - - j = eval('(' + text + ')'); - -// In the optional fourth stage, we recursively walk the new structure, passing -// each name/value pair to a reviver function for possible transformation. - - return typeof reviver === 'function' - ? walk({'': j}, '') - : j; - } - -// If the text is not JSON parseable, then a SyntaxError is thrown. - - throw new SyntaxError('JSON.parse'); - }; - } -}()); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/README.md b/src/main/webapp/js/colorbox/README.md deleted file mode 100644 index cc18ca0d9c042cdc81a30a2d88cb1979f9c9482d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/README.md +++ /dev/null @@ -1,572 +0,0 @@ -## About Colorbox: -A customizable lightbox plugin for jQuery. See the [project page](http://jacklmoore.com/colorbox/) for documentation and a demonstration, and the [FAQ](http://jacklmoore.com/colorbox/faq/) for solutions and examples to common issues. Released under the [MIT license](http://www.opensource.org/licenses/mit-license.php). - -## Changelog: - -### Version 1.5.8 - 2014/4/15 - -* Fixed accidental leak of global variable. References #591 -* Enabled strict mode. Fixes #597 - -### Version 1.5.7 - 2014/4/15 - -* Fix potential error when calling Colorbox directly. References #591 -* Potentially worked around browser limitation of reporting that an image height and width is 0 immediately after onload. Fixes #535 - -### Version 1.5.6 - 2014/4/4 - -* Applied maxWidth and maxHeight to the initialWidth and initialHeight. Fixes #391 - -### Version 1.5.5 - 2014/3/13 - -* Allow setting the overlay opacity through CSS, rather than having to use Colorbox's opacity property. Fixes #580 - -### Version 1.5.4 - 2014/3/7 - -* Fixed potential issue where IE9+ wouldn't close the modal when clicking on the overlay. Fixes #576 - -### Version 1.5.3 - 2014/3/4 - -* Added access to settings object in callbacks. - -### Version 1.5.2 - 2014/2/28 - -* Added svg to image types regex. - -### Version 1.5.1 - 2014/2/27 - -* Fixed regression that broke direct calls to Colorbox, ie. $.colorbox(…) - -### Version 1.5.0 - 2014/2/27 - -* Changed when the className is applied: immediately on open, but only updated immediately prior to transition. Fixes #565 -* Fixed potential style flash if #cboxLoadedContent is given a background. Fixes #567 -* Misc. code cleanup - -### Version 1.4.37 - 2014/2/11 - -* Fixed potential error when resizing. Fixes #254 -* Added Microsoft's JPEG XR to photo detection regex. - -### Version 1.4.33 - 2013/10/31 - -* Fixed an issue where private events propagated to the document in versions of jQuery prior to 1.7. Fixes #525, Fixes #526 - -### Version 1.4.32 - 2013/10/16 - -* Updated stylesheets to avoid issue with using `div {max-width:100%}` (Fixes #520) - -### Version 1.4.31 - 2013/9/25 - -* Used setAttribute to set londesc, so that the value is accessible via DOM Node longDesc property #508 - -### Version 1.4.30 - 2013/9/24 - -* Added longdesc and aria-describedby attributes to photos. Fixes #508 - -### Version 1.4.29 - 2013/9/10 - -* Fixed a slideshow regression from 1.4.27 -* Fixed a potential issue with the starting size of #cboxLoadedContent - -### Version 1.4.28 - 2013/9/4 - -* Fixed a potential issue with using the open property with mixed slideshow and non-slideshow groups - -### Version 1.4.27 - 2013/7/16 - -* Fixed a width calculation issue relating to using margin:auto on #cboxLoadedContent. - -### Version 1.4.26 - 2013/6/30 - -* Fixed a regression in IE7 and IE8 that was causing an error. - -### Version 1.4.25 - 2013/6/28 - -* Use an animation speed of zero between same-sized content (fixed). -* Removed temporary fix for jQuery UI 1.8 - -### Version 1.4.24 - 2013/6/24 - -* Added closeButton option. Set to false to remove the close button. - -### Version 1.4.23 - 2013/6/23 - -* Bugfix loading overlay/graphic append order - -### Version 1.4.22 - 2013/6/19 - -* Updated manifest files for the jQuery plugin repository and Bower (no changes to plugin) - -### Version 1.4.21 - 2013/6/6 - -* Replaced new Image() with document.createElement('img') to avoid a potential bug in Chrome 27. - -### Version 1.4.20 - 2013/6/5 - -* Fixing bug/typo from last update. - -### Version 1.4.19 - 2013/6/3 - -* Fixed bug where Colorbox was capturing ctrl+click on assigned links on windows browsers with jQuery 1.7+, rather than ignoring. - -### Version 1.4.18 - 2013/5/30 - -* Fixed a scroll position issue when using $.colorbox.resize() - -### Version 1.4.17 - 2013/5/23 - -* Possible fix for a Chrome 27 issue (https://github.com/jackmoore/colorbox/pull/438#issuecomment-18334804) - -### Version 1.4.16 - 2013/5/20 - -* Added trapFocus setting to allow disabling of focus trapping - -### Version 1.4.15 - 2013/4/22 - -* Added .webp to list of recognized image extensions - -### Version 1.4.14 - 2013/4/16 - -* Added fadeOut property to control the closing fadeOut speed. -* Removed longdesc attribute for now. - -### Version 1.4.13 - 2013/4/11 - -* Fixed an error involving IE7/IE8 and legacy versions of jQuery - -### Version 1.4.12 - 2013/4/9 - -* Fixed a potential conflict with Twitter Bootstrap default img styles. - -### Version 1.4.11 - 2013/4/9 - -* Added `type='button'` to buttons to prevent accidental form submission -* Added alt and longdesc attributes to photo content if they are present on the calling element. - -### Version 1.4.10 - 2013/4/2 - -* Better 'old IE' feature detection that fixes an error with jQuery 2.0.0pre. - -### Version 1.4.9 - 2013/4/2 - -* Fixes bug introduced in previous version. - -### Version 1.4.8 - 2013/4/2 - -* Dropped IE6 support. -* Fixed other issues with $.colorbox.remove. - -### Version 1.4.7 - 2013/4/1 - -* Prevented an error if $.colorbox.remove is called during the transition. - -### Version 1.4.6 - 2013/3/19 - -* Minor change to work around a jQuery 1.4.2 bug for legacy users. - -### Version 1.4.5 - 2013/3/10 - -* Minor change to apply the close and className properties sooner. - -### Version 1.4.4 - 2013/3/10 - -* Fixed an issue with percent-based heights in iOS -* Fixed an issue with ajax requests being applied at the wrong time. - -### Version 1.4.3 - 2013/2/18 - -* Made image preloading aware of retina settings. - -### Version 1.4.2 - 2013/2/18 - -* Removed $.contains for compatibility with jQuery 1.3.x - -### Version 1.4.1 - 2013/2/14 - -* Ignored left and right arrow keypresses if combined with the alt key. - -### Version 1.4.0 - 2013/2/12 - -* Better accessibility: - * Replaced div controls with buttons - * Tabbed navigation confined to modal window - * Added aria role - -### Version 1.3.34 - 2013/2/4 - -* Updated manifest for plugins.jquery.com - -### Version 1.3.33 - 2013/2/4 - -* Added retina display properties: retinaImage, retinaUrl, retinaSuffix -* Fixed iframe scrolling on iOS devices. - -### Version 1.3.32 - 2013/1/31 - -* Improved internal event subscribing & fixed event bug introduced in v1.3.21 - -### Version 1.3.31 - 2013/1/28 - -* Fixed a size-calculation bug introduced in the previous commit. - -### Version 1.3.30 - 2013/1/25 - -* Delayed border-width calculations until after opening, to avoid a bug in FF when using Colorbox in a hidden iframe. - -### Version 1.3.29 - 2013/1/24 - -* Fixes bug with bubbling delegated events, introduced in the previous commit. - -### Version 1.3.28 - 2013/1/24 - -* Fixed compatibility issue with old versions of jQuery (1.3.2-1.4.2) - -### Version 1.3.27 - 2013/1/23 - -* Added className property. - -### Version 1.3.26 - 2013/1/23 - -* Minor bugfix: clear the onload event handler after photo has loaded. - -### Version 1.3.25 - 2013/1/23 - -* Removed grunt file & added Bower component.json. - -### Version 1.3.24 - 2013/1/22 - -* Added generated files (jquery.colorbox.js / jquery.colorbox-min.js) back to the repository. - -### Version 1.3.23 - 2013/1/18 - -* Minor bugfix for calling Colorbox on empty jQuery collections without a selector. - -### Version 1.3.22 - 2013/1/17 - -* Recommit for plugins.jquery.com - -### Version 1.3.21 - 2013/1/15 -Files Changed: *.js - -* Fixed compatibility issues with jQuery 1.9 - -### Version 1.3.20 - August 15 2012 -Files Changed:jquery.colorbox.js - -* Added temporary workaround for jQuery-UI 1.8 bug (http://bugs.jquery.com/ticket/12273) -* Added *.jpe extension to the list of image types. - -### Version 1.3.19 - December 08 2011 -Files Changed:jquery.colorbox.js, colorbox.css (all) - -* Fixed bug related to using the 'fixed' property. -* Optimized the setup procedure to be more efficient. -* Removed $.colorbox.init() as it will no longer be needed (will self-init when called). -* Removed use of $.browser. - -### Version 1.3.18 - October 07 2011 -Files Changed:jquery.colorbox.js/jquery.colorbox-min.js, colorbox.css (all) and example 1's controls.png - -* Fixed a regression where Flash content displayed in Colorbox would be reloaded if the browser window was resized. -* Added safety check to make sure that Colorbox's markup is only added to the DOM a single time, even if $.colorbox.init() is called multiple times. This will allow site owners to manually initialize Colorbox if they need it before the DOM has finished loading. -* Updated the example index.html files to be HTML5 compliant. -* Changed the slideshow behavior so that it immediately moves to the next slide when the slideshow is started. -* Minor regex bugfix to allow automatic detection of image URLs that include fragments. - -### Version 1.3.17 - May 11 2011 -Files Changed:jquery.colorbox.js/jquery.colorbox-min.js - -* Added properties "top", "bottom", "left" and "right" to specify a position relative to the viewport, rather than using the default centering. -* Added property "data" to specify GET or POST data when using Ajax. Colorbox's ajax functionality is handled by jQuery's .load() method, so the data property works the same way as it does with .load(). -* Added property "fixed" which can provide fixed positioning for Colorbox, rather than absolute positioning. This will allow Colorbox to remain in a fixed position within the visitors viewport, despite scrolling. IE6 support for this was not added, it will continue to use the default absolute positioning. -* Fixed ClearType problem with IE7. -* Minor fixes. - -### Version 1.3.16 - March 01 2011 -Files Changed:jquery.colorbox.js/jquery.colorbox-min.js, colorbox.css (all) and example 4 background png files - -* Better IE related transparency workarounds. IE7 and up now uses the same background image sprite as other browsers. -* Added error handling for broken image links. A message will be displayed telling the user that the image could not be loaded. -* Added new property: 'fastIframe' and set it to true by default. Setting to fastIframe:false will delay the loading graphic removal and onComplete event until iframe has completely loaded. -* Ability to redefine $.colorbox.close (or prev, or next) at any time. - -### Version 1.3.15 - October 27 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Minor fixes for specific cases. - -### Version 1.3.14 - October 27 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* In IE6, closing an iframe when using HTTPS no longer generates a security warning. - -### Version 1.3.13 - October 22 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Changed the index.html example files to use YouTube's new embedded link format. -* By default, Colorbox returns focus to the element it was launched from once it closes. This can now be disabled by setting the 'returnFocus' property to false. Focus was causing problems for some users who had their anchor elements inside animated containers. -* Minor bug fix involved in using a combination of slideshow and non-slideshow content. - -### Version 1.3.12 - October 20 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Minor bug fix involved in preloading images when using a function as a value for the href property. - -### Version 1.3.11 - October 19 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Fixed the slideshow functionality that broke with 1.3.10 -* The slideshow now respects the loop property. - -### Version 1.3.10 - October 16 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Fixed compatibility with jQuery 1.4.3 -* The 'open' property now accepts a function as a value, like all of the other properties. -* Preloading now loads the correct href for images when using a dynamic (function) value for the href property. -* Fixed bug in Safari 3 for Win where Colorbox centered on the document, rather than the visitor's viewport. -* May have fixed an issue in Opera 10.6+ where Colorbox would rarely/randomly freeze up while switching between photos in a group. -* Some functionality better encapsulated & minor performance improvements. - -### Version 1.3.9 - July 7 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/ all colorbox.css (the core styles) - -* Fixed a problem where iframed youtube videos would cause a security alert in IE. -* More code is event driven now, making the source easier to grasp. -* Removed some unnecessary style from the core CSS. - -### Version 1.3.8 - June 21 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Fixed a bug in Chrome where it would sometimes render photos at 0 by 0 width and height (behavior introduced in recent update to Chrome). -* Fixed a bug where the onClosed callback would fire twice (only affected 1.3.7). -* Fixed a bug in IE7 that existed with some iframed websites that use JS to reposition the viewport caused Colorbox to move out of position. -* Abstracted the identifiers (HTML ids & classes, and JS plugin name, method, and events) so that the plugin can be easily rebranded. -* Small changes to improve either code readability or compression. - -### Version 1.3.7 - June 13 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/index.html - -* $.colorbox can now be used for direct calls and accessing public methods. Example: $.colorbox.close(); -* Resize now accepts 'width', 'innerWidth', 'height' and 'innerHeight'. Example: $.colorbox.resize({width:"100%"}) -* Added option (loop:false) to disable looping in a group. -* Added options (escKey:false, arrowKey:false) to disable esc-key and arrow-key bindings. -* Added method for removing Colorbox from a document: $.colorbox.remove(); -* Fixed a bug where iframed URLs would be truncated if they contained an unencoded apostrophe. -* Now uses the exact href specified on an anchor, rather than the version returned by 'this.href'. This was causing "#example" to be normalized to "http://domain/#example" which interfered with how some users were setting up links to inline content. -* Changed example documents over to HTML5. - -### Version 1.3.6 - Jan 13 2010 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Small change to make Colorbox compatible with jQuery 1.4 - -### Version 1.3.5 - December 15 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Fixed a bug introduced in 1.3.4 with IE7's display of example 2 and 3, and auto-width in Opera. -* Fixed a bug introduced in 1.3.4 where colorbox could not be launched by triggering an element's click event through JavaScript. -* Minor refinements. - -### Version 1.3.4 - December 5 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Event delegation is now used for elements that Colorbox is assigned to, rather than individual click events. -* Additional callbacks have been added to represent other stages of Colorbox's lifecycle. Available callbacks, in order of their execution: onOpen, onLoad, onComplete, onCleanup, onClosed These take place at the same time as the event hooks, but will be better suited than the hooks for targeting specific instances of Colorbox. -* Ajax content is now immediately added to the DOM to be more compatible if that content contains script tags. -* Focus is now returned to the calling element on closing. -* Fixed a bug where maxHeight and maxWidth did not work for non-photo content. -* Direct calls no longer need 'open:true', it is assumed. Example: `$.colorbox({html:'

    Hi

    '});` - -### Version 1.3.3 - November 7 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Changed $.colorbox.element() to return a jQuery object rather the DOM element. -* jQuery.colorbox-min.js is compressed with Google's Closure Compiler rather than YUI Compressor. - -### Version 1.3.2 - October 27 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Added 'innerWidth' and 'innerHeight' options to allow people to easily set the size dimensions for Colorbox, without having to anticipate the size of the borders and buttons. -* Renamed 'scrollbars' option to 'scrolling' to be in keeping with the existing HTML attribute. The option now also applies to iframes. -* Bug fix: In Safari, positioning occassionally incorrect when using '100%' dimensions. -* Bug fix: In IE6, the background overlay is briefly not full size when first viewing. -* Bug fix: In Firefox, opening Colorbox causes a split second shift with a small minority of webpage layouts. -* Simplified code in a few areas. - -### Version 1.3.1 - September 16 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/colorbox.css/colorbox-ie.css(removed) - -* Removed the IE-only stylesheets and conditional comments for example styles 1 & 4. All CSS is handled by a single CSS file for all examples. -* Removed user-agent sniffing from the js and replaced it with feature detection. This will allow correct rendering for visitors masking their agent type. - -### Version 1.3.0 - September 15 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js/colorbox.css - -* Added $.colorbox.resize() method to allow Colorbox to resize it's height if it's contents change. -* Added 'scrollbars' option to allow users to turn off scrollbars when using the resize() method. -* Renamed the 'resize' option to be less ambiguous. It's now 'scalePhotos'. -* Renamed the 'cbox_close' event to be less ambiguous. It's now 'cbox_cleanup'. It is the first thing to happen in the close method while the 'cbox_closed' event is the last to happen. -* Fixed a bug with the slideshow mouseover graphics that appeared after Colorbox is opened a 2nd time. -* Fixed a bug where ClearType may not work in IE6&7 if using the fade transition. -* Minor code optimizations to increase compression. - -### Version 1.2.9 - August 7 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Minor change to enable use with $.getScript(); -* Minor change to the timing of the 'cbox_load' event so that it is more useful. -* Added a direct link to a YouTube video to the examples. - -### Version 1.2.8 - August 5 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Fixed a bug with the overlay in IE6 -* Fixed a bug where left & right keypress events might be prematurely unbound. - -### Version 1.2.7 - July 31 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js, example stylesheets and background images (core styles have not changed and the updates will not affect existing user themes / old example themes) - -* Code cleanup and reduction, better organization and documentation in the full source. -* Added ability to use functions in place of static values for Colorbox's options (thanks Ken!). -* Added an option for straight HTML. Example: `$.colorbox({html:'

    Howdy

    ', open:true})` -* Added an event for the beginning of the closing process. This is in addition to the event that already existed for when Colorbox had completely closed. 'cbox_close' and 'cbox_closed' respectively. -* Fixed a minor bug in IE6 that would cause a brief content shift in the parent document when opening Colorbox. -* Fixed a minor bug in IE6 that would reveal select elements that had a hidden visibility after closing Colorbox. -* The 'esc' key is unbound now when Colorbox is not open, to avoid any potential conflicts. -* Used background sprites for examples 1 & 4. Put IE-only (non-sprite) background images in a separate folder. -* Example themes 1, 3, & 4 received slight visual tweaks. -* Optimized pngs for smaller file size. -* Added slices, grid, and correct sizing to the Adobe Illustrator file, all theme files are now export ready! - -### Version 1.2.6 - July 15 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Fixed a bug with fixed width/height images in Opera 9.64. -* Fixed a bug with trying to set a value for rel during a direct call to Colorbox. Example: `$.colorbox({rel:'foo', open:true});` -* Changed how href/rel/title settings are determined to avoid users having to manually update Colorbox settings if they use JavaScript to update any of those attributes, after Colorbox has been defined. -* Fixed a FF3 bug where the back button was disabled after closing an iframe. - -### Version 1.2.5 - June 23 2009 -Files Changed: jquery.colorbox.js/jquery.colorbox-min.js - -* Changed the point at which iframe srcs are set (to eliminate the need to refresh the iframe once it has been added to the DOM). -* Removed unnecessary return values for a very slight code reduction. - -### Version 1.2.4 - June 9 2009 -Files Changed: jquery.colorbox.js, jquery.colorbox-min.js - -* Fixed an issue where Colorbox may not close completely if it is closed during a transition animation. -* Minor code reduction. - -### Version 1.2.3 - June 4 2009 -* Fixed a png transparency stacking issue in IE. -* More accurate Ajax auto-sizing if the user was depending on the #cboxLoadedContent ID for CSS styling. -* Added a public function for returning the current html element that Colorbox is associated with. Example use: var that = $.colorbox.element(); -* Added bicubic scaling for resized images in the original IE7. -* Removed the IE6 stylesheet and png files from Example 3. It now uses the same png file for the controls that the rest of the browsers use (an alpha transparency PNG8). This example now only has 2 graphics files and 1 stylesheet. - -### Version 1.2.2 - May 28 2009 -* Fixed an issue with the 'resize' option. - -### Version 1.2.1 - May 28 2009 -* Note: If you are upgrading, update your jquery.colorbox.js and colorbox.css files. -* Added photo resizing. -* Added a maximum width and maximum height. Example: {height:800, maxHeight:'100%'}, would allow the box to be a maximum potential height of 800px, instead of a fixed height of 800px. With maxHeight of 100% the height of Colorbox cannot exceed the height of the browser window. -* Added 'rel' setting to add the ability to set an alternative rel for any Colorbox call. This allows the user to group any combination of elements together for a gallery, or to override an existing rel. attribute so those element are not grouped together, without having to alter their rel in the HTML. -* Added a 'photo' setting to force Colorbox to display a link as a photo. Use this when automatic photo detection fails (such as using a url like 'photo.php' instead of 'photo.jpg', 'photo.jpg#1', or 'photo.jpg?pic=1') -* Removed the need to ever create disposable elements to call colorbox on. Colorbox can now be called directly, without being associated with any existing element, by using the following format: - `$.colorbox({open:true, href:'yourLink.xxx'});` -* Colorbox settings are now persistent and unique for each element. This allows for extremely flexible options for individual elements. You could use this to create a gallery in which each page in the gallery has different settings. One could be a photo with a fade transition, next could be an inline element with an elastic transition with a set width and height, etc. -* For user callbacks, 'this' now refers to the element colorbox was opened from. -* Fixed a minor grouping issue with IE6, when transition type is set to 'none'. -* Added an Adobe Illustrator file that contains the borders and buttons used in the various examples. - -### Version 1.2 - May 13 2009 -* Added a slideshow feature. -* Added re-positioning on browser resize. If the browser is resized, Colorbox will recenter itself onscreen. -* Added hooks for key events: cbox_open, cbox_load, cbox_complete, cbox_closed. -* Fixed an IE transparency-stacking problem, where transparent PNGs would show through to the background overlay. -* Fixed an IE iframe issue where the ifame might shift up and to the left under certain circumstances. -* Fixed an IE6 bug where the loading overlay was not at full height. -* Removed the delay in switching between same-sized gallery content when using transitions. -* Changed how iframes are loaded to make it more compatible with iframed pages that use DOM dependent JavaScript. -* Changed how the JS is structured to be better organized and increase compression. Increased documentation. -* Changed CSS :hover states to a .hover class. This sidesteps a minor IE8 bug with css hover states and allows easier access to hover state user styles from the JavaScript. -* Changed: elements added to the DOM have new ID's. The naming is more consistent and less likely to cause conflicts with existing website stylesheets. All stylesheets have been updated. -* Changed the behavior for prev/next links so that Colorbox does not get hung up on broken links. A visitor can now skip through broken or long-loading links by clicking prev/next buttons. -* Changed the naming of variables in the parameter map to be more concise and intuitive. -* Removed colorbox.css. Combined the colorbox.css styles with jquery.colorbox.js: the css file was not large enough to warrant being a separate file. - -### Version 1.1.6 - April 28 2009 -* Prevented the default action of the next & previous anchors and the left and right keys for gallery mode. -* Fixed a bug where the title element was being added back to the DOM when closing Colorbox while using inline content. -* Fixed a bug where IE7 would crash for example 2. -* Smaller filesize: removed a small amount of unused code and rewrote the HTML injection with less syntax. -* Added a public method for closing Colorbox: $.colorbox.close(). This will allow iframe users to add an event to close Colorbox without having to create an additional function. - -### Version 1.1.5 - April 11 2009 -* Fixed minor issues with exiting Colorbox. - -### Version 1.1.4 - April 08 2009 -* Fixed a bug in the fade transition where Colorbox not close completely if instructed to close during the fade-in portion of the transition. - -### Version 1.1.3 - April 06 2009 -* Fixed an IE6&7 issue with using Colorbox to display animated GIFs. - -### Version 1.1.2 - April 05 2009 -* Added ability to change content when Colorbox is already open. -* Added vertical photo centering now works for all browsers (this feature previously excluded IE6&7). -* Added namespacing to the esc-key keydown event for people who want to disable it: "keydown.colorClose" -* Added 'title' setting to add the ability to set an alternative title for any Colorbox call. -* Fixed rollover navigation issue with IE8. (Added JS-based rollover state due to a browser-bug.) -* Fixed an overflow issue for when the fixed width/height is smaller than the size of a photo. -* Fixed a bug in the fade transition where the border would still come up if Colorbox was closed mid-transition. -* Switch from JSMin to Yui Compressor for minification. Minified code now under 7KB. - -### Version 1.1.1 - March 31 2009 -* More robust image detection regex. Now detects image file types with url fragments and/or query strings. -* Added 'nofollow' exception to rel grouping. -* Changed how images are loaded into the DOM to prevent premature size calculation by Colorbox. -* Added timestamp to iframe name to prevent caching - this was a problem in some browsers if the user had multiple iframes and the visitor left the page and came back, or if they refreshed the page. - -### Version 1.1.0 - March 21 2009 -* Animation is now much smoother and less resource intensive. -* Added support for % sizing. -* Callback option added. -* Inline content now preserves JavaScript events, and changes made while Colorbox is open are also preserved. -* Added 'href' setting to add the ability to set an alternative href for any anchor, or to assign the Colorbox event to non-anchors. - Example: $('button').colorbox({'href':'process.php'}) - Example: $('a[href='http://msn.com']).colorbox({'href':'http://google.com', iframe:true}); -* Photos are now horizontally centered if they are smaller than the lightbox size. Also vertically centered for browsers newer than IE7. -* Buttons in the examples are now included in the 'protected zone'. The lightbox will never expand it's borders or buttons beyond an accessible area of the screen. -* Keypress events don't queue up by holding down the arrow keys. -* Added option to close Colorbox by clicking on the background overlay. -* Added 'none' transition setting. -* Changed 'contentIframe' and 'contentInline' to 'inline' and 'iframe'. Removed 'contentAjax' because it is automatically assumed for non-image file types. -* Changed 'contentWidth' and 'contentHeight' to 'fixedWidth' and 'fixedHeight'. These sizes now reflect the total size of the lightbox, not just the inner content. This is so users can accurately anticipate % sizes without fear of creating scrollbars. -* Clicking on a photo will now switch to the next photo in a set. -* Loading.gif is more stable in it's position. -* Added a minified version. -* Code passes JSLint. - -### Version 1.0.5 - March 11 2009 -* Redo: Fixed a bug where IE would cut off the bottom portion of a photo, if the photo was larger than the document dimensions. - -### Version 1.0.4 - March 10 2009 -* Added an option to allow users to automatically open the lightbox. Example usage: $(".colorbox").colorbox({open:true}); -* Fixed a bug where IE would cut off the bottom portion of a photo, if the photo was larger than the document dimensions. - -### Version 1.0.3 - March 09 2009 -* Fixed vertical centering for Safari 3.0.x. - -### Version 1.0.2 - March 06 2009 -* Corrected a typo. -* Changed the content-type check so that it does not assume all links to photos should actually display photos. This allows for Ajax/inline/and iframe calls on anchors linking to picture file types. - -### Version 1.0.1 - March 05 2009 -* Fixed keydown events (esc, left arrow, right arrow) for Webkit browsers. - -### Version 1.0 - March 03 2009 -* First release diff --git a/src/main/webapp/js/colorbox/bower.json b/src/main/webapp/js/colorbox/bower.json deleted file mode 100644 index 71ea8bf62f7ff79162ecc911dde1e71afefd5beb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/bower.json +++ /dev/null @@ -1,41 +0,0 @@ -{ - "name": "jquery-colorbox", - "description": "jQuery lightbox and modal window plugin", - "version": "1.5.8", - "dependencies": { - "jquery": ">=1.3.2" - }, - "keywords": [ - "modal", - "lightbox", - "window", - "popup", - "ui", - "jQuery" - ], - "authors": [ - { - "name": "Jack Moore", - "url": "http://www.jacklmoore.com", - "email": "hello@jacklmoore.com" - } - ], - "licenses": [ - { - "type": "MIT", - "url": "http://www.opensource.org/licenses/mit-license.php" - } - ], - "homepage": "http://www.jacklmoore.com/colorbox", - "main": "jquery.colorbox.js", - "ignore": [ - "colorbox.jquery.json", - "colorbox.ai", - "content", - "example1/index.html", - "example2/index.html", - "example3/index.html", - "example4/index.html", - "example5/index.html" - ] -} \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/colorbox.ai b/src/main/webapp/js/colorbox/colorbox.ai deleted file mode 100644 index 1b51881afb2fff07574fbf2c05e97beca32034b8..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/colorbox.ai +++ /dev/null @@ -1,1811 +0,0 @@ -%PDF-1.4 % -1 0 obj <> endobj 2 0 obj <>stream - - - - - application/vnd.adobe.illustrator - - - colorbox - - - - - Adobe Illustrator CS4 - 2009-05-27T04:22:39-04:00 - 2009-07-30T21:43:35-05:00 - 2009-07-30T21:43:35-05:00 - - - - 208 - 256 - JPEG - /9j/4AAQSkZJRgABAgEBLAEsAAD/7QAsUGhvdG9zaG9wIDMuMAA4QklNA+0AAAAAABABLAAAAAEA AQEsAAAAAQAB/+4ADkFkb2JlAGTAAAAAAf/bAIQABgQEBAUEBgUFBgkGBQYJCwgGBggLDAoKCwoK DBAMDAwMDAwQDA4PEA8ODBMTFBQTExwbGxscHx8fHx8fHx8fHwEHBwcNDA0YEBAYGhURFRofHx8f Hx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8fHx8f/8AAEQgBAADQAwER AAIRAQMRAf/EAaIAAAAHAQEBAQEAAAAAAAAAAAQFAwIGAQAHCAkKCwEAAgIDAQEBAQEAAAAAAAAA AQACAwQFBgcICQoLEAACAQMDAgQCBgcDBAIGAnMBAgMRBAAFIRIxQVEGE2EicYEUMpGhBxWxQiPB UtHhMxZi8CRygvElQzRTkqKyY3PCNUQnk6OzNhdUZHTD0uIIJoMJChgZhJRFRqS0VtNVKBry4/PE 1OT0ZXWFlaW1xdXl9WZ2hpamtsbW5vY3R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo+Ck5SVlpeYmZ qbnJ2en5KjpKWmp6ipqqusra6voRAAICAQIDBQUEBQYECAMDbQEAAhEDBCESMUEFURNhIgZxgZEy obHwFMHR4SNCFVJicvEzJDRDghaSUyWiY7LCB3PSNeJEgxdUkwgJChgZJjZFGidkdFU38qOzwygp 0+PzhJSktMTU5PRldYWVpbXF1eX1RlZmdoaWprbG1ub2R1dnd4eXp7fH1+f3OEhYaHiImKi4yNjo +DlJWWl5iZmpucnZ6fkqOkpaanqKmqq6ytrq+v/aAAwDAQACEQMRAD8A9U4q7FXYq7FXYq7FXYq7 FXYq7FXYq7FXYq7FXnn5b+fNd85T6us6W9jHpkiRL6KOzOzl9zzagACdMVZt9U1D/lt/5Jr/AFxV gf5ZfmZrHmfzJrei39vBGNIaSNbiEODIYpjFUqzNStK4q9JxV2KuxV2KuxV2KuxV2KuxV2KvG/Pf 5jfmBY/mDL5Z8twpdMyRNb2/pKzktEHf4jTYbmpxVQ/xJ/zkV/1Y1/4G3/6qYqh9G/ND8zYvPml+ WvMdtHZSXcsXqwtEgYwyEjkjKSCDQioPXFXueKvBB+aX5r6n5k1HSdAtI717OSX4EiT4Y0fiCzOV H44qmH+JP+civ+rGv/A2/wD1UxVd5F/Nbzde6/qVh5lMVnHpcEj3aNGIzG0TANyPgBiqbeU/z18v eZdcl0izkZZ2kZLEPEw9aONOTS1pRQTUKCa+OKqdh+fvlm882Dy+kzAycYoLkxsFN16jRtbsCOuy lWFVNaVr1VRfnv8AN5/Jt9AmpWLvp1zbyPBexFWrcx7iEx1BFV/aO340VR+r/mFqWj+Sl8x6lYGG aOOGS808MrPH6jKHVW2VivLbpX2xVMtC8622vaLFq+lzLPaTKxRuJHxLUMpBoQQRirDfIf5y6x5n 1DSrWaxhtl1HT7i/dkZmKmC7a2CCoHXjyriqH/5x3/vvNf8AzFQ/rmxV7Lirwb8hv/JkedP+M9z/ ANRhxV7zirsVdirsVdirsVdirsVdirsVeNSf+tKx/wDMKf8AqDOKvZcVeHfmF/60T5T/AOYO0/6i 7nFXuOKvDvyS/wDJleb/AJN/1EHFXuOKvCPKoB/O/wA3AioLSgg/OPFWbeXvLflPTby/m0e1gjnl n5XRjCnhLxHJVP7O1KqPn1OKtQ+W/KaebH1VLaAa4LZVQhVBWIu9XVRtyZmYM3XtiqC8x+VvI2q6 79Y19I7m7WzkRbe5c+mkBPxyIhPFH/yx8W3XbFVeXQvK8/km20meQyeX1jgQPJI3xRqylQ7k1AOw O+2Kp/bWdpb2iWtpEkNsiCOKKIBVVQOICgbAAbDFWE+SPKfkrTL7TZ9Eu7i4ltrCeCzEtaNbPdM8 jtVE3EzFR0+XfFVH/nHf++81/wDMVD+ubFXsuKvBvyG/8mR50/4z3P8A1GHFXvOKuxV2KuxV2Kux V2KuxV2KuxV4tfgH/nISYHcfUl/6h1xV6LwT+Ufdil5J5sAH/OQPlWgp/o1r0/5ibjFD3/FXg/5T gHzt5xqK/vk6/wDGWbFXqnBP5R92KXlnlqJJPzo80xNUI8AU8SVNDFCNitCD7jFDLfL3kW10fUZL xLiWQh2MKsduDClHH7RB74qttvIVnD5iGrfWZSqfvEj5GplZmJJbrwoR8Pfvttiqt5q8pyeYJ4Vl uBDawRuU4oDJ6zbAlj+xtuBT5+CqM1DRrrUPLf6LnlRJ5I40mljWiAggsVTbw2GKo3SNNg0uwgso Gd4oBRWkYsx+k/qG2KpD5W8sajpU1k9y0TC3spraT02J+OS5MwIqo24/jiqS/wDOO/8Afea/+YqH 9c2KvZcVeDfkN/5Mjzp/xnuf+ow4q95xV2KuxV2KuxV2KuxV2KuxV2KvA/OPmPTvL356y6jqJZbM W0cUsiKXKc4AAxUbkA9ab4qyL/ldX5a/9XZv+kW7/wCqWKsFm8z6R5m/PLy5qGkO81lALa19Z0aM O6yySEqrgNQeqBuBvXtvir6UxV81eTfOmheWPPHmY6zI8EF5MwjnVHkUNFK54ssYZvi57bYqzv8A 5XV+Wv8A1dm/6Rbv/qlirFfy41m11v8ANXXtVtAwtbqImHmKMVT04wxHblwrir2LFLsVdirsVdir sVeef847/wB95r/5iof1zYoey4q8G/Ib/wAmR50/4z3P/UYcVe84q7FXYq7FXYq7FXYq7FXYq7FU p1Dyj5X1G6a7v9Ktbq6cAPNNEjuQooKkiuwGKob/AJV95G/6sNh/0jx/0xVVtfJPlC0uY7m10azg uIWDxSxworKw6EEDY4qnWKpHN5F8mTSvLLollJLISzu0EZJYmpJNMVWf8q+8jf8AVhsP+keP+mKo rT/KfljTpjNYaXa2sxHEyQxIjFT2qoGKph9Utv8AfS/dirvqlt/vpfuxV31S2/30v3Yq76pbf76X 7sVd9Utv99L92Ku+qW3++l+7FXj/APzjwQLjzUhNGNzCwU9aVl3pir2XFXg35DD/AJCN5zb9lprk q3Yj62emKvecVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVSyfy1oU2 5soUbpySNUNPCoGKqH+D9B/5ZhiqN03RdK0xOFhaRWwIofSRUJHvxAxVG4q7FXYq7FXYq7FXYq7F XYqg9H1jTdZ0u11XTLhLqwvI1mt54yCrI4qP7R2xVL/OHm6x8qaNca1qNrdTabaL6l3NaRiYxJWh ZkDB+I7kKaDc7Yq84/6Gu/Kj0DcV1P0AokMv1GTgELcA3KtKc/hr47Yq9J8pea7PzTo1vrNha3UG nXiCW0lu41iMsbfZdU5F+LdQSBUbjbFUdrOs6ZoulXWq6pcJa2FlG01zPIaKqIKn5nwHfFUZirsV dirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdir8t7NtVW2nltHmS3gCvcNGzKq8mCK TQjck0xV9Tf84pyar5v/AC088eUtS1CZ7GaM2dq8hMpgXULeaOXhyPTYNx6Vr44qxf8A6Fe/OhtP Hllv0WNHEwYXv1iSgYOT6/GnPdTTjx+iu+Kss/5y2utV8sfl/wCTPLWnX80diA1vcshMbTixgiSI vxPT4i3HpX5DFXyrdvqzW0El28z209XgaRmZGKEoSKkioNRir9SMVdirsVdirsVdirsVdirsVdir sVdirsVdirsVdirsVdirsVdirsVfnX5S85aNpmjNFND6bwAGSJAC0xJA5DkRU+IJxV71/wA4TyrN a+dJUHFZLq0dR4BhOR0xV9NYq+ZP+c25FjsvJsjCqpdXbMPYLCcVeC+YvOOiXnl4WyQCea4B9KNw AYCCRzPGtG8ADv32xV+iuKuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KvhDQ P+cTvzc1nSbbU1gsrGO6jWWKC7uCk3BxyUskaScag9CajuMVfSX/ADjl+TmsflroGpx61cwz6nqs 8ckkVsWeKOOFWVBzZULMeZJ28MVeu4q8h/5yN/JzWfzK0HS49EuoYNS0qeR0iuSyRSRzqqv8aq5D LwUjanXFXzb5h/5xQ/NzRdJudTaCzv4rSNpZobOcvNwQcmKo6R8qDsu57DFX3hirsVdirsVdirsV dirsVdirsVdirsVdirsVdirsVdirsVdirsVdir4I0T/nKf8AOHSNKttMi1CC5htIxFFLc26SS8FF FDPsWoNqnfxxV9Mf843fnBrf5j+XtSbXIYk1TSZ445Li3UokscysyEoSeLDgwNNumKvX8VePf85J fnDrv5ceX9LbQoIX1LVp5I1uLhS6RRwKrOQgK1di60rt12xV80a7/wA5S/m/rGkXWlzahb28F5G0 M0ltbpHL6bijBX+LjUbVG/hir74xV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2K uxV8lfkx+Uv5Sa1+Wlxd6peLeXGprGupX/NIZbF0kST6vGZAwiPNQGcirg7fCcVZD/zhpbW1sfPd tauZLaC/t44HJDFo09dVNRQGoHbFX0pir5q/5zNt7e5/wLb3LcLea+uI5nqFojegGNTsNjiqTfnD +T/5PaP+U8OoWF/Hp+oaajrpV7zWaTUHaR5DbycKeqxZyA4HwAb/AAjFX1dirsVdirsVdirsVdir sVdirsVdirsVdirsVdirsVdirsVdirsVdir8vLF9eSxu7exFx9Sv1WO8jiDmOUROJEDgCh4uoI8M VfRv/OPmm+ffKv5QeePN1gq6dLEgvbFb+BnjuYtPhlkn+Csb7g8UcNTlXFV7f85FfnGvkL/GBuNH +r8liFl9RufW9RpjHUn1eAi4rX1a0LfB9rFW/wDnI7SPPnmL8qfJPmbUE/SVwVa61L6hAVhthfQx yRfADJJxAXizs1OVOlaYq+br+XX3sbS2vvrP1HT1eOyilDiOISyGVwgIoOTsSfHFX6h4q7FXYq7F XYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYq7FXYqhNI0nT9I0y10vToEtrGzjWG3gjAVVRBQA AUGKq91bW91bS2tzGs1vOjRTROKq6OOLKw7gg0xV45H/AM4lflEmofWfT1BrblU6cbtvq5Tlz9I/ D6vDlvTnir2SCCG3gjggRYoYlCRRoAqqqiiqoHQAYqhtY0jTtZ0q70rUoFubC9iaC5gcAqyOKEb/ AIYqjMVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirs VdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsV dirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVd irsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdi rsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdir sVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdirs VdirsVdirsVdirqitO/hirsVcSBudsVdirSujEhWBI60NaYq3irsVdirsVdirsVdirsVdirsVdir sVdirsVdirsVdirsVdiq2WP1Inj5MnNSvNDRlqKVB33GKpL5U8sy6DbzwyahPf8ArSM49diQlXZv hBrQtyq57nfFVlj5WmtvM9zrbalczJPHwWzd6otWZuO/7CcvgHY1xVT82eU5tdmtJI7sWwtg/JeD MJQzI3pycXSsZ4bjFU21vTm1LSLuwWT0muomiEtK8eQpWm3TFVawtTaWUFqZpLgwoqGeU8pH4inJ j3JxVJvKflmfQ2vDJOswuW5LxBFP3ssm9f8AjLirIMVdirsVdirsVdirsVdirsVdirsVdirsVdir sVdirsVdirsVU7o3ItpTaqj3QRjAkrFIzJT4Q7KHIWvUhT8sVYV+VN9+a93pt8fzEsbOyu0uHFj9 UapaMyyVDgM6hUHERnqVoWq1TiqjomofnBJ+Z+p2urafYxeREgrYXUTn1i3qSek37RaRlH71DRVH EjeoZVT/ADT1L807S90lPI9s1xayrINZcQwStDF6sIEsHrSwhp1Vn4Rn4WFSegxVlPnWbzFD5S1e Xy2nq6+lrI2lx0VuVwF/dij/AA7t44qi9Bk1qTRbF9cihg1hoUOoRWrM8KzcfjEbMAeNf9s9cVYT +UepfmTevrI86JOoikA0717eO3BT61dL8PppHy/crD1r2Pc4q9FxV2KuxV2KuxV2KuxV2KuxV2Ku xV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2Kux V2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxV2KuxVQmmkDiOIcpCK09vE4qome+hHO ZF9MHcqa0riqMRgyhh3xVvFXYq7FXYq7FXYq7FVOW5ghkhjkfi9w5ihG/wAThGkI/wCAjY4q3PPF bwSTzNwiiUvI57KoqTt7YqlekebvLusXLWum3q3M6IZGRVcUQEKT8SgdWGKppJNDEAZHVAenIgV+ /FWzJGE9QsAlK86ilPGuKujlikFY3VwNiVIIr9GKtLPA7lFkVnFaqCCduu2KpTqnnLyxpdwba/1G KG4H2ovidl7/ABBA1PpxVB/8rJ8kf9XWP/gJf+aMVTzTtSsNStVurC4S5t2NBJGaio6g+B9sVS1f OnlhtT/Ra36m/wDVNv6HF6+qG4la8adffFU7xV2KuxV2KuxVBqf9ytP+KW/4kuKrtV/4583yH6xi qpZ/7zp8hiqtirsVdirsVdirsVdiqFvbH6zc2E3Ph9SnafjSvPlBLDxrUU/vq19sVUfMP/HA1P8A 5hJ/+TbYq8l/JT/lKrr/AJgZP+T0WKvSPM/6aEMg0uWK3vXdfSmncRp6QQ1XkUk35e21a+2Kooi4 FoZEAjFWMRk+JFkMYCu1APh9Tlv71xVC6IuuNYn9IzQ3V6FkEklqCE4FgY4+RJ5OFrvXb8SqttDr bapcrNc2sun8h+joIUYTxkFd5KmihRy5Cn9MVeIaDpF75m8wpZ+uFuLx3kmuJKt0Bd2I7nFWXa/+ TtzpmkXWoQamt0bWNpXhaH0qogqxDc33A36Yqj/yMkflrMfI8ALdgvap9QVxVjdt/wCTYP8A22ZP +ohsVe9Yq7FVK5mEMTOe2KqKQ3MirJ63HkAeIWvXfrXFVS3lYu8TmrxkAn5iuKqKf8dX/ni3/Elx Vdqv/HPm+Q/WMVVbP/eZPkMVVsVdirsVdirsVdirsVQ9zexW81pC4YteSmCIrSgYRSTVapG3GI/T iqH8w/8AHA1P/mEn/wCTbYq8l/JT/lKrr/mBk/5PRYq9G83+ZH0Wyku/q0t2ElWJbWBpFkasZcuP TSRiB37AVPtlmLHxmrphOXCLR0uozLZSSAPP6aPIFg+KSULEsojj2WrNyoNq5ADemV7IHy55jn1P ShffU7mxEglCw3gIb92VHqry+P0zy/a8NttzPJDhNXaISsWssfMc82vX2miwvofqFC19Op+rzfEg 4KT8PJ/UqnHw+jDLHUQbG6BOzVPGPJ2uxeX/ADJb6hcxNJFDzSaNaBwHUoaVpuK9MqZvQPM35t6B eaDfWVjDcPcXcLwL6iKiKJFKsxIZjsDttiqF/Iz+91n/AFbf9cmKsdtv/JsH/tsyf9RDYq96xV2K oe+hMtuyDqRiqHi1KKONIpI5A6gKaCo2264qq2il5pZypUSEEA9aAU/hiq1P+Or/AM8W/wCJLiq7 Vf8AjnzfIfrGKqtn/vMnyGKq2KuxV2KuxV2KuxV2Koe5soria0mcsGs5TPEFpQsYpIaNUHbjKfpx VdeWsd3Zz2khIjuI3icrQMFdSppWu++Ksd8r/l5ovlvUJL6xmuZJZIjAyztGy8WZWqOKIa1Qd8VZ HJbRSPzNVelOSMVJHgeJFcVd9Vg9IRcfgB5ChIIbx5V5V964q2ltChY0LFxRi5Lkjw+Inb2xVYll AjKRyITdFZ2ZR8gSRirFta/Kvytqt9JeuJ7WaYl5hbOqqzHqxV1cAn2xVL/+VKeVf+Wq+/5GQ/8A VLFWV+XvLOkeX7RrbTYiiueUsjHlI5HQs3t2HTFUmT8s9Bj8wnXhcXX1v6y15wLx+n6jOXIp6fLj U/zYqyWXUbWI0dwDiqn+l7L/AH4MVd+l7L/fgxVb+k9PrXmMVXDVrEdHGKoe0vbe41grGwYiBj9H NcVROsMF02dj0AH6xiqrYsGtYyOlBiqvirsVdirsVdirsVdirsVdirsVdirsVdirsVdirsVdiqnc kiFyOtDiqG0tFayR3UF3LFiRufiIxVF+lF/Iv3DFXelF/Iv3DFXelF/Iv3DFXelF/Iv3DFUPLA0c 3rwopfiVI6VBNeo+WKqMxuruMwPCscbbOeXKo8OgxVU0tStvw7KSo+QNMVRmKuxV2KuxV2KuxV2K uxV2KuxV2KuxV2KuxV2KuxV2KtMoZSD0OKoJrGdaiCZo1JrxFCPxxVr6nf8A/LW/3D+mKu+p3/8A y1v9w/pirvqd/wD8tb/cP6Yq76nf/wDLW/3D+mKu+p3/APy1v9w/piraWl6D8VyxHyAxVFwxLEgU dsVf/9k= - - - - - - default - uuid:65E6390686CF11DBA6E2D887CEACB407 - xmp.did:8BC7D877974ADE11BCECCFF09938C3CC - uuid:30267148-672c-4d34-8534-e8cce420f815 - - - - converted - from application/pdf to <unknown> - - - saved - xmp.iid:D47F11740720681191099C3B601C4548 - 2008-04-17T14:19:21+05:30 - Adobe Illustrator CS4 - - - / - - - - - converted - from application/pdf to <unknown> - - - converted - from application/pdf to <unknown> - - - saved - xmp.iid:FD7F11740720681197C1BF14D1759E83 - 2008-05-16T17:01:20-07:00 - Adobe Illustrator CS4 - - - / - - - - - saved - xmp.iid:F77F117407206811BC18AC99CBA78E83 - 2008-05-19T18:10:15-07:00 - Adobe Illustrator CS4 - - - / - - - - - converted - from application/vnd.adobe.illustrator to application/vnd.adobe.illustrator - - - saved - xmp.iid:FB7F117407206811B628E3BF27C8C41B - 2008-05-22T14:26:44-07:00 - Adobe Illustrator CS4 - - - / - - - - - converted - from application/vnd.adobe.illustrator to application/vnd.adobe.illustrator - - - saved - xmp.iid:08C3BD25102DDD1181B594070CEB88D9 - 2008-05-28T16:51:46-07:00 - Adobe Illustrator CS4 - - - / - - - - - converted - from application/vnd.adobe.illustrator to application/vnd.adobe.illustrator - - - saved - xmp.iid:F77F11740720681192B0DFFC927805D7 - 2008-05-30T21:26:38-07:00 - Adobe Illustrator CS4 - - - / - - - - - converted - from application/vnd.adobe.illustrator to application/vnd.adobe.illustrator - - - saved - xmp.iid:F87F11740720681192B0DFFC927805D7 - 2008-05-30T21:27-07:00 - Adobe Illustrator CS4 - - - / - - - - - converted - from application/vnd.adobe.illustrator to application/vnd.adobe.illustrator - - - saved - xmp.iid:F97F1174072068119098B097FDA39BEF - 2008-06-02T13:26:10-07:00 - Adobe Illustrator CS4 - - - / - - - - - saved - xmp.iid:8BC7D877974ADE11BCECCFF09938C3CC - 2009-05-27T04:22:07-04:00 - Adobe Illustrator CS4 - / - - - - - uuid:32300939-b1c4-8440-b812-b255b7b0d326 - xmp.did:F97F1174072068119098B097FDA39BEF - uuid:65E6390686CF11DBA6E2D887CEACB407 - proof:pdf - - - - Web - Document - - - 1 - True - False - - 1024.000000 - 768.000000 - Pixels - - - - Cyan - Magenta - Yellow - Black - - - - - - Default Swatch Group - 0 - - - - White - RGB - PROCESS - 255 - 255 - 255 - - - Black - RGB - PROCESS - 0 - 0 - 0 - - - RGB Red - RGB - PROCESS - 255 - 0 - 0 - - - RGB Yellow - RGB - PROCESS - 255 - 255 - 0 - - - RGB Green - RGB - PROCESS - 0 - 255 - 0 - - - RGB Cyan - RGB - PROCESS - 0 - 255 - 255 - - - RGB Blue - RGB - PROCESS - 0 - 0 - 255 - - - RGB Magenta - RGB - PROCESS - 255 - 0 - 255 - - - R=193 G=39 B=45 - RGB - PROCESS - 193 - 39 - 45 - - - R=237 G=28 B=36 - RGB - PROCESS - 237 - 28 - 36 - - - R=241 G=90 B=36 - RGB - PROCESS - 241 - 90 - 36 - - - R=247 G=147 B=30 - RGB - PROCESS - 247 - 147 - 30 - - - R=251 G=176 B=59 - RGB - PROCESS - 251 - 176 - 59 - - - R=252 G=238 B=33 - RGB - PROCESS - 252 - 238 - 33 - - - R=217 G=224 B=33 - RGB - PROCESS - 217 - 224 - 33 - - - R=140 G=198 B=63 - RGB - PROCESS - 140 - 198 - 63 - - - R=57 G=181 B=74 - RGB - PROCESS - 57 - 181 - 74 - - - R=0 G=146 B=69 - RGB - PROCESS - 0 - 146 - 69 - - - R=0 G=104 B=55 - RGB - PROCESS - 0 - 104 - 55 - - - R=34 G=181 B=115 - RGB - PROCESS - 34 - 181 - 115 - - - R=0 G=169 B=157 - RGB - PROCESS - 0 - 169 - 157 - - - R=41 G=171 B=226 - RGB - PROCESS - 41 - 171 - 226 - - - R=0 G=113 B=188 - RGB - PROCESS - 0 - 113 - 188 - - - R=46 G=49 B=146 - RGB - PROCESS - 46 - 49 - 146 - - - R=27 G=20 B=100 - RGB - PROCESS - 27 - 20 - 100 - - - R=102 G=45 B=145 - RGB - PROCESS - 102 - 45 - 145 - - - R=147 G=39 B=143 - RGB - PROCESS - 147 - 39 - 143 - - - R=158 G=0 B=93 - RGB - PROCESS - 158 - 0 - 93 - - - R=212 G=20 B=90 - RGB - PROCESS - 212 - 20 - 90 - - - R=237 G=30 B=121 - RGB - PROCESS - 237 - 30 - 121 - - - R=199 G=178 B=153 - RGB - PROCESS - 199 - 178 - 153 - - - R=153 G=134 B=117 - RGB - PROCESS - 153 - 134 - 117 - - - R=115 G=99 B=87 - RGB - PROCESS - 115 - 99 - 87 - - - R=83 G=71 B=65 - RGB - PROCESS - 83 - 71 - 65 - - - R=198 G=156 B=109 - RGB - PROCESS - 198 - 156 - 109 - - - R=166 G=124 B=82 - RGB - PROCESS - 166 - 124 - 82 - - - R=140 G=98 B=57 - RGB - PROCESS - 140 - 98 - 57 - - - R=117 G=76 B=36 - RGB - PROCESS - 117 - 76 - 36 - - - R=96 G=56 B=19 - RGB - PROCESS - 96 - 56 - 19 - - - R=66 G=33 B=11 - RGB - PROCESS - 66 - 33 - 11 - - - R=0 G=0 B=0 - RGB - PROCESS - 0 - 0 - 0 - - - R=26 G=26 B=26 - RGB - PROCESS - 26 - 26 - 26 - - - R=51 G=51 B=51 - RGB - PROCESS - 51 - 51 - 51 - - - R=77 G=77 B=77 - RGB - PROCESS - 77 - 77 - 77 - - - R=102 G=102 B=102 - RGB - PROCESS - 102 - 102 - 102 - - - R=128 G=128 B=128 - RGB - PROCESS - 128 - 128 - 128 - - - R=153 G=153 B=153 - RGB - PROCESS - 153 - 153 - 153 - - - R=179 G=179 B=179 - RGB - PROCESS - 179 - 179 - 179 - - - R=204 G=204 B=204 - RGB - PROCESS - 204 - 204 - 204 - - - R=230 G=230 B=230 - RGB - PROCESS - 230 - 230 - 230 - - - R=242 G=242 B=242 - RGB - PROCESS - 242 - 242 - 242 - - - R=63 G=169 B=245 - RGB - PROCESS - 63 - 169 - 245 - - - R=122 G=201 B=67 - RGB - PROCESS - 122 - 201 - 67 - - - R=255 G=147 B=30 - RGB - PROCESS - 255 - 147 - 30 - - - R=255 G=29 B=37 - RGB - PROCESS - 255 - 29 - 37 - - - R=255 G=123 B=172 - RGB - PROCESS - 255 - 123 - 172 - - - R=189 G=204 B=212 - RGB - PROCESS - 189 - 204 - 212 - - - R=138 G=138 B=138 1 - RGB - PROCESS - 138 - 138 - 138 - - - - - - - - - Adobe PDF library 9.00 - - - - - - - - - - - - - - - - - - - - - - - - - -endstream endobj 3 0 obj <> endobj 155 0 obj <>/Resources<>/XObject<>>>/Thumb 161 0 R/TrimBox[0.0 0.0 1024.0 768.0]/Type/Page>> endobj 156 0 obj <>stream -H-0 aS' Ƌv,$<=FCb8A-F{(V(\E3>IGIykFS>> endobj 161 0 obj <>stream -8;Z\uinRqnec:hag&4%a](-!f93L:A4D\h\gZ/n@lX;HcTPGfEHCj -Q%6lr1C^ia9# -endstream endobj 163 0 obj [/Indexed/DeviceRGB 255 164 0 R] endobj 164 0 obj <>stream -8;X]O>EqN@%''O_@%e@?J;%+8(9e>X=MR6S?i^YgA3=].HDXF.R$lIL@"pJ+EP(%0 -b]6ajmNZn*!='OQZeQ^Y*,=]?C.B+\Ulg9dhD*"iC[;*=3`oP1[!S^)?1)IZ4dup` -E1r!/,*0[*9.aFIR2&b-C#soRZ7Dl%MLY\.?d>Mn -6%Q2oYfNRF$$+ON<+]RUJmC0InDZ4OTs0S!saG>GGKUlQ*Q?45:CI&4J'_2j$XKrcYp0n+Xl_nU*O( -l[$6Nn+Z_Nq0]s7hs]`XX1nZ8&94a\~> -endstream endobj 160 0 obj <>/ExtGState<>/Font<>/ProcSet[/PDF/Text]>>/Subtype/Form>>stream -BT -/CS0 cs 0 0 0 scn -/GS0 gs -/T1_0 1 Tf -0 Tc 0 Tw 0 Ts 100 Tz 0 Tr 12 0 0 -12 -103.0967 -61.2773 Tm -[(T)7(his is an A)12(dobe\256 I)-10(llustr)5(a)4(t)6(or\256 F)26(ile tha)4(t w)4(as)]TJ -0 -1.2 TD -[(sa)8(v)10(ed without PDF C)11(on)4(t)6(en)4(t)3(.)]TJ -0 -1.2 TD -[(T)71(o P)5(lac)6(e or open this \037le in other)]TJ -0 -1.2 TD -[(applica)4(tions)11(, it should be r)10(e)-28(-sa)8(v)10(ed fr)10(om)]TJ -0 -1.2 TD -[(A)12(dobe I)-10(llustr)5(a)4(t)6(or with the ")3(C)3(r)10(ea)4(t)6(e PDF)]TJ -0 -1.2 TD -[(C)11(ompa)4(tible F)26(ile" option tur)-4(ned on. )41(T)7(his)]TJ -T* -[(option is in the I)-10(llustr)5(a)4(t)6(or Na)4(tiv)10(e F)31(or)-4(ma)4(t)]TJ -0 -1.2 TD -[(Options dialog bo)14(x, which appears when)]TJ -0 -1.2 TD -[(sa)8(ving an A)12(dobe I)-10(llustr)5(a)4(t)6(or \037le using the)]TJ -0 -1.2 TD -[(S)-3(a)8(v)10(e A)6(s c)6(ommand)10(.)]TJ -ET - -endstream endobj 154 0 obj <> endobj 167 0 obj <> endobj 168 0 obj <> endobj 169 0 obj <>stream -H|TyPwffz $D#hD[-o!b(/a@e0 E -D%"gC Ed= -1M}?l[[{}q|W<U -ou@1rl! -٣{g|6cO߫Zche˗;Ӵt9,]tZ:(2C2B#)RGGJlMxlB#S+5JuU,·ّ|:'g'[evv/SidJ6D*NT(#a(coӎL)d~*Y`b 5]EU%||E+ed -~g040 /1l c!R ?a6F=1o,ʰ dIɄ`@! ! :AN"8+z^00s62VsQjz Mt!:=J@j*V$C(0S9)bϴo\3eԐђ: ZatH&p\tײoMEx8"3ꇆ:.LsxJN8։_t%MmNDx3 DGU|_Y) QGDc!,.p0B"G8<"ǿ>}"*|uZnMD"W~fo71[2]|Ir/!~:?ھ[phmH’USZe4Ry - 5XqWAe1>0Ι<ȤRnvݻD -xmoKh#v܃:y<1E[l!/UXFV #m >d Y rPhA!Aű.qIꃋaE,%@rYz&p=Je2W5hBUdUoԴ^y}p!$M5/u/vҝBl EFX s"O6u-vC$b l@ -YE~>h ,s1gtU&AVn Y @הQ.ۈc*.wHW~^h1C֗.YF:Y- -L U~OF]^>g/(Irq,> gi^Ck Bc!fvYT pl졉5-ZZΜ/oȿNsWH+cVd&]ߴ,L&!Rj. MZRjt$Hޫ,m_䞮O˹Bx8T>#aE&C!l<9"$:LfSLku-tw*ՎA Lv>SSP]u]̢1Jۚ-c"(S=&53 #+2d, 7*^° ]T=z(B[heE 2V@6LQNǂb@$f1v>Oޱl=iQs}2l ^(߉HZoNoUdG*- kg `"8)v!|ϱ[RQ_ M _˅I"6|Dޗ\S:.|douALVe [`lh'M87°2RVAPIJGӰ=]䣌GE͍ IhHF_wiX$(7V;8(YV`cX2HB c*FU^'BPU{"ܑ\ !isLj=+b3án;S)M@5|b\ ­ }>MzH=͆uBlŀSlN3& U!12bKkqvęSV2x'e@ XȊWeJ8`+=OY/7p7:%pn8nQ5|zIۥq0 f~.rګSUaR^7T(o4ao45[URY[AF"Q-9v K"4-?wd<4󕛴 /795*P}N+KHI8 ejlߵ# &cͶ"uXTGю׮ Ƅ_ ׯ} ` YDH -endstream endobj 166 0 obj <> endobj 165 0 obj [/ICCBased 170 0 R] endobj 170 0 obj <>stream -HyTSwoɞc [5laQIBHADED2mtFOE.c}08׎8GNg9w߽'0 ֠Jb  - 2y.-;!KZ ^i"L0- @8(r;q7Ly&Qq4j|9 -V)gB0iW8#8wթ8_٥ʨQQj@&A)/g>'Kt;\ ӥ$պFZUn(4T%)뫔0C&Zi8bxEB;Pӓ̹A om?W= -x-[0}y)7ta>jT7@tܛ`q2ʀ&6ZLĄ?_yxg)˔zçLU*uSkSeO4?׸c. R ߁-25 S>ӣVd`rn~Y&+`;A4 A9=-tl`;~p Gp| [`L`< "A YA+Cb(R,*T2B- -ꇆnQt}MA0alSx k&^>0|>_',G!"F$H:R!zFQd?r 9\A&G rQ hE]a4zBgE#H *B=0HIpp0MxJ$D1D, VĭKĻYdE"EI2EBGt4MzNr!YK ?%_&#(0J:EAiQ(()ӔWT6U@P+!~mD eԴ!hӦh/']B/ҏӿ?a0nhF!X8܌kc&5S6lIa2cKMA!E#ƒdV(kel }}Cq9 -N')].uJr - wG xR^[oƜchg`>b$*~ :Eb~,m,-ݖ,Y¬*6X[ݱF=3뭷Y~dó ti zf6~`{v.Ng#{}}jc1X6fm;'_9 r:8q:˜O:ϸ8uJqnv=MmR 4 -n3ܣkGݯz=[==<=GTB(/S,]6*-W:#7*e^YDY}UjAyT`#D="b{ų+ʯ:!kJ4Gmt}uC%K7YVfFY .=b?SƕƩȺy چ k5%4m7lqlioZlG+Zz͹mzy]?uuw|"űNwW&e֥ﺱ*|j5kyݭǯg^ykEklD_p߶7Dmo꿻1ml{Mś nLl<9O[$h՛BdҞ@iءG&vVǥ8nRĩ7u\ЭD-u`ֲK³8%yhYѹJº;.! -zpg_XQKFAǿ=ȼ:ɹ8ʷ6˶5̵5͵6ζ7ϸ9к<Ѿ?DINU\dlvۀ܊ݖޢ)߯6DScs 2F[p(@Xr4Pm8Ww)Km -endstream endobj 159 0 obj [/ICCBased 171 0 R] endobj 171 0 obj <>stream - HLinomntrRGB XYZ  1acspMSFTIEC sRGB-HP cprtP3desclwtptbkptrXYZgXYZ,bXYZ@dmndTpdmddvuedLview$lumimeas $tech0 rTRC< gTRC< bTRC< textCopyright (c) 1998 Hewlett-Packard CompanydescsRGB IEC61966-2.1sRGB IEC61966-2.1XYZ QXYZ XYZ o8XYZ bXYZ $descIEC http://www.iec.chIEC http://www.iec.chdesc.IEC 61966-2.1 Default RGB colour space - sRGB.IEC 61966-2.1 Default RGB colour space - sRGBdesc,Reference Viewing Condition in IEC61966-2.1,Reference Viewing Condition in IEC61966-2.1view_. \XYZ L VPWmeassig CRT curv -#(-27;@EJOTY^chmrw| %+28>ELRY`gnu| &/8AKT]gqz !-8COZfr~ -;HUcq~ +:IXgw'7HYj{+=Oat 2FZn  % : O d y - -' -= -T -j - - - - - - " 9 Q i  * C \ u & @ Z t .Id %A^z &Ca~1Om&Ed#Cc'Ij4Vx&IlAe@e Ek*Qw;c*R{Gp@j>i  A l !!H!u!!!"'"U"""# -#8#f###$$M$|$$% %8%h%%%&'&W&&&''I'z''( (?(q(())8)k))**5*h**++6+i++,,9,n,,- -A-v--..L.../$/Z///050l0011J1112*2c223 3F3334+4e4455M555676r667$7`7788P8899B999:6:t::;-;k;;<' >`>>?!?a??@#@d@@A)AjAAB0BrBBC:C}CDDGDDEEUEEF"FgFFG5G{GHHKHHIIcIIJ7J}JK KSKKL*LrLMMJMMN%NnNOOIOOP'PqPQQPQQR1R|RSS_SSTBTTU(UuUVV\VVWDWWX/X}XYYiYZZVZZ[E[[\5\\]']x]^^l^__a_``W``aOaabIbbcCccd@dde=eef=ffg=ggh?hhiCiijHjjkOkklWlmm`mnnknooxop+ppq:qqrKrss]sttptu(uuv>vvwVwxxnxy*yyzFz{{c{|!||}A}~~b~#G -k͂0WGrׇ;iΉ3dʋ0cʍ1fΏ6n֑?zM _ɖ4 -uL$h՛BdҞ@iءG&vVǥ8nRĩ7u\ЭD-u`ֲK³8%yhYѹJº;.! -zpg_XQKFAǿ=ȼ:ɹ8ʷ6˶5̵5͵6ζ7ϸ9к<Ѿ?DINU\dlvۀ܊ݖޢ)߯6DScs 2F[p(@Xr4Pm8Ww)Km -endstream endobj 158 0 obj <> endobj 172 0 obj <> endobj 173 0 obj <>stream -%!PS-Adobe-3.0 -%%Creator: Adobe Illustrator(R) 11.0 -%%AI8_CreatorVersion: 14.0.0 -%%For: (Administrator) () -%%Title: (colorbox.ai) -%%CreationDate: 7/30/2009 9:43 PM -%%Canvassize: 16383 -%%BoundingBox: 0 73 508 701 -%%HiResBoundingBox: 0 73 508 701 -%%DocumentProcessColors: Cyan Magenta Yellow Black -%AI5_FileFormat 7.0 -%AI3_ColorUsage: Color -%AI7_ImageSettings: 0 -%%RGBProcessColor: 0 0 0 ([Registration]) -%AI3_TemplateBox: 512.5 383.5 512.5 383.5 -%AI3_TileBox: 116 78 908 690 -%AI3_DocumentPreview: None -%AI5_ArtSize: 14400 14400 -%AI5_RulerUnits: 6 -%AI9_ColorModel: 1 -%AI5_ArtFlags: 0 0 0 1 0 0 1 0 0 -%AI5_TargetResolution: 800 -%AI5_NumLayers: 1 -%AI9_OpenToView: 93.25 700 8 1780 1006 18 0 0 45 111 1 0 1 1 1 0 1 -%AI5_OpenViewLayers: 7 -%%PageOrigin:0 0 -%AI7_GridSettings: 100 4 100 4 1 0 0.8 0.8 0.8 0.9 0.9 0.9 -%AI9_Flatten: 1 -%AI12_CMSettings: 00.MS -%%EndComments - -endstream endobj 174 0 obj <>stream -%%BoundingBox: 0 73 508 701 -%%HiResBoundingBox: 0 73 508 701 -%AI7_Thumbnail: 104 128 8 -%%BeginData: 6616 Hex Bytes -%0000330000660000990000CC0033000033330033660033990033CC0033FF -%0066000066330066660066990066CC0066FF009900009933009966009999 -%0099CC0099FF00CC0000CC3300CC6600CC9900CCCC00CCFF00FF3300FF66 -%00FF9900FFCC3300003300333300663300993300CC3300FF333300333333 -%3333663333993333CC3333FF3366003366333366663366993366CC3366FF -%3399003399333399663399993399CC3399FF33CC0033CC3333CC6633CC99 -%33CCCC33CCFF33FF0033FF3333FF6633FF9933FFCC33FFFF660000660033 -%6600666600996600CC6600FF6633006633336633666633996633CC6633FF -%6666006666336666666666996666CC6666FF669900669933669966669999 -%6699CC6699FF66CC0066CC3366CC6666CC9966CCCC66CCFF66FF0066FF33 -%66FF6666FF9966FFCC66FFFF9900009900339900669900999900CC9900FF -%9933009933339933669933999933CC9933FF996600996633996666996699 -%9966CC9966FF9999009999339999669999999999CC9999FF99CC0099CC33 -%99CC6699CC9999CCCC99CCFF99FF0099FF3399FF6699FF9999FFCC99FFFF -%CC0000CC0033CC0066CC0099CC00CCCC00FFCC3300CC3333CC3366CC3399 -%CC33CCCC33FFCC6600CC6633CC6666CC6699CC66CCCC66FFCC9900CC9933 -%CC9966CC9999CC99CCCC99FFCCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFF -%CCFF00CCFF33CCFF66CCFF99CCFFCCCCFFFFFF0033FF0066FF0099FF00CC -%FF3300FF3333FF3366FF3399FF33CCFF33FFFF6600FF6633FF6666FF6699 -%FF66CCFF66FFFF9900FF9933FF9966FF9999FF99CCFF99FFFFCC00FFCC33 -%FFCC66FFCC99FFCCCCFFCCFFFFFF33FFFF66FFFF99FFFFCC110000001100 -%000011111111220000002200000022222222440000004400000044444444 -%550000005500000055555555770000007700000077777777880000008800 -%000088888888AA000000AA000000AAAAAAAABB000000BB000000BBBBBBBB -%DD000000DD000000DDDDDDDDEE000000EE000000EEEEEEEE0000000000FF -%00FF0000FFFFFF0000FF00FFFFFF00FFFFFF -%524C45FDA0FFA8A8A8FFA8FFA8A87DA8A8FD5DFF5227FD06FF7D27A8FD5D -%FF5252FD06FF52277DFD5DFF5252FD06FF7D27A8FD2AFF7D527D527D527D -%527D52A8FD04FF7D7D527D527D527D527D7DFFFFFFA8FFA8FFA8FFA8FFA8 -%FFA8FFA8FFFFFFA8FFA8A8A8FF5252FD06FF5227A8FD2AFF522727522752 -%27522752A8FD04FF7D2752275227522752277DFFA852A8A8FF527DA8FF7D -%52527DFFA852A8CAFFA8525252A85252FD06FF7D27A8FD2AFF5227A8A8FF -%A8A8A85227A8FD04FF52277DFFA8FFA8FF7D277DA8F82727A85227F87DA8 -%A827F87DFFA82727A8A8A8275252FF5252FD06FF5227A8FD2AFF5252FD06 -%FF7D27A8FD04FF7D27A8FD06FF277DA87D52A8A8A85252A8FF7D52527DFF -%FF277DA8FFA8525252FF7D52FD06FF7D27A8FD2AFF5252FD06FF7D27A8FD -%04FF5227A8FD05FF7D277DFFA8A8A8FFA8A8A8FFA8A8A8FF7DFFA8A8A8FF -%A8A87DA87DFF5252FD06FF5227A8FD2AFF5252FD06FF7D27A8FD04FF7D27 -%A8FD05FFA8277DFFFFA8FFA8FFA8FFA8FFA8FFFFFFA8FFFFFFA8FFA8FFA8 -%FFA85252FD06FF7D27A8FD2AFF5227FFFFFFA8FFFF7DF8A8FD04FF7D277D -%FFFFFFA8FF7D277DFFA8A8A8FFA8A87DFFA8A87DA87DFFA8A8A8FFA8FF7D -%7D7DFF5252A8FD05FF52277DFD2AFF527DA8FFA8FFA8FF7D27A8FD04FF7D -%27A8FFFFA8FFFFA827A8A87D52A8CAA8527DA8FFA87D52A8A8FF527DA8FF -%A87D7DA8FF5252FD06FF7D27A8FD2AFF5252FFA8FFA8FFFF7DF8A8FD04FF -%7D27A8FFA8FFA8FFA8277DFF7D7D7DFFA87D7DFFA8A8527D7DFFA87D7DFF -%A8FF527D7DFF5252FD06FF5227A8FD2AFF5252A8FFA8FFA8FF7D27A8FD04 -%FF7D27A8A8FFA8FFA8A8277DFFFFA8FFA8FFA8FFA8FFFD04A8CAFFA8FFA8 -%FFFD05A85252FD06FF7D27A8FD2AFF5252FFA8FFA8FFA87D27A8FD04FF52 -%27A8FFA8FFA8FF7D277DFFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8 -%FFA8FFA8FF5252FD06FF5227A8FD2AFF5252A8FFA8FFA8FF7D27A8FD04FF -%7D27A8A8FFA8FFA8A8277DFFFFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8 -%FFA8FFA8FFA87D52FD06FF7D27A8FD2AFF5252FFA8FFA8FFFF7D27A8FD04 -%FF5252A8FFA8FFA8FFA8527DFFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8 -%FFA8FFA8FFA8FF5252FD06FF5227A8FD2AFF5252A8FFA8FFA8FF5227A8FD -%04FF7D277DA8FFA8FFA87D277DFFFFA8FFA8FFA8FFA8FFA8FFA8FFA8FFA8 -%FFA8FFA8FFA8FFA85252FD06FF7D27A8FD2AFF52FD0927A8FD04FF52FD09 -%2752FFA8CAA8FFA8CAA8FFA8CAA8FFA8CAA8FFA8CAA8FFA8CAA8FF5252A8 -%FD05FF52277DFD2AFF7DA87D7D7DA87D7D7DA8A8FD04FFA87DA87D7D7DA8 -%7D7D7DA8FD19FF5252FD06FF7D27A8FD5DFF5252FD06FF5227A8FD5DFF52 -%52FD06FF7D27A8FD5DFF5252A8FFA8FFFFFF5227A8FD5EFFFD09A8FD62FF -%A8FFA8FDFCFFFDD3FFA87DA87DA87DA8A8FD5AFF52FD05FFA827F827F8F8 -%27FFFFFFA8FFFF7DA8FD53FFF8F82727277DFF52F85252F87DFFA8FD0427 -%F8FD54FFFD05F827FF7DF827F8F87DFF27FD05F8A8FD53FFFD05F827FFFF -%7D272752FFFF27FD05F8FD54FFF8F827F8F827A8FD07FFF8F8F827F8F8A8 -%FD53FFF8277D522727FD08FF27F8525252F8FD54FFF852277DF827FD08FF -%F8F852525227A8FD53FFF8275227F827FD08FF27F8275227F8FD54FFFD05 -%F827FD08FFF8F8F827F8F8A8FD53FFFD05F827FD08FF27FD05F8FD54FFFD -%05F827FD08FF27FD05F8A8FD53FFF827525252A8FD09FFFD0452F8FD54FF -%7DFD05FFA8FD0CFFA8A8FD53FFA8FD12FF7DFD54FFF827275227A8FD08FF -%A852272727F8A8FD53FFFD05F827FD08FF27FD05F8FD54FFFD05F827FD08 -%FFFD06F8A8FD53FFF8F852F8F827FD08FF27F82752F8F8FD54FFF87DFF7D -%F827FD08FFF8277DFF52F8A8FD53FF52FFFFFF52F8FD08FF2727FFFFFF52 -%FD54FFF87DA8A8F827A8FD07FFF8277DFF5227A8FD53FFF8F852F8F827FD -%08FF27F82752F8F8FD54FFFD05F8277D525252275252A8FD05F827A8FD53 -%FFFD05F827FF27F85252F852FF27FD05F8FD54FFF8272727F8A8FF76F87D -%52F87DFF7D27F827F8F8A8FD53FF7DFD06FFA827F8F8F8FD07FF52FD5CFF -%A87D7DA8FDFCFFFDFCFFFDFCFFFDFCFFFDFCFFFDFCFFFDFCFFFDFCFFFDFC -%FFFDFCFFFDFCFFFDFCFFFD80FFA8FD07FFA8FD53FF7DA8FFFFFF7DA8FFFF -%FF7D7DFFFFFF7DA8FFFFFFA87DFD52FF52A8FFFFA87D7DFFFFFF7D7DFFFF -%FF7D7DFFFFFF7D7DFD67FFA8FDFCFFFD26FF277DFFFFA82752FFFFFF2752 -%FFFFFF7D7DFFFFFF2752A8FD50FFA8F827FFFFA8F852FFFFFF2727FFFFFF -%277DFFFFFF5227FD52FFA8FD09FFA8A8A8FD07FF7DA8FDFCFFFDFCFFFDA2 -%FFA8FFA8FD64FFA8FFA8FFA8FD62FFA8FD05FFA8FD66FFA8FD62FFA8FD04 -%FFA8A8FD60FFA8FD05FFA8FD22FFA8FD04FFA8527D7DFFFFFFA8FFA8FFFF -%FFA8FFFFFFA8FFA8FFFFA8527D7D7D527D7DFFFFFFA87D52A8FD16FFA8FD -%05FFA8FD21FFA8FD04FFA87D52A8FFFFA9FD0EFFA8527D527D527D527D7D -%FFFFA8527DA8FD15FFA8FD05FFA8FD22FFA8FD04FFA852527DFFFFFFA87D -%A8FFA8FF52A8A8FFA87DA8FF527D527D527D527D527DA8FF7D5252A8FD0C -%FFA8FFA8FFA8FD05FFA8FD05FFA8FD26FFA87D52A8FFFFFFA97DFFFFFFA8 -%A8A8FFA8FF7DFFA87D527DA8FFFFFF7D7D52FFFFA8527DA8FD0BFFA8FD09 -%FFA8FD05FFA8FD27FFA852527DFFFFFFA8FFA8FFCFFFA8FFFFFFA8FFA8FF -%52527DFD04FFA8527DA8FF7D5252A8FD0BFFA8A8FFFFFFA8FD05FFA8FD04 -%FFA8A8FD26FFA87D52A8FD04FFA8FD09FFA8FFFF7D527DFD04FFA87D7DFF -%FFA8527DA8FD0BFFA8FD05FFA8FD09FFA8FD27FFA852527DFFFFFFA8FFA8 -%FFA8FD05FFA8FFCFFF527D7DFD04FFA8527DA8FF7D5252A8FD0BFFA8A8FD -%09FFA8FD04FFA8A8FD26FFA87D52A8FFFFCFAF53FFA8FFA85AA8FFFFAF53 -%A9FF7D527D7DA8A8A8527D52FFFFA8527DA8FD0DFFA8FFFFFFA8FFFFFFA8 -%FD05FFA8FD22FF7DFD04FFA852527DFFFFFF847EA8FFA8A953A9A8FFA85A -%A8FFFD07527D527DA8FF7D5252A8FD0CFFA8A8A8FFA8FD05FFA8FD05FFA8 -%FD21FFA8FD04FFA85252A8FD0AFFA8FD06FFA8527D527D527D527D7DFFFF -%A8527DA8FD15FFA8FD05FFA8FD22FFA8FD05FF7DA8A8FD13FF7DA87DA87D -%A8A8FFFFFFA8A87DFD17FFA8FD05FFA8FD60FFA8FD05FFA8FD4CFFA8FFA8 -%A8A8FFA8A8A8FFA8A8A8FFA8A8A8FFFD05A8FD04FFA8A8FD60FFA8FD05FF -%A8FD4CFFA8FD15FFA8FFFFFFA8FFA8FD62FFA8FFA8FFFFFFA8FD4AFFA8FD -%19FFA8FFA8FD4CFFA8FD68FFA8FFA8A8A8FFA8A8A8FFA8A8A8FFA8A8A8FF -%A8A8A8FFA8A8A8FDD4FFFF -%%EndData - -endstream endobj 175 0 obj <>stream -HWiwyoxY$myı;/{ ZvCQS VV|VUW2ciYx$e41;L&zN5,zWUS`ukۈsi1S:6'4~gMݒ#>q3_p3|n0A> 6 -!=NV ( ! 6[KϯTJRrOt~Ta -Q $\.,BT"TZfNlyMn^4 $~79[uAAɅ\ -YLF^I` wYJ DN<(D Gm SA+ccQ@pdXs<lQf`,%0k#Z,!g@x# 7mbdФm{Mc ,3+ 5ckjdC#HŚv?*q4\E ˠI*fqj:BG"' Tl ȐE*&{ TP"һNZfo*V"3R!w^ynRL? ;Cek2uX܏hP+pw`owCY\4kBi(I6wouuk188Cm!8Q+A*#y6C~a[ܬΤmߺ+o R24xG}pa:¬l UtN/ܴ?B -_0/$1I2?:YN"tnM1HD_p3| 6 -iBd-l~')-RJdMbzDHGvV7X-Mbqr?ҫ`9tDZ\7[PrIHC}gٙ!:}6tǐ.MrSQDbp,A\1ob&3lc.=#@}~uKx i3}Ͷ(>mm,}g[n#6D)a͔. ]ga,iC Q4Im7JaooƯ; -^>,IzL(ݘ0<åu?V #TljީY\'΢$eJl%B ^Þp-Lw:gȴ-Ku 7 w+p'v"x%KuЦ߅3l!sΩ5|F;ߔ %fZ9b!vaѾN.jf[yrMKQZxi#RքW#rudq\OG:NWܾp*-Ĉnb̔TZ%7,o! lGͨ 8TBpnJ%kZbt5}zurN{uH7v09E -EUD!`{h9CC1kXwO޻WGyܥc~P l9i:+fK.fEo-ʸv: -)vK ۦ&5 )#>bUEeUϜdiyl#]0ܧDjJ?9:l.^>j BMz'i\0{S% j9XPYIv(fcK>mt _6xTL1IH0+~YJ,,,ufJdKCTULu+45fVKL6QmF ?J75a?iѰ}3uwO2 Ng1md'e|e3xvk|x]! p|Bh-~WńDEGxfC188 ]w 0#q8b8ѿ T4E%i99+Ykx~MwQs'8Xwu.$B%y' &|LZckڣcjUb4}rlkm\ -5jbx49lu52S>7+Ϸ>mUlexK߬[ՊL_t8*d6|[.ǥ\S8|_*ꆱ}[4=ы]_֫t=Y^Z *aRQDk:\m$ >I^qV-O93E?@ͱ "FNNz>-ЫE"j˜m*&P`^6C[ +het'RUAF/I u%9B Fo4鯤QMUkS'ݣ+Ѓ_IPPcR\mn^ߟFؚ!e4p;" ]pv-_')cneq*>>N(dNc>2.c=;ì :\^Ihrom].q,_+ˎ:*Q亖2Q"_uM<i-b+e3#-Ҟk^_UeAA5eGIDn,cŜqC?_kΚ_ziܫZ8LUc\49GK#:j%0)sB|&;;elQT䥞%9GgPvL3Z/@NHX46\-%ع79ȥtKys08uM:{|t;N~e]Zt?@g+MگZ2~%f[!s-5mMG|k89!UPlpbb # S4cŁ%"JӐgj.W`QyQ?6ZhHYSUuؐ&4G^;`IOڛB{XV KA*zVmx?Zc"jHө@gN(o{3j4-` 7W"c%e 5%ӧh\|V:77*wD!dnB8뮹W7RQvsWOBy8f%pP`MCK64qeNm:_Q|mnv;]ց=IC>ypEObu&8ͻrvKߔgޭRpX0MRɮ :m Vc$MPN? A}.ʲu$7́dx>Sj쾧 m鬼'+7jѧ## zU③%aF!cIley۶Vi7w.2N69MNj1f5"]1STNw9PوԷ2=Eh;NJIoebÙgs\Gc.XlNi=-ggJ!9ȇ/`|v8XXn'CM<i-bYM0L.9b9}AK*KDRLrո`\„eTxșԐ'75.k6Fh`3yBi<OTmx -ͥ<2Hyi2>I 𵞤BoRȇ5PgC[{?r6ZhU`/9s.)@)<Ⓔu{_q9hU_"io+ 6lC%H;qJruw,^6z ÈgD7^mC҅L+x(W[>^@Z%K 9cS _Ri^?ʠ$8Kiy"!Aoi9ێG`ȍh"ݸ%>dG-Tnv8}.BY^JE 7> O`2!v빽UC/&Jɓ=P*31ym W_5 -fVjm{ k:8jk&8kA5Br~6ef"Pv>1BX<ƹ hE_w<=i^ *j,Ԉ8T$WH4hlA{(V;ES2L{"#iÝ!9|̻jX?#2]l ,[D %~"ƾnlMI0]7zr^}ݞ.`󵗊{7ic'CA":eV,4.ImU6iFrM_64~p>jgl2czK!'JRJ}˕*M{0LuzImk_(-Rq!K#C#8r9N-Sȓq[/WRKH=8!(RuxT2{geG -k9vM(2rDgd,"#43ӪǾЃax1Vh0LM4 ݅е^q0ZLx~[cq*aatt1@.>BA ܆qq @67ӭxCrAؓt[lH#d,=e9вC胈>Zowh+p |Hc笪@O`ҟCBu3Yj?`-'%IMF%x^2uL5ŔY\P *+$ھ!qAӨ -t#1BYPz(;o3 -\;7 (u],gòԳ/݄iJ[Dq'[=W"2lfQejed?m@oVRqIO'(V@=fMs; V!R(Lˌ`j@s m_U1.Kt$hGf'-q>u͏B8`4*Jŗi% }fky!P t^/ Un@6"~fd b*_FR@Eϯr= ͝ eoc `sǂ>N1 )P'o\\fr*GTrbQt( qjhPzVx:~i ։{kmfsCn_mP_5]^vq ;rd贞hl. -syėNHړ: 0Q7HX+3"y?C=SɛJ";Q$ |)q[xZ.CCOCiHJzQM#c;#(Z?hQ`&/xS4A%7\m>PWzH bg:V (Bo9Bow1Qr'{s֗ p dY;-RsX vm C3ỵwʆ$HY÷70Ŧ-*aSVOyAF[H8/ؾJ_F`%Ϭ74C>68Eh;_#XhJ'䣒a`zs,.R &MP2avZ)2:1an1 +#hI:b8 \sCP[!o -"=[nV@KK'kxzm~u[z%ꪙ(jݛU~(4r/JY ^H+–6 [F>'K߲pu00*ԍQ$lԽnOԦ.'eanVD|FFoM͈o9UrNrAn -0&^ܖ3FS'HYlHdZ1ŅIJHĈ{9Eg',iAi8{XNRyct<MhxLt ȷhMEؚ3Cac:f+ m$$ 0c1d`qn&4(˱FNdX(g)sK@)`tAR8  ak;T|HpKTN:k.fjreBs';1XCVJNݡ@PbPŬXJ=+f:`ŠYd<8P`Nt#QŠm%b -I(rG3I5gb܌XD*jb2,PxKkb$KC1@arN 3 a_"ةF -1Ɖ{b]Jr{ɓ,$TesJhs,3%n,pKQx40Ѓ r"HYl/4 tT𡗳"n7/HXhϔK{-OY9j1&reG"t +g%,D@oa3lm`laI1Ƶ3LxK&3)yKCՐlM=BPb[H\"9]hi\G0jxVqP - &0`2еO, G lMB4~b ~.Hp颊R 1X&T酪ī[ zpk=^ӓ(B -zmGOY^=o;nܢ,QS4'ϩy0' -@C-""|gZab/KRED%/[[ÿ_D\hK]֬8LjD1~r7=T2omKg"ᒫ†D>Dq 2BE `q#ee@ oͤO 護Twv=KȞagc5ەu?}5uc^;˱qFZIK@+OMn p(FВs鰇2@Ȫb6MZtp1櫵!S"vRE1L6hb ;S%i=>IK4DIA\"/N6pH^ -.E"TRh Un2CXGLuĽB"?6"h Hg9| vd\:Usyxq#dT is& S̒K:ї9s>5(mDKT,ME/={2Uw/}ށgBAv vR+'H&r3WwDUw;PuF}ͧ} 9>61 ?A#`R_iЎ>RQg4HF))4ro`kKNXbrQaz ƣ6Ke`I|>H\E&N&d ? x]A&oM;MeRM:>8%ݙrE*)x._ i-z".ش d:wZk{-m HBDWa w+ؾ9{ZUgO@s*6 i҄W~=ݻFcΨ-xj\T-aX/;˛' z9ds<Z+sWf%օF;soP>;:Eݍ6M^Wkþ -J}1lD6ryVhR$T.x/*[zv|) ^ࣼhnNy<Q<#CX/Ng'իIc8qacU>o4 }mxv_Nٸ#2wZi+{=7.>R| иz8OK3=O+9ƾїL[(<=tJoa8}*wwx7] }b}/}kK:/1ebEhzmo#{c6w0w'(_O7pSAhVomV^wׅAZE$Rʽbp~NÃ,ߗZCi X~ٞY{ہЇfnCSL_=Z[MmlYX&j6qL9,~ gnWn+0jw/%Z,Qi1BxکGBca X4hZI9HQkCsH`Q{5zk@U`Tn)\B[|E~XVNܷ@SFLJG7>6Pa[Ӏ'] V<5mxFj~HE:@M:USPgNt^B`I9[eMZg?݀'F&[Wf4UdS2KϤpzN'/`$nnf̧+1CƢ?{oL/rξ‘oũ(T. &s!6Th⽐T7͍&Y()įňle-N^+y -{`qZN/C8՟WkiX~ﶡ2a82m8iFkwTFl3/,u^v6j"'o-z^G=g>3mE-7F -F OMzgߒcBiV# T((NP}ý$O>/h厊jу *dZV ~>T&O{Xv/:B\;qA}.ܐ5e$nBN~* ?`N HQwF:e -7܇V\9ОIYܸif!G<8lWw w1( |xe?:l4!)~9\BgӒ >[8gFJ,q6]˒m"H5MOǎ"_L1Y NEfpLl&qbJ:5nknu amsۨRbi`rsWG3hiq%CsBS?6|Η"u; S~#e 9EaRC~U\O>OgE{ovb}r` [_"⏭Fi3_56|1jU) rAݣLmWM@{)n2Wg2U,+de6cdiR rQta_`"jP їꎤ6m ކ,= f -clPޯmL^-Y|"d*'b'T[陛esjVTҳuf9%?Y$ j9v K6+zaȫr;^'<hR~:w)9V-v l6Ӄ>5[Hʾx$h`͊Qn 8nw"g8W,g.aWm`.H%Pɞ&Rhܸ! M3rOS,畋LA3S𖢇Z@@v#f3h(T- QߕAm:06gk :6h6 8Z<҃ZC#%לIؘ\v06/ 5,˫5rz6q֤IΡz1vf#;hUۃa`Zsv^zC_)=/s]aNl>TfFV N鞦a1 {YпA}-c6dZrM6g] nK`綻ߘ[.̨QݲX^unE4"̄kf*2aPn{^Z2Ԇ|[;Oۖ]+_SshnKeQRJj5% S% Ѧ9sp$:T.?ٻnwF.@ӸFZY=Xr^qKmJ1sMkU=e:RWo@) R(^(W,ow ْl_rgO33|{mCQlo n:Ų 8 iJ]h+brk fX$h8^ԑ;Xe'~ZP\s`q`O.[EtzNfq07R{uni[>DoY)r30nĻ^ʆePs^.Fϐ-ϗ ~XT@;,b4集!CRZsa֊pcU..k 4!*pps/ c!ҼL;kěFgf t(Y~L)\xƹTұ;LC(o~ jj!'LmU+יuGWGϮ})gr:ɛ+ZVL:; LPT[S>E+3%L--SM^]M 5Nz>&LgyU11m 4-]'/Ѫ}#u)~+[nڪ̈́'M? '9W`_x:{oAʷUI Wŧ*e b4|nX=_5[6r=nYtu:Ɂc.F& MhMBSfʕlk$V@P, ]4,fS3HuvhPi a `9RٸzVރ;V@ÏXۗL"Tb"[pU|Ǵ uw'~ZPC73_bpiTVjMƩ. @tq7u.Qz1;Wf5L9^en [r.iQ[+lHN#nT "Z3D| 253PF2ݷj4޴95䄈?˜M-Z.wJav1N~f?g9W8ת{ZtAO>]_ bӳRt+8A;3NlPH8 Y2uw+`CȠV \ -PB?OWmfP]TR,]_V훨$Wco G_#We+n2[٫^6&j\~^(;(%hn[i%HQZfI2jAqa$ -;a|[fGЪ~l RH0Lq;O5vƽF,[;pBc #|=6&uk}tGܪTR gٓh^?e۹uֹ?.sfW9/3W SUI~Qi#*DE 3`]q1*cpr ò~lG՞Lҟ9bgl"%$ t -(FS1ݷn=ZÛuN̍05@Nåʔ52\_xM^znD ίV'ۢNB]Ա)1t/4 -endstream endobj 176 0 obj <>stream -HWYW}k!B2 ai@ڡUUBP_jm<{,$_h(EZՋH57d/}p;M~g-$b%nzQkW >?h1-He&DK$4z;F6+]r]p z ]wԘTnZMd_סk&/uJԗڔ 'L2!oa. (d29ss *BMq^3$W_N aSLmL0/a%SLj)0W#ImŪdF7D Hbqn*g_YLL}'W~սVЧWHP7X.B9"Rm-r9 U}.[ӎk8 MMW(2' -1 u6 n8F VC<{,YweZclW~;X6@DN}GƘҫ7{KY>(fNxDd_$4v @o\ᣦIZP;΁Zq @~@mrXiɎIvMGK!ihj+ |%F\ -1P1SlM[Cg3l@/z-sX eͅ!3lb1MV{"HQ@KjU@0ZBX"} 2A L"`h!5iIoIךhOgc̟j7mipp{[ơhhl`[͋o ܘYTU.UxA lV~wΰ>+㲲KV>u| ,}ʦ4uɁp6pYٔZ$ : e& -UIQpT25hlU-'8KuezTqù#ݵ$T[L|&#40z2)Xg[[n7^϶kZv' 1' ڸP'&Sy?KrnTn'*M|ŷqAsaRl˗^kM$|GUX_WJRv0n֮E|n@81(&B&},k-~si:Wၺ|=>oeQ ˌ^+{foKmo7Y]]EX0-tҫ-1zJ~{7r_D :[+檏#me$T2TxK6~9v1"inLL'dhp$Nw-,EG|M95xR-fnjFjjM֎L˦v -J@ - )I.W54LSm -\nILhZo5&Sl-/Z aJOqvqwӟTB+;Mރ.`)V  HTB$Ku}TKꍟ ˍ_XO#cksx}ugH}|}^`#v7ou&Sv W9g-drcp60Mxd -flky7HaTi 'Ssrݏj{Rn>(BMQϐ>u3rzьstF^G.Э%7ktk-7YlskՍiD`]fj]9GD#0`uzZ4\:c ڱl0"~S> װ:MzIBl^IVpC§c[ 1YN^CR-sh.d:t0`+ZvOd[=]Ek)hBb[,q$ˡ %v֜ifh6Ǡu&-2x\M:6 7&U:TAm97=Sffrs)7'620Tv3,H2mMz)߳ߦMXkGZTZۋQ o7kd#~ Xi!ps jdcnGR-7\0,7~c>-+7|v>Xcf - mN憞֬ݘ\qi7ܒS(DE(mXA)sk,K<^kpʊ+y&+N1΁<4X|HL}c;̲[-龱ڽA -S;oɕK^&К FF*3aFk 24tL{_yb tP:.F#WPʵ[THpFO|FA-S=mW('ml%0?^-~୎$ʉ;PrXֵđ ,L@@D{ @t뀺#vwtNOݡS~׹Ƈjt.n}Ntl^mP̧YԢL휹EϬDZQIalZ0QhDFZ裨jRC{=Ai^t~du@@ -ihm40FŷvL m4oOM ;6rއq)Bؐ=ܞp{٨d~~w~&,kjT6ǂ%!I4y7ayHu@R}RK Uy%m0Cx| p@i[!|sxOcipÃ.Ȱf&eMM"SjضdIr@HC0V2n[Hӂ%*'6^ʌ'AX/8yX8ZGG%Id)#gC~sF5aNS7Å࡫E>H#sT0/I ,n.~UpN:Wjͅjܶ%T 5e'Uu]w^k4B~$3{^޷clB@^6a}]1[HOFוü[dڤ@嫣b$D/mJR^CȅPOb;*.Cщh#MU@sv&\4 }y.ժ7r_y>ʂ?)rr-Icz6*}S4]yY5Fŝ6:q*GC᜜6?j6 -R _[r$zf ǝmM|1#<;|~l4ȏ"={wFVHyK  ʳ,9= -OH 7ijuf -w7`(Ph&ލFszc8sUbȌ>.ϽuVC@Ģ/h`^g,- )4kEh?3ÍUiY}L)b޳\9ųK!Z_i- J vJ}U_LҐy$ _BApi~`b/-, (`ѥ˔/"Y>/\)(U'r77BGŘMq7D&mʭiM72Ɏj3d@Q<^pkɓ ~W)2;vPPmPk\n$uls:HO@! a,Rs;䣘p4[(^g.۞@ބU #\LFdj4p6Z[Nqt -Jd@:\zwW.37MӢYJ.PX\uشRw*KB -ҘѴϬi' YGP;Ґ7>vA>~z+uRu7zt)*dQ7Hcc< 8Ij4[%Yx)YCH5!,K2Uɏc -X(K* 4g<[ʀ+sp+ۨzI+9 l/빕IVR B-57x0y6MU&/i0KƳUVIɲ9H{3]X+ p$X -b?%$tXlCo` (E;r:lY6u[-q rCvsXҀ2lƽxoJ[ӂ{z޽4 3jA¥D3`ƢBH4pQ{TRE4ͣsJ}r(VCk]׾IgK|csB/k@vdm-\aSUӛ4 {sZ+Imܓ/Yv{Xbix{q;Han}m:OظOɳu[Fh#{gցX8lcz_5GQy'LGΖ æv_v eY)5t2VJMi0YcPe1\1oҩ;"]&:.T 1Vd48x F.V.鉨Vyޖ҅ }_կ5jY F]߭RkQ/߼EPw[Jq\ȪϚO#('^QĖ`4%vAծZĮhO;ƽs]ι -ЗgnH 7W\&Nk;{ȄG.cH "Vs}||[ -ѳH/Ũ6  f~=Kױ?^hݕYАb=Ann >DͿLQ속kk#$nRB˫jVw{- Ra-g\4;5ܫ y nk8"?9 ^Ыڲ[e[S?!BcH:tlzbǺLLot*gk e3Q[Vgpek∗w4wv}Ӹe=hr%$UL -~hg) }3[່B4&̎ݰـMF40H"ȌVk -h? \ - {"rAG&-R@( Vu;+_P>OtՠmA +-|1`ekX Z/XMn;f; @BͱP8VY.G7l<}'+=$]cevd׬ }5r>ؚX։&7M^1f)b6V͘#铴 xf7+no1* -(ճiql*?wZ_\{4TrD魅{ȡװ#Šw䟄dK*ukg&@;]MPC"y'itIH-KI-P0&)j&+{=/zfihZo' }:+oƺ6Gow&TУpht6Sx<2`8%&;t[Zkn߷EUAC89A+bS+DbZ̔m}Vl @AW <|{9N^g -mҤ?g{C.H_J73f{j2<ӫ4L׋ /%*[h]Bܬ} `x(s^ctuӈ#9MY@~Y94I6 - i{ \y@ş@,g*l*Ti>w%|hr@Yvntō+諹#o"ʺ&:\+0#1˖;$: gKqL*:zHRJܮAb _vu=@\19>\ G -6zָȢ~ol*s ǖwdV;ONE:}זs95W4\B,?B@ JuWj @['C.zMPK.4ΆMpEI1}Dig ;EJYW -G)~J-a:c{!{Pzo$0ўA$/睡_*Ò}މ+Ʒ3vq#Օ&YYl& -/by4]Y%l*ӊ' K.PU48Tb(k)|ƟRBq?Mđn5J c±6tI}Tpήp -]Lg E4b@|g /d&rlzSյ?]C}HOO3qQ%?R*f)ˤ8j64B4cCXx-,"j=hNx9l='V!i(1wy*Kϥ?Rie&Iȶ+t%!S)?9%lC3-5Z -1o -Mk45~t.ISWYG%W$Vsa|R*Uù;JH(Ϡ5/'%B!j1-zVg($yfjNp)D+N. Us”a'J؏Ey{~Sk0VTo 4, j@~:̈Zo5iuw1 d宷JUtPiP걏66h1+_ܔ$e"+عŗzLPdQHatg'a߄zr#F6S˔ ,4qH͎w g_qmHWQi)Xז65.3B\QT pd)ԇ<ljo6R;WF^i)m2"_w닱$)0! -3Ca64[Wg[J-R$0HO#*`gE_x]vfvϜsƇrBN7ɳ1fS*?Vk`g >U~|.&2%6`u[`j1C9LkT$O즲s5UgxXuh%@bNf94͢*d8 I8zи#aBy?OYyYMTm.ߏJkJzq'SSυ$/-!f^NK/,}"!>@nlOpxicJLdCO ޸`!ve:BG].Oki^*VIt}jk.ծn5Aq U9l?{_+;\L+ f57LB#>F)Yy0_5yqBb8U-){ ~X͎Ei_V$f` whY{W=q 赲TjKQZz -okwn7mEdWގ~f1<+ UK72 f13C]6ѝw˘\D&ǷGSөPTc - 0(\-ZB; iz& )]oT)& ɟ(zTa^f<+j*dɸ?藱XBo m=g4)=&U͉Cb[a}s*\0a΢#&OpF;y3Yʄ(jCƉpeIK~u֞.yah] ~Tɨb\2G u>)lveZ[6tiGc&%Cgi\sФ+fũYÂ!% r@Bwd/5ĉ {j&x9N߉gޔW2H>% -n@&~R>!}"xiLs؜¥3v8]Q>*߫ey>X@l (yL`2 oh7{%ѪÆ@#gP7^4ڱD{uDEN{9-'4xO -oȲ3.vID%f%PC AB z' \] d(o_KM`͌W0A E~ZW0A+x!JQB Ul@S*~Չl.W:j0Ea~_@ -WBZaӷEOw)+ a{Z~aJ[| qu8kݧ Bkg2*[ULbE }}n#+Tҝs5q+Y7X7{ò'=Ncm*@?To7dY|ڣR,.>Jog\Ao(zĽɲ_@w< 74+\]V lk3XFzA1Fߥ[)!ejS -uk@3v(RwpX -qC F/lDYvoB9W ʚeD]@EqDvQlm7]#ohő̝teVsN^qj`ƕc9ߛ9A_A3]ʲ;$kq<_9l\6ku.?7VCfcKV=z |jw%ѣW7IhMf\;-Ok?,#݇d~$>.? -)egQ@q,>;т0ghq{lDvp@TDTD -QqU!%< 5![/J -zX> Ir f5[5ױkBmLG@fGAnn4ݼ꿥xxb+!B% k(9-S\GuT9 !եce9yF'Rg{+c-*>F*q1hޮm0ϔ]GRZ7,isE9ȅM]dpze kS^[ꢤ+^҈ɲ*Ш@b$vI˅B:((-_2/G2= 𙃍j҄5;ѫ&w]Y 2dՋkbQ5߳A [v@hO,lk@b L6Oٸ1W<(BƢ: 6K$e-^=$d6Jsz9Su>NQLZ.aF'.l[?v{zt]Nt#n˹wMg3V\/^^K1bEvėŮJu7T{oڕF}6{yhr%/! `q]⊊gvmܘn)q"ť -ѝSJ⏹Z.MՍ68C\U?R}8{:Ta=V0 H+3*b\hq{')CfIՏC6 [ĭXRa`-"MDzK7<N9,2"}@b֒inr(D Atx8cc.BY -af6R].L#"%ubihN,*lc|X侂]Y겉MZ0AeM<Ӗaثas -Kva BO V߮Gԉ|U Χń7Ň! ?lnvuf# #yIG* -;{DQ a@:P_ Z*m5Q_VLt_Km*<:ih6 ~)U󲖠K>Qmvc;Ri)^Mwc!{~}Da;tV*9fMVѴ"=0x@Aw[?038^D85eq{^א2K&&,7˜Ru֪gF ο?X *EvGsPinc 1B&ͳCp݄;8 -^))u|nÓ:u]cB j"/Ru\)FȪbj%ԭ2:pMM>ԷdN| /kX=.f//a4ӝz4M,ܞ'PHB~°T\ -A`luѭ9e^*A*bbK좉=]1vrxٙж?8$M4wZ &\.vy%4(I%t_Ϝc{iWILo} -2ycRȪ1P̍MR OcIi+pyF~\'%Mx{7[5AyKFe#+ -[Dώ6cغx3--_qZ~;o9]Jc,c+:J49Y>V0tϱx8J479C|IJY>V0ӌsl%Cg[|D m,c+19G|m屵BK$nzVD]]> -]ˁY0. -jŁǵMo!k&Wm}k] JnG&W2yӠ+>U&з,HnJh~(4d{k -Xx½Vw*/-:1&q"3)JZn0?vcZPcz`.8zj ՄhͱW @$]EDlE5mZR7JߚN~|c-K0F3/|1TپDRF;;Rbn8Ö!NO٫I5>TlQ2>ܑHreAN䩿bM &3`WiZxmG,~59p%]uzYKgr2$ELh@?)F!:@/rEgN+ԣ<C>j8ttCPNLOd[qaW9O֚ 6遤,Ӷ0(P8˶%(u5Sse5kt;ּ<çyy' G -Ne;=d/OY=w0HTlM:!سl1~AnFΤfTfU>`jJ* Qm'c2*NJ,s'|YCַ'A ,adE(c//CuT7MA1FH&YHn{  S\PQo8 -0|F;)['K!G@jUt~5٥(fى"b\8ޛWD[DYI"BNM̖0G|~-,{UqЍ*Du7vi_0?IUA|f׋!.~ƸRy1i'Df&3Ϛ/CM@|mאXbDUL?[1%k h'Ty ۃ_Hf㳚%RX3jfI=<+OtrAb䅳7:Jll-`Xa -[rx /N*\&oVLJ2c]ہdfYZ,`V*ALb3?,1SԛxyZU}-9 6P$g66 1 -PlĊ"aĶcCi0#Qr H0Dw$igy ֪ߐ>& -C/I!]Eս(C:iSfN=}_sxUoҺr -.9qZÜHa$n@ S$}t 9Ċ.}؛0Pinl)/E%)"wY)@ߜy=uM~ix5yG ܶi}cA )MU[U^/mN΃.{u=^7[״S=~+$cZ˘ /ap)mxiڻux :D6?M92kcNDߡ@w#aγB9|8qs.g3˸Cg4L-p/s`U:z T@| -I` -2h7}uB077|l5ckMMqѾ_[{}lÛM$ooh߉qi}a.LL\mĂy{X`GAb ^H  -xj˴^a??tLoijWx/[|.:q@u?TrA3º; -ݎ`[ |g23s 0յ:Co'B3OCCihMf|hgέ/\-ioIKK -iTN~BڱSzW LMj<^'E>B cPeSrN ֢pJ>PK.D=4Z\Bϊ%VrklБmgK-0ZL K6)7W H4[hH{ESdprM+$zKc8N[U6\DiaNɺfW4+ㅋW*bz8r/)f/bW #Gu>4x܉3}rꥤ|=pɐVy6Dܵ kn*YvW(K{YQ)-xRP!rRԗ!3H_R~i6܀oꨙf~LS\(ktoi4V݃rRټe FGu 2d4S -hH~D8d#1JHxUQ%q( 3bF5?5_FVFA/ﰇȭ?Qv ]ʯ޺h4A>/QfK 0NJ_"7!o1*חZ%й@9[U΋q< .p_lS?Og\f򭨲4;yk(GM>hʆ& T1"|R^ ]y7傓OF5 ^O.NK"hw*IE6փ[|}PU]4B*@IYͷCen'$l@ie=|9D< u1*XZu,HjbCʓ_{O9N cx§i.!y]nOzID'&<[Ū_7 _F]þHFʷ@n#, -- _О޺RHAP[Z6ڍZEv$,"ї>kC}O;VMe+2Q֥I=5ʖT,kgp((L0Sz%Axv*/]ak%Ë:>H "3pT:Z2Thz8/z+f󻶲z{?G(ascds[R䗹7rh,xBM$o4P*eyg6g)G&Pf_]C5kV<Q df~"~B.<xGH~G0SocV 7 -@oj',څ>]*1CuSE-ҋ5EPqdhv̇NSn5ZZJaIyf+5/WnwAQkz(˕\;?"FF,A -w_ b/pLb?tUg 8EBgXd7 -?7[8.gǁ΀YF;=sߐ4M7e;} -)eixG$AgaM<2w- )e(2[<T&R}M7#y`@}*MYb\ A z:۹yuJfZN(>lPG &`cslI1L1Ҟ-*ۥexIA *bqMnJʮ -HuMB'Y_ =[}fe2#?R8Ɐ2 -endstream endobj 177 0 obj <>stream -HW]o\}2Ph$(lQE!(:XI #{n"Q{3ΙkT;aev*L:(T90o>?>zq//>^&;8>/x2wY)NPdLQ|z+V*cwl>mI ,C0Zxe6V+M~27#ɋemS cD vgvX"yiB(1MFy$7!@IѢb P2g'cLqb9ۉ }!5z #N[> q*5dȵJrf%6{o#(\- -!+P?-~_C.S0cV CLL:R$bg?_֯6Ji 6 * !L^88n⠔\7D& ~|=aAI_>m^_BR%T1h?-DH=9 r4h] >ajd—", - ڀ<) ˁ# ^"^B+~{}D9xwÿd߉ӫOF[ zć]! sn'ĄZ -ԣjA^M}/Z|P+Yivo*.+t62*#^P|vs)3)L):.ZFmk -rI4aٖHx2e;?"è*b1lU( =-¨Hznώn5"øQi*m]ؖCFzeAlԺx u -i" bة! (rl݅U OĠ+لeˠъAŀ@'1Ri0Ũ[h5JÁ`G%w855R1I1thA4Kɻvs}i J7 -GyL3"]S qbeM3x?E&>Hl2tE ΑA xF>H0]))c*+Ç(v-3N.! Iux>_破Hhqu*Y=tFnh8O.ǚ]5RUZƨ~!:&DAϑbx9czAHR`k -^g\S0V= BvzV,RW -7yRd6T$0jB%(J=0^ iaBo菸~e%h?~o*4FY;=Xd"CdB+Ba Xăv{gt:y%fxT&E'p&E'VpF w#y^'܃e'}$ߵ{`FTFz }C7 T2.oTvMR{R:e$0$e -hF0Pt6 P\SFQ`Wa莦 iWC܍SPQ: TC0pcb񏑨@5Α蝛Ǧ< - Zi -We PoB Ov5恁l<0#`L@?9umdLj$s u[86]^XIbyP 1cl-z =F3trHHq4,l_UMVϱmEQQڀ$嚋g[D`M*wQp:t\ `r -d{gHL0 ZYXP]Mw>ǥk|ý_ `7 r<8υ2BT[S|ڢ -tJUle#hM0 ^ uImӲF[SK>-|ɶ}ߑoO)€W$E^ax G E*!y. " 7"\D!y.Rq=vm\, c.N`˕~ΧF]sȐ;_rquő_1VUW`T$ W#140yi}Rc&)ΐIcb/ iӤ4 -ƘVZ?ƤiѴ8( >g}3^3|^{sOe, %>!C0#&4: -ְ[gB>BD*D{DxF!c}5e5 YI𴃄AA  IT}@$.4DYK'`M\V79; !>ic\ |8TY# [+;8"m8ܠ+H,}?R[3^< -CmMLM4-XF*㊣Y+Sjz+Sa&qD%3q1AD6}z#_gf$u]HG`\BC?.nzӌ8=P) 4Gr67n)yj]ffUsRX-%0'3p3 yᖒUsYí$Rn)Z-%v^+;GO'g@ tž,P1[^XS62Sކ+.4\:W$yf1؈ݟ];yj.4^i(IF Ro/ok`/oof: q< Fɐq"aF!ؽ"x={JӪ`tN@XEc:a Ŵb2K#Ap4eu1=Rx-Ra!N@;Жe,*'#],4R q BByU!b *BE$SG9HKEY 5^ZB.4MV*+Li5})mȆ_Ҫ\DНmTփK[TI\ Z.y=E՜pK):I DfN"kT՜dhK鬹%[Jip+iEfyIH'5\L5q.# ' nf3B]02*5;pTb1Sה"dG☧hkʃHDhdK~*Wzr 8 -~GRJ[vI¨-; -; -Kk*+Ŷ8Hl_mZk)7FRl,դؘ^gWjJcݘTI*M [ ^LJM2fEm77܂,ٓO-d[#T$ KMn)P5'[ʩn{άvvo/t/(4^(ivx=[ϤXmm۞bQ7o7-0Ro*Eԥ@pP=HWbZjqPf`@F$䬋HES iik0E*QHweITBA 0p1x-̼pi0S臜p>BUW"Z#RO @xLHe:Pb)q 8ih7j5nlER{i*Z\E [=5G k +F@TӠvv(C%NtD\|9DfK/(bQ^8H$b\nI\Ds5 O2I.**o,[9 J- 7&,YRaۈb)p$CPb`2,)/1`b#8o5 '-j8Y8۰8! ,K9(L8v뜡/1^Q\난wB!q"$YXA2cAHj ["cP|dLQJ8k粺٭m:m"UB񞂫)칡i{FFajOоP:|0 A& ؀A0}] -u,38DP'`-o:EìI6%lz.O'`6'='`]W90ˀ1?Q !<ˡq2%B` -CB5A Bp**DggZ:L9 ~HQ I: ]3z~|3<8UըzF9ڎ;^=v ò_=o^Scxk$]3,BP/? -EZ/?V;?= -nɲ}rh 9SۼPsɭY>?vqG[h$ wvv.CgV Vwuu6NGgWϢ%{A'UXؽh=|pphhh' >⾻*݋޻G>8YzήEKZjCu˖Yٲy3Ok^lqޤgɽ֮߰md}L5yxyޤk57{G#_?'޽h0roS9y❷8X5x%ݝwé?칌=sxd'׬=+>5g_L^?=>=xށ۰7W.2uO?xMdpWi,d=賯<=}Փ~w̆)gƲ!eq׮g/?skL;yvrjڏ72ɳ'Ol5N?uٔq}҅s4VPFhp~fę\ɛ2|3yı w.gw~w5g_~_6xO˩/}_Q3_i#x01 ,ۻH4TZA:{>0^_iUBE\ZP[)Bxi%z%҉s򂜈znL2״!Wf;eGǟTK\sf։]/^_?]}~WN׉`->Ώ~?ym}]˟~w_+kQm8򗾚|g?[\j{3N?];Sf<7;w3.|vE/ǾHpelt䍋p/Y>Gvio@vԙWGӼE u?v~餓Q'^qPWlY/4?,V~xs#U_k,3H"CMmi-{"dWVMW ^^ʷwwvjSa{8I IID$&HCoppC?Q ơg -q;}O{x:NpwYN^Ѝ|r2 d@I; wSTMlZITESEXLU^,_RG(6B1]vzԶ x79I:S$-lBlJ$YrQb!xXJvWMdt9LӮ xvHSB7B/ y91İp>qE(l΀bZy6P-?# Gj},r,l ThN{i:yy^ 7qx= Vhp@w!2s`r -bTs“|$ '#e"<⮤+ȓ ҫ<9>H7 z.93KI>AWIuR>7CW6C|r]$9I=ڤ!K=H3w{]\}xs2IVgSe{"=&F*HuqJTT< -TTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTTT<,rAJ<,㨳yS='>Q'<ȃUt騂=13Ά)c-O9C8N8 ƚC0zRFQORTC('LF}`[,mV]Z--TP]`57Y::.8 - .Gg\k(ӛv'F4DpO7goo6:yc]S# #)QL Mu UzeU s3Si?hP& ;01=հ0?=!F[:ckٕյ k+kXwgKAHZ=|M ;[׳BBukVWxdjae^.wKE.{cseaj$jjԫk662:{{?"߿83aۨꂣESKk{wi84rֆr8A><'j\O|F8Ph ֝J;#=iw#C厨8A><'F5݃{m-ͦTY\ڽQZ]mTZ]ᑩ{-͕18zͭ흛v6g'4A;]Y][а6uw$GhrV: }Ua,`anvfj2-$;tƺvG0FFSV!!:ڛD&ss G h$ۛ&4 8dtX<*&sADjlYv@hk4Ru&CuGMD=IQ (0ZtzXsF^S -t'c:ѱΊýL$$a P^_$I"J$СHM88(|d3x$8w<~;:8qr(ԋcb0DXWƠ;>OXI]R^krXE<%ET/)C(6B1]vzԶ x79I:So$-lBYUxlBٵ)DJ"jEx\nwD&M ;7'e0 WQAJvmsQ<!@QMtRz "+nչgTUM]7j^'&8X!=G6AE rXkJzA8 Ң'حD%/ JKc8WtT1Y -E{u>&6B*C*'I߲LQ3%3m`SH -endstream endobj 178 0 obj <>stream -H}lU6%,_4-l;-]v]:0ۊe)w]e]bd321,3G @p5? K`@wYy11F7#?RcMYaXgN T…4\Q0ZS+QӄBIQTbP[B$LZ#9BpMh%)JDIx1!AU -Tx~\hQb)} 1# $(@^$?0m-51zU -dXKdM\H-XNhxc5%e#B7TU~vcDp.MjBkZB ^X6*s"k5"Hj,lL$1" G閕`U¹UIT;sEi`i-gՌ6yjVXp $1r^Rsb,"sF[a4Z -if) RÔ+(SnwuR=u6VE.IVx3[VE6=ѪDR1Bòشt CVH3[!V>N=晊LEJ :s2<>9 Lpgk[ x#.z­1tZj}fbB[Ԧͥ(XPuzZ٢$q5Ȫ@|Ѣ\Esؐ#sf=d_q^q* fw| @D0* x`vw c䴡mViPmmoSE/x~<܆Lâ0a)pwAs)bWI\U} -X][]kwU޵ʻgy1wfr|nrt}fv9r }xچ!96095ѝVNl^WAo6pH( zƨusˆ??IOB8i:(zw!9ooj[pşn6zb|9~v t{yc?|AHϽ/}7kM~z?|ءݷu:\ 8W޺'Ë>ԫι~|(qz~?ͬ_x]ϟ=w'㳋(+:~3utuY0 N6Co}ǗM{5kp8 ^kvjz+Zɐf<*繱X״XrΩkxrzF:4ʼnI}SvMNok-SxՐCVl=pam1[' Nw0u=Be&PqpbTB}UTC^M@3FEƲ>/IJeQ6/˜Zٌ 6HD4$<$z0}nN- wjqIidZulsUL:Դoy# PpNN[07Q - p F*¨iWFBS!T2%FL+@,B\!EKgcPP`WYg 53Jc5u, "?;NCEUsH%ʢۉ-9(ɯ[hV[P[y(rTe;QԬte}PB{b3WĦfC/}pw=KrV;hf Y`ؒ ycoKR NYpJP*PPt@Y(V|(Ó4"$E'h*QUVtEši`@p$PY21@[~CV1kQB)XVdV% 8 Y)vZoK2w -Tq&TNQ {6\N$q&^0bIG]+=W<nj"k]',R`cՎ<[m}k4] -'VAYhw!{.C=lTcjF|`H CeHf({?EBrfI0Vb0Y6;OcKsmf~ٞV˻(u`vAnIE[e]uvV*ZE\kq"clE\۱r<+ OCrl`rj;ݭ69>;71 l/G -_V%,EPa7`] ݗIOB8i:(zw!)WGk:֮ͧ\2F+G%k:~ԉot3<ԯ~KCG~|[yt߭78y{ޟ~y=@J~>xO~c3N ˻g 7kG7_{KۮZLoЏG]^Y~{;kHWܵs}pZlz|_| VMoEsp&o&Dϫ -w)`A\X޶LH3?{R|i +m!dNgtҴ ]QQWJպЅ`]hbAWR7zj{g8CV̝tu/AP~8;Az !B\tǝR@b 8RDB HIYJ 8feѺ,rǍLm-q,4IDwp4@GCEߨmHߨD Y јNCd`~`G?%y>:E5Ƀ@p5ag;у۰q>b=LhApt(YtH=E=r=b DIT\^qq# =B&9 CDVtBj{U[j##:}W* ?/sYN)^!BTWDeQsT0&˲&c:&_aLwc?N$o«֛RXd6I/";a`C&5cD~>D~kɹ#հˆ+ܷ޵#+q18J^97#Kϫ{TqR,yU;>Կ7Ӎtc0LR;>~^:R76׏oK6D)dz$0ƣXTs}иϾZM]_?S[m@¸,QL9zt,`gyB?p-\}W|pq=~7>~W~};sWϯ<>7³O~ւ{[oW}u!j_}|7?'݇;韯W^N[gg~/~Cf?ɳ?{ŧ?̗@k;[/فy[?ۓ>xn qELT8~ht ap'>氰yty+; 767._غ4x|f[c28 ~O5sf{)ȗ+`ᰰtGOmCgȊErCRڀ~8;  ! +-G@c3рvv}:€id͙2`vTa$҄ira)V_S2hN((YLC+LX"`N;&um4L0LM0U`&wq8R#`kFp;QJԋ@&bhl 2;RǂykB4na!8=!Ӡwi8FYGWAQ/P7)bB - qhd`H` +a?ԮTFC", GjeP㯗8@rHCb/yA73ZzY-U):ŧ=j]kq"nV\ -gPwx JC*jc Hr&IP)9gH)8ns|2ۖшxՅJMjJv^%/iu-׾E@6G!c[tg{w85ȿMjxyD?(0mhtdCCkC"zN4rdֲ!*hbN$$HE9x\D+ -IM` 8W2^"H9Vʤ aL*$J<4r`!)́2@® D̗;ىT9$h#w/p_ 1Ԍvs~2CoU=&+4]{W`?NyTć%n~]rzL&$j|9FdQB)G[^+e_zJ%"14)Y;8;Z !/RhnVl~lfA5*zYl%R۹s^SUI%_QDQԢоh#=*ɾ8bX -} -ks badC=_cэ*$-(+ %aarA)1*&2V *3+` ! L8lL! ډ7&iF@oB}ȵꉀ=ZZGsmۄclQ5Y?($.c:b4=׬N<ƿ8U*LmheVۯe_;S hC HwI ؛#.Ƙdx7* -(JLSR}f{u -"d`3 C|3pp?Eb[ rGiq0oO֘R@Ȫ!hidtA0Q+?#!TŒ^Vމx8W䙦,k, k4je,e+ҟM25 z@^$@b\cT2d*zFU*vn"Jwí54Q' I?އFr}6EI&[5_i_/+)";q"iqRJ %/KA7E PBjjMycjiOm:nWlyiFYƺRb]ф*sHr,IbKP)9gH)H{+̱UW)/[](ޤ>a.XBF]ׂpˋ"fաZ fb<΃I%/k0Si6(:̙803؛@iPR[[}IK|m'SX_}q}]1a3|Zk{o]GBݳzd*raCv"1? {$sFӴб&S"+^<@kt yR 7]NYGQ0-dxH]q-r?!~5v1G^<ƻK_S%ST]"p1β -ҙ>s,%8R\ĻjL)){z(kLWBZJ/ai%"6` Io4-4RkkacS=D1ZN!KBw `QW7vqfoi+Zϴ5v}dڬ41t(FJ?4+\7lXax_9P"ȾgzHgMBÚLORJǤٗ3/9ImBB:JAh)g[@8! ,DG"D%0P2 -;v[B$n{wQ诫^~],.ٶ١[lssg@5יYvYl~Ə<;~_DsOg+~>ڙzltv=bn/G`#{)@m{2ߎt*>ug֑֗ѹ](;4ܰ>7w㆕\ބM\|=}t+|kܜ¥}k]aO_/߼=e߿o՟[1ʻ;/?fο}? ԯ^:K@u0WEp~?ñ<>]}ʇZ~ƕ^{+oCکǞҥV^zD y#g<وm805|_Z6^Wy'>zEprA$SHKW@[&|?~flϾ"۹{zz26ܙhwCSg3s?9y3u̎M_L_@@(%ީ̏ lp%z\to=F|:Qy 7P7 -=ʰ؀cn -ZBT/V:熴ibjP(=+KХ2K汪r5f@3:hL f k%JKI'H"!h>EH]\%ف!)?x 8 -Pts'5"@A6~lh.PZF‰ʒOH좇C\~#l7p3S_kYxv[%en ;z\h_x 7_|M/\>^zv\PQ'O8|Voٻ޳z㖍kzoQU/۷Z7nQB ̎3%}Sjd bdj733ǐtv{{8t,c&΁̙xB͚nQMMOe -l0kF>OЀTfGjV4KS̓T 81SҵiNGjV4ucT|eWDRš)ݾyܾ_62Ygm6)Pq4h:l._\w76,ܞzH 5Xf`I ˙ 1P pDYĝ96@zQ( -6L9?@1]0!PdPUD[nYMq!p -@ Eri'T,Be)A/DNu -ms09~Ѓ dRAA^۵R+ X!RE<_eIAD@A>x2q w d#pP`E34s8>PV\#D -0t5i T5i%Y:J*k ʹ{R\ tZ]6FYGW@GkTq%dخE).xJ;Wd-/ dᅤ@++,pEhM< eWUoTA@[tH`DXC1@\(Je3aBisY@W+GaJZ@޴60H{ 9^߭XW2jDSאMazc88#RWQul0>CZǖD8SrdU5$iMP!!DU -T5(%%R(ВmEDH R* -UN}=EPIX$aG`"D9#yh*1Pź1 $N3D"l829)olwĂ}XKj KS,SS ͉s>3@AZM 5'` -ԥ; b;+FW^r67v$͉^"3RP&n8P*}UJ_UWU76S,S̼"N5ڀ9W7N艝[]r}?}_ZO]D?:s\soxl0ID!!`&a -9TiJ]ƹ "$0qi‚(4`0y+c\^ǒ! L8?~l1IqI R> .$`[ Hs<8WԢmHFel5%;͢ @Z(b40,ʂk Ad-AfOӢP˼X+5eBH3xL") `D $}\ye`Lh@5M? - e7ce -cv6:AQ)5=Nя If ҽ#)CChl@(:\ ɍD+@AQ+DGD0lw 1mh),FЊn7Rsсn^8 -T`+v[cM{d7ʓ? א-iጟN@PnTX8י+&r^_^V'SH_p*έ1.O!H.O -_[fQVpذ0WO^ ]Pj)Z5^ݓ[rYtÇ1s]S=p|q3u]52ow4Љs>vꅳG޿Z,p;W>Ok -3o_gׯ.nں}?.·k]1G~=pzk载˿=u*Zx٧wԧ2V.m7l|> .[ݳԓY - 8 &^ڍFFȺ1pFAG̝[M:$l"I6ݽLo?oAHM V[L}~"tG"B4ᇡ /ø1'~Jnxf>)=,S>&"3TXn0"ϬkSi1!1JM+93M%Է397׷{{/W~倾k;~uNu 7|!=tԓ/?O}l4O~~酧6fO;̓]mCgz⋼iqw7'g{rf:1z{W@snÇ4aZ|P#ˋ}E`whxhlj:,݉M{tdxڿ" f? , |;yˊхPDo{IOOEo_ߖNWvON",T Z4N:)ª -iJIBLtiFzBzGf* "tעDFu2'maY"빀3T0ZxQ&(MF:EmU]. fbCL,VUY1TՊ؍W:0 4:RQF;Cں똢SRӁ*GZ_z@eKSzh;InXgbF7;.$c!xJml"dA^ c`iϬUQ@ฎ-`d)p͑T,grApX -2GӐ1F$'r$K )Sα'!]b"ƕTz)6_-Tx"VE*dA*ddw B۠@1EWr`x9L41M@`;#$-('O iJ" !1$X%D2ga-6ҊvFbEP&Op m^ޞ抓%`!4AR -"[x¼ .!CECHc=yţYD2P11f}B@oPV~ J ˣ wq)] 33])uKDFD{ -o_1l{/|0jH\56ʇJ:*w{/&hS^\tLi|FƈHlRUmkNE1,T  -U]-V4!F)|-Vm0KD 3V1LaifFb!1QnSh͊E|*Ct]-FB|yc}21. vm>rYT 0- -=Vp?}VR6<(8K - ㋂"NQ&L_k -}#=J^¤Bf? -xt" VDr.,؜!GZBh~Wt+$IّD tTM# Z \L Eo(]J %t@.v{&w + %/"Z!!|7ZsbK;IXpI HCYҡBT,)7XKP ̧ U-eV/ Q nCR[g3nsÑc@nFb!PXc!M;c9Er#t`,*fn>S-ZO+/9)WrtdfSh)! -V]=8cQ7l:H\dj?mSy6O)~v3vFw`M?2zzБ}[ gwhh;NbSĖ%>QEKO"L.46|HؼE/TӸw;qhlL<465pxā&=:<G TXrvY eB7SAzָihd47Biws5g/:B2LJ2 }*hJ3 yP M0 ,;kI8i@ᕰDiOe4y 4T~FL YI|lǢԋf.CsuMgFvxLVynrܘ?IbHӕ1R^BZOrk^`1Q~Cɡef[% .LQ95?'0gۛ~k[a7xpߕ![t`nQU1nT$hPU:CXUJJh elv(ܵm˦i0iƅiMň?Na {1G=PlRnvsSfx>W4iW?!'83~͟j׭}rvyZ`N뀆QPۅ1mE ⫈LJέBv?R꥚+΋ LL Ą%IeYrP&1玥QJ;悻s fs8RnsKh,J+cZ&rS.(( -_Χ}[a/' CtUP[Ts?hE1<q]EJtyꮱI3;Xw]#gx ' 㵂/kԄN -8+ktq5.BKMt@2 +a+F8?FA/dCQϓ -endstream endobj 179 0 obj <>stream -H}LSWǧP--خ7JyQ*DEHS+/JZP|e6M{{s%=rӤc--w[]&co֝ y}v9 hpMx9P1!|h‹JNR-.%4:lfLPb2JG,|尘 Qh}1  s(B,"*mB%ҰH@DTm"&/ IJM.(aQa.s"L&$e3 L}FZRV.} R Fi7mޕoܲI%p4b?ɔq|sqYR^Vl1)e"> !<Ϊ?+Ĥʄ켂֚cu'O,NOPJ1!gTyxRO8*.}vtә斖3MJ;ā>lᴈ1~pmjƳ]==]gO.3fjE~\&m"a Ql2oj<{վ+;ۚ6)$9ba-9M_\v}pxddxK=_6lцaթם - 2ml<0tstl||l垶ƣ3"չ`1(4 Q⪚/ ޙ|`rγVsvRCfU`ZRMڮ ޽?GS];~xWF&6ZEg b3rˎ5u^y'O>yxMr3bÂlcq`:}~yݙ+SO=l3uz]&`#*O/+4ZN6w M>z/|p_wI13>RAK?2+[z?x<_x>՞Jݪеpi]KuJqtƵ;wQخ=\|s 7R\|#zϵ+XN-i*3nEq^c=;Ͷ"+dH5(Jƶ/y4@^s`q &>GPDk0Zg -y&ZU*J XЯV`2zh*b1j9Xw*GSڛSkoUj] 6{Q(Duu3M\;c>>S9jv|Evʰ=ılJ+-*TG8/Z!8bĔˉTÜœadAǬU>@8&* f*aQ9UҊXa&Z:"롢BSf}Mg T`:e}vmo$5gĮ!dzEq㔢 - @|VS`*S(L;-Y|Ѷrb*|j`'aѠ(_%q2&V.=|B J? L ̚ IILlILlILlLlLlLlLlLlLlLlJہ,//Ҏ LlakEㆉa`dU$&&y}05 C_Ka0↡v\zq9nj-ㆹ"U084L;S@ ?u֭(Kp~x#8n(7q{Ս+R({4:A%tK|OGa0Qv#x=6 e2:s1Gb{>_!m|>|7D>شҙ,o@D!!n$$D$‚7I.b0  C#("G(X6K` -HZOHLFuZ"R pY `sK$`A(Mt}!+k2dS7idABA̷ P/XOٚ'hg6wf>1oON֔xu$؏B(W,&w -K+CnY+K M;I(Ie/%)v+n8F>d퇇*Kޖ+ -8 9I,%M[d9RZ6Z5iCKެmD?E,LT7Xl[l;~֯: .\t }U秎ۊ6d98.~r㛋e^e8Ip8y?F}lxck~ƭ[ŹEnݺO?\jmld6r.E2ihدݽwoMܻw_~1Ps`O.B$#w! -h C'&cjۘɉCbܖџˤQ"pPh(oD{PylIHBB ! " IH@D@+>`1< D gŢNQ^@}LvtsSuڇکS[p-=yꑍ/3a|g7gw>u[w{~OSwm%-!B.B%P3gWpgsQ@o{t޸zӽW+xaJMbyQֶcwO_?M%>o/}v`;uMJ ɝ"%Sl]/7$=/eӇ}w9I1Ȗ%-˒X+^lmj9xw޻]>uZ pK6.ӊjnk?y{}=}o_p}ڢiFb]ݖ{<$0un-fN~c;2I)o?tSN/啅St -1:Kmo;v}ڶ[Z?W!v좚U[8{77nQ n|sZ7)N q="( Sf-mjss\F͵uvsgܴlCR"@;7BK1W79qƵ M]G[۫9)q*9J  1Tۛ6(>w&{uI~Ax=#&جUZSfAImM-;wCٞݻv4oZVURiҪ`xuNT'gViomhZVSVG*CD2Ls -XXc]bo(j-,\007݄1xBL&/ -UO0d2/]`QŲt~yVANFa:4HS$' -AJU4nHNΝO!yy3r2R xJ$p ϩtL&C#4x1)yb$JIdk5@J5g9f ǼEtx-nHLzmBBV:cM8<njFΨ'<-GNkH-Ӛ&W(AHp>׻pF8wȨō+n]+TKp\#tw8s3t^@7 Qd60ufKJ'2[-XK&i\"WէsRꈘktϘwgAl@fqӲ4{ḇWUFa -l*,NX\VYm*/-(ͭ\YhUl-[[1)>1\;1%\o8<2y^YUmu-n0YY;)tF,Ocz&F?F,Xdc8PUE$$,>NImzZyFlU_+==xO -`${ I^H[z/zW6cƨC3 32!'R[(tb򛦮y>}w/_=sŴXokEq$]WԵ+lj^}_?zt3Z|l%A- g_6k37_?}z}kg')IpҷK(阽n[O~_?}zu;Jlt"YY?cPmd]X?4N_]]s8ٻ/?~Ǘwn?~ngiH$V]Is C@@WY XuF .5kTר  -endstream endobj 180 0 obj <>stream -HW{PT^ d/{qRvUZ`Ԛh>ҚLI1mG:m:N3hX1>ZGi3;.`Bf2pav}sn]p?~kN?cC{]yaȰC| !CEƥ)(,D QA :vʊ:uAmرOTWD<~ܣ?n۰P]fTדP*j}G;޺ѣwn]<67AZPYS׿fΣ^_wM)J BSf׶߽ѹn޾7载k]X6FbS2Kk|>|pϞS2s3RmafW3`2¤\3f͘6u9Y) 1!Wn%gs/J(`0>+cDr|tdxp+ٰdTL|RڨYsrrgG$'m*Ȃa3F52-%)>aOLLJJNJJLL(D`а[d=ZQQp!ztw -#R)!pHB1ח@@~57xeghLwv[,-Yׂmev[RΥvCűnԿj7X^iaIA)iY&LY,c -KͳhaQUTA=D*k +Pm$aʐ$V5e8Z -EE+&P2bHG0\+0nd*'g8[ fwJj"M"Pv&ZUHUQVxBRY[qS6R\TAy1dC8=:oX-k{=%ޕVkf͂zdĨi)vB" -9"fxX+ı,E5) -# txQ ʱH,V/ bDb eQeq4D9PY_T󻉲yJbx C"-qhN.萛28 dAE?ҿ[p =Ih/Ȗ@l@Fot, b "DőEʤ0)S +SCpWUs zl2xAUaeL_ -Ewp05b"Ւ#Q&P~2!1% "8ɞ+\9?$3If#:+)Vf҇rMIVEu 6&LjX#[aT@yT N"샀)2W!җG] j`aW\bA}Sme3Lڗ:ߝ,[J<&!4 {@mI):MUJ/b./M)i: dS_.ϹuOCHuue$iH1 %%>m Җ,4E,<E(kJ̧A>CURZ*C:"vSqKz@ -Ӓ pmSme:J+mCGYB |BsZj񥶡Tp!C涵v-ZGs3ƼotT(rڶUP4%>$TGI3j騭P8 -:3%>cf_oQ]"Qx -)52AHs>kNR7ÏZvZ -oDb~Е'?@Fߐ]"AB -Rn.M ћz1K4yVKg$A2-ZÇb RuCMfr*oD_(LNTSNU81:=d_S *~fn(¶]eUND,T+;kd2 *|OO'AjL_aG{`eQ,FDѰ ADBҪR -?TPIiь|TMx19âԠj-ԡo@P!ʹة xAE>HCPѐ6/zA>% MByF(k/'A>CTmTZ5 -{zEPw'4Pr! N'K*6:|vKhjJj!B߾TUT)^Q,+*]8sG/N*mKT 'ZL\ -Ĺ -j&0U-p1$Jyn伦b9U9!PiV!X 6`z -)AuOSԯ>!TH[9 5Ux%iDa*zbīz#nzD:߽[O\(ɋsPXE"aOmg#"fxqވZh0%W1ތݫU0|S[*SS" ?W}ܜnLQ5cG iV5 /qB` 3lOO'V ־K{KIіk!ߥ) -D~#Ɣ`NI(2r 1Hd|jPȘ0Na} VjHMMhP,kw8Em>Y}irRd>y ,??PYp!mў:§n aY'̇~0ðͰ,C`%ߧZ1u긧0~ /jEFlNl.:Xl븳nJp8,>a Y*6pڸmBq>9w' $tKcP8qpXkUα`Uq 3:RaF.ut0ҼT`8Lhs0yK& Pd0& Ͻq0ܑ"gJNw0f_ׯ{S?LLUƱ1 -u:2b ]6b)\B̏'/F]B%kZeOjc=oN| U9tV -{As4Y>J=G' S]q4M]{DpXVΎMlzR4Kct"i!Flc09`t -~bti S6Mjv/ۧq$Z=[66C ̆#N>yzطn)JS ct^׃%ӭ?{|vZ`<-koiE6>6s7?^]_u4gi~9=/o^_]? z@2O}^~1Ă`p9>~06Hq?2~y/t{xӈw^^~8gzto>?_;zG<1!E=zmc νu4@͐%VvH%i=CrK[~$2 ÙٳsVz< 6 &߾t#Қ.ŨĂsIm;v\Sv%f3]h{sǴ ~QqD rwrTbA$ kUoO7ըHoZ;O4_VQyxAh~j>n6^9GO*SEªLjզӕ_{!B -;w4,CG7֣TRuvjLRQx08m?ޭv^tExuR㳐:ҝ\yUgeTQ%cØqR]vQYFeeTQYF=֫YFQ VGO)tB5niUs"[ӟ{ĺXٳyb'&˼.˻ϑ1no@&뻬Hd}]wY=W}_?i)@H7맬~5I{+)Ù~)맬~<OhbT|T?'OjoLet ;Zs}fuucJ:;먬:(VlI"J*'uTPRb/%WRiγ:ڝ֫m^nZ*kϒܱr;a]RYJTRYJe)L VbbZRH[7VvR: K RX`K`'ϩRj:ި 8+QĴdJ0\6JU*oe6 flaKgkR9LƐQ5k99c<o-oo59S"yl4Y૖\6RepmE(O[ fJ'e_V|G)(2:÷0R v.l N"nrOh-j;&`hS@)T~3ujo+&?Ţo*zY i-^1T^tIwc'|aBh4jʝ.^EG9iaB ?h3x&|sEzz1>(8~92i-#|듳vei]hd.O%"z}Y]a )x?Xq*'U-)&/;zce-x{= - /i,3pVJh)PHL+> 4v ͡Y=pzF끞zgk NhNSRYq~Hjiדg0'5 (k2%ŇzJ<'_ - -PZ5Xb@iK8-ňnZlb,U IAC$5%Å!qи- &ۇҔ,ѮLUD(WiO 1Z_fMi>ǡ.(HF#Z\7(K0F0=zFtt IAJ0w#g4r-OG4 kF4NKF4 Χ#aRDq|vo M)ܥR>z6Nh4\Lv?)%ZbJ&48 -@ėJ53 ʌ76P5ѫ8E "h=y\$=}:ff\ĠQ S@D#42<&h_kZq\d𶻘C2>SNi,\z)gXY>.ݔrV#HZ)H+b iXszI+&F1'V"oRZ@V"k@Z񙞵: gwG -E -$3Mh+#V,Xcz~F'"5}xzzА{񖐨Cs(Cs@\ Ӗ0 Z(*Yl9]%:m9oj&hKmD-ʹ Qa.;votxN!̀z$M;?z)y;4%'vҔoGҶL!1*߼&@

    ~8C;C|֎a1AB\3sto SL- F'8zGU)7Y$%zݜLJш5]N,JS~x9M$m1f"EAoؚMs[ $'/ъrP[L3^ =n8'#F|dZ 4%AN~=X%ESpC|IC2)(n&jG\Q?Q'a=֌__V՗K֧\W7m|uo7uFP,"@0ߜxo|}ny3她|YPy8ª{ǧ5Ljp -[| y{_ϫ}2grW-vn[m瓺>],uDU>V}J~u OZwxj11q֫m^n |`ňo_:iMۋbTb֋j;);ڇj.c=䎭W8 FY[9FۃqQ5vԓ7U=Y,VK"jz< Ҽ~v[G噚DOc>& ףͪ=|{|T>M 2}3OW mLe^HzuD0?:{(Tݰp-#Sa%:O ]Q=Rjz78xT[z\б݂N]N+:Z݁j]ϫgA]t%_.mAya^m>rK)C!%DPJ i!9׷lbfdho?w1Xj'B'B'B'B'B'Bn ]+LhTNR -7FF{TޣRQyveţģģ^cQDJDj:EDDDިH9]م ',N+ p8$V衊*:Nres}VRz"]C< 7 D8q%H!$V*PE\բok-ڵV -res\5JB1B*wOaCmw>0Nc>Fc~5}\5ʹwC߾Crε:fS_i̻xC9/^0FyCS)};]t_{x`nQ/vⓍ;d۔Zۮ' Ʀ xfc~oת>Ur^.&"3m'HvlD%I5l,}bH3&j|+e -endstream endobj 181 0 obj <>stream -HW}loI.$$9>R6_G !pi܋}8.;_TP'1P 6UZ:HJj+$TUBP+R ;ߝ.p-1"ys#{qde&+0Y8LVa2qde&+0Y8LVa2qde*߈! -7,LVqW#"Y|g5rQGbSzČy}qG|](ȅPE%9`Z1"kmdW^9ܾhiںzfْPU)U,^Ʌ8V0qMmUZ(FXJ+6;;iղʲC -,MzB;v&hQN'{UUPI!Eu!Gh1|djE+o?96c -k[2,]TsS`ܙpe5a6^<:?lS?:k -+_zľնc>J*uMԕ/?:}@f^"DkC/7UH3'*uxgbϮ\m n}sԹD'G&S[[KEJ߾}N_89~QEԻ>Mbތ0#3Œ0#̈!33R'g `.=7uޔqZ9ϮC'޿p:_z5}=zw?z\Jo|}T WQe/_MFTK~_?묩#X=9S_}g_.Ή`]~3g'&4=gQ0V<;o?9_NrwNw-KV"m៽W5#_[kJ35?ۗvS*s8߹U/s KFɍ?ѩmZiZ]h x ǝZOZu=v努"dxjy /Yzey"2"@E%eP,5ZT ग़H/]5Sw)坎v8CqNhhh#-$GB6he+(uBAȆȆ-Gp"8 -r%`z >?EQ'AQ8!Nu;q{ɋ! p#|D6Vp$l&#gmn ˙Lf$iJ6HEՊ߱l"*D; [d#`G#ܻ]n, s1&!xo{,xBrViuUTUVvPAߪ@"l,)^;p`cL^a6QIv"L -$"-P(l2Ufh؃=wP?ߡ=F>ǕK (/E1m#Q{F#gMQW8m41?$Qk֎"t:IQª(_ix_hg2q=Y D<-˷AOOb~_o ppPo`݋!?Px#P_؟_Sb6)8s.RdvSh?'&"\h%^͚D#жx,LP59ю"!xIaFIH"<`Kiv$Lr N&BgՌkۀD$A(幧 EYInhʖ4n2>(wd|3TG <_trcx2qU* 6(sdPaRGQ3֔RZJ&ɨ~}8"0( "e߼(qC ~yQ=vS,ǢyQV^(U}dxntPJ(ϰ/Gw^HWT>stream -HWko.@a!@!rE>Sİ]B`,a+%e7=w/#ޤM@5Cޙ{:x.+wtEnf'fnhb$OT43nW3ze)}U/< |7pi27բcƙrſ'jsST볦*VN:fb5Vrbe2' OyV. (y2*'ܼn ͼ`Xq6[h弸/%1*x™y :cBLLCW_wG->ůM]NarG2fY4rfN[UOE27!ke\k^nֆ2ln~?h7y{[TOڝ9Y - s!=h+VXA:ي?=6uYwSMLvWd'uQuG<>N/hߴZ 2ԅ+`Y_V31Κ"ϖ,nIN^Z߽l+<޾GqŦ\pۣGD-*oY8b'8ae{ؤ/޶iXַ0Ղ7O4#/~?tEXGwԵOy},W7Lӭz[c6GvY^r@4@ܬ;&6+<Ηo?WY7'ʠo~o|jWL(on)o-MӓA7GGWE8rnE#[珴!=`h12+CZw֎d/Q%uX'd|cElߐ(3RF-y+My+HsE`Ό]U7ł]SL8d}꽙 w1B'<u#\!'|D E$bTdw4u9NDNNBou>BЍMLr)#,=K%e(#fi&iFi4HKeN*RdI$IDa\ Qx888u`(8؍eQ -x 0QUeFnD"aaBHa T>h-C7BriT':֑CZCi_42cB@EàC1#d-mPP{Tp. .#-e!,b #6@?*Pgy̷gm@N52ݛg%=$(g$n'l8N۴ݥ#. a-MAq6ew Kה3I֮ھR*Pp.D* 8Ic>U|( kI9"P(LxРFdQ%1IɍBiD|d&)n4Hfk:>Q;b3´ p!IKښx$q*wV1ҕ"d/ܑѨl#0@1)<2!B SZ“VD4q`'e9bD4B5֡vbPbZ= M!ZQ! !QCddE[&ol{ >y늀~'n3/p}A ׹=ʽd7uu֔պ7ӉU0Zn -vuĽ8Esqz\*ͽ"568 븱nmt߰~mbNW{wuziH$d,:jq^;j=/K -Wyw%DɎ>KtT٧'˧Qy:DZ%F3MnH|9@,֒ş9Io{1_LDdV>ROm0$>22 o^(ߗow[xAOu -jLW,Rd*qcemg{% 9 4/vb_aWRq'ld?]_W| w]^{g/wI ႯܸʑMLW>ax -l< s8?s" Nl{ |_kkk2s S` ; - ( u -A_,NY -.zjR[.jMt:]H)n{5ȅ/91ӑyaU"OgyD)4 G#ʷy7ݛMn_UpןU_|->JFF\V Œ hΊ.Qەӿ~}=YKc~yǔ0 *w*iͼ˟ݯOF~@A }^v` I$X+춹,3zӮ=Q0xhi,. өieK(JH0ag _`߾#?YO|:RWwY`ƨ/;? ?>/=?'a `@e<mP * ja4,zj&,Xb(d  uYn6ڛ -ż)5EcK󞲌2g ;[fݮur&>4]ERt}ꑵGXDL{>#K'I?(8e!TSTFi9Zie< #"VX[VFi,2ٛi[lK~nEtigh(.M8 u B9p#k6|䁦l>x:;J#ׇ-1re2HrR2*eó ؎҇e*~6p#6D4QdH/;utM>1L*[:?.>m"bN/ͧi";BӜ9LY颖r'3ZǘkIӰ/}z׻-q  -TME7)*ixvMMZXԦӡ-1gk̷uŁTR_)VJV¯q~v 5)[-ě78l5*p-]BNq0GGwnelPʚHYjP#B䲙ܡ]P(mӦW.Ø憎dCzX/]cRkp(B4f ROq-:Q6⅚+ -e].=ߺ٥ U\yVZP'Uh5"h j5R,u>J%wS̉Mbqdl}*FO܊?>)zn:Ʊ1}k׳tl]+TZ\79GŦ+V>NKRChC)eFğe^ ? -KG&vɩ7ys>NS9OH}uVz4~^4u^J28~RSM4RPy'" ,'b`@Ʉk$4Sba`@p{}3Y+h(3U9,u6o4eN>5xkM7ŧf;8 ΅-`.[vzJsM4{7t:ʶnYZt?iJ 4%MbR6(P -iT#=5UeԺ4\y5!ǻQn9EgXq5mQ->)3i pwt_wI@KP-e}rW{uĽudY7OП?[q]+yeˡ{Ѧg߿9[/zƇ40ӋTU5jz5*GMӭ[ 2:u< ^~ٯ+7F5;HH6YFc4t9CnO,vӴT,=<.xw9ˬsi'cjYgY2 |}RM?^LhY&s3y$r -Rg/̕3ed|:WNST&S5d1>GQa -/ð&XSg?K2&hY*5RV2EB˥r -ƎzPKDttN/(+.`0a;0\5`xkxWㅓHWQZ㛑$E jh -XV@9aQ젯#IT^2XKZL "F'9P"I1Y z>אP>BqbxKh15آbKTzMr5S4ԼZ6 .QѰ1ulg !7()j#T23`F6Ċ zSDEAPPEhX؏Z % -Nq [b[@YC `2_S@<ڴA\-ģs_9EKg-gX8ӈ(xш :GDÃx#(&!!{hhb0 ⨰LPEƲC8W|1W Gu|\"mpr1 7{L 5gޔek] aK;D 1M+x& 䢂]D.l׈+0jE9t@_c!"S dӂ s-(1FJhgC<"_ d5!T@` !gDuQ`h!PG?m!ze?_eϿ\_>>~0D -!𳄇 & RMa1Yc+9$}+) t/޿UW^5yr뉫䭒Z25a1]$[ILJ*)j)tT -HKP5W/Jhyd#CO!QsiԱ,Ʉ?0S&6V0 -?;.L/^X;Hⓤ&fY|ÄN@!IIY0tYGDV4Z9vjߺߧsr턥ٝ)ߝr^9}ث^cw+=ž~ˊw_^t?]f6:x:< yptttttt#JJJJ'J/=t#[.UJŻ"٨-6]3E#zF/uQoܫ ^SK:[:u߭dRSu9J΋W^KwIrS -l1 -ᠣJ 0HtdVÀѵ{ƗVYj37/OpƆ_3y|S7U}S?"Dĝw>#r܋Y g Q؟X'~F FPi#dN: ,Dj{ f@x7ubƀ$jY'D1HP-8M9Q;͍n!m v7A`,HҘ tL BJW蛆,And#N0G׸ F EGBOKL@|NOġIsnSTUV е\:rqY2RQvwZMU=jN^jU*K6 -26f[A9F~+Qt߀7f6 Q%q6>[4t#bzwXEJewN0+H`8,U{\P#n1'Nl {^ fLL :6szDp(sHLl" $ekLu+W^IlAVb 2] L(SΔ .ӃWiW(=c0FID6"| -:'"lGj967O_9Wr{=V)_H?ϟ_^IO_gǿ^ϟGg_O? R4lW<^ptśX:H5^5kK’V"/EV *Jׁ>-scE0/uZ: "q>FV" K,1J,$pEΝjTZ \Q&Ea'mNB.=QTYzja=i1S哻H?>@Zѻ,aJ`:u(NX>>V@kU:H%VCњhU.ZVG -*:iVRT/pvm.#>uF+<]>~Rz5j7z~j:6N*]J1]?Lu'y~~x\9{}\9nqGK6'[ Z;Cʠ$ѓ@Hf",!YxL9.xprNFbdt "hvcapt FǔGu -I,u6C%z cE 7KL D=ࢌ8px|,#8x&b%qO|D8hYd4Go8J X9' WәҙI3:t +Ƅ/-23!%:8鯐R'V6Z=/xK31jl8"lӃ %R))%(d$H%Fun eLA2Q)i%kCA\:^ř绘yu3voDDn<\!'y{""C&kLd*d\,;.as2g ұ&>tL<>ǑWpR7{vL?^ںzN.g"d'LoS^8Kf.M8Y^ڸ. Zv"'H R\|\+ Ir:xe !]/ز;0 -q#q qP: c 49C"iM&p$1 &TPɬ 4C<\ynaVf銮t陧S:3O/]0t V=57;0V;Z]7VY7VWj+UJ+<=r]%uJnԚmI/__bf<;jE*YxLC,usԯzBQ T3s.xzDggE uΣZ&Pf,jrtߞz?8( ZpGb&0-vhCt? M5x { s+ܥZ[!wFi&AsYy\.Q X =PLjFaA\eYav$ e-ckwCoGTQ`@\nQ#wh֣݀'ٿF *o=<GvyA&( v8Ƽ,w&Lܙ3ML9{[^oMEy+6JN}vW>~Çw}951yj[=6ַq_ -_pO_>>~y'}^>}~͟v忯zy>JMzzl\Rt#Md#Jva0J,Wd222jmViְWC444p`FF JU$ՅRRQ_zaHնVg)c$B7姿fWbXMF!їfF7RF|HahT GA}"=xp"31!$]kx"9 -{/D- UE"~%,10U׼ -x5砧39f, ;|&n3 +{ݾo~ ?Êsf/w7+A s-vmFS֟XH0 F͂5M1܎+h&`=ѝ}j1X5 vC?hل-:_V(h `(ไ̲aB 2KB_M+ZgU~,7xc@t?y:)Kպ8+!q[2z𼷕88oeG6c#KJnl& l%fQl :Z]zYPvLo3/7A oYnqOy#iGxF@:ܝL22j&?#zj`n8QTSNw9~ȩkʈ/Cg=ztrtw.W.:.Iek3WgԧV)5U묗ks?ULM##clgV7l{]}le2J5ؘ+{V;?;g̀G@Wc *LjimwYv>#p|g >%vEGC= kdz齂Dozl]B:x?߲^P&,aq QAYSwLK&Nwqy%MUq׮MR.0 Fk%_}~ (x# /aӈ8¹}gꞳjy%Ys~TgP70v'zQ9T]3YOhyJ,{L$kͷg~#|%`,OiCc\9 -ᥰfC-c0\x/];F`PPZCY^1yΙιSS֒wĈ/s,{5y2zu9@5V29j__%oF0Ʉ^'*%d 1k/eRяoi‡ۚ b -$`>So}'Z҃6O: SHhot&v- lfx}~%D2g;tnT.…mI/g?ku vK&]. ̈́O>dWK  ]c22ddz" 1N1?lRwT)@ʓ\ɒ޴՜ן-+^(] 0>4 -6 &5a"2SBg?HCqե FFM5рWl<$ۄ3f`[ӝǷWMmfX\z4T,lj5 Sf$۴6CR>@YiaP6%zpRStS_=o&3kUgKb;꾽39߬$Nw*n;պu程KxQ(z k]mvP(q9\t.7{/#2# -B1Mpba  MtSqYPbl)rZ'v:t)y60|/fXkny%(6h@V8>THH S'4uv4p_nխ:;άy*ݥ.zƵۑQ>h=p"R`%Z%1;)v#v =^C@Z1DibC Z0T†bWhd;!50dmYs(5F/@O݉JV\8 " ;P O_MՊ!C)wN>e-Op!2I?dj+[1 -cm[o]mLu t~€BV#3#g$|0_:n%U$ =E`xkaEuhRVSZ[dFb( }m &9$Բ+Lg|Wh³xe}++ka+#X;c,w{Dm ۶b.k"}3=blPĉ.Imu܁'pIѕ)DG:u {vKn8&[z=߷36D.D!ʋh8raaLpI$aIӓ8-p4+6ȦHFN:d8<"̀R;}oUZj\ooSsjUTR7zWuY K'9mN:4(phz?ُUx,S݋5cǰGwб/ь9'Ue/9mw=՘$I8 -˜|1u[k&Vr#6! 8?f0[uo;j<'Xx<=[΢c.T+J% IBIGlZ*=~B_OZQIE$2g%ѩ-Mjb:$XQ)dJ:ݼEfJZu[zg[T!p -j(VTp6 ! gp6մhdtVK쩬VKrY(YW( )eelYpNRɻ7gRIEgkʎ e$6geŋH-;2˙]lQ͙^ټ͖b|$'BVKg&k7I3а+DŽh۲:<G`Z~>ûqyg̳dZ)N'-충Hd,Y,Q,0kAo(:E0+`ѿ"~YeˊP&+bW\,qY>stream -Hmk$/w7 ~~0!cl0 RBn΄|{wVZ݃$Ҏz5=]տWUTQGO>ƘcK"I&T2%|)'JZҚjYeu60}v9Zr͵"ab]%bɅe]Ģ`f0XZBZ%LW[Mu5R-U[0~?~7gf1@y^yb]rsr bM6XoXmV ,$`3Xc6H#]tIGN[mJK-cRTVIEWNYeVJI%:pXy{/^/͛Լj~5طiFؼl~O>sZ!{"b0qhh@Dbp |q/8!tBť1J9|Ap諨^f5[1 崻<7m]!1*-"x#T䉤䛨O)bn޵y8]קFooooHߏo~_w}h/ݹQ|qj) s`3K""J,[*H  2$3^״x"@c$+"lp+ГIlMjV,x=@>W'p(&dGjCs8 ,#5Hй"IB8eZÊ@HWKՖӴD9QSH5!lC'N7GMFWf+ƗTִfHR@Jo\r$O<[`K 3nKmm$}aF:| y޼8QDJ$!EuVS^*HzLd&ȱ+s?H-%83E)EN8$I&IwҴx:u)*2 -e.!1vqH۲6uCqYrjDLԃbl5D5Q7Dx8CD THDa>&C] .. Pf! 'd2䁎#qJ88ʆ0q攝4?(T72!}x=Ή 1Mx&Dr˂A]{$v\RÙ׀ #RW09ED -`6 | -4ȡĊF,R[Q=$'qc -y{S! ŠPC۳XOf=7?"\PÐ"ԘKVy2Ј:` -hV+VƄQ[VAX2YG~%xࣃ*x &a+bPxp& Ή¹8Gg%D/A?y_gieȀneZ# ܁tȧi@q6ipj u8 _&> 3_\nKťHth|#6D!A+biwq76*4=M3~l|ޖ/wo}ݿ#~?ƾy~}{390o8zTf1ۿoEθ3ӧ5oi4Jq6-_l+{{QŠʪVTQIT@$n -%h "5T1TA(?+?bF"d -Q -^", -#.O=d,APkAj]!sX> ʝ24 "Iyu!W}-4z -y;,AqpoS 8qH!C DLHhRy!C0d9 bh] #CQv31d:x8~dj%>彭a6!8#2'i8/KQNYZ_v,D E-,G;/Aˆ{=^>{;&N) Jk풯7'_'I智~=iwDf?=yR4ʶ0TOȻx_Si'Ekp0#9fȑ Lŏp>kTSvܹvo{ߩo5|⩎oOx:8ܜq¸'c#q] xgwO[+36tm_398+%Yi(qոR܂ty|{%8nK`9m)5ӬP(;uJt J&tUF56Wq^s2D?~t$F-*c>*2ГCؗi-j۔=>~3.^qnqܠ\ x|ی -݂y< R%Y}\zQ3 -k j&}gߊ0Z;vV]Uû_R#Y -|^j3|TgH8If`l_*:ȥ\}w~דPLҍeED:]@QJ8W {5'hu7^^ιM~S.˅';B{;̻-bm YwOϟ%})=0w??~Y M5c: -^<Ɓxb2InZ']o4͒^@\gWg WwSB3m66?SWe<~BXϞҶ}?LϞ֓m1ΓI<'K~?y2 p>o j^ 7/qN +?\U6Tua|vaa{4 X(w?τG\b "B@*nfVJWazg*'o Vż E cB;ǒ"} *̚\[WL~Ŝ9|;i =K :&jOA82 -eeC%ab򰃙A@Ī T2PJEJPn{E;H +СV,0hDX%HkrT0GUH^3?9ؓG~JUAu jO15` 8I |TxgQP{0BXz$k 6  Bj8g --Mα J`-zYĔtP2q-HȤ*YbNIa 6@Aj ް_m-|vXjLނn lU`&J=Ao9bjTpГ_Yx1H :NV*xH&>VU~vYXybz&p˛@̚5Ixsy/"\m/s#I۳؄j4UF9I<[[ͭڥ3r/fSƠ9RRЄ%ڦ"$OJBWQS*27P4/꣞Ltpnnh_yX(О9;vw!^j?jVrIfj4[<7 pf2Hs1,}3>%W _'ᔄg\r&<\oGN_U:lJ{e@i,j;TWkFO k7/׭OW›Z<vRoftOaʹT!:KdDb CtY~4)W;$%u ?S\Tb]8d2d2dn- L --$~`59e3gw !)*e7p}$9wx {:f ]\/Ha7 OylN§kƢRhm2^=ŒtN`GEM%|P8%Zgύmn"Cn<>t]qxNb"6?aН0[ʆ#"Ƞ,Б3`v,*lGKDoXsi~`}6\,k`x>w}c{-.{lAtk]H'qSF.>Wiw!r ȶv~e<=J6k,$7'i6o\7\P{S*`'6×ZJQ4` ATeC0-EC'^RáEX}zN7KE|:8W+'U.[!b6,< kPFo>:*p::sX+WKud:'B)>l,Z)^!Pq z| -+Aܕ%~hڵ*Ṽ!b@z!($~ cmQ&c;R+nO|=6e[OMy2fءh_ᷰ&A;{>bTO!|q3~m`mKFP&Y~Xg]6G䲶ËDxcJVFOrN*,/Q[s}.ۛiĒF=[3 -Aܺ=1g+cbl.qj=}Criɏ$Ǵ%35}4]qؖ/<J -68Bޡ+jzO.Z۔v={mw;9k՘aMƓڤe-5ubγxDX5&Bm,5UNކGd0#JU;` _pxP7 ֲmRkG:έ֋(}PMհxK%TV}ˠzE҅_ w[w17Y2zЄEq&qN 0*x89m0$+|۬il얧^G6nKD#BSf17l5GEؖIGm?&ȏPɪQ<&zI - }e$=Ͻ&%B͘a9)pq#._Nh/Mq$cänFR?# u >c{5${]iPkUC2n5[w2Kk>Y34v|7R[#H m*Z$ݼe#Cf؅9?i{g[fL{Ha3_*k'ֺrupW.]:Ǐyrp04R)k/4*#.?;96:^\2t"߸%^gզ`G}M&X%*{fæHRupfʱ9 ّN !KXב~&lb8_븲~;i'p" dZ͂~:jHce8:r|Y=?Kj,n}|lwcM9hzӡMwF,_'!3 MY.]\q? ޙ@ʝQȵ;6dW{[r՚Xqv -ׯYehF(%{)?l."Y y;./qCߑH d3?>ݪUTHU!э"}sovAHh9z<9ȡ95C<'j*%ry?(J&jy GJh5-Ԥ +h 5.;3>gwv标2\?}Nrco13ūsԎ -E#°fTNS&sɬ1i#Kn96Fs``A8ˉ+q#~.v4*5E -qz5^zsܝ(;bo(F_v42d#$%oVxr%o*I$өn] ٙAQaIdtr[7-yGmDc_ΠEixݫtǟ)6 1#+<|; -XFjA4,{#0]ٽ.G1&5#@ _2&FU3:=$nwY*vlJ2mXטz} AKr0I3 a렳FB^nqB^46O9.LQ2Is >@Ū-JXNp]{}KS֧PV 4^x I G{1pfWiS}JHGZ%grV?! ru쵮ϩ6PJWKj'.2fpB37}5266WKX`yFZu.tI+B1jdkVfKf +ZbvRFD -%!Z%RO刐SDr͵;M'0kڶ5iة#l_l1aqcfP]"x,hj*>CDR\P4fͺkN. -^-}Q`)^LuLPL}8;ףx,moMN/=DO-6>cRr $mMWswug /]uU 6֝Ccb!cVab4Tj\#$݌H(/A}uZ1_962j=Z) D?CH ׎nV9c8ζ9XI E7AY#2&z\bZ` N8̵bR/kG(ڂFVZK鸚cc۱9n,܅syv~%69s:m1*Jx9HNKCI$[ss|zdNKcw(#0bT _ iÎ$ Cj[=|XD& aG;%r,A80r/> HPvA y?8flFj-06{ 8:.r;&r3aqII#n<+OivڅmP@x9jEa@#7:Mt8+uvxL,*6Dx60&pC9MlMK$>DX'K'^؞>iM23fa/wzf]כӭҲN87u;H];˖=ߘ`sr)PN60goø|fDĒ Bk qVYah'? -0~-_A"-[ D -^Rxy.|n: Sø V:,]1i.A}?Hg̸=s$׽Iͼ`ncF#5Ĕ)x[K ߋĬ50mz0_5%3lҎvBWXoC&Q6N3ϛB =n%Pٍ%}dgthj RuhQ[u\>~Rbiϸh0ZW`r\?]}!Ǐzo_|-?57o/ GǏ~%?>ٿK[ƫqpa`af_֑x3o_FN RX {1DfӐjzEm7-EØˤZ!MZԑśP*&#$'BZN.0t)jI:ΐm:cRZ4l%kĔ`ҕhJua\lC5%h/[0aOd>x<ϧZSs.1ۛk*g]ē/c g7HL1gǴtҢnN#>B@8=%c0\AA +'B ݈|䠠, `+-Ҿt0)A')sbqѹee-?Ad(2X!Zby -’m KSEl8mdcel+\Ә8b0I5\Vvrt>ƕ Sh -曾wHI!̚sǴ`lƒ@{w{ s^skuƧƺ&Xq8ES$}; taïK}U@#qzXuPrCRO➗L뙃$@DƤ#$N0^F8OWE?#CϮ`p}]K2l418fUM:(_E@p|=h!YK6$M_I8{i wh`Vb̹ܳ,U7OxvXw' ,4ǐ -nAS9M݅,{]׭h#s0DCXX-YRPD|cW/Lcvy;lw.S"b`'kLM3ƊgYR5˳I -Ѯ`H4Ҽh }UZ^mڕLbMCcHU[K[_ -}a& -iqwSW0N6[)rr]Q֗Z8]߷;LO!6?iƎR+~ o98ϯ? cҪ͂,Ӕ+ŷ3bJc(`'ҟ@y Ql[AٖF / f/J8cCF5g -O8ҜLOHc}GCJufMlZ?K%f:|1?g@뎳5#lco>$6˫84[ӅCS.VM>[~C7Z:68}/DNy'sPPDco>[bM,q"1D7<\)&2z -n `"+ldqZ^la9(h"K1Ksڷ\AU|Z9& lS+ME(4rg0@8 Iƭ`w2}4>K8|vI75(RܔPi8 `+%BɃg9((9X1K />rO{MT_a_x; e _St25=nOJxG'-?g=_9hj!K />].)R]e!lUY=]1U{Me/Z%*SUi ;;A^Z}% -V8ci1M]dB@aʋs䴬QW&P~J֒Dպ$k$؉c^:J)/NwF8IYYB3d-߹7/ZHiFWѾ=u"ƫ {뼍c{7_-{:XHE0-3=sPP,Jsڷ3*;C[ -&7rve=ʛ9g0>Z%apGzB0x - -o[Op2WyqxEaG~GmFP㯍zWx岞IvDՕV5V/g - -’o9[.H#բ`5)V{VeѪI\(4k - *:xR!SU٨}=XyrH``,*|rSTXqf0h5q4y+X:(9܏Mv~ `/-оt2Zjw/s,"BGaJP -,~L͋ABRJR4|CW/>˜/UO+Qps\cVTuAOkPZrՄCp,h_:|r4GS 8&][Z 46<4vl O]U6Z%cprPP,ڗY A;oYrPWaح\w¯vz ՕZWtwɼ! -Cgp{dRQ;];P⪯AlU'*s]d슭5G{`y;MpCdULb`:Qz>?mq#W_qnw4[Y+f3A9V Uނǭ}C$ ϰp5۪h.Mv֚=|x2G\<-[r~Y8frPz)A A1s40h.ףطO{HaZ4z (9 -EGQ\z}'kUXI`PMw, cd# f$Bpzl`Wy Ѭw9֙.h?/~a`_}ۿ|Uc՟?t_N?vq-(ZpAmdzZE .-*;,:N| #D+}ؽa &[kF{\ -ԐɪĄdcrw- :RܑPct77rOuBJ]kH.j ->"\wlt񙂸. -Tw|f}.)lf0A&Qy-uLW 2 -vŮ5=}x.o]bOO }b2F))&GJ3V@-Gz9RA ̸j0uŮ-#==x0Xernb'k \804MrU{\8m-cX{J@֠ ->q-0 TwY/Δt"&#?8va,4M5ۣdbcWw>ciJPf3Ӆ''d j3N9ň\q↽ցj1e] OWZN 6d4:WOTY/Όp TlQ|Ds& qjq/:P=Ƣbxhu kPKH40&`WlÃx9,8R &<WI-Bs 7xiqIά:5U 9ɽ\nTE+Όp:6BxZ,s -$֊]H [1yM{IT&GPw۟ޯQے5PzPCOp ZGh:sg8ް+CΡ&FsijO5PzP%qeԽUe4J{f OE`U EMYMbY1Lq4e4{8Ŋis|a{Km&ǹqȝp -ȶb*6ٯb~/Zcx>[`LoZ84{&Sd.b/t?N2Iϰ -K"Kgq#@-:LѲCfϺPXmќtx%YF+ѩ 8ӱ,ꆵމj݁ TQܨ1wZT\z3)[ ]WSK ߠ- ||O b{J]#32Q3ZJzgO6[Ebmь4ǜ=aʢ=#W8Vd>stream -HWK]G[8$[y?`e "HIwJ g,,艹3'\vV#Г?޼}75r w9O;rΚZ`w-Ra0v^d ApJ|408` 6)03wj;Swe|9$|-EORMsiŘR*ܹ+ܢ1t(;c9sBÈJ!u %W .Ef7yܰP !TSvfs)j%VpB\fks-|\ϕA727]Li !7.M^lmB{AͽHvRpڇT[;QWA".d=wqHq2x)]A}7QJ{=zSțɢ1݅qn<{JtqǁKCu@5#VqRJI=*8&Z Wޕ~ J5, -h`PMf`Mn>˩()?SbNW;vk&+q9*{͂+=8q*84G G:vֶ_Z մr`=<> Y9^<': -ԆN˸1਄?MNb^ǿDW \sh|0QH!f0rM wh/gQF k`QfQ -U^Ṵ`}_ΣPV<Y)㫂ʵ! UO;Cb{kv|&uZ݂Z=}){p9eU5!FkXZ\^g݅e.s}!C%T۸Un,.NZYVv<.m>D^.0\'\U1V V4~h4âWMbJ{waYΘb-N##kqoeʋ|R-N9ɲ,hĔ8k -bR\Z7N/wypַgPel2f֕J!poYb: -!\W*F;?_6LM֗pR"2՞i_гX\q\hd ApbayMbѫ&zw{ ]2QzKh_ i.[qs '_SC5yK/- {GY##j07LpF̉VAְC"\`ڛ\#='K jPT7fFɀdBy a,'qE ky01je8o&Je`pyjO[p1̢РfM8|\iQ50&`ڛAޜBW&+tDfTה.7s^5mւ$a(\q*ǕrEj4\\l.Wէ_~x[^շ?ŷ?x?w_>{yzDQc~G+?9pI;Gpҧ7:N cTTQ6nq,(P58`okd pm3fǓ8Z89EZcZj߾w4Z1=-Cwgb=4Fy7f:Ӹ A` o%Ӡ![^XJ2":gGȔcdJLMo7k);M~ftN5icAshQLDUV^ ZJ)RClOc%3nՑmVLˆDɾO'`l~ɾqaz)Q8py#8Kv~^Pa<8g ":C`|sflz֕0?8IoVqiqw-"4C_'rrM\!hc#gy˓| -sf.+p!]n0yơHivC}vgqxP ;SmއAQã3xVaR37j.cx3_)n ޠJo{a; 2k3;K:0. ˚zM 6W{&QQ<;voy9$ff|OG<IFH;ޝ]~e2#bo|7W?$&gd Bz{h=qՂq9s 瓙}< bB յ?7;0L)zbcNU8%%yPFny Q}ޛ 1ZD f4gW/E)'5f_lr{`B6-[¼f{Z0K]W_mCDiUV5g!L65#*8&];Ɣ3zƲIB1vhk՚ --H4؁e>̫D$ V!8ƛuk]wN:]tQwu[\5ȊSN՞jݲ-ku+6!:M)#lЉ -RaIIvel[nj6z6:q]um -#{{ - f"_/WbmQwHh -KSg,[bX +] q߫K[$(ae[FHH -c_70 ʷq֪?4{=ؼ6f%F^68)!F !ƨ֪Bkd|#4=E&rD‚s>$zۭtUma`$!Uv\oq݅Zu *O߽L$&3lNylUauG3^9lfIU8%%yDV? iJ gm @v_HD$# -"M/u]Qj+#D ̪}jYN7j -xI1@# Z a1yb-ے^[5֚H$Uf$µ̢}9.W=Pыcz&/oK슮]1MjZ U/mĩڢ<4G+ -XF#uƵZ:iؾ? aWۮcu` jIؿfŃ2lmjeL\BBLyPYn :Smcvi9"-jqpʡA7x9e?fM/^P8xU#ӳ$E Ւ -}"Y$N5=!9Ǒ#ZQեwP!~JY}pKU; -endstream endobj 185 0 obj <>stream -H_oܶ ;@ Ա׎ d{k#cش\Z1 -EO>d_ZNݡz ?pg;Q?Znx҆$[k{~YnrQRۢKJ%y@b))U'Wՙv&2qhf9cXQx -n񉸔:@Ԗ}=vΓL8E$Rڌ4؀fYVFi- 0M -aVj*FSrRe *MY"к/fV,%0|RN2yP1+v1 ZRI +ϭz\)1˹_J[2=UЫi2T%H -*`nݳ - ןtZ0C@v'F ɒ/bm!*o*@ƹt2h-[)UBG=vk -ow| 2"k%Up*N5=ijjCrֳˌ(s[‡Zu- -ME&6n۴4iFlˣ[5ys4ҍ!e}cqG@mZ0ִ^2n -rd(ŵTR!831{B˹ϭz|#2W24Jqiccתo4BBhJ-+S-sg -JkԂxe I>dwR*(] bI]U.M ɠn`Ty]i -:z IM.ːHV&L%xE4KCKzWR1zqHW2]-'X=Fs4sD b'4S e=?;Ջ5&Pۀ3S>t BAR8>Urb 9e($G>oT"CBp~z4-nϙewf7ϩf.UfN-3[2lh}F?uwh&OiYʪjF{9ƗԲ<ɿ(/z -!;n˺L:=qT+Ҧ~YjY:7ݢY>bn< R2ڀm D 0I`v_tX!NN잞M.ɺZQ*LȖ -nۍ⢜USӱo\89f,ZFG``CGqD ̼TQa0unҘ-THRs2Wߊ\07R!۠𞞊RI-X" C@v'KG$~ n\ 1Vy)K2ΥA;nqJ:豣wXT__̫cLj-A ^[xCg !q(2g[TEn#7V*'3ָ|+ӿNOgb\F?uJ&|$>GPO(2ѐ2]^'xCg -?m!T6j\X栈w'%Lf"ca|y Qu€\/w_B(:# ^rjYd4Eh6t0ܴhJ-Czm0ZK!vsD98z_|Ҏ5x{#4-;RZUwPsQ^NjZ8΍Ds}qID!+%Mc@.H@Q%jmɐ˽Xu.j$h8;3sf> WS|=qH#}Z8>\>rzo\m8~/{!$3h{蚏̡z=,%N!;tEd@M\2y={uqm^dq/y [mЃ:&lN2jYzJzpfyIs_ H硶]ÐZ(J$&.~_Ik=$އ qΜ-$vg/uY^Vr:#+S҅|3`F>Ξ\^>WG#tӱNŘ/7CFwfGOg"r^6ptrROg/G/WdqVz=_M'W?vs3>SeկjgoN؋AhW]%K!j)!֒`89%HWZxemd5E֊h3 -}2BCX9l jk$'w˘ǑB5!Chp(t2P| p۔l(ɺw[Ŧ8ЂRgu2uN ~WBҖ5*zojS2#XJm" tJIagpJs |Мl)c-KSsTNGH㉪>q\kDZV85th.˺Xb40b㒱FA*b@ĺこgF &`*Y0!uY 䌇@qVMc4 0WζENV}MN݇3Hi-a׭9L^@2ڷXW t'wrj.LC}c +i݂ho>ds uπ^oo߇2 JTF>s!LI|>"&vN.DI3)P9xw,0 d٨IqE9JCQjM[Pƨ/jj'p#E۪,Jmד7JAR?,Zq(ʸhihW*M66hǃoBc:@#PwfX|62y3$&tERgkhܲ Ho\QbEUqI;eZ@R. VLj!z4PWamwjcnD)Js8n3 -h mb>0 8.r@!qTۘ20< TP[ja5Ų#L^ -^OÌF:FqEKkihgmr(N)]bF3KҔeQh[c!zNқ!9^e{ӆ‘i454X9Fqq}`bj< -endstream endobj 186 0 obj <>stream -HlWɎ7?Cm.p'=ɀOiy;H'r#lKr+E&sx93n>L&`L1 89xD@u Y|K(N9,Pp֑4([U0o~ - -k١XjqvbI@8ࡘxMzW=S!v4* ߥ$Ig'4)4+WA`0*96Fg.W 1P(n&EI+0L\\ HsMfψG40#?zu+.w0X-bQm#"z%'& -~l\Ȋт#۟G<۷_r_X# J,=# Q?x>JG+9*|=??w8't\Dڂ[PC?1@ -p&٦F4f;>}_QjbQc' .^=3INh4 ]u4}BM+ƘXu)Vm6/ h'~7QyA_h9f+NfPr4]\F, -mI8v -dȌ$?]AldLN6Q*g`/(z~H6 #FZm0w sp.`y0uS58)E@]iSO$ -<' җ3#^ڗH lJHhͶB"Q\*jCP^IjFU\.. cdAnC˭V+J Ox // -V\2|X-ywePy -)cx3g?HA Z6 $z0\#Mq'D|\9:X %Fi7E ՁMf,CBQ7 -vS=9j ;z?) (4'D0} %,9q8,9 ʠ~X @:x -y3i.3p(=i$ULW薠ݔ^ZnX0$*(D *91+J*_*\09rc+1ƽBVıK0jJ؋ oo-ԒՇ7-/ME 01>Ntn.SGQ2¯JsPPʿ̉N`FEbBՏ-r"z VNEft#BDGv]zYDBld,{BX u"o_gW_EJ.qI(vq2&rx -"|:f!Hʴ`U#*cZŸ UUj\_({CbݓI;QgYL>tK|WǦ-yqk[,!xi–pKwbܗŢ ceY/.ɯƓ/ n^'&iعc<}wy!,z<>#6J\ ul> k9o&0z{J#9lCir)-`x_r^( }y>ǧ3 -,/D$$\Hxɒ,1(r-Zl`֙:J$lxvSc"*;ƇB4YA -TJmqe誄B00w9Ζ+\2lHSrݬ;͔(9p -E"owtU48dOCVʱ'd ҿd\9#^ Eyd|9u[|CE9mu]pq9q^'S;Hxƨ)Gԝ?նZבD b%yg@B@4B$gեw-EH>}VZ'CP ֪Fz^W!Wx!a&~E`͝ijMa֠AЌ7c@:lph65/+T&ve BkFMe®45Du8:WIp0'$_$KrE1@VδúE,fB }h$v~o` \TK'Lwַ0HdZI [d.ɵDv*N=E$,&ȎV\:6nN#o;dE˼=,Eh@q=ĭr -& t\Z~pL|!=/?||.Zn/n?-d9=s$j1_ d+.$-w1᧞)r; kZ4\2%,|N& B}j~/kф}H:^}x{%=j5?rrpu}}E?^pZF(U[o{]>>z}^@=w7'/rF/avg\ 5xhEcȴAp.󇿠pvp@Oũզ's.88l@PE`+;Z Y T -yXvyyEn_ -DP> 7u'CZ}@]eFȊ!V8t:D( {m*(|: |T|[ -%@ԅN锶ʯFa3A -!`Ae?a1@bcyr=gro)` fv` ̾i4c-.Y-eyb'pG<`8p8kw`J%_>=ϥ>={ib_я/j;5o-poׇ˫.~?yi3ҋ(?MN_姟rO^|/cZ<(Mi[2*Ay4>֥:mfVw0'=eV.y/ -ئDj%OdUJ,A[P/x%= kS! v&IDrJx5vlhNc*ANPUJm)dM **`hѴ^BY:" A ^]UI.<$F,њc:[<'!atH,% ;+vk"Dr*SJfX3 T` -:In88~þUoܮ P<52HɱalFVjrӋ,z -˴LȠ|IE qyz:j7Q.9]bZ&ؿ}[C5]7r(xܨ`˴{D,7/8NUeV7-])h0:Ҿ0(z3V Ekփ٘4>-UB:ͣP ޹aʑ7*Ֆ6a9>rS h]R'TH1 I9Ǝ)us&B(٬ij(sr ׇ;Sy-L"rl2[˶刂j^d&@{!oM0H4Nc0Du>Hm$ĄV-̉+,WʾTSXBY,ٙkة=l].S2-;(5sa 3&! 2Nk,"7&#s 8vZZK@y.{/ -)+ޒfHϩ-D|ٮ:!Lc@c\aV"P Gx՟35 ]t5YR؄UBs9y)@sAs:3 Ȩx! U3jm*G30OYW8Yx$ljo:ALJ6[b|}MP(V?.%DNJqSoK-??__{{/X?a2[~ ߿a4L'>S9`Sy{ <ˉYF%Y1+X8vT5Wj -\Έ`S0@oڇt!%Gn&p~w AFD 1?Gfߠc3N@(bZ= 'aK++!H)) ☟l`*97 l ه779i_d>n1lO\})৳رszLTu^Nux.Px -XgՂ ;.߾DH^2[`aT`r W $ʆ\(Jg{J*\ sS3E^3G<ױ-?5] a{=w|Q+Ԝ1(b(׬tRmRTE.@(w"8Pd/Rݢ'@ESV'[0>Jוg:ID8|sMrp4RcQmCxeʪ -Z$;oiK"D Ds(O"%d^7J͝[Y]rU=;6' a?x/xy) Wo -QAl\ 63l-bsxٶ=jllm4"b2%/.n1Ǯz6C$LOa8gq*(v ն#bnӈ6Ssr5BWĵp\6{m`g0$x.x\"Z0nѢC i~{j%8؇~r{|AtɑDkZk^0<%iqRܕ܋9O -iџ KX\yj}BD/~рZ\DV̔,W@wM"dqzr%IŇLp:N^40QI8(JE݁zx@͕8.؏ݯg EqQDK'dy^\1 ?Wȩ,M@GKhXeqbn[7V -#D9{a@QfC(ణ* )^fg7m^,ofj{R[p-MI9[+>`L&fdm,#Ulmg1hx^l.V˲b@*ܖ0йK2 /Rh=aXh,|˓lL,gkt&T͟.iH_dS^.XJJI޸n@ZɻN -P5`(UHrp{8$̽rU6dYCf*"w}Wjiyn}^Z7^ĕ4 ݾ_̏p]H^rs{&kD'#{n1XJ̲,di1C\hZ>'If"d&@,zwdbUjQA^V~Ma :+`RO,AQfR'+j`A:.jlU &fcձ$ 6Ob]\ol2_~n.OxP~.fyAN `+n[VO6 -'he;ND-Ѭ1m -C߰Lىͮ蜧)+mz&I`Gӏ%xTF%"/&Ѱ1*w{R\KaP >X-+Mc!gg>4HD럯K[:@KsV-bdsقIFiYc2Jr7,BzX;työX/pi[||7?xywGD?NTۋ7oV`Uf/g'fzIgԒۏ${ ^@7V(@X ` L8kZDm@$5A8HO'K -% ~)%2f}XI3G e{Y Q#x3;d_w<$xŪG֜f hVb|VEld\uM [1vuVϡq68 wl)؅_b kC'mdXs1is0&83#Az;fӭ^saC|c`K1qx`l:/r*4'1CŰ>[1nu>;e0ߺ6ħ; fĸ93>llfMѹ2~JV[Dc0k@sOeWAe0ߺ6ħ; fĸ93>l[M#PIScآy FYTP@,tF]`rtx 9&ԥps+ -UfZ<,!fkv0fKF|7#S wo?@{brWd=4Sow;:r0+ͣ xZG^]NwW_7T}OϧO|xHT"ܝRx6ܝU߸E QQs7ʪ 8W(!_g{>Xm]66)~w/ѧooow7nwqG -YW$9xWжs+i-.ZґP{s#Lٴ%x>"Q-~(2d4XbӻZطIY\=iPZDVVt=nJ%5AFZ&n ɴL%{cj{^i˧t,B+ZuLD?cLıx8&󽶋[lڨIR9}$r)!8h~`eBYKW 6%:C=3%냋n]9,}$2Zyڏ`1C- --@N"V0i}R& -B:cVE_Z|7Pultaic% |B`;˔9rlBi g5 gyѿkM6鏓ϊ -P9O/_NW5}##מ`yAVpv^n3hVm 1[`*%/6$ /4åi{ -׀ dk9IA(~O53$%Ò7]}I9g -N=j۬1}dK[ޜdN"d6 B1 iH6 C&NžfCO$`$5:šuf\_v"}mS4KnȣCAϭڍptbO2dy)2^@)n.=BȮ4e2Itqoف[ԓ*ȵ16|Tf0u{f1H; XỷPbQrj>EؼJd8 *J KmcsP#zc{v~d_0,޼ܽX,^}t>F/e/OQ_u&ܷ]mo*?iv{Im?^~\ݤa| {s{w8PSxY̆foru۝toW>(\ vߩYg#,\gbH@@2ColioVnza^WH@g$m&KU[ow;oe))KwUM7'4Sנir.TX''cP 1:VR2Ġ16d"8LQX -I3\(W;&}I! ]א5s_q^E[sXd 5|7Eΐ2ըlfl`iBeQ%$t'M.4jFѼfyuBфd.s&$u{\L~V m# CAOtvL:ɝEB+˥'% -`VZ w;H_ܩ3VT{ fmpUFF czaMN PY#;rI"lv^j3[\w:)J/]}УS KŦE`NZsȫ -" -V]<~UC -ts܅E PYcW#O@Wn:͓ؿ*ǡ8LƃnQ=w|E9_T$꾲}fIļk{4^!=kF)汾rb @Fa@Pc0YڍYiH8]#宦PD>'Y5Ҙv *X/#Fm8OscYGlڳu^z`v;00H 'kÕjDu$b(hMVCjld1Jg1W0ؓ[.:zڍ{[zb -]T ̰zP˷?SL1_Wp%9xru30uYpBaf2ɦmwҝw*݇ZdK;/O;;떘lĆ jMD8[52Eś¨ pz]"QmxM*t]wxM SQ#Srq1_[9j+*:oOhBA\7 -/RjO CQctj.eAc -.hEq8w9 fڹPwL\2H3A$S -ޯ!k6 7+ȽƱknfc5!eͫQH٪ e2Qu$'M.4jFѼfyuBg.s&$u{Ψ\L~V!m#CFOTtvL*:ɝEG+˥ݧ% -`VZpw;_ܩ+3VT{ fV_Ku"OIvh0gInH5Y5aa {dݠ˹Tl5j,G8!^xAmHaa\nX ߑJI&ܺoXS -Zx9,&Gv{J.4vę՜݄l95oj1u32f32#>54diSqȇM] 晛i7 vvc=rpٗGP9Tr#Ašژz R2"PbPT-M4f$v<lu(VD>XA v\\=V&.a'DVL" Z 75!9Wg̈́u/c;;`'Zz|:V? -첏H_]2SAP2P -+#`Xyu$#IH*GR9?TP4ӃTV򚗐JMPW8FLȪ2/~Nw ();yU? B G:0Wwee'eDB$a`ojtu|k ՜ aE(VDS?ެ$paCbi1h$[+J]q1=Y֎zzԏ.fnu="{8c]vA;s}aoсC/#X %&vPQbڡBM1&Gf0q =f&D:$Hdޫm7~Aa^ HA{w%O"8Nd ` zE8 xh:6>o3+S왞꺞f P7/:oK:fL$lFyj00[ԓ>esu+oz6L/?W>J;OqƔ1)O`METٓ=񼊼!}u&75}qKZ>ΧuY&yA2'0$KȶR+5@A^Xhn -MyM=9oʓ})VZ[6 ¼H~$"i{B> #Ig$mGAAbohg[O\-tzH_a\*PH GΒ?MlhBziiC] >0X2Hڑw46a9q8¹#k3 /$uqrWrtͽч$ -iGQ&p>eǰdQ14]ANhHuVYUۡ(L2ɹ騕s[j^u.&a]6_K7=7;2+w&}&EAM| R9/L| x% -|KJ|ej7 _86e V' Pһb>%S+X$'~Ti;=-4%Wd*a.g:2MzΕe5q""xT"t()uDB* 8ֹ/.6j=5&2I Tgzk9 -V$ <KzKwdmnBp$v;f\鰧08]`NX mopM,W~85-C -~&G 3g+%66d@BՎs`Zk[e+,5hLG&c3}γ.!Э` j&gSM懈"ʜnP/XMc1QQ9֮amGa #n{גl8`dFF g߽|uGƞ*vonXysp/?o%}KǛ+pvm?wWW|o~%댞f"đ)ʹSo`?/njjyu߼q;BGX%0*,p!-7 rP; gF,)L%1ufHpXib!ƚB"FNt -H:`63-ߜ+2o(!閡] %vF;g4ID3q i -TS>sd6 K/ ER澮8|-&&pɏkoOdv- Ƭ"M#IwJmfy%x34lywKjyyvww=򋟮](VLScgM C?3il|syqf/$^_//1ؾz#WM^^_OHF= ExiIܱ"D-RD4l_C2ML/n;^W -ū$b?NU_ -%yÁy4*(ᏸa>stream -HWn}'a^r&2L ـ,}Neghbٞ꺞"LgIjNjĻÃ6vdct -NpQ0@7w8g 1}VwS<ctS4h@1|||~Ϣl?nN϶7nyoķiqzGg}ۭe}xeu,3R6rk9E]ֿs3Yt'WRGNz\Bj~~ۮ?'#~X]-ǻo"; cq3^qyp =V8OC)8G;j"ERW͠8=}/U7Zx5!XI^E(ms.b 3 TXq}6>C4=+5|r3|^ʇcq";)c`Ϊ@a/8v -央/vչ AjԈ.X2 -y -ZARН&8L\ʁk罉ZW۠U0{/>.8M,d_=vwz#<:ǙBM"G7xk/7i0q^q*$*3' ҋVÐF([?> q'qAA GƏ ˆ:j|S:F)tZkNJWm ̓![jOGEj}D!Gbꐹsd -,5ҡYApc v/lzGSXuN#qEp3R]vMiϨ3h:k"iirb$ǪJ 1ȜX - F^#Bfԗooq:R a鴭Q:`qUIΫ``h*L`ѡHqB[H,:TKQ=ܛ֊kbN}9wa0&gRQAdI2DӜWxat>¢2jc?RD&T"n,y5bʸRՒ&|6c]tÄu #h$|0LUBQTبP"aз9܋zU S^Z^$GK$Oo<D &qCoҁagf"vE€ȠS7b*(ĉ,Ãi=?Nhմ2ַIR 1;Z<N 9xPfP0dά: e#FR#绳c* 6{^xqny,ߥ4a?qdTڐ2Rč?adDU”V6qgH c}Y*cP܌l؄H d wPiڏ78<}U}uszݽY/v|$MX 6b]"~,|loYwl]ݜ]v{_ -cG -?މlptJ\/sB?S -X\̻4»YbB\^q3H]L۝蠊r9a D4s^%ಌh1Æ*&UtyvQ1D_n# ESLd)bÔf*vDb:.ҒɊ׵GvxA :d.U0:1Y2>2LPtWՏHYZBΡɦߴACv9⦡CI\_NH85YЦC%.$xOh04T=#@i8;2EOxnO<I+XK݇ʺQ/<ɗ #W?[)$+\*p Mi*bCbK\C$r/N"201oL\=5@eUT28)ߦcb6^.H$UTYՁGB`<32]b4AN%<71WɊ>cb2* k@ 6iUbmDACH*I%=HpXH0,`lq<`0&>>ԭ{ٽc&ZuTq2j5\wVƋxZĺuqAʴ9 -0 Fٔn:xrsः#bauޛp_dO*vk)dEpN]@9e /&n? ^Y&bkr.tŹ_~ە!djlFoO.c@)@xMXLgRP18梤 :ȧ̯ 4d䇳A12X{؂`!Ė%n -S4vw\8) eCh;Z۰P*Je톚IZyu1̄T- -7v5R1*d%#b-~k _q;1}JT,̆pSj -$uUFD -8@G -+g{h)"N"wU`ɺby* !!o5dC~]3jrZsawf0ۨVٸv1[tb`IYG&>#(Uz$Uu cŌ CW2NSjs|U@(QHz u]YeBa]F`7GI9ل8FS;0p/S5M[ - -zgʢ(EFM\,RN: ^9)|!Q]WoIܡ8ąD=Dh3p #JwXB1lDhy+X(lc}aUqͽDЄD*kݶ k"Jj%6}݄=VσJ%)JI޿ou/E a`v]PuEp!D{xp"0O t pSf LpBRq.` z"57Kj$i"?Clgٖ4Ro~W lOW#9QI%AN쎴xY%U9jeP -Ȓ$ U؛p|J~ {\!'60+b!:LXX@e_45SqRtUǴˤDԈp{c0 -m ~/}YQ\,%B76`Ջ" f]z|}dWgiKv'H.ً*t({2vp8 |M&zQfWMNeJ4._k1&a*<$XȀDEeQ}hA.!! p'Mp)S誗)sd_їJىnB3IL3yį<}r<_)o{??Ûׇa۟]?}_.,w(:G /K^ayv0F$h:0Aq&;%Gۂ -'(/WF}fsb6}dǢ ]Konj5s3?/+?b@S - 8_!4d,Y;YM/#nq2j^]J?~D1(hj\8?jf#bWp2aZuW(f]<ٷ(7{?OŗtLբ",x`a RXʧY;&RA ?Lw\MKT֣.`y?Oc,yDImR(ꑇM7Xk&6HHۑSrIin}?Wնs96sqwdb]ݮO(u|JFܺ)ixdnvXr͟7U8wuX[2=~/>JE|f$sߕe*h^RSo!z]yjba9՝8b0l|*Ӳs۠ cѹtxz<Wʘ?h{ Lj7q!ԩ/ZQ5AB\{"SɌte*xxjbu0ȱkq05YnQ%i JdU?mUx&PypRe xbScu8ɸfP6e1팩Ϲ,;z0k]K[J8`A&3s*M' (frࠥ DuQS9h!|7puW5`OvjV{·mnϲp`kbE?v$AV18Dl2(ynDd\+6| BJ{b^^HO!=lNnYAcr -#\[rM z}DG;Zr#Fc6׳D\VBm6B*{4H+G5Sh2-si2ev.Ih0}0^-+J# xS~1FHSbl(_ h<8L>A'Oq!RT:(q'a s]%)fy|)a.ږsxZl!dcבN7`ߒUaEFqzU߼x|o.?zçwj5,|˫o/~7ɓ2?>ٿ_N^]ߞk| ^s*wϮ><8. ] 6Yrh r VWVL&g]Z]tk SRa3O֓-}N_j qV \qQ8qZ0԰>?k^&=Dx6kas^T@ _uO8M]Yv=ٌ(TjQ!W9NQ@jLmBnN#3@ -&)[FʨٲIvߥP|Kc$S3I4GqW# -MYxq:t2i-N5"V` "^$]`D*fxXj+&UX˴^, tT8!ZSa P -=VQNp(5 1W8c)ՌUW2&>ikBP+^!ܟQ:Ufl@d.+G0>5t6Mzg87Sm -W*.Zf׵ ϐgb/sԩ$Eq*k#PX@ ~"/R\E$umM|LXӆq!Ln*@ -qb $/3}ԽFxZ@$Y3 &zmօt<3Up%*h -u Y>U^y]J>U66y]ض̆¬s EE;e:RˍLk{DSJ0rzU-1SI%(7nԯfa=4p}7T``h/_Kla;e&D zVq?O za'^XN,һ@Gژ~Tpu3s$Vv"@/M!Fhq -M5q ` - ^}J̑rUO!5Iٽ;aPZȈ5Rߔp )MɎ݊1)e -B۶h5QPB(BP,J 7˄s[Ҳz@Iэ 1L(tbsB6 fjL/ 9f[ -b+8]Fh^2nubL39|1S}_ <]@_ьI'a eRF#~"+MA-2$)8p؛V IMKe CH"91>"o4Wļ5G)r!CUi0F6rS )7A#kahafau@FbN*XoU/4ςU{ndL?K.O^jmCR%Y-;;RB ꭂ2:˲{r^/mN>f - G d<͙0o@7\Y$ID@JrSC!C Yq].@ vaY}.7eB]=o鋓7."+e?ެUCFMdVԫ .e!OWxFhF16ӼtJTTrm8{|HcFQ [PmTC?3CZ%b$9=sou_!B:*1$#/ƋR? =hmy#xK?a,OpR&*/y8o 6^4tZQU3JVuFFEs*Xxu̧Gb<P@$߿۵r7EWg^}x{{ߖr77 1Ԁ oAڨi'Rɮ?w{J0)|;پW*IK{!1LY1(sbvYՁU#JM0_*E)hB.)T\#tc \ѓCOz%`2ɀXcl`e8`Zԩ,g;0hFq&4is;3#EjCƧ@mnC/ QBeVc.yd'eǖ@}nyƪUJ~y lDz }i3|<} }JmCP({J+BZ\SQTF_͏W3\QtF_^DlFl :0[] -yz"Dqʇ@W5 ]}+~6 -d.;!W=\utA.򣐋\QO\=^WBj<1?Xs2n'=vP`,0ߺ[\vߝϋN  ṛIN¤j̍Ѐhu0$WքSQgBm7NLުԌkOf4j3qiN< -Z{ѝA $3hG<4³,"U_@>5ТR -r'8=';AC`geR䃃S>8\ IxK$C,HV{]*SS !nkXB"֒Z+c| 7l=v/.0S38O֥2Y#{ '~0萉NLЌZLjvVc>l abս'QlތS78;'h 8p+[gHh>f+n^|z:Y_v~AڙAW!{Bީ0bf=ؚؗt/6рً! N -D:$ (I>\U5Z5%.蠖FLM8%ӡ1Y}Qv۶υIKeJ00r0IEʋ5ŐK:bʮڋe3Ever:lf~3% Wh / -|ԤI`d;`qlqtfޔmN44 םIH]\{~ɡAt$8MxnR,˘u&c@%XV&:~[7|kµ9)RײHz8yx& g-SOStjIuj~MĎ5ڔCZS bUvJA`K&׼N^0碚wa8^.CgJ{Ƶ2@LZ^?]t^M0(03[M:!+ɴK^lqW$/yy|CT9g]+N x: @}}Wv_pjegBEe4m*T*4)7 |*h'bEae*UV畝1)\嵊BQ*~v$daA%s bZH"ԢӜA$ P -/ -RJ&12s끤BO N-q[oezF@CxMu-􂵒]/Jrپ2wA*6iCuY!4TAe| MҶ/!ŭhA73 -.ʬG5=>$-n4*,€t1'}`>]f(C"3=s+fj>AWAEh']7d@cjz7Q<nQj.]l~8~0k*>.,-zZ[t>.M {TH  j鶋^T9*I VS`? .~ QDwm{l_1z&}8MЏF3mG.9Ȣ,٢d_|=]I>?di?0Z),t DvBh^#XMfeIlUGW*jF/.jr^}< g!$H6=ba,H |R1ZRE -,'Cs Z6ᕊ[ZsϐR}io]7 Rڞqdh ^\1 V{w-ՍLA2;O&3H<;H *$_PB,ǥ:fsI9WkwKf/a%6]J!jA.m\\.L6Vp8*]Սz[DۇZ* -jIluyP.RuQDL?¡3M85UѓZT5PּDfnbY2n @gCk&]P,:jz{_> -  fzdeॐz{-GG(%0k tK` zQVjCkUЙBгn .q, j6W(ίؑTJhl)fQ q>SwedK+j[fٿZ޵ϺpFYꂩrԐdQm-}ߑqCqn&tHKyekQ48<^_JxƅW F9jl:q.2x.ea9C*P~U߳/4.\v0/BѢaSe5r[yռ@`z Z4Ԡ-͟Xwiv/jzVkD}p]힥vv/n:O -~=9y.j][xQ7wޭO>a6JQr[؍ zqbNƃBiƤ]Nɇ( ig;^U4hP =N$eF}Z8c]8ʗNf§265:ffga={FycWQ6Hsb]cqON^FU$ΐGy~^q@LGs"RQj70tAHG9| |k{qn#VD9srcƜݓs6>>7]HW9N[#Q@q=bbz,m7dvsv^wT#Ĺ,!^9 -'}])4\3u{bNW:;(>[/׉~&;d#C~}|*hDqF3%f1vO;ʣO[[? W<'qe|:uixB [; i#]I>?dw*):B^dԎ^%1 ;Xq b -NPy/>ū4^y'hN#@蛾M0:@c2\pho TSw= xhPB M!eg${h_>|fb*7qd9oz/Y ~p|=?[!,鎉Amvu/M1[0(v[ܞYexW[8Bept9]537G"[e{X0M(>σ)Ć) SXty58*6;^gG3ªy\H'(L_Q#r=KEoi6&9mI=&c{QwEK]+SKSmUR=rM;x;L/F?fu^ٮk:o'q6ۓɢtT+qyŨN*/I,IֲP_ -8`W,+u/L0%\RӋRS# <,$t-Aΐzh;%JKMAZu- -{x`8 srBb~ ^Oxۀ -9 -ebXW, -endstream endobj 188 0 obj <>stream -HWkO/@~?/F#˺vxvOU.#ɍ̊e>]}T5gb4{޾l ooM1b;Uu^W.c6y1MK&blO[;I~kE ;s6fǽbq `٢)}I,ڊɚŲ.kZGl9{ΰQYTlgyYIuЈd9 nଽIk(?ϛy3wz@{lV5*9]yYp>2y@lg*gWhK|I0zL3. 6-?8?gM,_.'ŢؓeaڌQrc)拫gÙbvqǙ)UOOWe|iKStf[Ƽij95)S%UCYkSCIXGR6@T![YwTϜm!uMdqE;zs,բDwƗ0Mt/,o@!-k *)-zHL0ĞtuM_2Q _}t^M}wNOY{>>/AjI G?y)I%u_(4wXߡ.Gi(͇4Qџ6K]G/oW e8xY,[FJz ב9+ [ͪ -lh6e)֛Eļh.h,"KJM9Mz4ߚE1*?,}mT@,ZI;ʱϰRf 2 FQt  J|䤎 -5 -@Cʟ*ӜLɢhO+[Y7RWM$yjT䈣0FX@k&c-H3Hlc uƐ}#RI8EEuP mL]'(-Q*"2NJ;e$ލ3=ޒlxy2h-j?v3ҽ"~Opt -76żdś]p E] \-:;g`tA?[ī;YEu-vyU4g2y;B}.7|e3{TQ&*AD]kYↇ{ԕؠAG@H? \(|b{cPP>Qʙ;t($ &Tjux+q#Ma|OTYπ(AN^3~tG2n!aKb TΫ: ĚJfpFMڒhKR55م%572K -l=V)tn|׆|Lg^ooH80B -[.Ml+AK-0!VcC 2=ntqYhUs xXW"E˧DZJu1T7J~o3|f8-}N5-ЖZ'qr?LXQqƎӿ#5 -Fji%U~8_HZ3%gξɄ/?(<>d7~DM*.;.gd=$$jF4-NʻZ+G!{yc(y@4zorj;*E3="7 A||6OYG%ۤy*W_(7^uֵYvDBU, -"£̝b4x9\eCVk?W2aDwRxSNnS碌2 hW;t99U3U~> cȄ3"}sy_zUrAH)Fg%.3oW ]'i(򊔪`Gq,%"jյ[R {AJdNjOB BPg˄y.2?3T~V4PSIqۓKEB)uҝ‡-|,Z 6+]臌)-м'< lor}|*Ϲ|Vrc6HŸtm28N|\**GIӗ:ȠFxrqhh':Hcgx;9%ei'^E /@lZz)h*饠h6+- -{xJ{Eo(܈t(VdK&jx=KT\8n,qr:\ 5 -쥆a.IT78M9 -Pkc.u4(r2ͨr-Aͯ4V7Ȼ'vvD~FUh6Y=/$]9(wR 4bR3ĵP  W/l8/%!dO]㹀>ۃX": !{hꜺCzJ_$ شR$]eZz)h+e$ Jn0t߻uŌlb[ҢTp#Rҡ:-jx=K U\8n,qr:\Enpl~yQF=W $3BdFHy!ʡFCp$whȾ4bRCĿP uZc6,]Ww< wI47G3ډ y%\k*- -H@wT.HbKADDvi饠h6+- -t2'#slmW`k`UZnD -S:PV#B·PC8{jK<Ǎ NSZǘgx 5 -|8o)zgw{d+ͽ2z]!Q$D6B:uV IWE0#FsJ$aLKQ ώKBȎJ`_j!ٰt]_K.B*\]BƀNۃH: Otz%\k*- -H@{T.HbKADDvi饠h6+- -7M'C甮X`k`UZnD -S:PV#B·PC8{jK<Ǎ NSZǘgx 5 -x8o)zgw{d+ͽ2=jAH$gTl3NBҕC2H,օ I!}y%AdG% -0/l/%!C]B?/T( xVD/wwNOԜ]#"cfh!ay3yG׳W|c 3*#Bdh mǙMSgj,rWM% [%4daVIom͕bk- dlO\Tw ֒"+u$}r˥ƯІ ɱja.^[CM9 PcC!?86$QSJu`>ޝ'Q.䑫;vMf!:cҡ\=Ϥ*r$)CC.41!*)2>"_ڷi==h)b/ -o@۲AP @vD]3s-a:5X9æ֒z -f28Jkpd[cѡYaj- H !RGʸl!P$"9VP-%ދtK|)'jc('dž^< -qjQnB'$ʅ,p7M% [%4dIVIom͕bk- =;ԙٮ l]% D01VH@-AjxD$ -d{nq6$@q PG!N-*yW{uDG_7;g+^xȎIr<ȑ0X`S wOFSy(mgef|BhJd22"<hQZ+_dDưqz&RbeXА;#, ~Z>SD}yzr͎M*Iu)6ٷ=CK a0A,辕$=%q d5| z(E-s4X,h?FY"llS~#XH >vM( -f!¦f8O),)OHi&>hoIږq_9 @v^5b~[9{oH_Ru=iL'c",7>m<p? :G_ -endstream endobj 189 0 obj <>stream -HQo80@q@E4Iۧ6)\vPd: *K$?mĉh4m06"E;_X?/v:[)R{}^NgV/5X3e?@|j{ҿ_KnJ2?xg_8,7~ךmDebGmQLcSf2;k`:=ؓk -xd)^f1 BW"IbFL+!P^,\5YwPziSp[]oj%Z2cA`[֮ڀl7ˬF-7P)~ -Fbt윌rwzih.%^48$²ycbb<2"io0S5l` $M@nx|y7 ?I2UN95qZ:W ycsARLS?@LM*U4D[}dT7Xi^ADc^ނvW`OIh)(A'Ifv_I[>Ǵ&=1N+WZG;hܱ )ϩS  wp*H->2x4J L/poAeit\7\51m;1~y-.=Y -c~LC+-4+oϴq(hD\ތB'մR !ɸx(;GJ+P0Nزy0߱[9p9п.zMEZ5PU7׻Y|V],^]h%Z2SxwtgCYfm6lټ!lu7d"'$EV0zuW%h?6<b>|vLl- P$3MJzaT&y fycsAS?@LM*U4D[}dTsñL/PΣՍt/zovkRgv -czam{aOԊSj&͊3@ ?1C7й /ep윌rzih-)V^,(óYw]e[9ʁVrr׭k@+Z9ʁVr`؏h@Z=Vzbprz࢕ kX()-zpJ=e&r: jφp̪Ǥ2 ]͌ȫm0- ~?Pbz'n -WɌ$#򮯟ezvrnD Kr`rMjMNa/,^ou9Rc[wlYͤY1|#Dq3f:w,CqP.wZ6 &Kѓ%`$czPz`x>[5Ъe 25P*KV],^\dj%Z2زvtgCYfm6lټ!m+o@E[)] H{YZTIR^Ĺ @0/[t'T<$Wz:iBw3'i%j[vp;6$9~*N"[EI:GFu3FD4-hwu:.Q;.&פδՖC,+1?ygL7gZy8AW e 20j"z-zJ=eZ,vnYu[6oTS4:A9hX ċ&CE[)] H{o,/Te W/8q. ir#P/#̋ OxI2Xjp鍺=@; v;8vN -*iS+C4g)g/vN95 Zٶ UysIRL_SZmm@|@_,JvN95 Zٶ UysIRL_SZ34MAE47K(qoAe%Ipv0!um8rouy싕z-z4Xpj+GB+!f/nKqG蔞]ʾ9DA;KGyy;<6VTX bͣQ} (=Қ'5w 4W(z$T<ʗ[.Ys.(#h)̌[\bjwл=;BUi;Bx'y. -YfpUdDJ% -Ar]$u: -@ 0T',M -endstream endobj 162 0 obj [/ICCBased 170 0 R] endobj 190 0 obj <> endobj xref -0 191 -0000000004 65535 f -0000000016 00000 n -0000000076 00000 n -0000048436 00000 n -0000000005 00000 f -0000000006 00000 f -0000000007 00000 f -0000000008 00000 f -0000000009 00000 f -0000000010 00000 f -0000000011 00000 f -0000000012 00000 f -0000000013 00000 f -0000000014 00000 f -0000000015 00000 f -0000000016 00000 f -0000000017 00000 f -0000000018 00000 f -0000000019 00000 f -0000000020 00000 f -0000000021 00000 f -0000000022 00000 f -0000000023 00000 f -0000000024 00000 f -0000000025 00000 f -0000000026 00000 f -0000000027 00000 f -0000000028 00000 f -0000000029 00000 f -0000000030 00000 f -0000000031 00000 f -0000000032 00000 f -0000000033 00000 f -0000000034 00000 f -0000000035 00000 f -0000000036 00000 f -0000000037 00000 f -0000000038 00000 f -0000000039 00000 f -0000000040 00000 f -0000000041 00000 f -0000000042 00000 f -0000000043 00000 f -0000000044 00000 f -0000000045 00000 f -0000000046 00000 f -0000000047 00000 f -0000000048 00000 f -0000000049 00000 f -0000000050 00000 f -0000000051 00000 f -0000000052 00000 f -0000000053 00000 f -0000000054 00000 f -0000000055 00000 f -0000000056 00000 f -0000000057 00000 f -0000000058 00000 f -0000000059 00000 f -0000000060 00000 f -0000000061 00000 f -0000000062 00000 f -0000000063 00000 f -0000000064 00000 f -0000000065 00000 f -0000000066 00000 f -0000000067 00000 f -0000000068 00000 f -0000000069 00000 f -0000000070 00000 f -0000000071 00000 f -0000000072 00000 f -0000000073 00000 f -0000000074 00000 f -0000000075 00000 f -0000000076 00000 f -0000000077 00000 f -0000000078 00000 f -0000000079 00000 f -0000000080 00000 f -0000000081 00000 f -0000000082 00000 f -0000000083 00000 f -0000000084 00000 f -0000000085 00000 f -0000000086 00000 f -0000000087 00000 f -0000000088 00000 f -0000000089 00000 f -0000000090 00000 f -0000000091 00000 f -0000000092 00000 f -0000000093 00000 f -0000000094 00000 f -0000000095 00000 f -0000000096 00000 f -0000000097 00000 f -0000000098 00000 f -0000000099 00000 f -0000000100 00000 f -0000000101 00000 f -0000000102 00000 f -0000000103 00000 f -0000000104 00000 f -0000000105 00000 f -0000000106 00000 f -0000000107 00000 f -0000000108 00000 f -0000000109 00000 f -0000000110 00000 f -0000000111 00000 f -0000000112 00000 f -0000000113 00000 f -0000000114 00000 f -0000000115 00000 f -0000000117 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000000000 00000 f -0000051202 00000 n -0000048489 00000 n -0000048844 00000 n -0000049045 00000 n -0000061445 00000 n -0000058207 00000 n -0000050103 00000 n -0000049109 00000 n -0000231123 00000 n -0000049538 00000 n -0000049588 00000 n -0000055520 00000 n -0000055406 00000 n -0000051720 00000 n -0000051805 00000 n -0000052189 00000 n -0000055557 00000 n -0000058244 00000 n -0000061521 00000 n -0000062006 00000 n -0000062952 00000 n -0000069751 00000 n -0000084919 00000 n -0000102822 00000 n -0000111395 00000 n -0000126519 00000 n -0000132206 00000 n -0000141391 00000 n -0000143749 00000 n -0000159943 00000 n -0000177431 00000 n -0000183301 00000 n -0000187819 00000 n -0000205653 00000 n -0000220229 00000 n -0000227091 00000 n -0000231160 00000 n -trailer -<]>> -startxref -231333 -%%EOF diff --git a/src/main/webapp/js/colorbox/colorbox.css b/src/main/webapp/js/colorbox/colorbox.css deleted file mode 100644 index 4e57eae17da9faf7a875301a07e80222fb1fa441..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/colorbox.css +++ /dev/null @@ -1,85 +0,0 @@ -/* - ColorBox Core Style: - The following CSS is consistent between example themes and should not be altered. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative;} -#cboxLoadedContent{overflow:auto;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block;} -.cboxIframe{width:100%; height:100%; display:block; border:0;} - -/* - User Style: - Change the following styles to modify the appearance of ColorBox. They are - ordered & tabbed in a way that represents the nesting of the generated HTML. -*/ -#cboxOverlay{background:url(images/overlay.png) repeat 0 0;} -#colorbox{} - #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;} - #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;} - #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;} - #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px -29px;} - #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;} - #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;} - #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;} - #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;} - #cboxContent{background:#fff; overflow:hidden;} - .cboxIframe{background:#fff;} - #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{margin-bottom:28px;} - #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;} - #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;} - #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;} - #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxPrevious:hover{background-position:-75px -25px;} - #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxNext:hover{background-position:-50px -25px;} - #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;} - #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} - #cboxClose{position:absolute;top:0; bottom:0; border:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:26px; height:26px; text-indent:-9999px;} - #cboxClose:hover{background-position:-25px -25px;} - -/* - The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill - when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9. - See: http://jacklmoore.com/notes/ie-transparency-problems/ -*/ -.cboxIE #cboxTopLeft, -.cboxIE #cboxTopCenter, -.cboxIE #cboxTopRight, -.cboxIE #cboxBottomLeft, -.cboxIE #cboxBottomCenter, -.cboxIE #cboxBottomRight, -.cboxIE #cboxMiddleLeft, -.cboxIE #cboxMiddleRight { - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); -} - -/* - The following provides PNG transparency support for IE6 - Feel free to remove this and the /ie6/ directory if you have dropped IE6 support. -*/ -.cboxIE6 #cboxTopLeft{background:url(images/ie6/borderTopLeft.png);} -.cboxIE6 #cboxTopCenter{background:url(images/ie6/borderTopCenter.png);} -.cboxIE6 #cboxTopRight{background:url(images/ie6/borderTopRight.png);} -.cboxIE6 #cboxBottomLeft{background:url(images/ie6/borderBottomLeft.png);} -.cboxIE6 #cboxBottomCenter{background:url(images/ie6/borderBottomCenter.png);} -.cboxIE6 #cboxBottomRight{background:url(images/ie6/borderBottomRight.png);} -.cboxIE6 #cboxMiddleLeft{background:url(images/ie6/borderMiddleLeft.png);} -.cboxIE6 #cboxMiddleRight{background:url(images/ie6/borderMiddleRight.png);} - -.cboxIE6 #cboxTopLeft, -.cboxIE6 #cboxTopCenter, -.cboxIE6 #cboxTopRight, -.cboxIE6 #cboxBottomLeft, -.cboxIE6 #cboxBottomCenter, -.cboxIE6 #cboxBottomRight, -.cboxIE6 #cboxMiddleLeft, -.cboxIE6 #cboxMiddleRight { - _behavior: expression(this.src = this.src ? this.src : this.currentStyle.backgroundImage.split('"')[1], this.style.background = "none", this.style.filter = "progid:DXImageTransform.Microsoft.AlphaImageLoader(src=" + this.src + ", sizingMethod='scale')"); -} diff --git a/src/main/webapp/js/colorbox/colorbox.jquery.json b/src/main/webapp/js/colorbox/colorbox.jquery.json deleted file mode 100644 index 3002051f2e4158c52718391cc29a4040d407c596..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/colorbox.jquery.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "name": "colorbox", - "title": "Colorbox", - "description": "jQuery lightbox and modal window plugin", - "version": "1.5.8", - "dependencies": { - "jquery": ">=1.3.2" - }, - "keywords": [ - "modal", - "lightbox", - "window", - "popup", - "ui", - "jQuery" - ], - "author": { - "name": "Jack Moore", - "url": "http://www.jacklmoore.com", - "email": "hello@jacklmoore.com" - }, - "licenses": [ - { - "type": "MIT", - "url": "http://www.opensource.org/licenses/mit-license.php" - } - ], - "homepage": "http://www.jacklmoore.com/colorbox", - "demo": "http://www.jacklmoore.com/colorbox" -} \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/colorboxSet.js b/src/main/webapp/js/colorbox/colorboxSet.js deleted file mode 100644 index 7678a22e598f6bc86b3b7e348c679f13df8c8103..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/colorboxSet.js +++ /dev/null @@ -1,23 +0,0 @@ -$(document).ready(function () { - $(".iframe_SmallForm").colorbox({ overlayClose: false, opacity: 0.2, iframe: true, width: 400, height: 350 }); - $(".iframe_LargeForm").colorbox({ overlayClose: false, opacity: 0.2, iframe: true, width: 700, height: 500 }); - $(".iframe_MoreLargeForm").colorbox({ overlayClose: false, opacity: 0.2, iframe: true, width: 900, height: 500 }); - $("._Win").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 400, height: 350 }); - - $(".iframe_WareHouseDocument").colorbox({ overlayClose: false, iframe: true, width: 800, height: 500 }); - $(".iframe_Contract").colorbox({ overlayClose: false, opacity: 0.2, iframe: true, width: 750, height: 500 }); - - $("._WinMaterials").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 660, height: 420 }); - $("._WinNP").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 400, height: 260 }); - $("._WinActivity").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 400, height: 260 }); - $("._WinMaterialCategory").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 600, height: 450 }); - $("._WinBudgetCategory").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 600, height: 450 }); - $("._WinDetail").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 660, height: 400 }); - - $(".iframe_Img").colorbox({ iframe: true, opacity: 0.2, width: 600, height: 400 }); - - - //单据 - $(".iframe_BillDetailForm").colorbox({ overlayClose: false, opacity: 0.2, iframe: true, width: 780, height: 500 }); - $(".iframe_BillDetailFormWin").colorbox({ overlayClose: false, opacity: 0.2, inline: true, width: 700, height: 400 }); -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/content/ajax.html b/src/main/webapp/js/colorbox/content/ajax.html deleted file mode 100644 index e772638ad168d2afed45485dace22582e71095ba..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/content/ajax.html +++ /dev/null @@ -1,11 +0,0 @@ -

    - Homer
    - \noun\
    - 1. American bonehead
    - 2. Pull a Homer-
    - to succeed despite
    - idiocy -
    - \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/content/daisy.jpg b/src/main/webapp/js/colorbox/content/daisy.jpg deleted file mode 100644 index 2928b193a5897b4aa69ac872d2a06b7f5af868c4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/content/daisy.jpg and /dev/null differ diff --git a/src/main/webapp/js/colorbox/content/daisy@2x.jpg b/src/main/webapp/js/colorbox/content/daisy@2x.jpg deleted file mode 100644 index 44f0e60550b4c41a092f2fc479a83a7c977b99dd..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/content/daisy@2x.jpg and /dev/null differ diff --git a/src/main/webapp/js/colorbox/content/homer.jpg b/src/main/webapp/js/colorbox/content/homer.jpg deleted file mode 100644 index 87ec76c998481663c6098db5c82eded6f0b8b344..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/content/homer.jpg and /dev/null differ diff --git a/src/main/webapp/js/colorbox/content/marylou.jpg b/src/main/webapp/js/colorbox/content/marylou.jpg deleted file mode 100644 index 4c717d2761cc0b592f3526a883590fd4802ba2e9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/content/marylou.jpg and /dev/null differ diff --git a/src/main/webapp/js/colorbox/content/ohoopee1.jpg b/src/main/webapp/js/colorbox/content/ohoopee1.jpg deleted file mode 100644 index aae19a3e64828805a55806998a33988e68b462c8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/content/ohoopee1.jpg and /dev/null differ diff --git a/src/main/webapp/js/colorbox/content/ohoopee2.jpg b/src/main/webapp/js/colorbox/content/ohoopee2.jpg deleted file mode 100644 index 206894489f86282dd11d65f29682b0cf6de1ae2c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/content/ohoopee2.jpg and /dev/null differ diff --git a/src/main/webapp/js/colorbox/content/ohoopee3.jpg b/src/main/webapp/js/colorbox/content/ohoopee3.jpg deleted file mode 100644 index 4d64d2400e43aed298c627f60fa80dc7297e791e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/content/ohoopee3.jpg and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example1/colorbox.css b/src/main/webapp/js/colorbox/example1/colorbox.css deleted file mode 100644 index d5613d74f9f90085ca9409a8c3ae70d3daa0a576..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example1/colorbox.css +++ /dev/null @@ -1,70 +0,0 @@ -/* - Colorbox Core Style: - The following CSS is consistent between example themes and should not be altered. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxWrapper {max-width:none;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative;} -#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;} -.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;} -#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;} - -/* - User Style: - Change the following styles to modify the appearance of Colorbox. They are - ordered & tabbed in a way that represents the nesting of the generated HTML. -*/ -#cboxOverlay{background:url(images/overlay.png) repeat 0 0;} -#colorbox{outline:0;} - #cboxTopLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px 0;} - #cboxTopRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px 0;} - #cboxBottomLeft{width:21px; height:21px; background:url(images/controls.png) no-repeat -101px -29px;} - #cboxBottomRight{width:21px; height:21px; background:url(images/controls.png) no-repeat -130px -29px;} - #cboxMiddleLeft{width:21px; background:url(images/controls.png) left top repeat-y;} - #cboxMiddleRight{width:21px; background:url(images/controls.png) right top repeat-y;} - #cboxTopCenter{height:21px; background:url(images/border.png) 0 0 repeat-x;} - #cboxBottomCenter{height:21px; background:url(images/border.png) 0 -29px repeat-x;} - #cboxContent{background:#fff; overflow:hidden;} - .cboxIframe{background:#fff;} - #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{margin-bottom:28px;} - #cboxTitle{position:absolute; bottom:4px; left:0; text-align:center; width:100%; color:#949494;} - #cboxCurrent{position:absolute; bottom:4px; left:58px; color:#949494;} - #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;} - #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} - - /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ - #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; } - - /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */ - #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;} - - #cboxSlideshow{position:absolute; bottom:4px; right:30px; color:#0092ef;} - #cboxPrevious{position:absolute; bottom:0; left:0; background:url(images/controls.png) no-repeat -75px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxPrevious:hover{background-position:-75px -25px;} - #cboxNext{position:absolute; bottom:0; left:27px; background:url(images/controls.png) no-repeat -50px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxNext:hover{background-position:-50px -25px;} - #cboxClose{position:absolute; bottom:0; right:0; background:url(images/controls.png) no-repeat -25px 0; width:25px; height:25px; text-indent:-9999px;} - #cboxClose:hover{background-position:-25px -25px;} - -/* - The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill - when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9. - See: http://jacklmoore.com/notes/ie-transparency-problems/ -*/ -.cboxIE #cboxTopLeft, -.cboxIE #cboxTopCenter, -.cboxIE #cboxTopRight, -.cboxIE #cboxBottomLeft, -.cboxIE #cboxBottomCenter, -.cboxIE #cboxBottomRight, -.cboxIE #cboxMiddleLeft, -.cboxIE #cboxMiddleRight { - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); -} \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/example1/images/border.png b/src/main/webapp/js/colorbox/example1/images/border.png deleted file mode 100644 index f463a10d838aeba263ff44e5c3578dfe7ba07648..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example1/images/border.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example1/images/controls.png b/src/main/webapp/js/colorbox/example1/images/controls.png deleted file mode 100644 index dcfd6fb9f178454613123d018bf742c8cc905df7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example1/images/controls.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example1/images/loading.gif b/src/main/webapp/js/colorbox/example1/images/loading.gif deleted file mode 100644 index b4695d811d4f84ed693eff7b5e6b4d61a3e8c48d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example1/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example1/images/loading_background.png b/src/main/webapp/js/colorbox/example1/images/loading_background.png deleted file mode 100644 index 6ae83e697352da5bc75ff264f66e978c0928acee..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example1/images/loading_background.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example1/images/overlay.png b/src/main/webapp/js/colorbox/example1/images/overlay.png deleted file mode 100644 index 53ea98f7003cf014cda2f764a7d982e405bd1b5f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example1/images/overlay.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example1/index.html b/src/main/webapp/js/colorbox/example1/index.html deleted file mode 100644 index 8f10b930606331fa8042ef7bc28f70fc7f129008..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example1/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Colorbox Examples - - - - - - - -

    Colorbox Demonstration

    -

    Elastic Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Fade Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    No Transition + fixed width and height (75% of screen size)

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Slideshow

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Other Content Types

    -

    Outside HTML (Ajax)

    -

    Flash / Video (Iframe/Direct Link To YouTube)

    -

    Flash / Video (Iframe/Direct Link To Vimeo)

    -

    Outside Webpage (Iframe)

    -

    Inline HTML

    - -

    Demonstration of using callbacks

    -

    Example with alerts. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.

    - - -

    Retina Images

    -

    Retina

    -

    Non-Retina

    - - -
    -
    -

    This content comes from a hidden element on this page.

    -

    The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.

    -

    Click me, it will be preserved!

    - -

    If you try to open a new Colorbox while it is already open, it will update itself with the new content.

    -

    Updating Content Example:
    - Click here to load new content

    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/example2/colorbox.css b/src/main/webapp/js/colorbox/example2/colorbox.css deleted file mode 100644 index fbe8e4a5152e4481f506c441a6262552ecd59f38..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example2/colorbox.css +++ /dev/null @@ -1,50 +0,0 @@ -/* - Colorbox Core Style: - The following CSS is consistent between example themes and should not be altered. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxWrapper {max-width:none;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative;} -#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;} -.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;} -#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;} - -/* - User Style: - Change the following styles to modify the appearance of Colorbox. They are - ordered & tabbed in a way that represents the nesting of the generated HTML. -*/ -#cboxOverlay{background:#fff;} -#colorbox{outline:0;} - #cboxContent{margin-top:32px; overflow:visible; background:#000;} - .cboxIframe{background:#fff;} - #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{background:#000; padding:1px;} - #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} - #cboxLoadingOverlay{background:#000;} - #cboxTitle{position:absolute; top:-22px; left:0; color:#000;} - #cboxCurrent{position:absolute; top:-22px; right:205px; text-indent:-9999px;} - - /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ - #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; text-indent:-9999px; width:20px; height:20px; position:absolute; top:-20px; background:url(images/controls.png) no-repeat 0 0;} - - /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */ - #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;} - - #cboxPrevious{background-position:0px 0px; right:44px;} - #cboxPrevious:hover{background-position:0px -25px;} - #cboxNext{background-position:-25px 0px; right:22px;} - #cboxNext:hover{background-position:-25px -25px;} - #cboxClose{background-position:-50px 0px; right:0;} - #cboxClose:hover{background-position:-50px -25px;} - .cboxSlideshow_on #cboxPrevious, .cboxSlideshow_off #cboxPrevious{right:66px;} - .cboxSlideshow_on #cboxSlideshow{background-position:-75px -25px; right:44px;} - .cboxSlideshow_on #cboxSlideshow:hover{background-position:-100px -25px;} - .cboxSlideshow_off #cboxSlideshow{background-position:-100px 0px; right:44px;} - .cboxSlideshow_off #cboxSlideshow:hover{background-position:-75px -25px;} diff --git a/src/main/webapp/js/colorbox/example2/images/controls.png b/src/main/webapp/js/colorbox/example2/images/controls.png deleted file mode 100644 index 8569b57f1023685883cc8b2002f0763d4e79638d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example2/images/controls.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example2/images/loading.gif b/src/main/webapp/js/colorbox/example2/images/loading.gif deleted file mode 100644 index 19c67bbd0403f3f00d71bfb21a59cb6c55d482ab..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example2/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example2/index.html b/src/main/webapp/js/colorbox/example2/index.html deleted file mode 100644 index 8f10b930606331fa8042ef7bc28f70fc7f129008..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example2/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Colorbox Examples - - - - - - - -

    Colorbox Demonstration

    -

    Elastic Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Fade Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    No Transition + fixed width and height (75% of screen size)

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Slideshow

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Other Content Types

    -

    Outside HTML (Ajax)

    -

    Flash / Video (Iframe/Direct Link To YouTube)

    -

    Flash / Video (Iframe/Direct Link To Vimeo)

    -

    Outside Webpage (Iframe)

    -

    Inline HTML

    - -

    Demonstration of using callbacks

    -

    Example with alerts. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.

    - - -

    Retina Images

    -

    Retina

    -

    Non-Retina

    - - -
    -
    -

    This content comes from a hidden element on this page.

    -

    The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.

    -

    Click me, it will be preserved!

    - -

    If you try to open a new Colorbox while it is already open, it will update itself with the new content.

    -

    Updating Content Example:
    - Click here to load new content

    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/example3/colorbox.css b/src/main/webapp/js/colorbox/example3/colorbox.css deleted file mode 100644 index 6b1b6d4b80e583918808bd0cbc2ca7f2d5d91e72..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example3/colorbox.css +++ /dev/null @@ -1,45 +0,0 @@ -/* - Colorbox Core Style: - The following CSS is consistent between example themes and should not be altered. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxWrapper {max-width:none;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative;} -#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;} -.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;} -#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;} - -/* - User Style: - Change the following styles to modify the appearance of Colorbox. They are - ordered & tabbed in a way that represents the nesting of the generated HTML. -*/ -#cboxOverlay{background:#000;} -#colorbox{outline:0;} - #cboxContent{margin-top:20px;background:#000;} - .cboxIframe{background:#fff;} - #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{border:5px solid #000; background:#fff;} - #cboxTitle{position:absolute; top:-20px; left:0; color:#ccc;} - #cboxCurrent{position:absolute; top:-20px; right:0px; color:#ccc;} - #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} - - /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ - #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; } - - /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */ - #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;} - - #cboxSlideshow{position:absolute; top:-20px; right:90px; color:#fff;} - #cboxPrevious{position:absolute; top:50%; left:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top left; width:28px; height:65px; text-indent:-9999px;} - #cboxPrevious:hover{background-position:bottom left;} - #cboxNext{position:absolute; top:50%; right:5px; margin-top:-32px; background:url(images/controls.png) no-repeat top right; width:28px; height:65px; text-indent:-9999px;} - #cboxNext:hover{background-position:bottom right;} - #cboxClose{position:absolute; top:5px; right:5px; display:block; background:url(images/controls.png) no-repeat top center; width:38px; height:19px; text-indent:-9999px;} - #cboxClose:hover{background-position:bottom center;} diff --git a/src/main/webapp/js/colorbox/example3/images/controls.png b/src/main/webapp/js/colorbox/example3/images/controls.png deleted file mode 100644 index e1e97982a6b4038f0aae1f9e2e7fa4d89df68841..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example3/images/controls.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example3/images/loading.gif b/src/main/webapp/js/colorbox/example3/images/loading.gif deleted file mode 100644 index 19c67bbd0403f3f00d71bfb21a59cb6c55d482ab..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example3/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example3/index.html b/src/main/webapp/js/colorbox/example3/index.html deleted file mode 100644 index 8f10b930606331fa8042ef7bc28f70fc7f129008..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example3/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Colorbox Examples - - - - - - - -

    Colorbox Demonstration

    -

    Elastic Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Fade Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    No Transition + fixed width and height (75% of screen size)

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Slideshow

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Other Content Types

    -

    Outside HTML (Ajax)

    -

    Flash / Video (Iframe/Direct Link To YouTube)

    -

    Flash / Video (Iframe/Direct Link To Vimeo)

    -

    Outside Webpage (Iframe)

    -

    Inline HTML

    - -

    Demonstration of using callbacks

    -

    Example with alerts. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.

    - - -

    Retina Images

    -

    Retina

    -

    Non-Retina

    - - -
    -
    -

    This content comes from a hidden element on this page.

    -

    The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.

    -

    Click me, it will be preserved!

    - -

    If you try to open a new Colorbox while it is already open, it will update itself with the new content.

    -

    Updating Content Example:
    - Click here to load new content

    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/example4/colorbox.css b/src/main/webapp/js/colorbox/example4/colorbox.css deleted file mode 100644 index 152ca8284114a225155731392112475152298a92..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example4/colorbox.css +++ /dev/null @@ -1,66 +0,0 @@ -/* - Colorbox Core Style: - The following CSS is consistent between example themes and should not be altered. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxWrapper {max-width:none;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative;} -#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;} -.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;} -#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;} - -/* - User Style: - Change the following styles to modify the appearance of Colorbox. They are - ordered & tabbed in a way that represents the nesting of the generated HTML. -*/ -#cboxOverlay{background:#fff;} -#colorbox{outline:0;} - #cboxTopLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 0;} - #cboxTopCenter{height:25px; background:url(images/border1.png) repeat-x 0 -50px;} - #cboxTopRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px 0;} - #cboxBottomLeft{width:25px; height:25px; background:url(images/border1.png) no-repeat 0 -25px;} - #cboxBottomCenter{height:25px; background:url(images/border1.png) repeat-x 0 -75px;} - #cboxBottomRight{width:25px; height:25px; background:url(images/border1.png) no-repeat -25px -25px;} - #cboxMiddleLeft{width:25px; background:url(images/border2.png) repeat-y 0 0;} - #cboxMiddleRight{width:25px; background:url(images/border2.png) repeat-y -25px 0;} - #cboxContent{background:#fff; overflow:hidden;} - .cboxIframe{background:#fff;} - #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{margin-bottom:20px;} - #cboxTitle{position:absolute; bottom:0px; left:0; text-align:center; width:100%; color:#999;} - #cboxCurrent{position:absolute; bottom:0px; left:100px; color:#999;} - #cboxLoadingOverlay{background:#fff url(images/loading.gif) no-repeat 5px 5px;} - - /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ - #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; width:auto; background:none; } - - /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */ - #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;} - - #cboxSlideshow{position:absolute; bottom:0px; right:42px; color:#444;} - #cboxPrevious{position:absolute; bottom:0px; left:0; color:#444;} - #cboxNext{position:absolute; bottom:0px; left:63px; color:#444;} - #cboxClose{position:absolute; bottom:0; right:0; display:block; color:#444;} - -/* - The following fixes a problem where IE7 and IE8 replace a PNG's alpha transparency with a black fill - when an alpha filter (opacity change) is set on the element or ancestor element. This style is not applied to or needed in IE9. - See: http://jacklmoore.com/notes/ie-transparency-problems/ -*/ -.cboxIE #cboxTopLeft, -.cboxIE #cboxTopCenter, -.cboxIE #cboxTopRight, -.cboxIE #cboxBottomLeft, -.cboxIE #cboxBottomCenter, -.cboxIE #cboxBottomRight, -.cboxIE #cboxMiddleLeft, -.cboxIE #cboxMiddleRight { - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#00FFFFFF,endColorstr=#00FFFFFF); -} \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/example4/images/border1.png b/src/main/webapp/js/colorbox/example4/images/border1.png deleted file mode 100644 index 0ddc704051b651f43cffb1326dee3ba563727acc..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example4/images/border1.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example4/images/border2.png b/src/main/webapp/js/colorbox/example4/images/border2.png deleted file mode 100644 index aa62a0b724371d1f0a8e183c5f3707d2f7aecd63..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example4/images/border2.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example4/images/loading.gif b/src/main/webapp/js/colorbox/example4/images/loading.gif deleted file mode 100644 index 602ce3c3ae9182650eca594ff76e4c27498f39e0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example4/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example4/index.html b/src/main/webapp/js/colorbox/example4/index.html deleted file mode 100644 index 8f10b930606331fa8042ef7bc28f70fc7f129008..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example4/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Colorbox Examples - - - - - - - -

    Colorbox Demonstration

    -

    Elastic Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Fade Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    No Transition + fixed width and height (75% of screen size)

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Slideshow

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Other Content Types

    -

    Outside HTML (Ajax)

    -

    Flash / Video (Iframe/Direct Link To YouTube)

    -

    Flash / Video (Iframe/Direct Link To Vimeo)

    -

    Outside Webpage (Iframe)

    -

    Inline HTML

    - -

    Demonstration of using callbacks

    -

    Example with alerts. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.

    - - -

    Retina Images

    -

    Retina

    -

    Non-Retina

    - - -
    -
    -

    This content comes from a hidden element on this page.

    -

    The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.

    -

    Click me, it will be preserved!

    - -

    If you try to open a new Colorbox while it is already open, it will update itself with the new content.

    -

    Updating Content Example:
    - Click here to load new content

    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/example5/colorbox.css b/src/main/webapp/js/colorbox/example5/colorbox.css deleted file mode 100644 index 54f9ba7626f924104632de5b4bc1429c268b9ad9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example5/colorbox.css +++ /dev/null @@ -1,58 +0,0 @@ -/* - Colorbox Core Style: - The following CSS is consistent between example themes and should not be altered. -*/ -#colorbox, #cboxOverlay, #cboxWrapper{position:absolute; top:0; left:0; z-index:9999; overflow:hidden;} -#cboxWrapper {max-width:none;} -#cboxOverlay{position:fixed; width:100%; height:100%;} -#cboxMiddleLeft, #cboxBottomLeft{clear:left;} -#cboxContent{position:relative;} -#cboxLoadedContent{overflow:auto; -webkit-overflow-scrolling: touch;} -#cboxTitle{margin:0;} -#cboxLoadingOverlay, #cboxLoadingGraphic{position:absolute; top:0; left:0; width:100%; height:100%;} -#cboxPrevious, #cboxNext, #cboxClose, #cboxSlideshow{cursor:pointer;} -.cboxPhoto{float:left; margin:auto; border:0; display:block; max-width:none; -ms-interpolation-mode:bicubic;} -.cboxIframe{width:100%; height:100%; display:block; border:0; padding:0; margin:0;} -#colorbox, #cboxContent, #cboxLoadedContent{box-sizing:content-box; -moz-box-sizing:content-box; -webkit-box-sizing:content-box;} - -/* - User Style: - Change the following styles to modify the appearance of Colorbox. They are - ordered & tabbed in a way that represents the nesting of the generated HTML. -*/ -#cboxOverlay{background:#000;} -#colorbox{outline:0;} - #cboxTopLeft{width:14px; height:14px; background:url(images/controls.png) no-repeat 0 0;} - #cboxTopCenter{height:14px; background:url(images/border.png) repeat-x top left;} - #cboxTopRight{width:14px; height:14px; background:url(images/controls.png) no-repeat -36px 0;} - #cboxBottomLeft{width:14px; height:43px; background:url(images/controls.png) no-repeat 0 -32px;} - #cboxBottomCenter{height:43px; background:url(images/border.png) repeat-x bottom left;} - #cboxBottomRight{width:14px; height:43px; background:url(images/controls.png) no-repeat -36px -32px;} - #cboxMiddleLeft{width:14px; background:url(images/controls.png) repeat-y -175px 0;} - #cboxMiddleRight{width:14px; background:url(images/controls.png) repeat-y -211px 0;} - #cboxContent{background:#fff; overflow:visible;} - .cboxIframe{background:#fff;} - #cboxError{padding:50px; border:1px solid #ccc;} - #cboxLoadedContent{margin-bottom:5px;} - #cboxLoadingOverlay{background:url(images/loading_background.png) no-repeat center center;} - #cboxLoadingGraphic{background:url(images/loading.gif) no-repeat center center;} - #cboxTitle{position:absolute; bottom:-25px; left:0; text-align:center; width:100%; font-weight:bold; color:#7C7C7C;} - #cboxCurrent{position:absolute; bottom:-25px; left:58px; font-weight:bold; color:#7C7C7C;} - - /* these elements are buttons, and may need to have additional styles reset to avoid unwanted base styles */ - #cboxPrevious, #cboxNext, #cboxSlideshow, #cboxClose {border:0; padding:0; margin:0; overflow:visible; position:absolute; bottom:-29px; background:url(images/controls.png) no-repeat 0px 0px; width:23px; height:23px; text-indent:-9999px;} - - /* avoid outlines on :active (mouseclick), but preserve outlines on :focus (tabbed navigating) */ - #cboxPrevious:active, #cboxNext:active, #cboxSlideshow:active, #cboxClose:active {outline:0;} - - #cboxPrevious{left:0px; background-position: -51px -25px;} - #cboxPrevious:hover{background-position:-51px 0px;} - #cboxNext{left:27px; background-position:-75px -25px;} - #cboxNext:hover{background-position:-75px 0px;} - #cboxClose{right:0; background-position:-100px -25px;} - #cboxClose:hover{background-position:-100px 0px;} - - .cboxSlideshow_on #cboxSlideshow{background-position:-125px 0px; right:27px;} - .cboxSlideshow_on #cboxSlideshow:hover{background-position:-150px 0px;} - .cboxSlideshow_off #cboxSlideshow{background-position:-150px -25px; right:27px;} - .cboxSlideshow_off #cboxSlideshow:hover{background-position:-125px 0px;} \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/example5/images/border.png b/src/main/webapp/js/colorbox/example5/images/border.png deleted file mode 100644 index df13bb6daf79307915e7dd1cf29d48730a50c29d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example5/images/border.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example5/images/controls.png b/src/main/webapp/js/colorbox/example5/images/controls.png deleted file mode 100644 index 65cfd1dc95c5ee4c6c3d0848b1dcfc0ec69f6aea..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example5/images/controls.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example5/images/loading.gif b/src/main/webapp/js/colorbox/example5/images/loading.gif deleted file mode 100644 index b4695d811d4f84ed693eff7b5e6b4d61a3e8c48d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example5/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example5/images/loading_background.png b/src/main/webapp/js/colorbox/example5/images/loading_background.png deleted file mode 100644 index 9de11f46719e3f60412a8d925821b8a3aa7b5b2b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/example5/images/loading_background.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/example5/index.html b/src/main/webapp/js/colorbox/example5/index.html deleted file mode 100644 index 8f10b930606331fa8042ef7bc28f70fc7f129008..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/example5/index.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Colorbox Examples - - - - - - - -

    Colorbox Demonstration

    -

    Elastic Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Fade Transition

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    No Transition + fixed width and height (75% of screen size)

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Slideshow

    -

    Grouped Photo 1

    -

    Grouped Photo 2

    -

    Grouped Photo 3

    - -

    Other Content Types

    -

    Outside HTML (Ajax)

    -

    Flash / Video (Iframe/Direct Link To YouTube)

    -

    Flash / Video (Iframe/Direct Link To Vimeo)

    -

    Outside Webpage (Iframe)

    -

    Inline HTML

    - -

    Demonstration of using callbacks

    -

    Example with alerts. Callbacks and event-hooks allow users to extend functionality without having to rewrite parts of the plugin.

    - - -

    Retina Images

    -

    Retina

    -

    Non-Retina

    - - -
    -
    -

    This content comes from a hidden element on this page.

    -

    The inline option preserves bound JavaScript events and changes, and it puts the content back where it came from when it is closed.

    -

    Click me, it will be preserved!

    - -

    If you try to open a new Colorbox while it is already open, it will update itself with the new content.

    -

    Updating Content Example:
    - Click here to load new content

    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ar.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ar.js deleted file mode 100644 index 6c4228cd1ae3307c059e85d59b35313f60899a52..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ar.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Arabic (ar) - translated by: A.Rhman Sayes -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "الصورة {current} من {total}", - previous: "السابق", - next: "التالي", - close: "إغلاق", - xhrError: "حدث خطأ أثناء تحميل المحتوى.", - imgError: "حدث خطأ أثناء تحميل الصورة.", - slideshowStart: "تشغيل العرض", - slideshowStop: "إيقاف العرض" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-bg.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-bg.js deleted file mode 100644 index de7e4a1d0e740e59a8b66979858d6769d5b445df..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-bg.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Bulgarian (bg) - translated by: Marian M.Bida - site: webmax.bg -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "изображение {current} от {total}", - previous: "предишна", - next: "следваща", - close: "затвори", - xhrError: "Неуспешно зареждане на съдържанието.", - imgError: "Неуспешно зареждане на изображението.", - slideshowStart: "пусни слайд-шоу", - slideshowStop: "спри слайд-шоу" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ca.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ca.js deleted file mode 100644 index 173c05fdfdaac4ad76ad728c5f49780d3edf3009..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ca.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Catala (ca) - translated by: eduard salla -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Imatge {current} de {total}", - previous: "Anterior", - next: "Següent", - close: "Tancar", - xhrError: "Error en la càrrega del contingut.", - imgError: "Error en la càrrega de la imatge." -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-cs.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-cs.js deleted file mode 100644 index 9649fd455e88e9fd371ee72b97e3c7fe0218f3ed..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-cs.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Czech (cs) - translated by: Filip Novak - site: mame.napilno.cz/filip-novak -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "{current}. obrázek z {total}", - previous: "Předchozí", - next: "Následující", - close: "Zavřít", - xhrError: "Obsah se nepodařilo načíst.", - imgError: "Obrázek se nepodařilo načíst.", - slideshowStart: "Spustit slideshow", - slideshowStop: "Zastavit slideshow" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-da.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-da.js deleted file mode 100644 index 676fffed2638901e0a12ffdc1a70990a4666153b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-da.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Danish (da) - translated by: danieljuhl - site: danieljuhl.dk -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Billede {current} af {total}", - previous: "Forrige", - next: "Næste", - close: "Luk", - xhrError: "Indholdet fejlede i indlæsningen.", - imgError: "Billedet fejlede i indlæsningen.", - slideshowStart: "Start slideshow", - slideshowStop: "Stop slideshow" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-de.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-de.js deleted file mode 100644 index d489379bc2c5e787b5ea557cc6622d6e358f828c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-de.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: German (de) - translated by: wallenium -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Bild {current} von {total}", - previous: "Zurück", - next: "Vor", - close: "Schließen", - xhrError: "Dieser Inhalt konnte nicht geladen werden.", - imgError: "Dieses Bild konnte nicht geladen werden.", - slideshowStart: "Slideshow starten", - slideshowStop: "Slideshow anhalten" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-es.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-es.js deleted file mode 100644 index 11296fc941f1f5e41853c3571d9f03dbeb077122..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-es.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Spanish (es) - translated by: migolo -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Imagen {current} de {total}", - previous: "Anterior", - next: "Siguiente", - close: "Cerrar", - xhrError: "Error en la carga del contenido.", - imgError: "Error en la carga de la imagen." -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-et.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-et.js deleted file mode 100644 index 60a4e888e35182112cbd8d3a00355eac26521679..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-et.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Estonian (et) - translated by: keevitaja -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "{current}/{total}", - previous: "eelmine", - next: "järgmine", - close: "sulge", - xhrError: "Sisu ei õnnestunud laadida.", - imgError: "Pilti ei õnnestunud laadida.", - slideshowStart: "Käivita slaidid", - slideshowStop: "Peata slaidid" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fa.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fa.js deleted file mode 100644 index 32869a4c8d02662ad7bd363b4a1ce9c0d6d7c5e5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fa.js +++ /dev/null @@ -1,18 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Persian (Farsi) - translated by: Mahdi Jaberzadeh Ansari (MJZSoft) - site: www.mjzsoft.ir - email: mahdijaberzadehansari (at) yahoo.co.uk - Please note : Persian language is right to left like arabic. -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "تصویر {current} از {total}", - previous: "قبلی", - next: "بعدی", - close: "بستن", - xhrError: "متاسفانه محتویات مورد نظر قابل نمایش نیست.", - imgError: "متاسفانه بارگذاری این عکس با مشکل مواجه شده است.", - slideshowStart: "آغاز نمایش خودکار", - slideshowStop: "توقف نمایش خودکار" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fi.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fi.js deleted file mode 100644 index ac03fe021b3fa6be38a2a9c03076fe5a8a51cb09..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fi.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Finnish (fi) - translated by: Mikko -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Kuva {current} / {total}", - previous: "Edellinen", - next: "Seuraava", - close: "Sulje", - xhrError: "Sisällön lataaminen epäonnistui.", - imgError: "Kuvan lataaminen epäonnistui.", - slideshowStart: "Aloita kuvaesitys.", - slideshowStop: "Lopeta kuvaesitys." -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fr.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fr.js deleted file mode 100644 index f76352bd46bf93f51a33cf702e91e08848ac8978..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-fr.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: French (fr) - translated by: oaubert -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "image {current} sur {total}", - previous: "précédente", - next: "suivante", - close: "fermer", - xhrError: "Impossible de charger ce contenu.", - imgError: "Impossible de charger cette image.", - slideshowStart: "démarrer la présentation", - slideshowStop: "arrêter la présentation" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-gl.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-gl.js deleted file mode 100644 index 3641b51b1931e0711ff98a065daa0f8f981641a9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-gl.js +++ /dev/null @@ -1,13 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Galician (gl) - translated by: donatorouco -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Imaxe {current} de {total}", - previous: "Anterior", - next: "Seguinte", - close: "Pechar", - xhrError: "Erro na carga do contido.", - imgError: "Erro na carga da imaxe." -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-gr.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-gr.js deleted file mode 100644 index 0d2c1bb76fb6aa321e930f869ba7803dbfb30277..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-gr.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Greek (gr) - translated by: S.Demirtzoglou - site: webiq.gr -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Εικόνα {current} από {total}", - previous: "Προηγούμενη", - next: "Επόμενη", - close: "Απόκρυψη", - xhrError: "Το περιεχόμενο δεν μπόρεσε να φορτωθεί.", - imgError: "Απέτυχε η φόρτωση της εικόνας.", - slideshowStart: "Έναρξη παρουσίασης", - slideshowStop: "Παύση παρουσίασης" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-he.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-he.js deleted file mode 100644 index 78908e39fe74343268d5c43d13abfe2c7e9d675b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-he.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Hebrew (he) - translated by: DavidCo - site: DavidCo.me -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "תמונה {current} מתוך {total}", - previous: "הקודם", - next: "הבא", - close: "סגור", - xhrError: "שגיאה בטעינת התוכן.", - imgError: "שגיאה בטעינת התמונה.", - slideshowStart: "התחל מצגת", - slideshowStop: "עצור מצגת" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-hr.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-hr.js deleted file mode 100644 index 7eb62becde137d12ff7b1c4e949a36ac8fef926e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-hr.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Croatian (hr) - translated by: Mladen Bicanic (base.hr) -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Slika {current} od {total}", - previous: "Prethodna", - next: "Sljedeća", - close: "Zatvori", - xhrError: "Neuspješno učitavanje sadržaja.", - imgError: "Neuspješno učitavanje slike.", - slideshowStart: "Pokreni slideshow", - slideshowStop: "Zaustavi slideshow" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-hu.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-hu.js deleted file mode 100644 index 72e9d36b1c566b7b02ca3ee4c24cc1a52ad1ca42..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-hu.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Hungarian (hu) - translated by: kovadani -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "{current}/{total} kép", - previous: "Előző", - next: "Következő", - close: "Bezár", - xhrError: "A tartalmat nem sikerült betölteni.", - imgError: "A képet nem sikerült betölteni.", - slideshowStart: "Diavetítés indítása", - slideshowStop: "Diavetítés leállítása" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-id.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-id.js deleted file mode 100644 index 81a62df346aaeb6703bbf4b6a9d5af9cf666964e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-id.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Indonesian (id) - translated by: sarwasunda -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "ke {current} dari {total}", - previous: "Sebelumnya", - next: "Berikutnya", - close: "Tutup", - xhrError: "Konten ini tidak dapat dimuat.", - imgError: "Gambar ini tidak dapat dimuat.", - slideshowStart: "Putar", - slideshowStop: "Berhenti" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-it.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-it.js deleted file mode 100644 index 2a4af64532c3ebfe57cd309e6fc3d2b398d88491..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-it.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Italian (it) - translated by: maur8ino -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Immagine {current} di {total}", - previous: "Precedente", - next: "Successiva", - close: "Chiudi", - xhrError: "Errore nel caricamento del contenuto.", - imgError: "Errore nel caricamento dell'immagine.", - slideshowStart: "Inizia la presentazione", - slideshowStop: "Termina la presentazione" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ja.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ja.js deleted file mode 100644 index 5480de336c1fa5b4a9af3d6c35540f7e50559e9e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ja.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Japanaese (ja) - translated by: Hajime Fujimoto -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "{total}枚中{current}枚目", - previous: "前", - next: "次", - close: "閉じる", - xhrError: "コンテンツの読み込みに失敗しました", - imgError: "画像の読み込みに失敗しました", - slideshowStart: "スライドショー開始", - slideshowStop: "スライドショー終了" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-kr.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-kr.js deleted file mode 100644 index b95702bc0c90764b490fc36043095ac87a193d53..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-kr.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Korean (kr) - translated by: lunareffect -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "총 {total} 중 {current}", - previous: "이전", - next: "다음", - close: "닫기", - xhrError: "컨텐츠를 불러오는 데 실패했습니다.", - imgError: "이미지를 불러오는 데 실패했습니다.", - slideshowStart: "슬라이드쇼 시작", - slideshowStop: "슬라이드쇼 중지" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-lt.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-lt.js deleted file mode 100644 index a513fcf626eeb2229b7ef8e6cf3abb90a36a854c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-lt.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Lithuanian (lt) - translated by: Tomas Norkūnas -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Nuotrauka {current} iš {total}", - previous: "Atgal", - next: "Pirmyn", - close: "Uždaryti", - xhrError: "Nepavyko užkrauti turinio.", - imgError: "Nepavyko užkrauti nuotraukos.", - slideshowStart: "Pradėti automatinę peržiūrą", - slideshowStop: "Sustabdyti automatinę peržiūrą" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-lv.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-lv.js deleted file mode 100644 index e376366b934dfdfb4487c5c993ba2a2fedb25f6a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-lv.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Latvian (lv) - translated by: Matiss Roberts Treinis - site: x0.lv -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "attēls {current} no {total}", - previous: "iepriekšējais", - next: "nākamais", - close: "aizvērt", - xhrError: "Neizdevās ielādēt saturu.", - imgError: "Neizdevās ielādēt attēlu.", - slideshowStart: "sākt slaidrādi", - slideshowStop: "apturēt slaidrādi" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-my.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-my.js deleted file mode 100644 index 216e252cc878441a1ffb3e0921681ddc411372ae..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-my.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Myanmar (my) - translated by: Yan Naing -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "ပုံ {total} မှာ {current} မြောက်ပုံ", - previous: "ရှေ့သို့", - next: "နောက်သို့", - close: "ပိတ်မည်", - xhrError: "ပါဝင်သော အကြောင်းအရာများ ဖော်ပြရာတွင် အနည်းငယ် ချို့ယွင်းမှုရှိနေပါသည်", - imgError: "ပုံပြသရာတွင် အနည်းငယ် ချို့ယွင်းချက် ရှိနေပါသည်", - slideshowStart: "ပုံများ စတင်ပြသမည်", - slideshowStop: "ပုံပြသခြင်း ရပ်ဆိုင်မည်" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-nl.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-nl.js deleted file mode 100644 index dfc658ec9a8b1f99a59b4642815e5905fab8a630..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-nl.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Dutch (nl) - translated by: barryvdh -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Afbeelding {current} van {total}", - previous: "Vorige", - next: "Volgende", - close: "Sluiten", - xhrError: "Deze inhoud kan niet geladen worden.", - imgError: "Deze afbeelding kan niet geladen worden.", - slideshowStart: "Diashow starten", - slideshowStop: "Diashow stoppen" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-no.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-no.js deleted file mode 100644 index 277c5d3f98fcc8cadeae8947a6f128c22501eef9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-no.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Norwegian (no) - translated by: lars-erik - site: markedspartner.no -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Bilde {current} av {total}", - previous: "Forrige", - next: "Neste", - close: "Lukk", - xhrError: "Feil ved lasting av innhold.", - imgError: "Feil ved lasting av bilde.", - slideshowStart: "Start lysbildefremvisning", - slideshowStop: "Stopp lysbildefremvisning" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-pl.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-pl.js deleted file mode 100644 index 1c04dae18d24f3af07dcde0f874f688b9264121c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-pl.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Polski (pl) - translated by: Tomasz Wasiński - site: 2bevisible.pl -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "{current}. obrazek z {total}", - previous: "Poprzedni", - next: "Następny", - close: "Zamknij", - xhrError: "Nie udało się załadować treści.", - imgError: "Nie udało się załadować obrazka.", - slideshowStart: "rozpocznij pokaz slajdów", - slideshowStop: "zatrzymaj pokaz slajdów" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-pt-br.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-pt-br.js deleted file mode 100644 index 73e948b7f4e1d830521dd552b0535fe1c342fad0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-pt-br.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Brazilian Portuguese (pt-br) - translated by: ReinaldoMT -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Imagem {current} de {total}", - previous: "Anterior", - next: "Próxima", - close: "Fechar", - slideshowStart: "iniciar apresentação de slides", - slideshowStop: "parar apresentação de slides", - xhrError: "Erro ao carregar o conteúdo.", - imgError: "Erro ao carregar a imagem." -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ro.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ro.js deleted file mode 100644 index 0a461e28ac5c6fc4b3ee3fa103c5e752f8795398..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ro.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Romanian (ro) - translated by: shurub3l -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "imagine {current} din {total}", - previous: "precedenta", - next: "următoarea", - close: "închideți", - xhrError: "Acest conținut nu poate fi încărcat.", - imgError: "Această imagine nu poate fi încărcată", - slideshowStart: "începeți prezentarea (slideshow)", - slideshowStop: "opriți prezentarea (slideshow)" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ru.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ru.js deleted file mode 100644 index 1d88b8cda38bace9e207bb2197a9a7c30c0f9d6a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-ru.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Russian (ru) - translated by: Marfa - site: themarfa.name -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "изображение {current} из {total}", - previous: "назад", - next: "вперёд", - close: "закрыть", - xhrError: "Не удалось загрузить содержимое.", - imgError: "Не удалось загрузить изображение.", - slideshowStart: "начать слайд-шоу", - slideshowStop: "остановить слайд-шоу" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-si.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-si.js deleted file mode 100644 index 034b5b3c401dac12ee06ae0cb93ff87a79cacaa9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-si.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Slovenian (si) - translated by: Boštjan Pišler (pisler.si) -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Slika {current} od {total}", - previous: "Prejšnja", - next: "Naslednja", - close: "Zapri", - xhrError: "Vsebine ni bilo mogoče naložiti.", - imgError: "Slike ni bilo mogoče naložiti.", - slideshowStart: "Zaženi prezentacijo", - slideshowStop: "Zaustavi prezentacijo" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sk.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sk.js deleted file mode 100644 index faa9291cbadce1314de16960321a3cabae94a450..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sk.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Slovak (sk) - translated by: Jaroslav Kostal -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "{current}. obrázok z {total}", - previous: "Predchádzajúci", - next: "Následujúci", - close: "Zatvoriť", - xhrError: "Obsah sa nepodarilo načítať.", - imgError: "Obrázok sa nepodarilo načítať.", - slideshowStart: "Spustiť slideshow", - slideshowStop: "zastaviť slideshow" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sr.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sr.js deleted file mode 100644 index 618e73c4a0a2e9f70d3b532cc81523f2ee5a54b9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sr.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Serbian (sr) - translated by: Sasa Stefanovic (baguje.com) -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Slika {current} od {total}", - previous: "Prethodna", - next: "Sledeća", - close: "Zatvori", - xhrError: "Neuspešno učitavanje sadržaja.", - imgError: "Neuspešno učitavanje slike.", - slideshowStart: "Pokreni slideshow", - slideshowStop: "Zaustavi slideshow" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sv.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sv.js deleted file mode 100644 index 01bb1d8c6b6f3370bd2b1e2761810f7f5d8fe045..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-sv.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Swedish (sv) - translated by: Mattias Reichel -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Bild {current} av {total}", - previous: "Föregående", - next: "Nästa", - close: "Stäng", - xhrError: "Innehållet kunde inte laddas.", - imgError: "Den här bilden kunde inte laddas.", - slideshowStart: "Starta bildspel", - slideshowStop: "Stoppa bildspel" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-tr.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-tr.js deleted file mode 100644 index d467c2ef1b02398d5fd34451699d7868dc78b3cf..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-tr.js +++ /dev/null @@ -1,19 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Turkish (tr) - translated by: Caner ÖNCEL - site: egonomik.com - - edited by: Sinan Eldem - www.sinaneldem.com.tr -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "Görsel {current} / {total}", - previous: "Önceki", - next: "Sonraki", - close: "Kapat", - xhrError: "İçerik yüklenirken hata meydana geldi.", - imgError: "Resim yüklenirken hata meydana geldi.", - slideshowStart: "Slaytı Başlat", - slideshowStop: "Slaytı Durdur" -}); diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-uk.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-uk.js deleted file mode 100644 index 3f786d3f488ec01736f6eb0e5757f9b8c5f163d2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-uk.js +++ /dev/null @@ -1,16 +0,0 @@ -/* - jQuery ColorBox language configuration - language: Ukrainian (uk) - translated by: Andrew - http://acisoftware.com.ua -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "зображення {current} з {total}", - previous: "попереднє", - next: "наступне", - close: "закрити", - xhrError: "Не вдалося завантажити вміст.", - imgError: "Не вдалося завантажити зображення.", - slideshowStart: "почати слайд-шоу", - slideshowStop: "зупинити слайд-шоу" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-zh-CN.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-zh-CN.js deleted file mode 100644 index 770d8eacfcfa1ecc0653ab66d7fe4fa3866c1721..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-zh-CN.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Chinese Simplified (zh-CN) - translated by: zhao weiming -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "当前图像 {current} 总共 {total}", - previous: "前一页", - next: "后一页", - close: "关闭", - xhrError: "此内容无法加载", - imgError: "此图片无法加载", - slideshowStart: "开始播放幻灯片", - slideshowStop: "停止播放幻灯片" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-zh-TW.js b/src/main/webapp/js/colorbox/i18n/jquery.colorbox-zh-TW.js deleted file mode 100644 index b0c4f123dec94264acfeb8e560c979efff31833a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/i18n/jquery.colorbox-zh-TW.js +++ /dev/null @@ -1,15 +0,0 @@ -/* - jQuery Colorbox language configuration - language: Chinese Traditional (zh-TW) - translated by: Atans Chiu -*/ -jQuery.extend(jQuery.colorbox.settings, { - current: "圖片 {current} 總共 {total}", - previous: "上一頁", - next: "下一頁", - close: "關閉", - xhrError: "此內容加載失敗.", - imgError: "此圖片加載失敗.", - slideshowStart: "開始幻燈片", - slideshowStop: "結束幻燈片" -}); \ No newline at end of file diff --git a/src/main/webapp/js/colorbox/images/border.png b/src/main/webapp/js/colorbox/images/border.png deleted file mode 100644 index f463a10d838aeba263ff44e5c3578dfe7ba07648..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/border.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/controls.png b/src/main/webapp/js/colorbox/images/controls.png deleted file mode 100644 index dcfd6fb9f178454613123d018bf742c8cc905df7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/controls.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/Thumbs.db b/src/main/webapp/js/colorbox/images/ie6/Thumbs.db deleted file mode 100644 index f9d41ccd27b74bf6f6aef2c9b1254f8e221eb203..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/Thumbs.db and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderBottomCenter.png b/src/main/webapp/js/colorbox/images/ie6/borderBottomCenter.png deleted file mode 100644 index 0d4475edf4e1ebb18d41db83915a21a9a6bc5977..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderBottomCenter.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderBottomLeft.png b/src/main/webapp/js/colorbox/images/ie6/borderBottomLeft.png deleted file mode 100644 index 2775eba899d10d3dc6f8c4044ad69cb89a5f8499..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderBottomLeft.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderBottomRight.png b/src/main/webapp/js/colorbox/images/ie6/borderBottomRight.png deleted file mode 100644 index f7f51379c0857dd15bdbeac49f35c9ce81f47e23..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderBottomRight.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderMiddleLeft.png b/src/main/webapp/js/colorbox/images/ie6/borderMiddleLeft.png deleted file mode 100644 index a2d63d156e008a01fde9d2d68c531c34926a924a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderMiddleLeft.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderMiddleRight.png b/src/main/webapp/js/colorbox/images/ie6/borderMiddleRight.png deleted file mode 100644 index fd7c3e849135d3b9abe895d7d8928d9f4228ecd9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderMiddleRight.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderTopCenter.png b/src/main/webapp/js/colorbox/images/ie6/borderTopCenter.png deleted file mode 100644 index 2937a9cf9e25805fde6d954def25c3e6678fb61b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderTopCenter.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderTopLeft.png b/src/main/webapp/js/colorbox/images/ie6/borderTopLeft.png deleted file mode 100644 index f9d458b5bba4a8cb84b9ee39a3844e258c1dcc20..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderTopLeft.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/ie6/borderTopRight.png b/src/main/webapp/js/colorbox/images/ie6/borderTopRight.png deleted file mode 100644 index 74b8583cfbb2e62a84ef04ba01064ecb4d70e72a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/ie6/borderTopRight.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/loading.gif b/src/main/webapp/js/colorbox/images/loading.gif deleted file mode 100644 index b4695d811d4f84ed693eff7b5e6b4d61a3e8c48d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/loading_background.png b/src/main/webapp/js/colorbox/images/loading_background.png deleted file mode 100644 index 6ae83e697352da5bc75ff264f66e978c0928acee..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/loading_background.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/images/overlay.png b/src/main/webapp/js/colorbox/images/overlay.png deleted file mode 100644 index 53ea98f7003cf014cda2f764a7d982e405bd1b5f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/colorbox/images/overlay.png and /dev/null differ diff --git a/src/main/webapp/js/colorbox/jquery.colorbox-min.js b/src/main/webapp/js/colorbox/jquery.colorbox-min.js deleted file mode 100644 index 71e57643cd628b7473df694d2b7e63733faca9c1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/colorbox/jquery.colorbox-min.js +++ /dev/null @@ -1,7 +0,0 @@ -/*! - Colorbox v1.5.8 - 2014-04-15 - jQuery lightbox and modal window plugin - (c) 2014 Jack Moore - http://www.jacklmoore.com/colorbox - license: http://www.opensource.org/licenses/mit-license.php -*/ -(function(t,e,i){function n(i,n,o){var r=e.createElement(i);return n&&(r.id=Z+n),o&&(r.style.cssText=o),t(r)}function o(){return i.innerHeight?i.innerHeight:t(i).height()}function r(e,i){i!==Object(i)&&(i={}),this.cache={},this.el=e,this.value=function(e){var n;return void 0===this.cache[e]&&(n=t(this.el).attr("data-cbox-"+e),void 0!==n?this.cache[e]=n:void 0!==i[e]?this.cache[e]=i[e]:void 0!==X[e]&&(this.cache[e]=X[e])),this.cache[e]},this.get=function(e){var i=this.value(e);return t.isFunction(i)?i.call(this.el,this):i}}function h(t){var e=W.length,i=(z+t)%e;return 0>i?e+i:i}function a(t,e){return Math.round((/%/.test(t)?("x"===e?E.width():o())/100:1)*parseInt(t,10))}function s(t,e){return t.get("photo")||t.get("photoRegex").test(e)}function l(t,e){return t.get("retinaUrl")&&i.devicePixelRatio>1?e.replace(t.get("photoRegex"),t.get("retinaSuffix")):e}function d(t){"contains"in x[0]&&!x[0].contains(t.target)&&t.target!==v[0]&&(t.stopPropagation(),x.focus())}function c(t){c.str!==t&&(x.add(v).removeClass(c.str).addClass(t),c.str=t)}function g(e){z=0,e&&e!==!1?(W=t("."+te).filter(function(){var i=t.data(this,Y),n=new r(this,i);return n.get("rel")===e}),z=W.index(_.el),-1===z&&(W=W.add(_.el),z=W.length-1)):W=t(_.el)}function u(i){t(e).trigger(i),ae.triggerHandler(i)}function f(i){var o;if(!G){if(o=t(i).data("colorbox"),_=new r(i,o),g(_.get("rel")),!$){$=q=!0,c(_.get("className")),x.css({visibility:"hidden",display:"block",opacity:""}),L=n(se,"LoadedContent","width:0; height:0; overflow:hidden; visibility:hidden"),b.css({width:"",height:""}).append(L),D=T.height()+k.height()+b.outerHeight(!0)-b.height(),j=C.width()+H.width()+b.outerWidth(!0)-b.width(),A=L.outerHeight(!0),N=L.outerWidth(!0);var h=a(_.get("initialWidth"),"x"),s=a(_.get("initialHeight"),"y"),l=_.get("maxWidth"),f=_.get("maxHeight");_.w=(l!==!1?Math.min(h,a(l,"x")):h)-N-j,_.h=(f!==!1?Math.min(s,a(f,"y")):s)-A-D,L.css({width:"",height:_.h}),J.position(),u(ee),_.get("onOpen"),O.add(I).hide(),x.focus(),_.get("trapFocus")&&e.addEventListener&&(e.addEventListener("focus",d,!0),ae.one(re,function(){e.removeEventListener("focus",d,!0)})),_.get("returnFocus")&&ae.one(re,function(){t(_.el).focus()})}v.css({opacity:parseFloat(_.get("opacity"))||"",cursor:_.get("overlayClose")?"pointer":"",visibility:"visible"}).show(),_.get("closeButton")?B.html(_.get("close")).appendTo(b):B.appendTo("
    "),w()}}function p(){!x&&e.body&&(V=!1,E=t(i),x=n(se).attr({id:Y,"class":t.support.opacity===!1?Z+"IE":"",role:"dialog",tabindex:"-1"}).hide(),v=n(se,"Overlay").hide(),S=t([n(se,"LoadingOverlay")[0],n(se,"LoadingGraphic")[0]]),y=n(se,"Wrapper"),b=n(se,"Content").append(I=n(se,"Title"),R=n(se,"Current"),P=t('
    '); - for(var i=0; i'); - table.push(this.renderRow.call(this, target, fields, frozen, i, rows[i])); - table.push(''); - - table.push(''); - if (frozen){ - table.push(''); - table.push(''); - - } - table.push('
    '); - } else { - table.push(''); - } - - table.push('
    '); - if (frozen){ - table.push(' '); - } else { - table.push(opts.detailFormatter.call(target, i, rows[i])); - } - table.push('
    '); - - table.push('
    '); - - $(container).html(table.join('')); - }, - - renderRow: function(target, fields, frozen, rowIndex, rowData){ - var opts = $.data(target, 'datagrid').options; - - var cc = []; - if (frozen && opts.rownumbers){ - var rownumber = rowIndex + 1; - if (opts.pagination){ - rownumber += (opts.pageNumber-1)*opts.pageSize; - } - cc.push('
    '+rownumber+'
    '); - } - for(var i=0; i'); - - if (col.checkbox){ - style = ''; - } else if (col.expander){ - style = "text-align:center;height:16px;"; - } else { - style = styleValue; - if (col.align){style += ';text-align:' + col.align + ';'} - if (!opts.nowrap){ - style += ';white-space:normal;height:auto;'; - } else if (opts.autoRowHeight){ - style += ';height:auto;'; - } - } - - cc.push('
    '); - - if (col.checkbox){ - cc.push(''); - } else if (col.expander) { - //cc.push('
    '); - cc.push(''); - //cc.push('
    '); - } else if (col.formatter){ - cc.push(col.formatter(value, rowData, rowIndex)); - } else { - cc.push(value); - } - - cc.push('
    '); - cc.push(''); - } - } - return cc.join(''); - }, - - insertRow: function(target, index, row){ - var opts = $.data(target, 'datagrid').options; - var dc = $.data(target, 'datagrid').dc; - var panel = $(target).datagrid('getPanel'); - var view1 = dc.view1; - var view2 = dc.view2; - - var isAppend = false; - var rowLength = $(target).datagrid('getRows').length; - if (rowLength == 0){ - $(target).datagrid('loadData',{total:1,rows:[row]}); - return; - } - - if (index == undefined || index == null || index >= rowLength) { - index = rowLength; - isAppend = true; - this.canUpdateDetail = false; - } - - $.fn.datagrid.defaults.view.insertRow.call(this, target, index, row); - - _insert(true); - _insert(false); - - this.canUpdateDetail = true; - - function _insert(frozen){ - var tr = opts.finder.getTr(target, index, 'body', frozen?1:2); - if (isAppend){ - var detail = tr.next(); - var newDetail = tr.next().clone(); - tr.insertAfter(detail); - } else { - var newDetail = tr.next().next().clone(); - } - newDetail.insertAfter(tr); - newDetail.hide(); - if (!frozen){ - newDetail.find('div.datagrid-row-detail').html(opts.detailFormatter.call(target, index, row)); - } - } - }, - - deleteRow: function(target, index){ - var opts = $.data(target, 'datagrid').options; - var dc = $.data(target, 'datagrid').dc; - var tr = opts.finder.getTr(target, index); - tr.next().remove(); - $.fn.datagrid.defaults.view.deleteRow.call(this, target, index); - dc.body2.triggerHandler('scroll'); - }, - - updateRow: function(target, rowIndex, row){ - var dc = $.data(target, 'datagrid').dc; - var opts = $.data(target, 'datagrid').options; - var cls = $(target).datagrid('getExpander', rowIndex).attr('class'); - $.fn.datagrid.defaults.view.updateRow.call(this, target, rowIndex, row); - $(target).datagrid('getExpander', rowIndex).attr('class',cls); - - // update the detail content - if (opts.autoUpdateDetail && this.canUpdateDetail){ - var row = $(target).datagrid('getRows')[rowIndex]; - var detail = $(target).datagrid('getRowDetail', rowIndex); - detail.html(opts.detailFormatter.call(target, rowIndex, row)); - } - }, - - bindEvents: function(target){ - var state = $.data(target, 'datagrid'); - - if (state.ss.bindDetailEvents){return;} - state.ss.bindDetailEvents = true; - - var dc = state.dc; - var opts = state.options; - var body = dc.body1.add(dc.body2); - var clickHandler = ($.data(body[0],'events')||$._data(body[0],'events')).click[0].handler; - body.unbind('click').bind('click', function(e){ - var tt = $(e.target); - var tr = tt.closest('tr.datagrid-row'); - if (!tr.length){return} - if (tt.hasClass('datagrid-row-expander')){ - var rowIndex = parseInt(tr.attr('datagrid-row-index')); - if (tt.hasClass('datagrid-row-expand')){ - $(target).datagrid('expandRow', rowIndex); - } else { - $(target).datagrid('collapseRow', rowIndex); - } - $(target).datagrid('fixRowHeight'); - - } else { - clickHandler(e); - } - e.stopPropagation(); - }); - }, - - onBeforeRender: function(target){ - var state = $.data(target, 'datagrid'); - var opts = state.options; - var dc = state.dc; - var t = $(target); - var hasExpander = false; - var fields = t.datagrid('getColumnFields',true).concat(t.datagrid('getColumnFields')); - for(var i=0; i
    '); - if ($('tr',t).length == 0){ - td.wrap('').parent().appendTo($('tbody',t)); - } else if (opts.rownumbers){ - td.insertAfter(t.find('td:has(div.datagrid-header-rownumber)')); - } else { - td.prependTo(t.find('tr:first')); - } - } - - // if (!state.bindDetailEvents){ - // state.bindDetailEvents = true; - // var that = this; - // setTimeout(function(){ - // that.bindEvents(target); - // },0); - // } - }, - - onAfterRender: function(target){ - var that = this; - var state = $.data(target, 'datagrid'); - var dc = state.dc; - var opts = state.options; - var panel = $(target).datagrid('getPanel'); - - $.fn.datagrid.defaults.view.onAfterRender.call(this, target); - - if (!state.onResizeColumn){ - state.onResizeColumn = opts.onResizeColumn; - opts.onResizeColumn = function(field, width){ - if (!opts.fitColumns){ - resizeDetails(); - } - var rowCount = $(target).datagrid('getRows').length; - for(var i=0; itable.datagrid-btable>tbody>tr>td>div.datagrid-row-detail:visible'); - // if (details.length){ - // var ww = 0; - // dc.header2.find('.datagrid-header-check:visible,.datagrid-cell:visible').each(function(){ - // ww += $(this).outerWidth(true) + 1; - // }); - // if (ww != details.outerWidth(true)){ - // details._outerWidth(ww); - // details.find('.easyui-fluid').trigger('_resize'); - // } - // } - // } - function resizeDetails(){ - var details = dc.body2.find('>table.datagrid-btable>tbody>tr>td>div.datagrid-row-detail:visible'); - if (details.length){ - var ww = 0; - // dc.header2.find('.datagrid-header-check:visible,.datagrid-cell:visible').each(function(){ - // ww += $(this).outerWidth(true) + 1; - // }); - dc.body2.find('>table.datagrid-btable>tbody>tr:visible:first').find('.datagrid-cell-check:visible,.datagrid-cell:visible').each(function(){ - ww += $(this).outerWidth(true) + 1; - }); - if (ww != details.outerWidth(true)){ - details._outerWidth(ww); - details.find('.easyui-fluid').trigger('_resize'); - } - } - } - - - this.canUpdateDetail = true; // define if to update the detail content when 'updateRow' method is called; - - var footer = dc.footer1.add(dc.footer2); - footer.find('span.datagrid-row-expander').css('visibility', 'hidden'); - $(target).datagrid('resize'); - - this.bindEvents(target); - var detail = dc.body1.add(dc.body2).find('div.datagrid-row-detail'); - detail.unbind().bind('mouseover mouseout click dblclick contextmenu scroll', function(e){ - e.stopPropagation(); - }); - } -}); - -$.extend($.fn.datagrid.methods, { - fixDetailRowHeight: function(jq, index){ - return jq.each(function(){ - var opts = $.data(this, 'datagrid').options; - if (!(opts.rownumbers || (opts.frozenColumns && opts.frozenColumns.length))){ - return; - } - var dc = $.data(this, 'datagrid').dc; - var tr1 = opts.finder.getTr(this, index, 'body', 1).next(); - var tr2 = opts.finder.getTr(this, index, 'body', 2).next(); - // fix the detail row height - if (tr2.is(':visible')){ - tr1.css('height', ''); - tr2.css('height', ''); - var height = Math.max(tr1.height(), tr2.height()); - tr1.css('height', height); - tr2.css('height', height); - } - dc.body2.triggerHandler('scroll'); - }); - }, - getExpander: function(jq, index){ // get row expander object - var opts = $.data(jq[0], 'datagrid').options; - return opts.finder.getTr(jq[0], index).find('span.datagrid-row-expander'); - }, - // get row detail container - getRowDetail: function(jq, index){ - var opts = $.data(jq[0], 'datagrid').options; - var tr = opts.finder.getTr(jq[0], index, 'body', 2); - // return tr.next().find('div.datagrid-row-detail'); - return tr.next().find('>td>div.datagrid-row-detail'); - }, - expandRow: function(jq, index){ - return jq.each(function(){ - var opts = $(this).datagrid('options'); - var dc = $.data(this, 'datagrid').dc; - var expander = $(this).datagrid('getExpander', index); - if (expander.hasClass('datagrid-row-expand')){ - expander.removeClass('datagrid-row-expand').addClass('datagrid-row-collapse'); - var tr1 = opts.finder.getTr(this, index, 'body', 1).next(); - var tr2 = opts.finder.getTr(this, index, 'body', 2).next(); - tr1.show(); - tr2.show(); - $(this).datagrid('fixDetailRowHeight', index); - if (opts.onExpandRow){ - var row = $(this).datagrid('getRows')[index]; - opts.onExpandRow.call(this, index, row); - } - } - }); - }, - collapseRow: function(jq, index){ - return jq.each(function(){ - var opts = $(this).datagrid('options'); - var dc = $.data(this, 'datagrid').dc; - var expander = $(this).datagrid('getExpander', index); - if (expander.hasClass('datagrid-row-collapse')){ - expander.removeClass('datagrid-row-collapse').addClass('datagrid-row-expand'); - var tr1 = opts.finder.getTr(this, index, 'body', 1).next(); - var tr2 = opts.finder.getTr(this, index, 'body', 2).next(); - tr1.hide(); - tr2.hide(); - dc.body2.triggerHandler('scroll'); - if (opts.onCollapseRow){ - var row = $(this).datagrid('getRows')[index]; - opts.onCollapseRow.call(this, index, row); - } - } - }); - } -}); - -$.extend($.fn.datagrid.methods, { - subgrid: function(jq, conf){ - return jq.each(function(){ - createGrid(this, conf); - - function createGrid(target, conf, prow){ - var queryParams = $.extend({}, conf.options.queryParams||{}); - // queryParams[conf.options.foreignField] = prow ? prow[conf.options.foreignField] : undefined; - if (prow){ - var fk = conf.options.foreignField; - if ($.isFunction(fk)){ - $.extend(queryParams, fk.call(conf, prow)); - } else { - queryParams[fk] = prow[fk]; - } - } - - var plugin = conf.options.edatagrid ? 'edatagrid' : 'datagrid'; - - $(target)[plugin]($.extend({}, conf.options, { - subgrid: conf.subgrid, - view: (conf.subgrid ? detailview : undefined), - queryParams: queryParams, - detailFormatter: function(index, row){ - return '
    '; - }, - onExpandRow: function(index, row){ - var opts = $(this).datagrid('options'); - var rd = $(this).datagrid('getRowDetail', index); - var dg = getSubGrid(rd); - if (!dg.data('datagrid')){ - createGrid(dg[0], opts.subgrid, row); - } - rd.find('.easyui-fluid').trigger('_resize'); - setHeight(this, index); - if (conf.options.onExpandRow){ - conf.options.onExpandRow.call(this, index, row); - } - }, - onCollapseRow: function(index, row){ - setHeight(this, index); - if (conf.options.onCollapseRow){ - conf.options.onCollapseRow.call(this, index, row); - } - }, - onResize: function(){ - var dg = $(this).children('div.datagrid-view').children('table') - setParentHeight(this); - }, - onResizeColumn: function(field, width){ - setParentHeight(this); - if (conf.options.onResizeColumn){ - conf.options.onResizeColumn.call(this, field, width); - } - }, - onLoadSuccess: function(data){ - setParentHeight(this); - if (conf.options.onLoadSuccess){ - conf.options.onLoadSuccess.call(this, data); - } - } - })); - } - function getSubGrid(rowDetail){ - var div = $(rowDetail).children('div'); - if (div.children('div.datagrid').length){ - return div.find('>div.datagrid>div.panel-body>div.datagrid-view>table.datagrid-subgrid'); - } else { - return div.find('>table.datagrid-subgrid'); - } - } - function setParentHeight(target){ - var tr = $(target).closest('div.datagrid-row-detail').closest('tr').prev(); - if (tr.length){ - var index = parseInt(tr.attr('datagrid-row-index')); - var dg = tr.closest('div.datagrid-view').children('table'); - setHeight(dg[0], index); - } - } - function setHeight(target, index){ - $(target).datagrid('fixDetailRowHeight', index); - $(target).datagrid('fixRowHeight', index); - var tr = $(target).closest('div.datagrid-row-detail').closest('tr').prev(); - if (tr.length){ - var index = parseInt(tr.attr('datagrid-row-index')); - var dg = tr.closest('div.datagrid-view').children('table'); - setHeight(dg[0], index); - } - } - }); - }, - getSelfGrid: function(jq){ - var grid = jq.closest('.datagrid'); - if (grid.length){ - return grid.find('>.datagrid-wrap>.datagrid-view>.datagrid-f'); - } else { - return null; - } - }, - getParentGrid: function(jq){ - var detail = jq.closest('div.datagrid-row-detail'); - if (detail.length){ - return detail.closest('.datagrid-view').children('.datagrid-f'); - } else { - return null; - } - }, - getParentRowIndex: function(jq){ - var detail = jq.closest('div.datagrid-row-detail'); - if (detail.length){ - var tr = detail.closest('tr').prev(); - return parseInt(tr.attr('datagrid-row-index')); - } else { - return -1; - } - } -}); diff --git a/src/main/webapp/js/easyui-1.3.5/changelog.txt b/src/main/webapp/js/easyui-1.3.5/changelog.txt deleted file mode 100644 index adcec73e93c15029ca9c45ee1d0cbf1271df0588..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/changelog.txt +++ /dev/null @@ -1,363 +0,0 @@ -Version 1.3.5 -------------- -* Bug - * searchbox: The 'searcher' function can not offer 'name' parameter value correctly. fixed. - * combo: The 'isValid' method can not return boolean value. fixed. - * combo: Clicking combo will trigger the 'onHidePanel' event of other combo components that have hidden drop-down panels. fixed. - * combogrid: Some methods can not inherit from combo. fixed. -* Improvement - * datagrid: Improve performance on checking rows. - * menu: Allows to append a menu separator. - * menu: Add 'hideOnUnhover' property to indicate if the menu should be hidden when mouse exits it. - * slider: Add 'clear' and 'reset' methods. - * tabs: Add 'unselect' method that will trigger 'onUnselect' event. - * tabs: Add 'selected' property to specify what tab panel will be opened. - * tabs: The 'collapsible' property of tab panel is supported to determine if the tab panel can be collapsed. - * tabs: Add 'showHeader' property, 'showHeader' and 'hideHeader' methods. - * combobox: The 'disabled' property can be used to disable some items. - * tree: Improve loading performance. - * pagination: The 'layout' property can be used to customize the pagination layout. - * accordion: Add 'unselect' method that will trigger 'onUnselect' event. - * accordion: Add 'selected' and 'multiple' properties. - * accordion: Add 'getSelections' method. - * datebox: Add 'sharedCalendar' property that allows multiple datebox components share one calendar component. - -Version 1.3.4 -------------- -* Bug - * combobox: The onLoadSuccess event fires when parsing empty local data. fixed. - * form: Calling 'reset' method can not reset datebox field. fixed. -* Improvement - * mobile: The context menu and double click features are supported on mobile devices. - * combobox: The 'groupField' and 'groupFormatter' options are available to display items in groups. - * tree: When append or insert nodes, the 'data' parameter accepts one or more nodes data. - * tree: The 'getChecked' method accepts a single 'state' or an array of 'state'. - * tree: Add 'scrollTo' method. - * datagrid: The 'multiSort' property is added to support multiple column sorting. - * datagrid: The 'rowStyler' and column 'styler' can return CSS class name or inline styles. - * treegrid: Add 'load' method to load data and navigate to the first page. - * tabs: Add 'tabWidth' and 'tabHeight' properties. - * validatebox: The 'novalidate' property is available to indicate whether to perform the validation. - * validatebox: Add 'enableValidation' and 'disableValidation' methods. - * form: Add 'enableValidation' and 'disableValidation' methods. - * slider: Add 'onComplete' event. - * pagination: The 'buttons' property accepts the existing element. - -Version 1.3.3 -------------- -* Bug - * datagrid: Some style features are not supported by column styler function. fixed. - * datagrid: IE 31 stylesheet limit. fixed. - * treegrid: Some style features are not supported by column styler function. fixed. - * menu: The auto width of menu item displays incorrect in ie6. fixed. - * combo: The 'onHidePanel' event can not fire when clicked outside the combo area. fixed. -* Improvement - * datagrid: Add 'scrollTo' and 'highlightRow' methods. - * treegrid: Enable treegrid to parse data from element. - * combo: Add 'selectOnNavigation' and 'readonly' options. - * combobox: Add 'loadFilter' option to allow users to change data format before loading into combobox. - * tree: Add 'onBeforeDrop' callback event. - * validatebox: Dependent on tooltip plugin now, add 'deltaX' property. - * numberbox: The 'filter' options can be used to determine if the key pressed was accepted. - * linkbutton: The group button is available. - * layout: The 'minWidth','maxWidth','minHeight','maxHeight' and 'collapsible' properties are available for region panel. -* New Plugins - * tooltip: Display a popup message when moving mouse over an element. - -Version 1.3.2 -------------- -* Bug - * datagrid: The loading message window can not be centered when changing the width of datagrid. fixed. - * treegrid: The 'mergeCells' method can not work normally. fixed. - * propertygrid: Calling 'endEdit' method to stop editing a row will cause errors. fixed. - * tree: Can not load empty data when 'lines' property set to true. fixed. -* Improvement - * RTL feature is supported now. - * tabs: Add 'scrollBy' method to scroll the tab header by the specified amount of pixels - * tabs: Add 'toolPosition' property to set tab tools to left or right. - * tabs: Add 'tabPosition' property to define the tab position, possible values are: 'top','bottom','left','right'. - * datagrid: Add a column level property 'order' that allows users to define different default sort order per column. - * datagrid: Add a column level property 'halign' that allows users to define how to align the column header. - * datagrid: Add 'resizeHandle' property to define the resizing column position, by grabbing the left or right edge of the column. - * datagrid: Add 'freezeRow' method to freeze some rows that will always be displayed at the top when the datagrid is scrolled down. - * datagrid: Add 'clearChecked' method to clear all checked records. - * datagrid: Add 'data' property to initialize the datagrid data. - * linkbutton: Add 'iconAlgin' property to define the icon position, supported values are: 'left','right'. - * menu: Add 'minWidth' property. - * menu: The menu width can be automatically calculated. - * tree: New events are available including 'onBeforeDrag','onStartDrag','onDragEnter','onDragOver','onDragLeave',etc. - * combo: Add 'height' property to allow users to define the height of combo. - * combo: Add 'reset' method. - * numberbox: Add 'reset' method. - * spinner: Add 'reset' method. - * spinner: Add 'height' property to allow users to define the height of spinner. - * searchbox: Add 'height' property to allow users to define the height of searchbox. - * form: Add 'reset' method. - * validatebox: Add 'delay' property to delay validating from the last inputting value. - * validatebox: Add 'tipPosition' property to define the tip position, supported values are: 'left','right'. - * validatebox: Multiple validate rules on a field is supported now. - * slider: Add 'reversed' property to determine if the min value and max value will switch their positions. - * progressbar: Add 'height' property to allow users to define the height of progressbar. - -Version 1.3.1 -------------- -* Bug - * datagrid: Setting the 'pageNumber' property is not valid. fixed. - * datagrid: The id attribute of rows isn't adjusted properly while calling 'insertRow' or 'deleteRow' method. - * dialog: When load content from 'href', the script will run twice. fixed. - * propertygrid: The editors that extended from combo can not accept its changed value. fixed. -* Improvement - * droppable: Add 'disabled' property. - * droppable: Add 'options','enable' and 'disable' methods. - * tabs: The tab panel tools can be changed by calling 'update' method. - * messager: When show a message window, the user can define the window position by applying 'style' property. - * window: Prevent script on window body from running twice. - * window: Add 'hcenter','vcenter' and 'center' methods. - * tree: Add 'onBeforeCheck' callback event. - * tree: Extend the 'getChecked' method to allow users to get 'checked','unchecked' or 'indeterminate' nodes. - * treegrid: Add 'update' method to update a specified node. - * treegrid: Add 'insert' method to insert a new node. - * treegrid: Add 'pop' method to remove a node and get the removed node data. - -Version 1.3 ------------ -* Bug - * combogrid: When set to 'remote' query mode, the 'queryParams' parameters can't be sent to server. fixed. - * combotree: The tree nodes on drop-down panel can not be unchecked while calling 'clear' method. fixed. - * datetimebox: Setting 'showSeconds' property to false cannot hide seconds info. fixed. - * datagrid: Calling 'mergeCells' method can't auto resize the merged cell while header is hidden. fixed. - * dialog: Set cache to false and load data via ajax, the content cannot be refreshed. fixed. -* Improvement - * The HTML5 'data-options' attribute is available for components to declare all custom options, including properties and events. - * More detailed documentation is available. - * panel: Prevent script on panel body from running twice. - * accordion: Add 'getPanelIndex' method. - * accordion: The tools can be added on panel header. - * datetimebox: Add 'timeSeparator' option that allows users to define the time separator. - * pagination: Add 'refresh' and 'select' methods. - * datagrid: Auto resize the column width to fit the contents when the column width is not defined. - * datagrid: Double click on the right border of columns to auto resize the columns to the contents in the columns. - * datagrid: Add 'autoSizeColumn' method that allows users to adjust the column width to fit the contents. - * datagrid: Add 'getChecked' method to get all rows where the checkbox has been checked. - * datagrid: Add 'selectOnCheck' and 'checkOnSelect' properties and some checking methods to enhance the row selections. - * datagrid: Add 'pagePosition' property to allow users to display pager bar at either top,bottom or both places of the grid. - * datagrid: The buffer view and virtual scroll view are supported to display large amounts of records without pagination. - * tabs: Add 'disableTab' and 'enableTab' methods to allow users to disable or enable a tab panel. - -Version 1.2.6 -------------- -* Bug - * tabs: Call 'add' method with 'selected:false' option, the added tab panel is always selected. fixed. - * treegrid: The 'onSelect' and 'onUnselect' events can't be triggered. fixed. - * treegrid: Cannot display zero value field. fixed. -* Improvement - * propertygrid: Add 'expandGroup' and 'collapseGroup' methods. - * layout: Allow users to create collapsed layout panels by assigning 'collapsed' property to true. - * layout: Add 'add' and 'remove' methods that allow users to dynamically add or remove region panel. - * layout: Additional tool icons can be added on region panel header. - * calendar: Add 'firstDay' option that allow users to set first day of week. Sunday is 0, Monday is 1, ... - * tree: Add 'lines' option, true to display tree lines. - * tree: Add 'loadFilter' option that allow users to change data format before loading into the tree. - * tree: Add 'loader' option that allow users to define how to load data from remote server. - * treegrid: Add 'onClickCell' and 'onDblClickCell' callback function options. - * datagrid: Add 'autoRowHeight' property that allow users to determine if set the row height based on the contents of that row. - * datagrid: Improve performance to load large data set. - * datagrid: Add 'loader' option that allow users to define how to load data from remote server. - * treegrid: Add 'loader' option that allow users to define how to load data from remote server. - * combobox: Add 'onBeforeLoad' callback event function. - * combobox: Add 'loader' option that allow users to define how to load data from remote server. - * Add support for other loading mode such as dwr,xml,etc. -* New Plugins - * slider: Allows the user to choose a numeric value from a finite range. - -Version 1.2.5 -------------- -* Bug - * tabs: When add a new tab panel with href property, the content page is loaded twice. fixed. - * form: Failed to call 'load' method to load form input with complex name. fixed. - * draggable: End drag in ie9, the cursor cannot be restored. fixed. -* Improvement - * panel: The tools can be defined via html markup. - * tabs: Call 'close' method to close specified tab panel, users can pass tab title or index of tab panel. Other methods such 'select','getTab' and 'exists' are similar to 'close' method. - * tabs: Add 'getTabIndex' method. - * tabs: Users can define mini tools on tabs. - * tree: The mouse must move a specified distance to begin drag and drop operation. - * resizable: Add 'options','enable' and 'disable' methods. - * numberbox: Allow users to change number format. - * datagrid: The subgrid is supported now. - * searchbox: Add 'selectName' method to select searching type name. - -Version 1.2.4 -------------- -* Bug - * menu: The menu position is wrong when scroll bar appears. fixed. - * accordion: Cannot display the default selected panel in jQuery 1.6.2. fixed. - * tabs: Cannot display the default selected tab panel in jQuery 1.6.2. fixed. -* Improvement - * menu: Allow users to disable or enable menu item. - * combo: Add 'delay' property to set the delay time to do searching from the last key input event. - * treegrid: The 'getEditors' and 'getEditor' methods are supported now. - * treegrid: The 'loadFilter' option is supported now. - * messager: Add 'progress' method to display a message box with a progress bar. - * panel: Add 'extractor' option to allow users to extract panel content from ajax response. -* New Plugins - * searchbox: Allow users to type words into box and do searching operation. - * progressbar: To display the progress of a task. - -Version 1.2.3 -------------- -* Bug - * window: Cannot resize the window with iframe content. fixed. - * tree: The node will be removed when dragging to its child. fixed. - * combogrid: The onChange event fires multiple times. fixed. - * accordion: Cannot add batch new panels when animate property is set to true. fixed. -* Improvement - * treegrid: The footer row and row styler features are supported now. - * treegrid: Add 'getLevel','reloadFooter','getFooterRows' methods. - * treegrid: Support root nodes pagination and editable features. - * datagrid: Add 'getFooterRows','reloadFooter','insertRow' methods and improve editing performance. - * datagrid: Add 'loadFilter' option that allow users to change original source data to standard data format. - * draggable: Add 'onBeforeDrag' callback event function. - * validatebox: Add 'remote' validation type. - * combobox: Add 'method' option. -* New Plugins - * propertygrid: Allow users to edit property value in datagrid. - -Version 1.2.2 -------------- -* Bug - * datagrid: Apply fitColumns cannot work fine while set checkbox column. fixed. - * datagrid: The validateRow method cannot return boolean type value. fixed. - * numberbox: Cannot fix value in chrome when min or max property isn't defined. fixed. -* Improvement - * menu: Add some crud methods. - * combo: Add hasDownArrow property to determine whether to display the down arrow button. - * tree: Supports inline editing. - * calendar: Add some useful methods such as 'resize', 'moveTo' etc. - * timespinner: Add some useful methods. - * datebox: Refactoring based on combo and calendar plugin now. - * datagrid: Allow users to change row style in some conditions. - * datagrid: Users can use the footer row to display summary information. -* New Plugins - * datetimebox: Combines datebox with timespinner component. - -Version 1.2.1 -------------- -* Bug - * easyloader: Some dependencies cannot be loaded by their order. fixed. - * tree: The checkbox is setted incorrectly when removing a node. fixed. - * dialog: The dialog layout incorrectly when 'closed' property is setted to true. fixed. -* Improvement - * parser: Add onComplete callback function that can indicate whether the parse action is complete. - * menu: Add onClick callback function and some other methods. - * tree: Add some useful methods. - * tree: Drag and Drop feature is supported now. - * tree: Add onContextMenu callback function. - * tabs: Add onContextMenu callback function. - * tabs: Add 'tools' property that can create buttons on right bar. - * datagrid: Add onHeaderContextMenu and onRowContextMenu callback functions. - * datagrid: Custom view is supported. - * treegrid: Add onContextMenu callback function and append,remove methods. - -Version 1.2 -------------- -* Improvement - * tree: Add cascadeCheck,onlyLeafCheck properties and select event. - * combobox: Enable multiple selection. - * combotree: Enable multiple selection. - * tabs: Remember the trace of selection, when current tab panel is closed, the previous selected tab will be selected. - * datagrid: Extend from panel, so many properties defined in panel can be used for datagrid. -* New Plugins - * treegrid: Represent tabular data in hierarchical view, combines tree view and datagrid. - * combo: The basic component that allow user to extend their combo component such as combobox,combotree,etc. - * combogrid: Combines combobox with drop-down datagrid component. - * spinner: The basic plugin to create numberspinner,timespinner,etc. - * numberspinner: The numberbox that allow user to change value by clicking up and down spin buttons. - * timespinner: The time selector that allow user to quickly inc/dec a time. - -Version 1.1.2 -------------- -* Bug - * messager: When call show method in layout, the message window will be blocked. fixed. -* Improvement - * datagrid: Add validateRow method, remember the current editing row status when do editing action. - * datagrid: Add the ability to create merged cells. - * form: Add callback functions when loading data. - * panel,window,dialog: Add maximize,minimize,restore,collapse,expand methods. - * panel,tabs,accordion: The lazy loading feature is supported. - * tabs: Add getSelected,update,getTab methods. - * accordion: Add crud methods. - * linkbutton: Accept an id option to set the id attribute. - * tree: Enhance tree node operation. - -Version 1.1.1 -------------- -* Bug - * form: Cannot clear the value of combobox and combotree component. fixed. -* Improvement - * tree: Add some useful methods such as 'getRoot','getChildren','update',etc. - * datagrid: Add editable feature, improve performance while loading data. - * datebox: Add destroy method. - * combobox: Add destroy and clear method. - * combotree: Add destroy and clear method. - -Version 1.1 -------------- -* Bug - * messager: When call show method with timeout property setted, an error occurs while clicking the close button. fixed. - * combobox: The editable property of combobox plugin is invalid. fixed. - * window: The proxy box will not be removed when dragging or resizing exceed browser border in ie. fixed. -* Improvement - * menu: The menu item can use markup to display a different page. - * tree: The tree node can use markup to act as a tree menu. - * pagination: Add some event on refresh button and page list. - * datagrid: Add a 'param' parameter for reload method, with which users can pass query parameter when reload data. - * numberbox: Add required validation support, the usage is same as validatebox plugin. - * combobox: Add required validation support. - * combotree: Add required validation support. - * layout: Add some method that can get a region panel and attach event handlers. -* New Plugins - * droppable: A droppable plugin that supports drag drop operation. - * calendar: A calendar plugin that can either be embedded within a page or popup. - * datebox: Combines a textbox with a calendar that let users to select date. - * easyloader: A JavaScript loader that allows you to load plugin and their dependencies into your page. - -Version 1.0.5 -* Bug - * panel: The fit property of panel performs incorrectly. fixed. -* Improvement - * menu: Add a href attribute for menu item, with which user can display a different page in the current browser window. - * form: Add a validate method to do validation for validatebox component. - * dialog: The dialog can read collapsible,minimizable,maximizable and resizable attribute from markup. -* New Plugins - * validatebox: A validation plugin that checks to make sure the user's input value is valid. - -Version 1.0.4 -------------- -* Bug - * panel: When panel is invisible, it is abnormal when resized. fixed. - * panel: Memory leak in method 'destroy'. fixed. - * messager: Memory leak when messager box is closed. fixed. - * dialog: No onLoad event occurs when loading remote data. fixed. -* Improvement - * panel: Add method 'setTitle'. - * window: Add method 'setTitle'. - * dialog: Add method 'setTitle'. - * combotree: Add method 'getValue'. - * combobox: Add method 'getValue'. - * form: The 'load' method can load data and fill combobox and combotree field correctly. - -Version 1.0.3 -------------- -* Bug - * menu: When menu is show in a DIV container, it will be cropped. fixed. - * layout: If you collpase a region panel and then expand it immediately, the region panel will not show normally. fixed. - * accordion: If no panel selected then the first one will become selected and the first panel's body height will not set correctly. fixed. -* Improvement - * tree: Add some methods to support CRUD operation. - * datagrid: Toolbar can accept a new property named 'disabled' to disable the specified tool button. -* New Plugins - * combobox: Combines a textbox with a list of options that users are able to choose from. - * combotree: Combines combobox with drop-down tree component. - * numberbox: Make input element can only enter number char. - * dialog: rewrite the dialog plugin, dialog can contains toolbar and buttons. diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/_content.html b/src/main/webapp/js/easyui-1.3.5/demo/accordion/_content.html deleted file mode 100644 index 996740274e6e119154dfdcdbd0859d9efe480558..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

    Here is the content loaded via AJAX.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modern, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/accordion/actions.html deleted file mode 100644 index 0090ffb3bf9d3f615d9bb5527e6002f77ab5437c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/actions.html +++ /dev/null @@ -1,54 +0,0 @@ - - - - - Accordion Actions - jQuery EasyUI Demo - - - - - - - -

    Accordion Actions

    -
    -
    -
    Click the buttons below to add or remove accordion items.
    -
    -
    -
    -
    -

    Accordion for jQuery

    -

    Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/ajax.html b/src/main/webapp/js/easyui-1.3.5/demo/accordion/ajax.html deleted file mode 100644 index c3371b8f64027f1e15b5366a0fc9700dcd85a044..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/ajax.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Loading Accordion Content with AJAX - jQuery EasyUI Demo - - - - - - - -

    Loading Accordion Content with AJAX

    -
    -
    -
    Click AJAX panel header to load content via AJAX.
    -
    -
    -
    -
    -

    Accordion for jQuery

    -

    Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

    -
    -
    -

    The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

    -
    -
    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/accordion/basic.html deleted file mode 100644 index 57fdd0c7480644acf7ef7333e87bda5dc3100d0b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/basic.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - Basic Accordion - jQuery EasyUI Demo - - - - - - - -

    Basic Accordion

    -
    -
    -
    Click on panel header to show its content.
    -
    -
    -
    -
    -

    Accordion for jQuery

    -

    Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

    -
    -
    -

    The accordion allows you to provide multiple panels and display one or more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

    -
    -
    -
      -
    • - Foods -
        -
      • - Fruits -
          -
        • apple
        • -
        • orange
        • -
        -
      • -
      • - Vegetables -
          -
        • tomato
        • -
        • carrot
        • -
        • cabbage
        • -
        • potato
        • -
        • lettuce
        • -
        -
      • -
      -
    • -
    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/datagrid_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/accordion/datagrid_data1.json deleted file mode 100644 index 63d64735867a65000bb062a69f0e21e2918e91f1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/expandable.html b/src/main/webapp/js/easyui-1.3.5/demo/accordion/expandable.html deleted file mode 100644 index a6d56ff15d73b9521032fc3a652de0338c3c036b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/expandable.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Keep Expandable Panel in Accordion - jQuery EasyUI Demo - - - - - - - -

    Keep Expandable Panel in Accordion

    -
    -
    -
    Keep a expandable panel and prevent it from collapsing.
    -
    -
    -
    -
    - -
    -
    -

    Accordion for jQuery

    -

    Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

    -
    -
    -

    Content1

    -
    -
    -

    Content2

    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/multiple.html b/src/main/webapp/js/easyui-1.3.5/demo/accordion/multiple.html deleted file mode 100644 index 36f97785809f3c507062aa7a2d0b25cdbc1d4400..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/multiple.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Multiple Accordion Panels - jQuery EasyUI Demo - - - - - - - -

    Multiple Accordion Panels

    -
    -
    -
    Enable 'multiple' mode to expand multiple panels at one time.
    -
    -
    -
    -
    -

    A programming language is a formal language designed to communicate instructions to a machine, particularly a computer. Programming languages can be used to create programs that control the behavior of a machine and/or to express algorithms precisely.

    -
    -
    -

    Java (Indonesian: Jawa) is an island of Indonesia. With a population of 135 million (excluding the 3.6 million on the island of Madura which is administered as part of the provinces of Java), Java is the world's most populous island, and one of the most densely populated places in the world.

    -
    -
    -

    C# is a multi-paradigm programming language encompassing strong typing, imperative, declarative, functional, generic, object-oriented (class-based), and component-oriented programming disciplines.

    -
    -
    -

    A dynamic, reflective, general-purpose object-oriented programming language.

    -
    -
    -

    Fortran (previously FORTRAN) is a general-purpose, imperative programming language that is especially suited to numeric computation and scientific computing.

    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/accordion/tools.html b/src/main/webapp/js/easyui-1.3.5/demo/accordion/tools.html deleted file mode 100644 index 7246e58cad60bef55becbe4826f7454e267ca740..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/accordion/tools.html +++ /dev/null @@ -1,51 +0,0 @@ - - - - - Accordion Tools - jQuery EasyUI Demo - - - - - - - -

    Accordion Tools

    -
    -
    -
    Click the tools on top right of panel to perform actions.
    -
    -
    -
    -
    -

    Accordion for jQuery

    -

    Accordion is a part of easyui framework for jQuery. It lets you define your accordion component on web page more easily.

    -
    -
    -

    The accordion allows you to provide multiple panels and display one ore more at a time. Each panel has built-in support for expanding and collapsing. Clicking on a panel header to expand or collapse that panel body. The panel content can be loaded via ajax by specifying a 'href' property. Users can define a panel to be selected. If it is not specified, then the first panel is taken by default.

    -
    -
    - - - - - - - - - - - -
    Item IDProduct IDList PriceUnit CostAttributeStatus
    -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/calendar/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/calendar/basic.html deleted file mode 100644 index c38de4d13605416795ee4c0e2fa8c43c8f824c5c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/calendar/basic.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Basic Calendar - jQuery EasyUI Demo - - - - - - - -

    Basic Calendar

    -
    -
    -
    Click to select date.
    -
    - -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/calendar/firstday.html b/src/main/webapp/js/easyui-1.3.5/demo/calendar/firstday.html deleted file mode 100644 index b7437e2ffdfe21081924550a10fa4f99ed21e383..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/calendar/firstday.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - First Day of Week - jQuery EasyUI Demo - - - - - - - -

    First Day of Week

    -
    -
    -
    Choose the first day of the week.
    -
    - -
    - -
    - -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combo/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/combo/basic.html deleted file mode 100644 index ab546ebab180fbb00f08177b677a390caf779084..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combo/basic.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Basic Combo - jQuery EasyUI Demo - - - - - - - -

    Basic Combo

    -
    -
    -
    Click the right arrow button to show drop down panel that can be filled with any content.
    -
    - -
    -
    Select a language
    - Java
    - C#
    - Ruby
    - Basic
    - Fortran -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/actions.html deleted file mode 100644 index e0a00a85b287ad33a56904954ee40e31285afcf2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/actions.html +++ /dev/null @@ -1,89 +0,0 @@ - - - - - ComboBox Actions - jQuery EasyUI Demo - - - - - - - -

    ComboBox

    -
    -
    -
    Click the buttons below to perform actions.
    -
    - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/basic.html deleted file mode 100644 index ea001e752c21ec52dddc79ea1d5dbef28a192416..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/basic.html +++ /dev/null @@ -1,73 +0,0 @@ - - - - - Basic ComboBox - jQuery EasyUI Demo - - - - - - - -

    Basic ComboBox

    -
    -
    -
    Type in ComboBox to try auto complete.
    -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/combobox_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/combobox/combobox_data1.json deleted file mode 100644 index 9c8f7f5b12cb1a124fb38beff573140daa14b855..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/combobox_data1.json +++ /dev/null @@ -1,22 +0,0 @@ -[{ - "id":1, - "text":"Java", - "desc":"Write once, run anywhere" -},{ - "id":2, - "text":"C#", - "desc":"One of the programming languages designed for the Common Language Infrastructure" -},{ - "id":3, - "text":"Ruby", - "selected":true, - "desc":"A dynamic, reflective, general-purpose object-oriented programming language" -},{ - "id":4, - "text":"Perl", - "desc":"A high-level, general-purpose, interpreted, dynamic programming language" -},{ - "id":5, - "text":"Basic", - "desc":"A family of general-purpose, high-level programming languages" -}] \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/combobox_data2.json b/src/main/webapp/js/easyui-1.3.5/demo/combobox/combobox_data2.json deleted file mode 100644 index c3baf77dcb7304e4bf0f72ae48ebd2ea232a64ad..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/combobox_data2.json +++ /dev/null @@ -1,47 +0,0 @@ -[{ - "value":"f20", - "text":"Firefox 2.0 or higher", - "group":"Firefox" -},{ - "value":"f15", - "text":"Firefox 1.5.x", - "group":"Firefox" -},{ - "value":"f10", - "text":"Firefox 1.0.x", - "group":"Firefox" -},{ - "value":"ie7", - "text":"Microsoft Internet Explorer 7.0 or higher", - "group":"Microsoft Internet Explorer" -},{ - "value":"ie6", - "text":"Microsoft Internet Explorer 6.x", - "group":"Microsoft Internet Explorer" -},{ - "value":"ie5", - "text":"Microsoft Internet Explorer 5.x", - "group":"Microsoft Internet Explorer" -},{ - "value":"ie4", - "text":"Microsoft Internet Explorer 4.x", - "group":"Microsoft Internet Explorer" -},{ - "value":"op9", - "text":"Opera 9.0 or higher", - "group":"Opera" -},{ - "value":"op8", - "text":"Opera 8.x", - "group":"Opera" -},{ - "value":"op7", - "text":"Opera 7.x", - "group":"Opera" -},{ - "value":"Safari", - "text":"Safari" -},{ - "value":"Other", - "text":"Other" -}] \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/customformat.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/customformat.html deleted file mode 100644 index 2571b8b886371ed7803d309f66b6da8e62a4e15d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/customformat.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Custom Format in ComboBox - jQuery EasyUI Demo - - - - - - - -

    Custom Format in ComboBox

    -
    -
    -
    This sample shows how to custom the format of list item.
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/dynamicdata.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/dynamicdata.html deleted file mode 100644 index 9e14e93f9b478a2f5753044e770e7c903277c090..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/dynamicdata.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Load Dynamic ComboBox Data - jQuery EasyUI Demo - - - - - - - -

    Load Dynamic ComboBox Data

    -
    -
    -
    Click the button below to load data.
    -
    -
    - LoadData -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/group.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/group.html deleted file mode 100644 index f345c532cdb67d9328f162dc75fd5802634b2801..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/group.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Group ComboBox - jQuery EasyUI Demo - - - - - - - -

    Group ComboBox

    -
    -
    -
    This example shows how to display combobox items in groups.
    -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/multiple.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/multiple.html deleted file mode 100644 index edfca1a5020022ec16d7739af3bc5674fc933473..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/multiple.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Multiple Select - jQuery EasyUI Demo - - - - - - - -

    Load Dynamic ComboBox Data

    -
    -
    -
    Drop down the panel and select multiple items.
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/navigation.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/navigation.html deleted file mode 100644 index d3161dd91344010da8a2fbc39a717641072cb035..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/navigation.html +++ /dev/null @@ -1,76 +0,0 @@ - - - - - Navigate ComboBox - jQuery EasyUI Demo - - - - - - - -

    Navigate ComboBox

    -
    -
    -
    Navigate through combobox items width keyboard to select an item.
    -
    -
    - - SelectOnNavigation -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/remotedata.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/remotedata.html deleted file mode 100644 index 8d981cbc17e3c925b696d98b5579b67147f543c4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/remotedata.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - Binding to Remote Data - jQuery EasyUI Demo - - - - - - - -

    Binding to Remote Data

    -
    -
    -
    The ComboBox is bound to a remote data.
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combobox/remotejsonp.html b/src/main/webapp/js/easyui-1.3.5/demo/combobox/remotejsonp.html deleted file mode 100644 index 426446b27faea686a7fffe1c19a37adea48e5487..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combobox/remotejsonp.html +++ /dev/null @@ -1,53 +0,0 @@ - - - - - Remote JSONP - jQuery EasyUI Demo - - - - - - - -

    Remote JSONP

    -
    -
    -
    This sample shows how to use JSONP to retrieve data from a remote site.
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/combogrid/actions.html deleted file mode 100644 index 8823b1149e28bbaff1eba789819be758478b8340..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/actions.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - ComboGrid Actions - jQuery EasyUI Demo - - - - - - - -

    ComboGrid Actions

    -
    -
    -
    Click the buttons below to perform actions.
    -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/combogrid/basic.html deleted file mode 100644 index 9bd52036495423a428e35ac9f7106b9f2c3ea14d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/basic.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Basic ComboGrid - jQuery EasyUI Demo - - - - - - - -

    Basic ComboGrid

    -
    -
    -
    Click the right arrow button to show the DataGrid.
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/datagrid_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/combogrid/datagrid_data1.json deleted file mode 100644 index c74fa230daccee658d958561fdc8b6151cef537a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"selected":true,"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/initvalue.html b/src/main/webapp/js/easyui-1.3.5/demo/combogrid/initvalue.html deleted file mode 100644 index 5e86a60b7a5a601091f5e5e38feec3f2c20a545b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/initvalue.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Initialize Value for ComboGrid - jQuery EasyUI Demo - - - - - - - -

    Initialize Value for ComboGrid

    -
    -
    -
    Initialize value when ComboGrid is created.
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/multiple.html b/src/main/webapp/js/easyui-1.3.5/demo/combogrid/multiple.html deleted file mode 100644 index 7229f3ee6eae892e0a87d26c3acbbfda9915bf6b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/multiple.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Multiple ComboGrid - jQuery EasyUI Demo - - - - - - - -

    Multiple ComboGrid

    -
    -
    -
    Click the right arrow button to show the DataGrid and select items.
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/navigation.html b/src/main/webapp/js/easyui-1.3.5/demo/combogrid/navigation.html deleted file mode 100644 index 24b3238d7d70851eb7f7a65041bfed61bbe9b2c8..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combogrid/navigation.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - Navigate ComboGrid - jQuery EasyUI Demo - - - - - - - -

    Navigate ComboGrid

    -
    -
    -
    Navigate through grid items with keyboard to select an item.
    -
    -
    - - SelectOnNavigation -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combotree/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/combotree/actions.html deleted file mode 100644 index 4a29e50784a231f9bc8cd54a4b29458f5f3edd4b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combotree/actions.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - ComboTree Actions - jQuery EasyUI Demo - - - - - - - -

    ComboTree Actions

    -
    -
    -
    Click the buttons below to perform actions
    -
    - - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combotree/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/combotree/basic.html deleted file mode 100644 index 278a4a404458549d2340f2feade393800ab4a52d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combotree/basic.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Basic ComboTree - jQuery EasyUI Demo - - - - - - - -

    Basic ComboTree

    -
    -
    -
    Click the right arrow button to show the tree panel.
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combotree/initvalue.html b/src/main/webapp/js/easyui-1.3.5/demo/combotree/initvalue.html deleted file mode 100644 index 2d9113f59cebe2cd9678788f67013a7966d76521..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combotree/initvalue.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Initialize Value for ComboTree - jQuery EasyUI Demo - - - - - - - -

    Initialize Value for ComboTree

    -
    -
    -
    Initialize Value when ComboTree is created.
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combotree/multiple.html b/src/main/webapp/js/easyui-1.3.5/demo/combotree/multiple.html deleted file mode 100644 index add5382cb70f654d5408cb4b35ce2cd3dd5b3eeb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combotree/multiple.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Multiple ComboTree - jQuery EasyUI Demo - - - - - - - -

    Multiple ComboTree

    -
    -
    -
    Click the right arrow button to show the tree panel and select multiple nodes.
    -
    -
    - Cascade Check: - -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/combotree/tree_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/combotree/tree_data1.json deleted file mode 100644 index e0c619226cd03dbdf997eb2e2487fa3fa76ddde5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/combotree/tree_data1.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java", - "attributes":{ - "p1":"Custom Attribute1", - "p2":"Custom Attribute2" - } - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games", - "checked":true - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/aligncolumns.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/aligncolumns.html deleted file mode 100644 index 84b33b6c2b615f8508f7d211e7c617daa0f429fa..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/aligncolumns.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Aligning Columns in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Aligning Columns in DataGrid

    -
    -
    -
    Use align and halign properties to set the alignment of the columns and their header.
    -
    -
    - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/basic.html deleted file mode 100644 index 657c0f906df11e453ca5ad75ebde9eb571faf0db..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/basic.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Basic DataGrid - jQuery EasyUI Demo - - - - - - - -

    Basic DataGrid

    -
    -
    -
    The DataGrid is created from markup, no JavaScript code needed.
    -
    -
    - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/cellediting.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/cellediting.html deleted file mode 100644 index 07dcaedbdc1dbf372fb3988a951ce1a75a88d613..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/cellediting.html +++ /dev/null @@ -1,82 +0,0 @@ - - - - - Cell Editing in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Cell Editing in DataGrid

    -
    -
    -
    Click a cell to start editing.
    -
    -
    - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/cellstyle.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/cellstyle.html deleted file mode 100644 index 52447852c137c5fa7b5ac1c9fbb33bf5e2610a74..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/cellstyle.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - DataGrid Cell Style - jQuery EasyUI Demo - - - - - - - -

    DataGrid Cell Style

    -
    -
    -
    The cells which listprice value is less than 30 are highlighted.
    -
    -
    - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/checkbox.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/checkbox.html deleted file mode 100644 index 44519c22399ef43ddee4153a135f3774960493ac..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/checkbox.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - CheckBox Selection on DataGrid - jQuery EasyUI Demo - - - - - - - -

    CheckBox Selection on DataGrid

    -
    -
    -
    Click the checkbox on header to select or unselect all selections.
    -
    -
    - - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    -
    - Selection Mode: -
    - SelectOnCheck:
    - CheckOnSelect: -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/clientpagination.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/clientpagination.html deleted file mode 100644 index 7e820f555272643c4c66ba585368e589a4eb7601..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/clientpagination.html +++ /dev/null @@ -1,92 +0,0 @@ - - - - - Client Side Pagination in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Client Side Pagination in DataGrid

    -
    -
    -
    This sample shows how to implement client side pagination in DataGrid.
    -
    -
    - - - - - - - - - - - - - -
    Inv NoDateNameAmountPriceCostNote
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/columngroup.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/columngroup.html deleted file mode 100644 index 1954f4e8e47c716b3db1a8911c9295809963ca3e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/columngroup.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Column Group - jQuery EasyUI Demo - - - - - - - -

    Column Group

    -
    -
    -
    The header cells can be merged. Useful to group columns under a category.
    -
    -
    - - - - - - - - - - - - - - -
    Item IDProductItem Details
    List PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/complextoolbar.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/complextoolbar.html deleted file mode 100644 index 73aae13122989870ffa25734c7da5a041b91dca1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/complextoolbar.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - DataGrid Complex Toolbar - jQuery EasyUI Demo - - - - - - - -

    DataGrid Complex Toolbar

    -
    -
    -
    The DataGrid toolbar can be defined from a <div/> markup, so you can define the layout of toolbar easily.
    -
    -
    - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    -
    -
    - - - - - -
    -
    - Date From: - To: - Language: - - Search -
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/contextmenu.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/contextmenu.html deleted file mode 100644 index 0aaca6f0a417835a67f44ba476b765be22e88f85..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/contextmenu.html +++ /dev/null @@ -1,84 +0,0 @@ - - - - - Context Menu on DataGrid - jQuery EasyUI Demo - - - - - - - -

    Context Menu on DataGrid

    -
    -
    -
    Right click on the header of DataGrid to display context menu.
    -
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/custompager.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/custompager.html deleted file mode 100644 index 727d2e31102c8b2d236d7a1c6fb0f27e64d449c3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/custompager.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - Custom DataGrid Pager - jQuery EasyUI Demo - - - - - - - -

    Custom DataGrid Pager

    -
    -
    -
    You can append some buttons to the standard datagrid pager bar.
    -
    -
    - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/datagrid_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/datagrid_data1.json deleted file mode 100644 index 63d64735867a65000bb062a69f0e21e2918e91f1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/datagrid_data2.json b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/datagrid_data2.json deleted file mode 100644 index ce91babf056fb411bc98764dfae15909e84b39f1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/datagrid_data2.json +++ /dev/null @@ -1,15 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":28.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":63.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -],"footer":[ - {"unitcost":19.80,"listprice":60.40,"productid":"Average:"}, - {"unitcost":198.00,"listprice":604.00,"productid":"Total:"} -]} diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/footer.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/footer.html deleted file mode 100644 index 4c639854aceb88427add98219c278e9dc88be7af..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/footer.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - Footer Rows in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Footer Rows in DataGrid

    -
    -
    -
    The summary informations can be displayed in footer rows.
    -
    -
    - - - - - - - - - - - -
    Item IDProduct IDList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/formatcolumns.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/formatcolumns.html deleted file mode 100644 index 95e42385feacc29140b0457c080c3a8e0f5d88eb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/formatcolumns.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Format DataGrid Columns - jQuery EasyUI Demo - - - - - - - -

    Format DataGrid Columns

    -
    -
    -
    The list price value will show red color when less than 30.
    -
    -
    - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/frozencolumns.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/frozencolumns.html deleted file mode 100644 index dadb429af2977e14e439954af637c6a74c923f0e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/frozencolumns.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Frozen Columns in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Frozen Columns in DataGrid

    -
    -
    -
    You can freeze some columns that can't scroll out of view.
    -
    -
    - - - - - - - - - - - - - - - -
    Item IDProduct
    List PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/frozenrows.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/frozenrows.html deleted file mode 100644 index bf964fffed0e7eb1d0e00515e2fa3d590ac7c173..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/frozenrows.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - Frozen Rows in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Frozen Rows in DataGrid

    -
    -
    -
    This sample shows how to freeze some rows that will always be displayed at the top when the datagrid is scrolled down.
    -
    -
    - - - - - - - - - - - - - - - -
    Item IDProduct
    List PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/mergecells.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/mergecells.html deleted file mode 100644 index e98bb1c94da069310a4d94bac38a28c2f6bb0dd7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/mergecells.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - Merge Cells for DataGrid - jQuery EasyUI Demo - - - - - - - -

    Merge Cells for DataGrid

    -
    -
    -
    Cells in DataGrid body can be merged.
    -
    -
    - - - - - - - - - - - -
    ProductItem IDList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/multisorting.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/multisorting.html deleted file mode 100644 index 134fbf35accd9d1391e818a9de095255ab5c5ac9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/multisorting.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Multiple Sorting - jQuery EasyUI Demo - - - - - - - -

    Multiple Sorting

    -
    -
    -
    Set 'multiSort' property to true to enable multiple column sorting.
    -
    -
    - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/products.json b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/products.json deleted file mode 100644 index b0b6a936e4519e959b6ba27dcb9004e069c00b10..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/products.json +++ /dev/null @@ -1,9 +0,0 @@ -[ -{"productid":"FI-SW-01","productname":"Koi"}, -{"productid":"K9-DL-01","productname":"Dalmation"}, -{"productid":"RP-SN-01","productname":"Rattlesnake"}, -{"productid":"RP-LI-02","productname":"Iguana"}, -{"productid":"FL-DSH-01","productname":"Manx"}, -{"productid":"FL-DLH-02","productname":"Persian"}, -{"productid":"AV-CB-01","productname":"Amazon Parrot"} -] diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowborder.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowborder.html deleted file mode 100644 index fcbec741e460ba0d0fe9d55f1b2696642ab7b76b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowborder.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Row Border in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Row Border in DataGrid

    -
    -
    -
    This sample shows how to change the row border style of datagrid.
    -
    -
    - Border: - - Striped: - -
    - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowediting.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowediting.html deleted file mode 100644 index 6e7c505672af6fc091016a2984364f8200b762f5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowediting.html +++ /dev/null @@ -1,116 +0,0 @@ - - - - - Row Editing in DataGrid - jQuery EasyUI Demo - - - - - - - -

    Row Editing in DataGrid

    -
    -
    -
    Click the row to start editing.
    -
    -
    - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowstyle.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowstyle.html deleted file mode 100644 index b5956b003de13889ecac4d41b04412d5655fc323..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/rowstyle.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - DataGrid Row Style - jQuery EasyUI Demo - - - - - - - -

    DataGrid Row Style

    -
    -
    -
    The rows which listprice value is less than 30 are highlighted.
    -
    -
    - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/selection.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/selection.html deleted file mode 100644 index e1c618cc14be161b7bfb25ace32f90037ca90f3a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/selection.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - DataGrid Selection - jQuery EasyUI Demo - - - - - - - -

    DataGrid Selection

    -
    -
    -
    Choose a selection mode and select one or more rows.
    -
    - - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    -
    - Selection Mode: - -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/simpletoolbar.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/simpletoolbar.html deleted file mode 100644 index c3eada19275f1ab52c2a9c449f97a6d70a63e155..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/simpletoolbar.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - DataGrid with Toolbar - jQuery EasyUI Demo - - - - - - - -

    DataGrid with Toolbar

    -
    -
    -
    Put buttons on top toolbar of DataGrid.
    -
    -
    - - - - - - - - - - - -
    Item IDProductList PriceUnit CostAttributeStatus
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/transform.html b/src/main/webapp/js/easyui-1.3.5/demo/datagrid/transform.html deleted file mode 100644 index 9ebdc5adbf6ec631a715beb784726aa7538090f5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datagrid/transform.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - Transform DataGrid from Table - jQuery EasyUI Demo - - - - - - - -

    Transform DataGrid from Table

    -
    -
    -
    Transform DataGrid from an existing, unformatted html table.
    -
    -
    - - - - - - - - - - - - - - - - - - - - - - - - - - -
    Item IDProductList PriceAttribute
    EST-1FI-SW-0136.50Large
    EST-10K9-DL-0118.50Spotted Adult Female
    EST-11RP-SN-0128.50Venomless
    EST-12RP-SN-0126.50Rattleless
    EST-13RP-LI-0235.50Green Adult
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datebox/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/datebox/basic.html deleted file mode 100644 index efaa46921c14ab480b079da08ad771ff0cc5e109..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datebox/basic.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Basic DateBox - jQuery EasyUI Demo - - - - - - - -

    Basic DateBox

    -
    -
    -
    Click the calendar image on the right side.
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datebox/buttons.html b/src/main/webapp/js/easyui-1.3.5/demo/datebox/buttons.html deleted file mode 100644 index 6f6b99a2b923b3adffad42a4138ba2176331968a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datebox/buttons.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - DateBox Buttons - jQuery EasyUI Demo - - - - - - - -

    DateBox Buttons

    -
    -
    -
    This example shows how to customize the datebox buttons underneath the calendar.
    -
    -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datebox/dateformat.html b/src/main/webapp/js/easyui-1.3.5/demo/datebox/dateformat.html deleted file mode 100644 index d912416a0bb12ecac5b13497a7244508282b3f6b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datebox/dateformat.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Date Format - jQuery EasyUI Demo - - - - - - - -

    Date Format

    -
    -
    -
    Different date formats are applied to different DateBox components.
    -
    -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datebox/events.html b/src/main/webapp/js/easyui-1.3.5/demo/datebox/events.html deleted file mode 100644 index 9e67cd369a87e94ae8516c06cf1f063987aed218..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datebox/events.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - DateBox Events - jQuery EasyUI Demo - - - - - - - -

    DateBox Events

    -
    -
    -
    Click the calendar image on the right side.
    -
    -
    - -
    - Selected Date: - -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datebox/validate.html b/src/main/webapp/js/easyui-1.3.5/demo/datebox/validate.html deleted file mode 100644 index f4f1b9d52f4ad8d0826ca3a31466646d05ac5ec7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datebox/validate.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Validate DateBox - jQuery EasyUI Demo - - - - - - - -

    Validate DateBox

    -
    -
    -
    When the selected date is greater than specified date. The field validator will raise an error.
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/basic.html deleted file mode 100644 index 6cb9c140846e2bdd75dc1d12d9a42dfcde33b06a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/basic.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Basic DateTimeBox - jQuery EasyUI Demo - - - - - - - -

    Basic DateTimeBox

    -
    -
    -
    Click the calendar image on the right side.
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/initvalue.html b/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/initvalue.html deleted file mode 100644 index ad00eb68d82a7c260337c2588fa23b2555e41eba..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/initvalue.html +++ /dev/null @@ -1,22 +0,0 @@ - - - - - Initialize Value for DateTime - jQuery EasyUI Demo - - - - - - - -

    Initialize Value for DateTime

    -
    -
    -
    The value is initialized when DateTimeBox has been created.
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/showseconds.html b/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/showseconds.html deleted file mode 100644 index e88e3b276780a5c8b735f02eead0b781a6599d84..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/datetimebox/showseconds.html +++ /dev/null @@ -1,25 +0,0 @@ - - - - - Display Seconds - jQuery EasyUI Demo - - - - - - - -

    Display Seconds

    -
    -
    -
    The user can decide to display seconds part or not.
    -
    -
    - Show Seconds: - -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/demo.css b/src/main/webapp/js/easyui-1.3.5/demo/demo.css deleted file mode 100644 index ad8695a188581b855b7501937590ad63a43e0690..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/demo.css +++ /dev/null @@ -1,26 +0,0 @@ -*{ - font-size:12px; -} -body { - font-family:helvetica,tahoma,verdana,sans-serif; - padding:3px; - font-size:13px; - margin:0; -} -h2 { - font-size:18px; - font-weight:bold; - margin:0; - margin-bottom:15px; -} -.demo-info{ - background:#FFFEE6; - color:#8F5700; - padding:12px; -} -.demo-tip{ - width:16px; - height:16px; - margin-right:8px; - float:left; -} diff --git a/src/main/webapp/js/easyui-1.3.5/demo/dialog/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/dialog/basic.html deleted file mode 100644 index d8b8151e61ed05b5bd239140a8480f6573bc91e1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/dialog/basic.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Basic Dialog - jQuery EasyUI Demo - - - - - - - -

    Basic Dialog

    -
    -
    -
    Click below button to open or close dialog.
    -
    -
    - Open - Close -
    -
    - The dialog content. -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/dialog/complextoolbar.html b/src/main/webapp/js/easyui-1.3.5/demo/dialog/complextoolbar.html deleted file mode 100644 index 6e32fbb7dbcc4866f3fc14437a85d5b14eb29451..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/dialog/complextoolbar.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - Complex Toolbar on Dialog - jQuery EasyUI Demo - - - - - - - -

    Complex Toolbar on Dialog

    -
    -
    -
    This sample shows how to create complex toolbar on dialog.
    -
    -
    - Open - Close -
    -
    - The dialog content. -
    -
    - - - - - -
    - Edit - Help - - -
    -
    -
    - Save - Close -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/dialog/toolbarbuttons.html b/src/main/webapp/js/easyui-1.3.5/demo/dialog/toolbarbuttons.html deleted file mode 100644 index c9d5857ceba3d95f13d24ce2b3ffc09c172c6aa6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/dialog/toolbarbuttons.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - Toolbar and Buttons - jQuery EasyUI Demo - - - - - - - -

    Toolbar and Buttons

    -
    -
    -
    The toolbar and buttons can be added to dialog.
    -
    -
    - Open - Close -
    -
    - The dialog content. -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/draggable/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/draggable/basic.html deleted file mode 100644 index e0795816c4d7197dfab0575ac1965530cb15e347..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/draggable/basic.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Basic Draggable - jQuery EasyUI Demo - - - - - - - -

    Basic Draggable

    -
    -
    -
    Move the boxes below by clicking on it with mouse.
    -
    -
    -
    -
    -
    Title
    -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/draggable/constain.html b/src/main/webapp/js/easyui-1.3.5/demo/draggable/constain.html deleted file mode 100644 index e50d610a1396b5dc86029ce3dfad4daf2609a7c1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/draggable/constain.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Constrain Draggable - jQuery EasyUI Demo - - - - - - - -

    Constrain Draggable

    -
    -
    -
    The draggable object can only be moved within its parent container.
    -
    -
    -
    -
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/draggable/snap.html b/src/main/webapp/js/easyui-1.3.5/demo/draggable/snap.html deleted file mode 100644 index c1a00358a98b7fb8dbbb69aeacd0c31802b58feb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/draggable/snap.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Snap Draggable - jQuery EasyUI Demo - - - - - - - -

    Snap Draggable

    -
    -
    -
    This sample shows how to snap a draggable object to a 20x20 grid.
    -
    -
    -
    -
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/droppable/accept.html b/src/main/webapp/js/easyui-1.3.5/demo/droppable/accept.html deleted file mode 100644 index 9297a02a0c8e96a306d25ec42386ffd1e62289a3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/droppable/accept.html +++ /dev/null @@ -1,81 +0,0 @@ - - - - - Accept a Drop - jQuery EasyUI Demo - - - - - - - -

    Accept a Drop

    -
    -
    -
    Some draggable object can not be accepted.
    -
    -
    -
    - drag me! -
    Drag 1
    -
    Drag 2
    -
    Drag 3
    -
    -
    - drop here! -
    -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/droppable/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/droppable/basic.html deleted file mode 100644 index 1261e3107cb0279f9640c4892722ca4245446f1a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/droppable/basic.html +++ /dev/null @@ -1,80 +0,0 @@ - - - - - Basic Droppable - jQuery EasyUI Demo - - - - - - - -

    Basic Droppable

    -
    -
    -
    Drag the boxed on left to the target area on right.
    -
    -
    -
    -
    Source
    -
    -
    Apple
    -
    Peach
    -
    Orange
    -
    -
    -
    -
    Target
    -
    -
    -
    -
    - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/droppable/sort.html b/src/main/webapp/js/easyui-1.3.5/demo/droppable/sort.html deleted file mode 100644 index 960b724434fa679c428f0241e1f4b06e09564632..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/droppable/sort.html +++ /dev/null @@ -1,74 +0,0 @@ - - - - - Change Items Order - jQuery EasyUI Demo - - - - - - - -

    Change Items Order

    -
    -
    -
    Drag the list items to change their order.
    -
    -
    -
      -
    • Drag 1
    • -
    • Drag 2
    • -
    • Drag 3
    • -
    • Drag 4
    • -
    • Drag 5
    • -
    • Drag 6
    • -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/easyloader/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/easyloader/basic.html deleted file mode 100644 index 0d7ba7b123ab45499de93db04de29136a45b95ee..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/easyloader/basic.html +++ /dev/null @@ -1,75 +0,0 @@ - - - - - Basic EasyLoader - jQuery EasyUI Demo - - - - - - - -

    Basic EasyLoader

    -
    -
    -
    Click the buttons below to load components dynamically.
    -
    - -
    -
    -
    - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/form/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/form/basic.html deleted file mode 100644 index 5875c829d201d0fee5e2f9c9e9a6b081a1c5e0ed..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/form/basic.html +++ /dev/null @@ -1,62 +0,0 @@ - - - - - Basic Form - jQuery EasyUI Demo - - - - - - - -

    Basic Form

    -
    -
    -
    Fill the form and submit it.
    -
    -
    -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - -
    Name:
    Email:
    Subject:
    Message:
    Language: - -
    -
    -
    -
    - Submit - Clear -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/form/form_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/form/form_data1.json deleted file mode 100644 index 45f0c9aaabbb5c3214c25439ba35f21cec2a0b7e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/form/form_data1.json +++ /dev/null @@ -1,7 +0,0 @@ -{ - "name":"easyui", - "email":"easyui@gmail.com", - "subject":"Subject Title", - "message":"Message Content", - "language":"en" -} \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/form/load.html b/src/main/webapp/js/easyui-1.3.5/demo/form/load.html deleted file mode 100644 index 513cb3e4e7aa279694feffc73c969d680a9804ec..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/form/load.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - Load Form Data - jQuery EasyUI Demo - - - - - - - -

    Load Form Data

    -
    -
    -
    Click the buttons below to load form data.
    -
    - -
    -
    -
    - - - - - - - - - - - - - - - - - - - - - -
    Name:
    Email:
    Subject:
    Message:
    Language: - -
    -
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/_content.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/_content.html deleted file mode 100644 index 76f2506a6bec5cd25b233d6d693c43901e53fa1e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

    jQuery EasyUI framework help you build your web page easily.

    -
      -
    • easyui is a collection of user-interface plugin based on jQuery.
    • -
    • easyui provides essential functionality for building modern, interactive, javascript applications.
    • -
    • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
    • -
    • complete framework for HTML5 web page.
    • -
    • easyui save your time and scales while developing your products.
    • -
    • easyui is very easy but powerful.
    • -
    - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/addremove.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/addremove.html deleted file mode 100644 index f9e26e47291eb09788c1d79dc4bb8e23bddeb166..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/addremove.html +++ /dev/null @@ -1,56 +0,0 @@ - - - - - Add and Remove Layout - jQuery EasyUI Demo - - - - - - - -

    Add and Remove Layout

    -
    -
    -
    Click the buttons below to add or remove region panel of layout.
    -
    -
    - Select Region Panel: - - Add - Remove -
    -
    -
    -
    -
    -
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/autoheight.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/autoheight.html deleted file mode 100644 index 8e5343e34c793f9f044f81b4dd9384eb0c2bae5a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/autoheight.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - Auto Height for Layout - jQuery EasyUI Demo - - - - - - - -

    Auto Height for Layout

    -
    -
    -
    This example shows how to auto adjust layout height after dynamically adding items.
    -
    - -
    -
    -
    -
    -
    -

    Panel Content.

    -

    Panel Content.

    -

    Panel Content.

    -

    Panel Content.

    -

    Panel Content.

    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/basic.html deleted file mode 100644 index 4e36b8a122492f5444b80b7c3c69bf42efb8f0a1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/basic.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Basic Layout - jQuery EasyUI Demo - - - - - - - -

    Basic Layout

    -
    -
    -
    The layout contains north,south,west,east and center regions.
    -
    -
    -
    -
    -
    -
    -
    -
    - - - - - - - - - - - -
    Item IDProduct IDList PriceUnit CostAttributeStatus
    -
    -
    - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/complex.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/complex.html deleted file mode 100644 index 8936d436f9f0349b7a2684118fe6fa36cf9e7417..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/complex.html +++ /dev/null @@ -1,60 +0,0 @@ - - - - - Complex Layout - jQuery EasyUI Demo - - - - - - - -

    Complex Layout

    -
    -
    -
    This sample shows how to create a complex layout.
    -
    -
    -
    -
    -
    -
    -
      -
      -
      -
      -
      - content1 -
      -
      - content2 -
      -
      - content3 -
      -
      -
      -
      -
      -
      -
      - - - - - - - - - - - -
      Item IDProduct IDList PriceUnit CostAttributeStatus
      -
      -
      -
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/datagrid_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/layout/datagrid_data1.json deleted file mode 100644 index 63d64735867a65000bb062a69f0e21e2918e91f1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/datagrid_data1.json +++ /dev/null @@ -1,12 +0,0 @@ -{"total":28,"rows":[ - {"productid":"FI-SW-01","productname":"Koi","unitcost":10.00,"status":"P","listprice":36.50,"attr1":"Large","itemid":"EST-1"}, - {"productid":"K9-DL-01","productname":"Dalmation","unitcost":12.00,"status":"P","listprice":18.50,"attr1":"Spotted Adult Female","itemid":"EST-10"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":38.50,"attr1":"Venomless","itemid":"EST-11"}, - {"productid":"RP-SN-01","productname":"Rattlesnake","unitcost":12.00,"status":"P","listprice":26.50,"attr1":"Rattleless","itemid":"EST-12"}, - {"productid":"RP-LI-02","productname":"Iguana","unitcost":12.00,"status":"P","listprice":35.50,"attr1":"Green Adult","itemid":"EST-13"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":158.50,"attr1":"Tailless","itemid":"EST-14"}, - {"productid":"FL-DSH-01","productname":"Manx","unitcost":12.00,"status":"P","listprice":83.50,"attr1":"With tail","itemid":"EST-15"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":23.50,"attr1":"Adult Female","itemid":"EST-16"}, - {"productid":"FL-DLH-02","productname":"Persian","unitcost":12.00,"status":"P","listprice":89.50,"attr1":"Adult Male","itemid":"EST-17"}, - {"productid":"AV-CB-01","productname":"Amazon Parrot","unitcost":92.00,"status":"P","listprice":63.50,"attr1":"Adult Male","itemid":"EST-18"} -]} diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/full.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/full.html deleted file mode 100644 index 13eb94ade44ff82bc1ee017ddf7fc37b9ff49a09..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/full.html +++ /dev/null @@ -1,19 +0,0 @@ - - - - - Full Layout - jQuery EasyUI Demo - - - - - - - -
      north region
      -
      west content
      -
      east region
      -
      south region
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/nestedlayout.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/nestedlayout.html deleted file mode 100644 index 5e436fffa725d02c356af29fe6af4a804fa13003..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/nestedlayout.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Nested Layout - jQuery EasyUI Demo - - - - - - - -

      Nested Layout

      -
      -
      -
      The layout region panel contains another layout or other components.
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/nocollapsible.html b/src/main/webapp/js/easyui-1.3.5/demo/layout/nocollapsible.html deleted file mode 100644 index 1fcc52489f8887805e77727c719833675e7a0f82..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/nocollapsible.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - No collapsible button in Layout - jQuery EasyUI Demo - - - - - - - -

      No collapsible button in Layout

      -
      -
      -
      The layout region panel has no collapsible button.
      -
      -
      -
      -
      -
      -
      - -
      -
      -
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/propertygrid_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/layout/propertygrid_data1.json deleted file mode 100644 index a458d83fc85670c0276f6754da9f14e8df4fa9b9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/propertygrid_data1.json +++ /dev/null @@ -1,20 +0,0 @@ -{"total":7,"rows":[ - {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, - {"name":"Address","value":"","group":"ID Settings","editor":"text"}, - {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, - {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, - {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, - {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ - "type":"validatebox", - "options":{ - "validType":"email" - } - }}, - {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ - "type":"checkbox", - "options":{ - "on":true, - "off":false - } - }} -]} \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/layout/tree_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/layout/tree_data1.json deleted file mode 100644 index e0c619226cd03dbdf997eb2e2487fa3fa76ddde5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/layout/tree_data1.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java", - "attributes":{ - "p1":"Custom Attribute1", - "p2":"Custom Attribute2" - } - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games", - "checked":true - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/basic.html deleted file mode 100644 index 8ee52e69887169424e916e8232ac80b47550d298..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/basic.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Basic LinkButton - jQuery EasyUI Demo - - - - - - - -

      Basic LinkButton

      -
      -
      -
      Buttons can be created from <a/> link.
      -
      -
      -
      - Add - Remove - Save - Cut - Text Button -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/group.html b/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/group.html deleted file mode 100644 index c5e0b50021391707749e00a29d1f6f5d7360876c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/group.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Button Group - jQuery EasyUI Demo - - - - - - - -

      Button Group

      -
      -
      -
      In a button group only one button can be selected.
      -
      -
      - -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/iconalign.html b/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/iconalign.html deleted file mode 100644 index 6ca8bd5d0e52b8bb6441c4e2bfe6569a43f90a47..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/iconalign.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Icon Align on LinkButton - jQuery EasyUI Demo - - - - - - - -

      Icon Align on LinkButton

      -
      -
      -
      Change the icon align to place icon on left or right of button.
      -
      -
      -
      - Add - Remove - Save - Cut -
      -
      - Select Icon Align: - -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/plain.html b/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/plain.html deleted file mode 100644 index a52463754e26264ba47476d085b69c158743203a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/plain.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Plain LinkButton - jQuery EasyUI Demo - - - - - - - -

      Plain LinkButton

      -
      -
      -
      The link buttons have plain effect.
      -
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/toggle.html b/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/toggle.html deleted file mode 100644 index 8ee681bda3c1505e698cbfe91df9c400edef4d75..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/linkbutton/toggle.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Toggle Button - jQuery EasyUI Demo - - - - - - - -

      Toggle Button

      -
      -
      -
      Click the button below to switch its selected state.
      -
      -
      -
      - Add - Remove - Save - Cut - Text Button -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/menu/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/menu/basic.html deleted file mode 100644 index dea4f0ff45326bbe3d6601b088a4849a96b1a3d9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/menu/basic.html +++ /dev/null @@ -1,71 +0,0 @@ - - - - - Basic Menu - jQuery EasyUI Demo - - - - - - - -

      Basic Menu

      -
      -
      -
      Right click on page to display menu.
      -
      -
      - -
      -
      New
      -
      - Open -
      -
      Word
      -
      Excel
      -
      PowerPoint
      -
      - M1 -
      -
      sub1
      -
      sub2
      -
      - Sub -
      -
      sub21
      -
      sub22
      -
      sub23
      -
      -
      -
      sub3
      -
      -
      -
      - Window Demos -
      -
      Window
      -
      Dialog
      - -
      -
      -
      -
      -
      Save
      -
      Print
      - -
      Exit
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/menu/customitem.html b/src/main/webapp/js/easyui-1.3.5/demo/menu/customitem.html deleted file mode 100644 index d56c147bdedc2075838e9543d3c6ff8964a9e1a0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/menu/customitem.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Custom Menu Item - jQuery EasyUI Demo - - - - - - - -

      Custom Menu Item

      -
      -
      -
      Right click on page to display menu, move to the 'Open' item to display its custom sub content.
      -
      -
      -
      -
      New
      -
      - Open - -
      -
      Save
      -
      Print
      - -
      Exit
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/menu/events.html b/src/main/webapp/js/easyui-1.3.5/demo/menu/events.html deleted file mode 100644 index 568185b0f5680eb775b3d51730274adb1a20a7af..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/menu/events.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - Menu Events - jQuery EasyUI Demo - - - - - - - -

      Menu Events

      -
      -
      -
      Right click on page to display menu and click an item.
      -
      -
      -
      -
      New
      -
      Save
      -
      Print
      - -
      Exit
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/menubutton/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/menubutton/actions.html deleted file mode 100644 index f8f55ba15f6f2f1e1b8bbffb2761ec7b50dc04fd..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/menubutton/actions.html +++ /dev/null @@ -1,61 +0,0 @@ - - - - - MenuButton Actions - jQuery EasyUI Demo - - - - - - - -

      MenuButton Actions

      -
      -
      -
      Click the buttons below to perform actions.
      -
      - -
      - Home - Edit - Help - About -
      -
      -
      Undo
      -
      Redo
      - -
      Cut
      -
      Copy
      -
      Paste
      - -
      - Toolbar -
      -
      Address
      -
      Link
      -
      Navigation Toolbar
      -
      Bookmark Toolbar
      - -
      New Toolbar...
      -
      -
      -
      Delete
      -
      Select All
      -
      -
      -
      Help
      -
      Update
      -
      About
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/menubutton/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/menubutton/basic.html deleted file mode 100644 index e31b5b92b36d4b301654d0fe6484fefa6cdb9201..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/menubutton/basic.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - Basic MenuButton - jQuery EasyUI Demo - - - - - - - -

      Basic MenuButton

      -
      -
      -
      Move mouse over the button to drop down menu.
      -
      -
      -
      - Home - Edit - Help - About -
      -
      -
      Undo
      -
      Redo
      - -
      Cut
      -
      Copy
      -
      Paste
      - -
      - Toolbar -
      -
      Address
      -
      Link
      -
      Navigation Toolbar
      -
      Bookmark Toolbar
      - -
      New Toolbar...
      -
      -
      -
      Delete
      -
      Select All
      -
      -
      -
      Help
      -
      Update
      -
      About
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/messager/alert.html b/src/main/webapp/js/easyui-1.3.5/demo/messager/alert.html deleted file mode 100644 index ccaf7f10eb96aadf50592e4adc4de0721737b162..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/messager/alert.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - Alert Messager - jQuery EasyUI Demo - - - - - - - -

      Alert Messager

      -
      -
      -
      Click on each button to display different alert message box.
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/messager/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/messager/basic.html deleted file mode 100644 index 1d14b9f6077c69d594d2aeee3fd56262510f2a52..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/messager/basic.html +++ /dev/null @@ -1,59 +0,0 @@ - - - - - Basic Messager - jQuery EasyUI Demo - - - - - - - -

      Basic Messager

      -
      -
      -
      Click on each button to see a distinct message box.
      -
      -
      - Show - Slide - Fade - Progress -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/messager/interactive.html b/src/main/webapp/js/easyui-1.3.5/demo/messager/interactive.html deleted file mode 100644 index 686d7ab4e2d6756ce3c7cb62313472a9ad080c4c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/messager/interactive.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Interactive Messager - jQuery EasyUI Demo - - - - - - - -

      Interactive Messager

      -
      -
      -
      Click on each button to display interactive message box.
      -
      -
      - Confirm - Prompt -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/messager/position.html b/src/main/webapp/js/easyui-1.3.5/demo/messager/position.html deleted file mode 100644 index a6ce26e6bebc235f1a488942984e34bfb3a69c3f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/messager/position.html +++ /dev/null @@ -1,143 +0,0 @@ - - - - - Message Box Position - jQuery EasyUI Demo - - - - - - - -

      Message Box Position

      -
      -
      -
      Click the buttons below to display message box on different position.
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/numberbox/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/numberbox/basic.html deleted file mode 100644 index 3e7390caf40b7f3bd76b7fdcc06572c0d5a1fa3a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/numberbox/basic.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Basic NumberBox - jQuery EasyUI Demo - - - - - - - -

      Basic NumberBox

      -
      -
      -
      The Box can only input number.
      -
      -
      - -
      - Value: -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/numberbox/format.html b/src/main/webapp/js/easyui-1.3.5/demo/numberbox/format.html deleted file mode 100644 index 988a9b9ef8a2602bca7afb8cf44bbf3ed0339fd1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/numberbox/format.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - Format NumberBox - jQuery EasyUI Demo - - - - - - - -

      Format NumberBox

      -
      -
      -
      Number formatting is the ability to control how a number is displayed.
      -
      -
      - - - - - - - - - - - - - - - - - - - - - -
      Number in the United States
      Number in France
      Currency:USD
      Currency:EUR
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/numberbox/range.html b/src/main/webapp/js/easyui-1.3.5/demo/numberbox/range.html deleted file mode 100644 index 0cd498f3062756c447282a488b01cf653e02ff10..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/numberbox/range.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Number Range - jQuery EasyUI Demo - - - - - - - -

      Number Range

      -
      -
      -
      The value is constrained to a range between 10 and 90.
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/basic.html deleted file mode 100644 index fa050ebe9de7f5353f9165afb4b00f92225fb5b5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/basic.html +++ /dev/null @@ -1,28 +0,0 @@ - - - - - Basic NumberSpinner - jQuery EasyUI Demo - - - - - - - -

      Basic NumberSpinner

      -
      -
      -
      Click spinner button to change value.
      -
      -
      - -
      - Value: -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/increment.html b/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/increment.html deleted file mode 100644 index b083a20fd81b155565636ee360da9e9eded4e2a6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/increment.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Increment Number - jQuery EasyUI Demo - - - - - - - -

      Increment Number

      -
      -
      -
      The sample shows how to set the increment step.
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/range.html b/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/range.html deleted file mode 100644 index 9e5642d7627904e20f194f2b660da115e37b4352..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/numberspinner/range.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Number Range - jQuery EasyUI Demo - - - - - - - -

      Number Range

      -
      -
      -
      The value is constrained to a range between 10 and 100.
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/pagination/attaching.html b/src/main/webapp/js/easyui-1.3.5/demo/pagination/attaching.html deleted file mode 100644 index e0059ff9bc7826c8c03c2758c079cb8c36e74d41..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/pagination/attaching.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Attaching Other Components - jQuery EasyUI Demo - - - - - - - -

      Attaching Other Components

      -
      -
      -
      Any other components can be attached to page bar.
      -
      -
      -
      -
      - - - - - -
      - - - -
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/pagination/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/pagination/basic.html deleted file mode 100644 index 0f38524c5e1a084d425896a84ec462756486fd50..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/pagination/basic.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Basic Pagination - jQuery EasyUI Demo - - - - - - - -

      Basic Pagination

      -
      -
      -
      The user can change page number and page size on page bar.
      -
      -
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/pagination/custombuttons.html b/src/main/webapp/js/easyui-1.3.5/demo/pagination/custombuttons.html deleted file mode 100644 index 26b1e411ba6f0909a60404697e2cbf7ce8ed4650..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/pagination/custombuttons.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Custom Pagination Buttons - jQuery EasyUI Demo - - - - - - - -

      Custom Pagination Buttons

      -
      -
      -
      The customized buttons can be appended to page bar.
      -
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/pagination/layout.html b/src/main/webapp/js/easyui-1.3.5/demo/pagination/layout.html deleted file mode 100644 index 82886a1f3f599c6d248aae25a867a930ea269529..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/pagination/layout.html +++ /dev/null @@ -1,63 +0,0 @@ - - - - - Pagination Layout - jQuery EasyUI Demo - - - - - - - -

      Pagination Layout

      -
      -
      -
      The pagination layout supports various types of pages which you can choose.
      -
      -
      -
      -
      - -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/pagination/links.html b/src/main/webapp/js/easyui-1.3.5/demo/pagination/links.html deleted file mode 100644 index 0152dc5e8fd56c85a5d5cdccb65d533d818ea069..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/pagination/links.html +++ /dev/null @@ -1,24 +0,0 @@ - - - - - Pagination Links - jQuery EasyUI Demo - - - - - - - -

      Pagination Links

      -
      -
      -
      The example shows how to customize numbered pagination links.
      -
      -
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/pagination/simple.html b/src/main/webapp/js/easyui-1.3.5/demo/pagination/simple.html deleted file mode 100644 index 19333586ecf1771ec2bbe0f28290e911c5d0c1b0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/pagination/simple.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Simplify Pagination - jQuery EasyUI Demo - - - - - - - -

      Simplify Pagination

      -
      -
      -
      The sample shows how to simplify pagination.
      -
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/panel/_content.html b/src/main/webapp/js/easyui-1.3.5/demo/panel/_content.html deleted file mode 100644 index 996740274e6e119154dfdcdbd0859d9efe480558..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/panel/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

      Here is the content loaded via AJAX.

      -
        -
      • easyui is a collection of user-interface plugin based on jQuery.
      • -
      • easyui provides essential functionality for building modern, interactive, javascript applications.
      • -
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • -
      • complete framework for HTML5 web page.
      • -
      • easyui save your time and scales while developing your products.
      • -
      • easyui is very easy but powerful.
      • -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/panel/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/panel/basic.html deleted file mode 100644 index e182908842f018b79e7d70fa08c9e480dc9898ea..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/panel/basic.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Basic Panel - jQuery EasyUI Demo - - - - - - - -

      Basic Panel

      -
      -
      -
      The panel is a container for other components or elements.
      -
      -
      - Open - Close -
      -
      -

      jQuery EasyUI framework helps you build your web pages easily.

      -
        -
      • easyui is a collection of user-interface plugin based on jQuery.
      • -
      • easyui provides essential functionality for building modem, interactive, javascript applications.
      • -
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • -
      • complete framework for HTML5 web page.
      • -
      • easyui save your time and scales while developing your products.
      • -
      • easyui is very easy but powerful.
      • -
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/panel/customtools.html b/src/main/webapp/js/easyui-1.3.5/demo/panel/customtools.html deleted file mode 100644 index d92b4e417ea61e4bece5858813944c1ae40fdd87..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/panel/customtools.html +++ /dev/null @@ -1,38 +0,0 @@ - - - - - Custom Panel Tools - jQuery EasyUI Demo - - - - - - - -

      Custom Panel Tools

      -
      -
      -
      Click the right top buttons to perform actions with panel.
      -
      -
      -
      -

      jQuery EasyUI framework helps you build your web pages easily.

      -
        -
      • easyui is a collection of user-interface plugin based on jQuery.
      • -
      • easyui provides essential functionality for building modem, interactive, javascript applications.
      • -
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • -
      • complete framework for HTML5 web page.
      • -
      • easyui save your time and scales while developing your products.
      • -
      • easyui is very easy but powerful.
      • -
      -
      -
      - - - - -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/panel/loadcontent.html b/src/main/webapp/js/easyui-1.3.5/demo/panel/loadcontent.html deleted file mode 100644 index 8c0e039f1829a0bc3736af8d3dd6b9e1d1eb3827..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/panel/loadcontent.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Load Panel Content - jQuery EasyUI Demo - - - - - - - -

      Load Panel Content

      -
      -
      -
      Click the refresh button on top right of panel to load content.
      -
      -
      -
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/panel/nestedpanel.html b/src/main/webapp/js/easyui-1.3.5/demo/panel/nestedpanel.html deleted file mode 100644 index 66b4858ac032967e4b67ed8b197c75e7ff70f365..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/panel/nestedpanel.html +++ /dev/null @@ -1,30 +0,0 @@ - - - - - Nested Panel - jQuery EasyUI Demo - - - - - - - -

      Nested Panel

      -
      -
      -
      The panel can be placed inside containers and can contain other components.
      -
      -
      -
      -
      -
      - Left Content -
      -
      - Right Content -
      -
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/panel/paneltools.html b/src/main/webapp/js/easyui-1.3.5/demo/panel/paneltools.html deleted file mode 100644 index f38e8d92807396939e9dc93169fa6c92ad0c86b4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/panel/paneltools.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Panel Tools - jQuery EasyUI Demo - - - - - - - -

      Panel Tools

      -
      -
      -
      Click the right top buttons to perform actions with panel.
      -
      - -
      -
      -

      jQuery EasyUI framework helps you build your web pages easily.

      -
        -
      • easyui is a collection of user-interface plugin based on jQuery.
      • -
      • easyui provides essential functionality for building modem, interactive, javascript applications.
      • -
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • -
      • complete framework for HTML5 web page.
      • -
      • easyui save your time and scales while developing your products.
      • -
      • easyui is very easy but powerful.
      • -
      -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/progressbar/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/progressbar/basic.html deleted file mode 100644 index 24d58115c5d9175cc02206fb2b21c2326393f5a9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/progressbar/basic.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Basic ProgressBar - jQuery EasyUI Demo - - - - - - - -

      Basic ProgressBar

      -
      -
      -
      Click the button below to show progress information.
      -
      -
      - Start -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/basic.html deleted file mode 100644 index 51aeadb25713149b595bd60e83baa166d0df1fe6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/basic.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Basic PropertyGrid - jQuery EasyUI Demo - - - - - - - -

      Basic PropertyGrid

      -
      -
      -
      Click on row to change each property value.
      -
      - - -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/customcolumns.html b/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/customcolumns.html deleted file mode 100644 index a88bb7b2d60680e497d25c73c3e25c85a68e1fa7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/customcolumns.html +++ /dev/null @@ -1,34 +0,0 @@ - - - - - Customize Columns of PropertyGrid - jQuery EasyUI Demo - - - - - - - -

      Customize Columns of PropertyGrid

      -
      -
      -
      The columns of PropertyGrid can be changed.
      -
      -
      - -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/groupformat.html b/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/groupformat.html deleted file mode 100644 index 90ea4ed4cc34cb0153a8548a539e5d6926be1b58..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/groupformat.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Group Format - jQuery EasyUI Demo - - - - - - - -

      Group Format

      -
      -
      -
      The user can change the group information.
      -
      -
      - -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/propertygrid_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/propertygrid_data1.json deleted file mode 100644 index a458d83fc85670c0276f6754da9f14e8df4fa9b9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/propertygrid/propertygrid_data1.json +++ /dev/null @@ -1,20 +0,0 @@ -{"total":7,"rows":[ - {"name":"Name","value":"Bill Smith","group":"ID Settings","editor":"text"}, - {"name":"Address","value":"","group":"ID Settings","editor":"text"}, - {"name":"Age","value":"40","group":"ID Settings","editor":"numberbox"}, - {"name":"Birthday","value":"01/02/2012","group":"ID Settings","editor":"datebox"}, - {"name":"SSN","value":"123-456-7890","group":"ID Settings","editor":"text"}, - {"name":"Email","value":"bill@gmail.com","group":"Marketing Settings","editor":{ - "type":"validatebox", - "options":{ - "validType":"email" - } - }}, - {"name":"FrequentBuyer","value":"false","group":"Marketing Settings","editor":{ - "type":"checkbox", - "options":{ - "on":true, - "off":false - } - }} -]} \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/resizable/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/resizable/basic.html deleted file mode 100644 index 8611d7846b465265d5562f6c32b17044b7d0d876..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/resizable/basic.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Basic Resizable - jQuery EasyUI Demo - - - - - - - -

      Basic Resizable

      -
      -
      -
      Click on the edge of box and move the edge to resize the box.
      -
      -
      -
      -
      Resize Me
      -
      -
      -
      Title
      -
      Drag and Resize Me
      -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/searchbox/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/searchbox/basic.html deleted file mode 100644 index 2ff0bc13a54a363478a99b52ed46c39e7db3aeda..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/searchbox/basic.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Basic SearchBox - jQuery EasyUI Demo - - - - - - - -

      Basic SearchBox

      -
      -
      -
      Click search button or press enter key in input box to do searching.
      -
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/searchbox/category.html b/src/main/webapp/js/easyui-1.3.5/demo/searchbox/category.html deleted file mode 100644 index 6d94016fa86b277db28e659564ca57e0224428ee..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/searchbox/category.html +++ /dev/null @@ -1,31 +0,0 @@ - - - - - Search Category - jQuery EasyUI Demo - - - - - - - -

      Search Category

      -
      -
      -
      Select a category and click search button or press enter key in input box to do searching.
      -
      -
      - -
      -
      All News
      -
      Sports News
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/slider/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/slider/basic.html deleted file mode 100644 index 5a6879a4586f8dac9ad4fcbee591060b9aa49e9c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/slider/basic.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Basic Slider - jQuery EasyUI Demo - - - - - - - -

      Basic Slider

      -
      -
      -
      Drag the slider to change value.
      -
      -
      -
      - -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/slider/formattip.html b/src/main/webapp/js/easyui-1.3.5/demo/slider/formattip.html deleted file mode 100644 index a84ee6b271317f854a9e0250641cec85c8cf0b80..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/slider/formattip.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Format Tip Information - jQuery EasyUI Demo - - - - - - - -

      Format Tip Information

      -
      -
      -
      This sample shows how to format tip information.
      -
      -
      -
      - -
      -
      jQuery EasyUI
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/slider/rule.html b/src/main/webapp/js/easyui-1.3.5/demo/slider/rule.html deleted file mode 100644 index 3f8b5e301641cdaf1a9c113d18bff23d58d41cc3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/slider/rule.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Slider Rule - jQuery EasyUI Demo - - - - - - - -

      Slider Rule

      -
      -
      -
      This sample shows how to define slider rule.
      -
      -
      -
      - -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/slider/vertical.html b/src/main/webapp/js/easyui-1.3.5/demo/slider/vertical.html deleted file mode 100644 index 1b54f487592ddb4f3d09f57c7ee370f24e9f8b87..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/slider/vertical.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Vertical Slider - jQuery EasyUI Demo - - - - - - - -

      Vertical Slider

      -
      -
      -
      This sample shows how to create a vertical slider.
      -
      -
      - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/splitbutton/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/splitbutton/actions.html deleted file mode 100644 index 5d6e1871717d7798dad6a7865bee1851f34ea7c2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/splitbutton/actions.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - SplitButton Actions - jQuery EasyUI Demo - - - - - - - -

      SplitButton Actions

      -
      -
      -
      Click the buttons below to perform actions.
      -
      - -
      - Home - Edit - Ok - Help -
      -
      -
      Undo
      -
      Redo
      - -
      Cut
      -
      Copy
      -
      Paste
      - -
      - Toolbar -
      -
      Address
      -
      Link
      -
      Navigation Toolbar
      -
      Bookmark Toolbar
      - -
      New Toolbar...
      -
      -
      -
      Delete
      -
      Select All
      -
      -
      -
      Ok
      -
      Cancel
      -
      -
      -
      Help
      -
      Update
      -
      - About - -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/splitbutton/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/splitbutton/basic.html deleted file mode 100644 index a8c71bac17f99009028d5745c42d43e6493af549..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/splitbutton/basic.html +++ /dev/null @@ -1,64 +0,0 @@ - - - - - Basic SplitButton - jQuery EasyUI Demo - - - - - - - -

      Basic SplitButton

      -
      -
      -
      Move mouse over the arrow area of button to drop down menu.
      -
      -
      -
      - Home - Edit - Ok - Help -
      -
      -
      Undo
      -
      Redo
      - -
      Cut
      -
      Copy
      -
      Paste
      - -
      - Toolbar -
      -
      Address
      -
      Link
      -
      Navigation Toolbar
      -
      Bookmark Toolbar
      - -
      New Toolbar...
      -
      -
      -
      Delete
      -
      Select All
      -
      -
      -
      Ok
      -
      Cancel
      -
      -
      -
      Help
      -
      Update
      -
      - About - -
      -
      - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/_content.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/_content.html deleted file mode 100644 index 996740274e6e119154dfdcdbd0859d9efe480558..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

      Here is the content loaded via AJAX.

      -
        -
      • easyui is a collection of user-interface plugin based on jQuery.
      • -
      • easyui provides essential functionality for building modern, interactive, javascript applications.
      • -
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • -
      • complete framework for HTML5 web page.
      • -
      • easyui save your time and scales while developing your products.
      • -
      • easyui is very easy but powerful.
      • -
      - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/autoheight.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/autoheight.html deleted file mode 100644 index 51c4fb4e6739a6f561bc61fe3a61c5c0b8b4bc8c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/autoheight.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Auto Height for Tabs - jQuery EasyUI Demo - - - - - - - -

      Auto Height for Tabs

      -
      -
      -
      The tabs height is auto adjusted according to tab panel content.
      -
      -
      -
      -
      -

      jQuery EasyUI framework helps you build your web pages easily.

      -
        -
      • easyui is a collection of user-interface plugin based on jQuery.
      • -
      • easyui provides essential functionality for building modem, interactive, javascript applications.
      • -
      • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
      • -
      • complete framework for HTML5 web page.
      • -
      • easyui save your time and scales while developing your products.
      • -
      • easyui is very easy but powerful.
      • -
      -
      -
      -
        -
        -
        - This is the help content. -
        -
        - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/basic.html deleted file mode 100644 index 8bbe09ea051e5bb1dd42485c2c3b9df30b8c4f57..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/basic.html +++ /dev/null @@ -1,39 +0,0 @@ - - - - - Basic Tabs - jQuery EasyUI Demo - - - - - - - -

        Basic Tabs

        -
        -
        -
        Click tab strip to swap tab panel content.
        -
        -
        -
        -
        -

        jQuery EasyUI framework helps you build your web pages easily.

        -
          -
        • easyui is a collection of user-interface plugin based on jQuery.
        • -
        • easyui provides essential functionality for building modem, interactive, javascript applications.
        • -
        • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
        • -
        • complete framework for HTML5 web page.
        • -
        • easyui save your time and scales while developing your products.
        • -
        • easyui is very easy but powerful.
        • -
        -
        -
        -
          -
          -
          - This is the help content. -
          -
          - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/dropdown.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/dropdown.html deleted file mode 100644 index 8615feb435e46320bc09483d88671faf3322daa0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/dropdown.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - Tabs with DropDown - jQuery EasyUI Demo - - - - - - - -

          Tabs with DropDown

          -
          -
          -
          This sample shows how to add a dropdown menu over a tab strip.
          -
          -
          -
          -
          -

          jQuery EasyUI framework helps you build your web pages easily.

          -
            -
          • easyui is a collection of user-interface plugin based on jQuery.
          • -
          • easyui provides essential functionality for building modem, interactive, javascript applications.
          • -
          • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
          • -
          • complete framework for HTML5 web page.
          • -
          • easyui save your time and scales while developing your products.
          • -
          • easyui is very easy but powerful.
          • -
          -
          -
          -
            -
            -
            - This is the help content. -
            -
            -
            -
            Welcome
            -
            Help Contents
            -
            Search
            -
            Dynamic Help
            -
            - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/fixedwidth.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/fixedwidth.html deleted file mode 100644 index 703bfd1e07ea99626e737473071c06da097e26e7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/fixedwidth.html +++ /dev/null @@ -1,40 +0,0 @@ - - - - - Fixed Tab Width - jQuery EasyUI Demo - - - - - - - -

            Fixed Tab Width

            -
            -
            -
            The tab strips have fixed width and height.
            -
            -
            -
            -
            -

            Home Content.

            -
            -
            -

            Maps Content.

            -
            -
            -

            Journal Content.

            -
            -
            -

            History Content.

            -
            -
            -

            References Content.

            -
            -
            -

            Contact Content.

            -
            -
            - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/hover.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/hover.html deleted file mode 100644 index 4ff71c167035cbce3d9a7dd3df2756b7d699df56..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/hover.html +++ /dev/null @@ -1,49 +0,0 @@ - - - - - Hover Tabs - jQuery EasyUI Demo - - - - - - - -

            Hover Tabs

            -
            -
            -
            Move mouse over the tab strip to open the tab panel.
            -
            -
            -
            -
            -

            jQuery EasyUI framework helps you build your web pages easily.

            -
              -
            • easyui is a collection of user-interface plugin based on jQuery.
            • -
            • easyui provides essential functionality for building modem, interactive, javascript applications.
            • -
            • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
            • -
            • complete framework for HTML5 web page.
            • -
            • easyui save your time and scales while developing your products.
            • -
            • easyui is very easy but powerful.
            • -
            -
            -
            -
              -
              -
              - This is the help content. -
              -
              - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/modem.png b/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/modem.png deleted file mode 100644 index be5a2eb2fc48a8f16681b591f4ef74888ee09c33..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/modem.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/pda.png b/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/pda.png deleted file mode 100644 index 1458d9bfa4ef7d27c2434177c8d54294ba9f4028..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/pda.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/scanner.png b/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/scanner.png deleted file mode 100644 index 974635d94310702dc90e6a8f94a841ab70a50eb9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/scanner.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/tablet.png b/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/tablet.png deleted file mode 100644 index fa871f54035fcd0bb0f7f2068d2b2ed4e5e0e0cf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/demo/tabs/images/tablet.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/nestedtabs.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/nestedtabs.html deleted file mode 100644 index d1afc76027ce62e6922726f223f1fe1a4438ae78..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/nestedtabs.html +++ /dev/null @@ -1,57 +0,0 @@ - - - - - Nested Tabs - jQuery EasyUI Demo - - - - - - - -

              Nested Tabs

              -
              -
              -
              The tab panel can contain sub tabs or other components.
              -
              -
              -
              -
              -
              -
              Content 1
              -
              Content 2
              -
              Content 3
              -
              -
              -
              -
              - -
              -
              - - - - - - - - - - - - - - - - - - - - -
              Title1Title2Title3
              d11d12d13
              d21d22d23
              -
              -
              - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/striptools.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/striptools.html deleted file mode 100644 index c72e2611c5713c4405af072d52bd3d53400f30aa..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/striptools.html +++ /dev/null @@ -1,42 +0,0 @@ - - - - - Tabs Strip Tools - jQuery EasyUI Demo - - - - - - - -

              Tabs Strip Tools

              -
              -
              -
              Click the mini-buttons on the tab strip to perform actions.
              -
              -
              -
              -
              -

              jQuery EasyUI framework helps you build your web pages easily.

              -
                -
              • easyui is a collection of user-interface plugin based on jQuery.
              • -
              • easyui provides essential functionality for building modem, interactive, javascript applications.
              • -
              • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
              • -
              • complete framework for HTML5 web page.
              • -
              • easyui save your time and scales while developing your products.
              • -
              • easyui is very easy but powerful.
              • -
              -
              -
              - This is the help content. -
              -
              -
              - - - -
              - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabimage.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabimage.html deleted file mode 100644 index d99a3aa099dcdb62ecac82ffbe237f032b1a9493..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabimage.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Tabs with Images - jQuery EasyUI Demo - - - - - - - -

              Tabs with Images

              -
              -
              -
              The tab strip can display big images.
              -
              -
              -
              - -

              A modem (modulator-demodulator) is a device that modulates an analog carrier signal to encode digital information, and also demodulates such a carrier signal to decode the transmitted information.

              -
              - -

              In computing, an image scanner—often abbreviated to just scanner—is a device that optically scans images, printed text, handwriting, or an object, and converts it to a digital image.

              - - -

              A personal digital assistant (PDA), also known as a palmtop computer, or personal data assistant, is a mobile device that functions as a personal information manager. PDAs are largely considered obsolete with the widespread adoption of smartphones.

              - - -

              A tablet computer, or simply tablet, is a one-piece mobile computer. Devices typically have a touchscreen, with finger or stylus gestures replacing the conventional computer mouse.

              - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabposition.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabposition.html deleted file mode 100644 index 62a5f5077fe90eabf624ea662d19d58637a8d229..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabposition.html +++ /dev/null @@ -1,48 +0,0 @@ - - - - - Tab Position - jQuery EasyUI Demo - - - - - - - -

              Tab Position

              -
              -
              -
              Click the 'position' drop-down list and select an item to change the tab position.
              -
              -
              - Position: - -
              -
              -
              -

              jQuery EasyUI framework helps you build your web pages easily.

              -
                -
              • easyui is a collection of user-interface plugin based on jQuery.
              • -
              • easyui provides essential functionality for building modem, interactive, javascript applications.
              • -
              • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
              • -
              • complete framework for HTML5 web page.
              • -
              • easyui save your time and scales while developing your products.
              • -
              • easyui is very easy but powerful.
              • -
              -
              -
              -
                -
                -
                - This is the help content. -
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabstools.html b/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabstools.html deleted file mode 100644 index 93ecc0e6411616c9dbdcf91844ff3d64898c2895..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tabstools.html +++ /dev/null @@ -1,44 +0,0 @@ - - - - - Tabs Tools - jQuery EasyUI Demo - - - - - - - -

                Tabs Tools

                -
                -
                -
                Click the buttons on the top right of tabs header to add or remove tab panel.
                -
                -
                -
                -
                -
                - - -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tree_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/tabs/tree_data1.json deleted file mode 100644 index e0c619226cd03dbdf997eb2e2487fa3fa76ddde5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tabs/tree_data1.json +++ /dev/null @@ -1,49 +0,0 @@ -[{ - "id":1, - "text":"My Documents", - "children":[{ - "id":11, - "text":"Photos", - "state":"closed", - "children":[{ - "id":111, - "text":"Friend" - },{ - "id":112, - "text":"Wife" - },{ - "id":113, - "text":"Company" - }] - },{ - "id":12, - "text":"Program Files", - "children":[{ - "id":121, - "text":"Intel" - },{ - "id":122, - "text":"Java", - "attributes":{ - "p1":"Custom Attribute1", - "p2":"Custom Attribute2" - } - },{ - "id":123, - "text":"Microsoft Office" - },{ - "id":124, - "text":"Games", - "checked":true - }] - },{ - "id":13, - "text":"index.html" - },{ - "id":14, - "text":"about.html" - },{ - "id":15, - "text":"welcome.html" - }] -}] diff --git a/src/main/webapp/js/easyui-1.3.5/demo/timespinner/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/timespinner/actions.html deleted file mode 100644 index 9e88216f8fb3e4655ec1ccce19926ddf1840ec4b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/timespinner/actions.html +++ /dev/null @@ -1,41 +0,0 @@ - - - - - TimeSpinner Actions - jQuery EasyUI Demo - - - - - - - -

                TimeSpinner Actions

                -
                -
                -
                Click the buttons below to perform actions.
                -
                - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/timespinner/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/timespinner/basic.html deleted file mode 100644 index 40a5a7865d7c6508a18a5be0b3e307b280181576..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/timespinner/basic.html +++ /dev/null @@ -1,21 +0,0 @@ - - - - - Basic TimeSpinner - jQuery EasyUI Demo - - - - - - - -

                Basic TimeSpinner

                -
                -
                -
                Click spin button to adjust time.
                -
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/timespinner/range.html b/src/main/webapp/js/easyui-1.3.5/demo/timespinner/range.html deleted file mode 100644 index f31a8bb1a9207b897ea35094f927bb4b784eb3c8..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/timespinner/range.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Time Range - jQuery EasyUI Demo - - - - - - - -

                Time Range

                -
                -
                -
                The time value is constrained in specified range.
                -
                -
                - From 08:30 to 18:00 -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/_content.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/_content.html deleted file mode 100644 index 996740274e6e119154dfdcdbd0859d9efe480558..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/_content.html +++ /dev/null @@ -1,18 +0,0 @@ - - - - - AJAX Content - - -

                Here is the content loaded via AJAX.

                -
                  -
                • easyui is a collection of user-interface plugin based on jQuery.
                • -
                • easyui provides essential functionality for building modern, interactive, javascript applications.
                • -
                • using easyui you don't need to write many javascript code, you usually defines user-interface by writing some HTML markup.
                • -
                • complete framework for HTML5 web page.
                • -
                • easyui save your time and scales while developing your products.
                • -
                • easyui is very easy but powerful.
                • -
                - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/_dialog.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/_dialog.html deleted file mode 100644 index ddcdc074c7294d58157e5a34e7d06b42ac6c2280..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/_dialog.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Dialog Content - - -
                -
                -
                User Name:
                - -
                -
                -
                Password:
                - -
                -
                - Login - Cancel -
                -
                - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/ajax.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/ajax.html deleted file mode 100644 index e68a4b5cdebd2035eeacf2bd92bc9556d7ea2fe1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/ajax.html +++ /dev/null @@ -1,35 +0,0 @@ - - - - - Ajax Tooltip - jQuery EasyUI Demo - - - - - - - -

                Ajax Tooltip

                -
                -
                -
                The tooltip content can be loaded via AJAX.
                -
                -
                - - - onShow: function(){ - $(this).tooltip('arrow').css('left', 20); - $(this).tooltip('tip').css('left', $(this).offset().left); - }, - onUpdate: function(cc){ - cc.panel({ - width: 500, - height: 'auto', - border: false, - href: '_content.html' - }); - } - ">Hove me to display tooltip content via AJAX. - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/basic.html deleted file mode 100644 index 6fb8cc7a55792bb9a66818c47f30cba8a8ab78b3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/basic.html +++ /dev/null @@ -1,23 +0,0 @@ - - - - - Basic Tooltip - jQuery EasyUI Demo - - - - - - - -

                Basic Tooltip

                -
                -
                -
                Hover the links to display tooltip message.
                -
                -
                -

                The tooltip can use each elements title attribute. - Hover me to display tooltip. -

                - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/customcontent.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/customcontent.html deleted file mode 100644 index 1fb99b3138227045301495482536f5158692c87e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/customcontent.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Custom Tooltip Content - jQuery EasyUI Demo - - - - - - - -

                Custom Tooltip Content

                -
                -
                -
                Access to each elements attribute to get the tooltip content.
                -
                -
                -
                - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/customstyle.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/customstyle.html deleted file mode 100644 index 67bbd0872a3efadbfec073426acb6f5926ef9092..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/customstyle.html +++ /dev/null @@ -1,55 +0,0 @@ - - - - - Custom Tooltip Style - jQuery EasyUI Demo - - - - - - - -

                Custom Tooltip Style

                -
                -
                -
                This sample shows how to change the tooltip style.
                -
                -
                -
                -
                Hover Me
                -
                -
                -
                Hover Me
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/position.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/position.html deleted file mode 100644 index 28a5f9a0a9ae1bb4ac5273613b12083760e0d9a6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/position.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Tooltip Position - jQuery EasyUI Demo - - - - - - - -

                Tooltip Position

                -
                -
                -
                Click the drop-down list below to change where the tooltip appears.
                -
                -
                - Select position: - -
                -
                Hover Me
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/toolbar.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/toolbar.html deleted file mode 100644 index c7d2f21933fb23bc85c8b858b1844f8b1196077c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/toolbar.html +++ /dev/null @@ -1,43 +0,0 @@ - - - - - Tooltip as Toolbar - jQuery EasyUI Demo - - - - - - - -

                Tooltip as Toolbar

                -
                -
                -
                This sample shows how to create a tooltip style toolbar.
                -
                -
                -
                -

                Hover me to display toolbar.

                -
                -
                -
                - - - - - -
                -
                - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/tooltipdialog.html b/src/main/webapp/js/easyui-1.3.5/demo/tooltip/tooltipdialog.html deleted file mode 100644 index 957f58a0e1a17a535c50ac245543ebdb97808366..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/tooltip/tooltipdialog.html +++ /dev/null @@ -1,47 +0,0 @@ - - - - - Tooltip Dialog - jQuery EasyUI Demo - - - - - - - -

                Tooltip Dialog

                -
                -
                -
                This sample shows how to create a tooltip dialog.
                -
                -
                -
                -

                Click here to see the tooltip dialog. -

                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/actions.html b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/actions.html deleted file mode 100644 index 62b1ad0f1f1868ce4fa721ab8ffbf797bd0fd172..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/actions.html +++ /dev/null @@ -1,67 +0,0 @@ - - - - - TreeGrid Actions - jQuery EasyUI Demo - - - - - - - -

                TreeGrid Actions

                -
                -
                -
                Click the buttons below to perform actions.
                -
                - - - - - - - - - - - -
                Task NamePersonsBegin DateEnd DateProgress
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/basic.html deleted file mode 100644 index 417e783a2a926ac3387d90d703849294495b2ac4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/basic.html +++ /dev/null @@ -1,37 +0,0 @@ - - - - - Basic TreeGrid - jQuery EasyUI Demo - - - - - - - -

                Basic TreeGrid

                -
                -
                -
                TreeGrid allows you to expand or collapse group rows.
                -
                -
                - - - - - - - - -
                NameSizeModified Date
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/clientpagination.html b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/clientpagination.html deleted file mode 100644 index 7f1d64689b52181fd33c824348f4cef621e0444e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/clientpagination.html +++ /dev/null @@ -1,95 +0,0 @@ - - - - - Client Side Pagination in TreeGrid - jQuery EasyUI Demo - - - - - - - -

                Client Side Pagination in TreeGrid

                -
                -
                -
                This sample shows how to implement client side pagination in TreeGrid.
                -
                -
                - - - - - - - - - - -
                Task NamePersonsBegin DateEnd DateProgress
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/contextmenu.html b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/contextmenu.html deleted file mode 100644 index 2a5954cd69626ee7a8c80ce15c8430dfc5f68457..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/contextmenu.html +++ /dev/null @@ -1,107 +0,0 @@ - - - - - TreeGrid ContextMenu - jQuery EasyUI Demo - - - - - - - -

                TreeGrid ContextMenu

                -
                -
                -
                Right click to display the context menu.
                -
                -
                - - - - - - - - - - -
                Task NamePersonsBegin DateEnd DateProgress
                -
                -
                Append
                -
                Remove
                - -
                Collapse
                -
                Expand
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/editable.html b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/editable.html deleted file mode 100644 index 1eaa64cd5af771ccc39eadf97e05e4e2933fd4d3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/editable.html +++ /dev/null @@ -1,96 +0,0 @@ - - - - - Editable TreeGrid - jQuery EasyUI Demo - - - - - - - -

                Editable TreeGrid

                -
                -
                -
                Select one node and click edit button to perform editing.
                -
                -
                - Edit - Save - Cancel -
                - - - - - - - - - - -
                Task NamePersonsBegin DateEnd DateProgress
                - - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/footer.html b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/footer.html deleted file mode 100644 index 7f9b601cbd0bc0faab41812a2dca88bfbab14cec..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/footer.html +++ /dev/null @@ -1,58 +0,0 @@ - - - - - TreeGrid with Footer - jQuery EasyUI Demo - - - - - - - -

                TreeGrid with Footer

                -
                -
                -
                Show summary information on TreeGrid footer.
                -
                -
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/reports.html b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/reports.html deleted file mode 100644 index 70cc63e29aff2394810c79b2e5d393edf08943ca..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/reports.html +++ /dev/null @@ -1,52 +0,0 @@ - - - - - Reports using TreeGrid - jQuery EasyUI Demo - - - - - - - -

                Reports using TreeGrid

                -
                -
                -
                Using TreeGrid to show complex reports.
                -
                -
                - - - - - - - - - - - - - - - - - - - - - - -
                Region
                20092010
                1st qrt.2st qrt.3st qrt.4st qrt.1st qrt.2st qrt.3st qrt.4st qrt.
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data1.json b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data1.json deleted file mode 100644 index 6cc10973959630f7b1273d7da248ef879b435737..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data1.json +++ /dev/null @@ -1,73 +0,0 @@ -[{ - "id":1, - "name":"C", - "size":"", - "date":"02/19/2010", - "children":[{ - "id":2, - "name":"Program Files", - "size":"120 MB", - "date":"03/20/2010", - "children":[{ - "id":21, - "name":"Java", - "size":"", - "date":"01/13/2010", - "state":"closed", - "children":[{ - "id":211, - "name":"java.exe", - "size":"142 KB", - "date":"01/13/2010" - },{ - "id":212, - "name":"jawt.dll", - "size":"5 KB", - "date":"01/13/2010" - }] - },{ - "id":22, - "name":"MySQL", - "size":"", - "date":"01/13/2010", - "state":"closed", - "children":[{ - "id":221, - "name":"my.ini", - "size":"10 KB", - "date":"02/26/2009" - },{ - "id":222, - "name":"my-huge.ini", - "size":"5 KB", - "date":"02/26/2009" - },{ - "id":223, - "name":"my-large.ini", - "size":"5 KB", - "date":"02/26/2009" - }] - }] - },{ - "id":3, - "name":"eclipse", - "size":"", - "date":"01/20/2010", - "children":[{ - "id":31, - "name":"eclipse.exe", - "size":"56 KB", - "date":"05/19/2009" - },{ - "id":32, - "name":"eclipse.ini", - "size":"1 KB", - "date":"04/20/2010" - },{ - "id":33, - "name":"notice.html", - "size":"7 KB", - "date":"03/17/2005" - }] - }] -}] \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data2.json b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data2.json deleted file mode 100644 index 52c2c052769ee751f4db555c41c36da8563d4a74..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data2.json +++ /dev/null @@ -1,11 +0,0 @@ -{"total":7,"rows":[ - {"id":1,"name":"All Tasks","begin":"3/4/2010","end":"3/20/2010","progress":60,"iconCls":"icon-ok"}, - {"id":2,"name":"Designing","begin":"3/4/2010","end":"3/10/2010","progress":100,"_parentId":1,"state":"closed"}, - {"id":21,"name":"Database","persons":2,"begin":"3/4/2010","end":"3/6/2010","progress":100,"_parentId":2}, - {"id":22,"name":"UML","persons":1,"begin":"3/7/2010","end":"3/8/2010","progress":100,"_parentId":2}, - {"id":23,"name":"Export Document","persons":1,"begin":"3/9/2010","end":"3/10/2010","progress":100,"_parentId":2}, - {"id":3,"name":"Coding","persons":2,"begin":"3/11/2010","end":"3/18/2010","progress":80}, - {"id":4,"name":"Testing","persons":1,"begin":"3/19/2010","end":"3/20/2010","progress":20} -],"footer":[ - {"name":"Total Persons:","persons":7,"iconCls":"icon-sum"} -]} diff --git a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data3.json b/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data3.json deleted file mode 100644 index 7015d317bb006b76ac182064fab789421e64bfef..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/treegrid/treegrid_data3.json +++ /dev/null @@ -1,13 +0,0 @@ -{"total":9,"rows":[ - {"id":1,"region":"Wyoming"}, - {"id":11,"region":"Albin","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, - {"id":12,"region":"Canon","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, - {"id":13,"region":"Egbert","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":1}, - {"id":2,"region":"Washington"}, - {"id":21,"region":"Bellingham","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, - {"id":22,"region":"Chehalis","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, - {"id":23,"region":"Ellensburg","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2}, - {"id":24,"region":"Monroe","f1":2000,"f2":1800,"f3":1903,"f4":2183,"f5":2133,"f6":1923,"f7":2018,"f8":1838,"_parentId":2} -],"footer":[ - {"region":"Total","f1":14000,"f2":12600,"f3":13321,"f4":15281,"f5":14931,"f6":13461,"f7":14126,"f8":12866} -]} \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/validatebox/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/validatebox/basic.html deleted file mode 100644 index 16d01b90e120036469aa72b8d382203e45f37440..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/validatebox/basic.html +++ /dev/null @@ -1,45 +0,0 @@ - - - - - Basic ValidateBox - jQuery EasyUI Demo - - - - - - - -

                Basic ValidateBox

                -
                -
                -
                It's easy to add validate logic to a input box.
                -
                -
                -
                - - - - - - - - - - - - - - - - - - - - - -
                User Name:
                Email:
                Birthday:
                URL:
                Phone:
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/validatebox/customtooltip.html b/src/main/webapp/js/easyui-1.3.5/demo/validatebox/customtooltip.html deleted file mode 100644 index 2af80fea01bc64b83c481dc8b282cfbf82cf5801..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/validatebox/customtooltip.html +++ /dev/null @@ -1,90 +0,0 @@ - - - - - Custom ValidateBox Tooltip - jQuery EasyUI Demo - - - - - - - -

                Custom ValidateBox Tooltip

                -
                -
                -
                This sample shows how to display another tooltip message on a valid textbox.
                -
                -
                -
                - - - - - - - - - - - - - - - - - - - - - -
                User Name:
                Email:
                Birthday:
                URL:
                Phone:
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/window/basic.html b/src/main/webapp/js/easyui-1.3.5/demo/window/basic.html deleted file mode 100644 index 9475150a4142c22e28d23bb4b84367d625cb2928..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/window/basic.html +++ /dev/null @@ -1,26 +0,0 @@ - - - - - Basic Window - jQuery EasyUI Demo - - - - - - - -

                Basic Window

                -
                -
                -
                Window can be dragged freely on screen.
                -
                -
                - Open - Close -
                -
                - The window content. -
                - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/window/customtools.html b/src/main/webapp/js/easyui-1.3.5/demo/window/customtools.html deleted file mode 100644 index aab788c168154bc9f7889049e936d215930217e9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/window/customtools.html +++ /dev/null @@ -1,33 +0,0 @@ - - - - - Custom Window Tools - jQuery EasyUI Demo - - - - - - - -

                Custom Window Tools

                -
                -
                -
                Click the right top buttons to perform actions.
                -
                -
                - Open - Close -
                -
                - The window content. -
                -
                - - - - -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/window/inlinewindow.html b/src/main/webapp/js/easyui-1.3.5/demo/window/inlinewindow.html deleted file mode 100644 index 64083f0c3465e6c2963fbccdd69a63ffa8f6b624..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/window/inlinewindow.html +++ /dev/null @@ -1,29 +0,0 @@ - - - - - Inline Window - jQuery EasyUI Demo - - - - - - - -

                Inline Window

                -
                -
                -
                The inline window stay inside its parent.
                -
                -
                - Open - Close -
                -
                -
                - This window stay inside its parent -
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/window/modalwindow.html b/src/main/webapp/js/easyui-1.3.5/demo/window/modalwindow.html deleted file mode 100644 index f59a9c07ad1de03d80a17aa747e4e1c531a5122d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/window/modalwindow.html +++ /dev/null @@ -1,27 +0,0 @@ - - - - - Modal Window - jQuery EasyUI Demo - - - - - - - -

                Modal Window

                -
                -
                -
                Click the open button below to open the modal window.
                -
                -
                - Open - Close -
                -
                - The window content. -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/demo/window/windowlayout.html b/src/main/webapp/js/easyui-1.3.5/demo/window/windowlayout.html deleted file mode 100644 index d29c656868ef67193f2c8a22924f8a69220cb381..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/demo/window/windowlayout.html +++ /dev/null @@ -1,36 +0,0 @@ - - - - - Window Layout - jQuery EasyUI Demo - - - - - - - -

                Window Layout

                -
                -
                -
                Using layout on window.
                -
                -
                - Open - Close -
                -
                -
                -
                -
                - jQuery EasyUI framework help you build your web page easily. -
                -
                - Ok - Cancel -
                -
                -
                - - - \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/easyloader.js b/src/main/webapp/js/easyui-1.3.5/easyloader.js deleted file mode 100644 index 2cb888f76db57ebede04e5b9d967245f36f5d37a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/easyloader.js +++ /dev/null @@ -1,192 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function(){ -var _1={draggable:{js:"jquery.draggable.js"},droppable:{js:"jquery.droppable.js"},resizable:{js:"jquery.resizable.js"},linkbutton:{js:"jquery.linkbutton.js",css:"linkbutton.css"},progressbar:{js:"jquery.progressbar.js",css:"progressbar.css"},tooltip:{js:"jquery.tooltip.js",css:"tooltip.css"},pagination:{js:"jquery.pagination.js",css:"pagination.css",dependencies:["linkbutton"]},datagrid:{js:"jquery.datagrid.js",css:"datagrid.css",dependencies:["panel","resizable","linkbutton","pagination"]},treegrid:{js:"jquery.treegrid.js",css:"tree.css",dependencies:["datagrid"]},propertygrid:{js:"jquery.propertygrid.js",css:"propertygrid.css",dependencies:["datagrid"]},panel:{js:"jquery.panel.js",css:"panel.css"},window:{js:"jquery.window.js",css:"window.css",dependencies:["resizable","draggable","panel"]},dialog:{js:"jquery.dialog.js",css:"dialog.css",dependencies:["linkbutton","window"]},messager:{js:"jquery.messager.js",css:"messager.css",dependencies:["linkbutton","window","progressbar"]},layout:{js:"jquery.layout.js",css:"layout.css",dependencies:["resizable","panel"]},form:{js:"jquery.form.js"},menu:{js:"jquery.menu.js",css:"menu.css"},tabs:{js:"jquery.tabs.js",css:"tabs.css",dependencies:["panel","linkbutton"]},menubutton:{js:"jquery.menubutton.js",css:"menubutton.css",dependencies:["linkbutton","menu"]},splitbutton:{js:"jquery.splitbutton.js",css:"splitbutton.css",dependencies:["menubutton"]},accordion:{js:"jquery.accordion.js",css:"accordion.css",dependencies:["panel"]},calendar:{js:"jquery.calendar.js",css:"calendar.css"},combo:{js:"jquery.combo.js",css:"combo.css",dependencies:["panel","validatebox"]},combobox:{js:"jquery.combobox.js",css:"combobox.css",dependencies:["combo"]},combotree:{js:"jquery.combotree.js",dependencies:["combo","tree"]},combogrid:{js:"jquery.combogrid.js",dependencies:["combo","datagrid"]},validatebox:{js:"jquery.validatebox.js",css:"validatebox.css",dependencies:["tooltip"]},numberbox:{js:"jquery.numberbox.js",dependencies:["validatebox"]},searchbox:{js:"jquery.searchbox.js",css:"searchbox.css",dependencies:["menubutton"]},spinner:{js:"jquery.spinner.js",css:"spinner.css",dependencies:["validatebox"]},numberspinner:{js:"jquery.numberspinner.js",dependencies:["spinner","numberbox"]},timespinner:{js:"jquery.timespinner.js",dependencies:["spinner"]},tree:{js:"jquery.tree.js",css:"tree.css",dependencies:["draggable","droppable"]},datebox:{js:"jquery.datebox.js",css:"datebox.css",dependencies:["calendar","combo"]},datetimebox:{js:"jquery.datetimebox.js",dependencies:["datebox","timespinner"]},slider:{js:"jquery.slider.js",dependencies:["draggable"]},tooltip:{js:"jquery.tooltip.js"},parser:{js:"jquery.parser.js"}}; -var _2={"af":"easyui-lang-af.js","ar":"easyui-lang-ar.js","bg":"easyui-lang-bg.js","ca":"easyui-lang-ca.js","cs":"easyui-lang-cs.js","cz":"easyui-lang-cz.js","da":"easyui-lang-da.js","de":"easyui-lang-de.js","el":"easyui-lang-el.js","en":"easyui-lang-en.js","es":"easyui-lang-es.js","fr":"easyui-lang-fr.js","it":"easyui-lang-it.js","jp":"easyui-lang-jp.js","nl":"easyui-lang-nl.js","pl":"easyui-lang-pl.js","pt_BR":"easyui-lang-pt_BR.js","ru":"easyui-lang-ru.js","sv_SE":"easyui-lang-sv_SE.js","tr":"easyui-lang-tr.js","zh_CN":"easyui-lang-zh_CN.js","zh_TW":"easyui-lang-zh_TW.js"}; -var _3={}; -function _4(_5,_6){ -var _7=false; -var _8=document.createElement("script"); -_8.type="text/javascript"; -_8.language="javascript"; -_8.src=_5; -_8.onload=_8.onreadystatechange=function(){ -if(!_7&&(!_8.readyState||_8.readyState=="loaded"||_8.readyState=="complete")){ -_7=true; -_8.onload=_8.onreadystatechange=null; -if(_6){ -_6.call(_8); -} -} -}; -document.getElementsByTagName("head")[0].appendChild(_8); -}; -function _9(_a,_b){ -_4(_a,function(){ -document.getElementsByTagName("head")[0].removeChild(this); -if(_b){ -_b(); -} -}); -}; -function _c(_d,_e){ -var _f=document.createElement("link"); -_f.rel="stylesheet"; -_f.type="text/css"; -_f.media="screen"; -_f.href=_d; -document.getElementsByTagName("head")[0].appendChild(_f); -if(_e){ -_e.call(_f); -} -}; -function _10(_11,_12){ -_3[_11]="loading"; -var _13=_1[_11]; -var _14="loading"; -var _15=(easyloader.css&&_13["css"])?"loading":"loaded"; -if(easyloader.css&&_13["css"]){ -if(/^http/i.test(_13["css"])){ -var url=_13["css"]; -}else{ -var url=easyloader.base+"themes/"+easyloader.theme+"/"+_13["css"]; -} -_c(url,function(){ -_15="loaded"; -if(_14=="loaded"&&_15=="loaded"){ -_16(); -} -}); -} -if(/^http/i.test(_13["js"])){ -var url=_13["js"]; -}else{ -var url=easyloader.base+"plugins/"+_13["js"]; -} -_4(url,function(){ -_14="loaded"; -if(_14=="loaded"&&_15=="loaded"){ -_16(); -} -}); -function _16(){ -_3[_11]="loaded"; -easyloader.onProgress(_11); -if(_12){ -_12(); -} -}; -}; -function _17(_18,_19){ -var mm=[]; -var _1a=false; -if(typeof _18=="string"){ -add(_18); -}else{ -for(var i=0;i<_18.length;i++){ -add(_18[i]); -} -} -function add(_1b){ -if(!_1[_1b]){ -return; -} -var d=_1[_1b]["dependencies"]; -if(d){ -for(var i=0;i").appendTo("body"); -d.width(100); -$._boxModel=parseInt(d.width())==100; -d.remove(); -if(!window.easyloader&&$.parser.auto){ -$.parser.parse(); -} -}); -$.fn._outerWidth=function(_c){ -if(_c==undefined){ -if(this[0]==window){ -return this.width()||document.body.clientWidth; -} -return this.outerWidth()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).width(_c-($(this).outerWidth()-$(this).width())); -}else{ -$(this).width(_c); -} -}); -}; -$.fn._outerHeight=function(_d){ -if(_d==undefined){ -if(this[0]==window){ -return this.height()||document.body.clientHeight; -} -return this.outerHeight()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).height(_d-($(this).outerHeight()-$(this).height())); -}else{ -$(this).height(_d); -} -}); -}; -$.fn._scrollLeft=function(_e){ -if(_e==undefined){ -return this.scrollLeft(); -}else{ -return this.each(function(){ -$(this).scrollLeft(_e); -}); -} -}; -$.fn._propAttr=$.fn.prop||$.fn.attr; -$.fn._fit=function(_f){ -_f=_f==undefined?true:_f; -var t=this[0]; -var p=(t.tagName=="BODY"?t:this.parent()[0]); -var _10=p.fcount||0; -if(_f){ -if(!t.fitted){ -t.fitted=true; -p.fcount=_10+1; -$(p).addClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").addClass("panel-fit"); -} -} -}else{ -if(t.fitted){ -t.fitted=false; -p.fcount=_10-1; -if(p.fcount==0){ -$(p).removeClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").removeClass("panel-fit"); -} -} -} -} -return {width:$(p).width(),height:$(p).height()}; -}; -})(jQuery); -(function($){ -var _11=null; -var _12=null; -var _13=false; -function _14(e){ -if(e.touches.length!=1){ -return; -} -if(!_13){ -_13=true; -dblClickTimer=setTimeout(function(){ -_13=false; -},500); -}else{ -clearTimeout(dblClickTimer); -_13=false; -_15(e,"dblclick"); -} -_11=setTimeout(function(){ -_15(e,"contextmenu",3); -},1000); -_15(e,"mousedown"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _16(e){ -if(e.touches.length!=1){ -return; -} -if(_11){ -clearTimeout(_11); -} -_15(e,"mousemove"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _17(e){ -if(_11){ -clearTimeout(_11); -} -_15(e,"mouseup"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _15(e,_18,_19){ -var _1a=new $.Event(_18); -_1a.pageX=e.changedTouches[0].pageX; -_1a.pageY=e.changedTouches[0].pageY; -_1a.which=_19||1; -$(e.target).trigger(_1a); -}; -if(document.addEventListener){ -document.addEventListener("touchstart",_14,true); -document.addEventListener("touchmove",_16,true); -document.addEventListener("touchend",_17,true); -} -})(jQuery); -(function($){ -function _1b(e){ -var _1c=$.data(e.data.target,"draggable"); -var _1d=_1c.options; -var _1e=_1c.proxy; -var _1f=e.data; -var _20=_1f.startLeft+e.pageX-_1f.startX; -var top=_1f.startTop+e.pageY-_1f.startY; -if(_1e){ -if(_1e.parent()[0]==document.body){ -if(_1d.deltaX!=null&&_1d.deltaX!=undefined){ -_20=e.pageX+_1d.deltaX; -}else{ -_20=e.pageX-e.data.offsetWidth; -} -if(_1d.deltaY!=null&&_1d.deltaY!=undefined){ -top=e.pageY+_1d.deltaY; -}else{ -top=e.pageY-e.data.offsetHeight; -} -}else{ -if(_1d.deltaX!=null&&_1d.deltaX!=undefined){ -_20+=e.data.offsetWidth+_1d.deltaX; -} -if(_1d.deltaY!=null&&_1d.deltaY!=undefined){ -top+=e.data.offsetHeight+_1d.deltaY; -} -} -} -if(e.data.parent!=document.body){ -_20+=$(e.data.parent).scrollLeft(); -top+=$(e.data.parent).scrollTop(); -} -if(_1d.axis=="h"){ -_1f.left=_20; -}else{ -if(_1d.axis=="v"){ -_1f.top=top; -}else{ -_1f.left=_20; -_1f.top=top; -} -} -}; -function _21(e){ -var _22=$.data(e.data.target,"draggable"); -var _23=_22.options; -var _24=_22.proxy; -if(!_24){ -_24=$(e.data.target); -} -_24.css({left:e.data.left,top:e.data.top}); -$("body").css("cursor",_23.cursor); -}; -function _25(e){ -$.fn.draggable.isDragging=true; -var _26=$.data(e.data.target,"draggable"); -var _27=_26.options; -var _28=$(".droppable").filter(function(){ -return e.data.target!=this; -}).filter(function(){ -var _29=$.data(this,"droppable").options.accept; -if(_29){ -return $(_29).filter(function(){ -return this==e.data.target; -}).length>0; -}else{ -return true; -} -}); -_26.droppables=_28; -var _2a=_26.proxy; -if(!_2a){ -if(_27.proxy){ -if(_27.proxy=="clone"){ -_2a=$(e.data.target).clone().insertAfter(e.data.target); -}else{ -_2a=_27.proxy.call(e.data.target,e.data.target); -} -_26.proxy=_2a; -}else{ -_2a=$(e.data.target); -} -} -_2a.css("position","absolute"); -_1b(e); -_21(e); -_27.onStartDrag.call(e.data.target,e); -return false; -}; -function _2b(e){ -var _2c=$.data(e.data.target,"draggable"); -_1b(e); -if(_2c.options.onDrag.call(e.data.target,e)!=false){ -_21(e); -} -var _2d=e.data.target; -_2c.droppables.each(function(){ -var _2e=$(this); -if(_2e.droppable("options").disabled){ -return; -} -var p2=_2e.offset(); -if(e.pageX>p2.left&&e.pageXp2.top&&e.pageYp2.left&&e.pageXp2.top&&e.pageY_43.options.edge; -}; -}); -}; -$.fn.draggable.methods={options:function(jq){ -return $.data(jq[0],"draggable").options; -},proxy:function(jq){ -return $.data(jq[0],"draggable").proxy; -},enable:function(jq){ -return jq.each(function(){ -$(this).draggable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).draggable({disabled:true}); -}); -}}; -$.fn.draggable.parseOptions=function(_48){ -var t=$(_48); -return $.extend({},$.parser.parseOptions(_48,["cursor","handle","axis",{"revert":"boolean","deltaX":"number","deltaY":"number","edge":"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.draggable.defaults={proxy:null,revert:false,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:false,edge:0,axis:null,onBeforeDrag:function(e){ -},onStartDrag:function(e){ -},onDrag:function(e){ -},onStopDrag:function(e){ -}}; -$.fn.draggable.isDragging=false; -})(jQuery); -(function($){ -function _49(_4a){ -$(_4a).addClass("droppable"); -$(_4a).bind("_dragenter",function(e,_4b){ -$.data(_4a,"droppable").options.onDragEnter.apply(_4a,[e,_4b]); -}); -$(_4a).bind("_dragleave",function(e,_4c){ -$.data(_4a,"droppable").options.onDragLeave.apply(_4a,[e,_4c]); -}); -$(_4a).bind("_dragover",function(e,_4d){ -$.data(_4a,"droppable").options.onDragOver.apply(_4a,[e,_4d]); -}); -$(_4a).bind("_drop",function(e,_4e){ -$.data(_4a,"droppable").options.onDrop.apply(_4a,[e,_4e]); -}); -}; -$.fn.droppable=function(_4f,_50){ -if(typeof _4f=="string"){ -return $.fn.droppable.methods[_4f](this,_50); -} -_4f=_4f||{}; -return this.each(function(){ -var _51=$.data(this,"droppable"); -if(_51){ -$.extend(_51.options,_4f); -}else{ -_49(this); -$.data(this,"droppable",{options:$.extend({},$.fn.droppable.defaults,$.fn.droppable.parseOptions(this),_4f)}); -} -}); -}; -$.fn.droppable.methods={options:function(jq){ -return $.data(jq[0],"droppable").options; -},enable:function(jq){ -return jq.each(function(){ -$(this).droppable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).droppable({disabled:true}); -}); -}}; -$.fn.droppable.parseOptions=function(_52){ -var t=$(_52); -return $.extend({},$.parser.parseOptions(_52,["accept"]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.droppable.defaults={accept:null,disabled:false,onDragEnter:function(e,_53){ -},onDragOver:function(e,_54){ -},onDragLeave:function(e,_55){ -},onDrop:function(e,_56){ -}}; -})(jQuery); -(function($){ -$.fn.resizable=function(_57,_58){ -if(typeof _57=="string"){ -return $.fn.resizable.methods[_57](this,_58); -} -function _59(e){ -var _5a=e.data; -var _5b=$.data(_5a.target,"resizable").options; -if(_5a.dir.indexOf("e")!=-1){ -var _5c=_5a.startWidth+e.pageX-_5a.startX; -_5c=Math.min(Math.max(_5c,_5b.minWidth),_5b.maxWidth); -_5a.width=_5c; -} -if(_5a.dir.indexOf("s")!=-1){ -var _5d=_5a.startHeight+e.pageY-_5a.startY; -_5d=Math.min(Math.max(_5d,_5b.minHeight),_5b.maxHeight); -_5a.height=_5d; -} -if(_5a.dir.indexOf("w")!=-1){ -var _5c=_5a.startWidth-e.pageX+_5a.startX; -_5c=Math.min(Math.max(_5c,_5b.minWidth),_5b.maxWidth); -_5a.width=_5c; -_5a.left=_5a.startLeft+_5a.startWidth-_5a.width; -} -if(_5a.dir.indexOf("n")!=-1){ -var _5d=_5a.startHeight-e.pageY+_5a.startY; -_5d=Math.min(Math.max(_5d,_5b.minHeight),_5b.maxHeight); -_5a.height=_5d; -_5a.top=_5a.startTop+_5a.startHeight-_5a.height; -} -}; -function _5e(e){ -var _5f=e.data; -var t=$(_5f.target); -t.css({left:_5f.left,top:_5f.top}); -if(t.outerWidth()!=_5f.width){ -t._outerWidth(_5f.width); -} -if(t.outerHeight()!=_5f.height){ -t._outerHeight(_5f.height); -} -}; -function _60(e){ -$.fn.resizable.isResizing=true; -$.data(e.data.target,"resizable").options.onStartResize.call(e.data.target,e); -return false; -}; -function _61(e){ -_59(e); -if($.data(e.data.target,"resizable").options.onResize.call(e.data.target,e)!=false){ -_5e(e); -} -return false; -}; -function _62(e){ -$.fn.resizable.isResizing=false; -_59(e,true); -_5e(e); -$.data(e.data.target,"resizable").options.onStopResize.call(e.data.target,e); -$(document).unbind(".resizable"); -$("body").css("cursor",""); -return false; -}; -return this.each(function(){ -var _63=null; -var _64=$.data(this,"resizable"); -if(_64){ -$(this).unbind(".resizable"); -_63=$.extend(_64.options,_57||{}); -}else{ -_63=$.extend({},$.fn.resizable.defaults,$.fn.resizable.parseOptions(this),_57||{}); -$.data(this,"resizable",{options:_63}); -} -if(_63.disabled==true){ -return; -} -$(this).bind("mousemove.resizable",{target:this},function(e){ -if($.fn.resizable.isResizing){ -return; -} -var dir=_65(e); -if(dir==""){ -$(e.data.target).css("cursor",""); -}else{ -$(e.data.target).css("cursor",dir+"-resize"); -} -}).bind("mouseleave.resizable",{target:this},function(e){ -$(e.data.target).css("cursor",""); -}).bind("mousedown.resizable",{target:this},function(e){ -var dir=_65(e); -if(dir==""){ -return; -} -function _66(css){ -var val=parseInt($(e.data.target).css(css)); -if(isNaN(val)){ -return 0; -}else{ -return val; -} -}; -var _67={target:e.data.target,dir:dir,startLeft:_66("left"),startTop:_66("top"),left:_66("left"),top:_66("top"),startX:e.pageX,startY:e.pageY,startWidth:$(e.data.target).outerWidth(),startHeight:$(e.data.target).outerHeight(),width:$(e.data.target).outerWidth(),height:$(e.data.target).outerHeight(),deltaWidth:$(e.data.target).outerWidth()-$(e.data.target).width(),deltaHeight:$(e.data.target).outerHeight()-$(e.data.target).height()}; -$(document).bind("mousedown.resizable",_67,_60); -$(document).bind("mousemove.resizable",_67,_61); -$(document).bind("mouseup.resizable",_67,_62); -$("body").css("cursor",dir+"-resize"); -}); -function _65(e){ -var tt=$(e.data.target); -var dir=""; -var _68=tt.offset(); -var _69=tt.outerWidth(); -var _6a=tt.outerHeight(); -var _6b=_63.edge; -if(e.pageY>_68.top&&e.pageY<_68.top+_6b){ -dir+="n"; -}else{ -if(e.pageY<_68.top+_6a&&e.pageY>_68.top+_6a-_6b){ -dir+="s"; -} -} -if(e.pageX>_68.left&&e.pageX<_68.left+_6b){ -dir+="w"; -}else{ -if(e.pageX<_68.left+_69&&e.pageX>_68.left+_69-_6b){ -dir+="e"; -} -} -var _6c=_63.handles.split(","); -for(var i=0;i<_6c.length;i++){ -var _6d=_6c[i].replace(/(^\s*)|(\s*$)/g,""); -if(_6d=="all"||_6d==dir){ -return dir; -} -} -return ""; -}; -}); -}; -$.fn.resizable.methods={options:function(jq){ -return $.data(jq[0],"resizable").options; -},enable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:true}); -}); -}}; -$.fn.resizable.parseOptions=function(_6e){ -var t=$(_6e); -return $.extend({},$.parser.parseOptions(_6e,["handles",{minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number",edge:"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.resizable.defaults={disabled:false,handles:"n, e, s, w, ne, se, sw, nw, all",minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000,edge:5,onStartResize:function(e){ -},onResize:function(e){ -},onStopResize:function(e){ -}}; -$.fn.resizable.isResizing=false; -})(jQuery); -(function($){ -function _6f(_70){ -var _71=$.data(_70,"linkbutton").options; -var t=$(_70); -t.addClass("l-btn").removeClass("l-btn-plain l-btn-selected l-btn-plain-selected"); -if(_71.plain){ -t.addClass("l-btn-plain"); -} -if(_71.selected){ -t.addClass(_71.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -} -t.attr("group",_71.group||""); -t.attr("id",_71.id||""); -t.html(""+""+""); -if(_71.text){ -t.find(".l-btn-text").html(_71.text); -if(_71.iconCls){ -t.find(".l-btn-text").addClass(_71.iconCls).addClass(_71.iconAlign=="left"?"l-btn-icon-left":"l-btn-icon-right"); -} -}else{ -t.find(".l-btn-text").html(" "); -if(_71.iconCls){ -t.find(".l-btn-empty").addClass(_71.iconCls); -} -} -t.unbind(".linkbutton").bind("focus.linkbutton",function(){ -if(!_71.disabled){ -$(this).find(".l-btn-text").addClass("l-btn-focus"); -} -}).bind("blur.linkbutton",function(){ -$(this).find(".l-btn-text").removeClass("l-btn-focus"); -}); -if(_71.toggle&&!_71.disabled){ -t.bind("click.linkbutton",function(){ -if(_71.selected){ -$(this).linkbutton("unselect"); -}else{ -$(this).linkbutton("select"); -} -}); -} -_72(_70,_71.selected); -_73(_70,_71.disabled); -}; -function _72(_74,_75){ -var _76=$.data(_74,"linkbutton").options; -if(_75){ -if(_76.group){ -$("a.l-btn[group=\""+_76.group+"\"]").each(function(){ -var o=$(this).linkbutton("options"); -if(o.toggle){ -$(this).removeClass("l-btn-selected l-btn-plain-selected"); -o.selected=false; -} -}); -} -$(_74).addClass(_76.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -_76.selected=true; -}else{ -if(!_76.group){ -$(_74).removeClass("l-btn-selected l-btn-plain-selected"); -_76.selected=false; -} -} -}; -function _73(_77,_78){ -var _79=$.data(_77,"linkbutton"); -var _7a=_79.options; -$(_77).removeClass("l-btn-disabled l-btn-plain-disabled"); -if(_78){ -_7a.disabled=true; -var _7b=$(_77).attr("href"); -if(_7b){ -_79.href=_7b; -$(_77).attr("href","javascript:void(0)"); -} -if(_77.onclick){ -_79.onclick=_77.onclick; -_77.onclick=null; -} -_7a.plain?$(_77).addClass("l-btn-disabled l-btn-plain-disabled"):$(_77).addClass("l-btn-disabled"); -}else{ -_7a.disabled=false; -if(_79.href){ -$(_77).attr("href",_79.href); -} -if(_79.onclick){ -_77.onclick=_79.onclick; -} -} -}; -$.fn.linkbutton=function(_7c,_7d){ -if(typeof _7c=="string"){ -return $.fn.linkbutton.methods[_7c](this,_7d); -} -_7c=_7c||{}; -return this.each(function(){ -var _7e=$.data(this,"linkbutton"); -if(_7e){ -$.extend(_7e.options,_7c); -}else{ -$.data(this,"linkbutton",{options:$.extend({},$.fn.linkbutton.defaults,$.fn.linkbutton.parseOptions(this),_7c)}); -$(this).removeAttr("disabled"); -} -_6f(this); -}); -}; -$.fn.linkbutton.methods={options:function(jq){ -return $.data(jq[0],"linkbutton").options; -},enable:function(jq){ -return jq.each(function(){ -_73(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_73(this,true); -}); -},select:function(jq){ -return jq.each(function(){ -_72(this,true); -}); -},unselect:function(jq){ -return jq.each(function(){ -_72(this,false); -}); -}}; -$.fn.linkbutton.parseOptions=function(_7f){ -var t=$(_7f); -return $.extend({},$.parser.parseOptions(_7f,["id","iconCls","iconAlign","group",{plain:"boolean",toggle:"boolean",selected:"boolean"}]),{disabled:(t.attr("disabled")?true:undefined),text:$.trim(t.html()),iconCls:(t.attr("icon")||t.attr("iconCls"))}); -}; -$.fn.linkbutton.defaults={id:null,disabled:false,toggle:false,selected:false,group:null,plain:false,text:"",iconCls:null,iconAlign:"left"}; -})(jQuery); -(function($){ -function _80(_81){ -var _82=$.data(_81,"pagination"); -var _83=_82.options; -var bb=_82.bb={}; -var _84=$(_81).addClass("pagination").html("
                "); -var tr=_84.find("tr"); -var aa=$.extend([],_83.layout); -if(!_83.showPageList){ -_85(aa,"list"); -} -if(!_83.showRefresh){ -_85(aa,"refresh"); -} -if(aa[0]=="sep"){ -aa.shift(); -} -if(aa[aa.length-1]=="sep"){ -aa.pop(); -} -for(var _86=0;_86"); -ps.bind("change",function(){ -_83.pageSize=parseInt($(this).val()); -_83.onChangePageSize.call(_81,_83.pageSize); -_8d(_81,_83.pageNumber); -}); -for(var i=0;i<_83.pageList.length;i++){ -$("").text(_83.pageList[i]).appendTo(ps); -} -$("").append(ps).appendTo(tr); -}else{ -if(_87=="sep"){ -$("
                ").appendTo(tr); -}else{ -if(_87=="first"){ -bb.first=_88("first"); -}else{ -if(_87=="prev"){ -bb.prev=_88("prev"); -}else{ -if(_87=="next"){ -bb.next=_88("next"); -}else{ -if(_87=="last"){ -bb.last=_88("last"); -}else{ -if(_87=="manual"){ -$("").html(_83.beforePageText).appendTo(tr).wrap(""); -bb.num=$("").appendTo(tr).wrap(""); -bb.num.unbind(".pagination").bind("keydown.pagination",function(e){ -if(e.keyCode==13){ -var _89=parseInt($(this).val())||1; -_8d(_81,_89); -return false; -} -}); -bb.after=$("").appendTo(tr).wrap(""); -}else{ -if(_87=="refresh"){ -bb.refresh=_88("refresh"); -}else{ -if(_87=="links"){ -$("").appendTo(tr); -} -} -} -} -} -} -} -} -} -} -if(_83.buttons){ -$("
                ").appendTo(tr); -if($.isArray(_83.buttons)){ -for(var i=0;i<_83.buttons.length;i++){ -var btn=_83.buttons[i]; -if(btn=="-"){ -$("
                ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var a=$("").appendTo(td); -a[0].onclick=eval(btn.handler||function(){ -}); -a.linkbutton($.extend({},btn,{plain:true})); -} -} -}else{ -var td=$("").appendTo(tr); -$(_83.buttons).appendTo(td).show(); -} -} -$("
                ").appendTo(_84); -$("
                ").appendTo(_84); -function _88(_8a){ -var btn=_83.nav[_8a]; -var a=$("").appendTo(tr); -a.wrap(""); -a.linkbutton({iconCls:btn.iconCls,plain:true}).unbind(".pagination").bind("click.pagination",function(){ -btn.handler.call(_81); -}); -return a; -}; -function _85(aa,_8b){ -var _8c=$.inArray(_8b,aa); -if(_8c>=0){ -aa.splice(_8c,1); -} -return aa; -}; -}; -function _8d(_8e,_8f){ -var _90=$.data(_8e,"pagination").options; -_91(_8e,{pageNumber:_8f}); -_90.onSelectPage.call(_8e,_90.pageNumber,_90.pageSize); -}; -function _91(_92,_93){ -var _94=$.data(_92,"pagination"); -var _95=_94.options; -var bb=_94.bb; -$.extend(_95,_93||{}); -var ps=$(_92).find("select.pagination-page-list"); -if(ps.length){ -ps.val(_95.pageSize+""); -_95.pageSize=parseInt(ps.val()); -} -var _96=Math.ceil(_95.total/_95.pageSize)||1; -if(_95.pageNumber<1){ -_95.pageNumber=1; -} -if(_95.pageNumber>_96){ -_95.pageNumber=_96; -} -if(bb.num){ -bb.num.val(_95.pageNumber); -} -if(bb.after){ -bb.after.html(_95.afterPageText.replace(/{pages}/,_96)); -} -var td=$(_92).find("td.pagination-links"); -if(td.length){ -td.empty(); -var _97=_95.pageNumber-Math.floor(_95.links/2); -if(_97<1){ -_97=1; -} -var _98=_97+_95.links-1; -if(_98>_96){ -_98=_96; -} -_97=_98-_95.links+1; -if(_97<1){ -_97=1; -} -for(var i=_97;i<=_98;i++){ -var a=$("").appendTo(td); -a.linkbutton({plain:true,text:i}); -if(i==_95.pageNumber){ -a.linkbutton("select"); -}else{ -a.unbind(".pagination").bind("click.pagination",{pageNumber:i},function(e){ -_8d(_92,e.data.pageNumber); -}); -} -} -} -var _99=_95.displayMsg; -_99=_99.replace(/{from}/,_95.total==0?0:_95.pageSize*(_95.pageNumber-1)+1); -_99=_99.replace(/{to}/,Math.min(_95.pageSize*(_95.pageNumber),_95.total)); -_99=_99.replace(/{total}/,_95.total); -$(_92).find("div.pagination-info").html(_99); -if(bb.first){ -bb.first.linkbutton({disabled:(_95.pageNumber==1)}); -} -if(bb.prev){ -bb.prev.linkbutton({disabled:(_95.pageNumber==1)}); -} -if(bb.next){ -bb.next.linkbutton({disabled:(_95.pageNumber==_96)}); -} -if(bb.last){ -bb.last.linkbutton({disabled:(_95.pageNumber==_96)}); -} -_9a(_92,_95.loading); -}; -function _9a(_9b,_9c){ -var _9d=$.data(_9b,"pagination"); -var _9e=_9d.options; -_9e.loading=_9c; -if(_9e.showRefresh&&_9d.bb.refresh){ -_9d.bb.refresh.linkbutton({iconCls:(_9e.loading?"pagination-loading":"pagination-load")}); -} -}; -$.fn.pagination=function(_9f,_a0){ -if(typeof _9f=="string"){ -return $.fn.pagination.methods[_9f](this,_a0); -} -_9f=_9f||{}; -return this.each(function(){ -var _a1; -var _a2=$.data(this,"pagination"); -if(_a2){ -_a1=$.extend(_a2.options,_9f); -}else{ -_a1=$.extend({},$.fn.pagination.defaults,$.fn.pagination.parseOptions(this),_9f); -$.data(this,"pagination",{options:_a1}); -} -_80(this); -_91(this); -}); -}; -$.fn.pagination.methods={options:function(jq){ -return $.data(jq[0],"pagination").options; -},loading:function(jq){ -return jq.each(function(){ -_9a(this,true); -}); -},loaded:function(jq){ -return jq.each(function(){ -_9a(this,false); -}); -},refresh:function(jq,_a3){ -return jq.each(function(){ -_91(this,_a3); -}); -},select:function(jq,_a4){ -return jq.each(function(){ -_8d(this,_a4); -}); -}}; -$.fn.pagination.parseOptions=function(_a5){ -var t=$(_a5); -return $.extend({},$.parser.parseOptions(_a5,[{total:"number",pageSize:"number",pageNumber:"number",links:"number"},{loading:"boolean",showPageList:"boolean",showRefresh:"boolean"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined)}); -}; -$.fn.pagination.defaults={total:1,pageSize:10,pageNumber:1,pageList:[10,20,30,50],loading:false,buttons:null,showPageList:true,showRefresh:true,links:10,layout:["list","sep","first","prev","sep","manual","sep","next","last","sep","refresh"],onSelectPage:function(_a6,_a7){ -},onBeforeRefresh:function(_a8,_a9){ -},onRefresh:function(_aa,_ab){ -},onChangePageSize:function(_ac){ -},beforePageText:"Page",afterPageText:"of {pages}",displayMsg:"Displaying {from} to {to} of {total} items",nav:{first:{iconCls:"pagination-first",handler:function(){ -var _ad=$(this).pagination("options"); -if(_ad.pageNumber>1){ -$(this).pagination("select",1); -} -}},prev:{iconCls:"pagination-prev",handler:function(){ -var _ae=$(this).pagination("options"); -if(_ae.pageNumber>1){ -$(this).pagination("select",_ae.pageNumber-1); -} -}},next:{iconCls:"pagination-next",handler:function(){ -var _af=$(this).pagination("options"); -var _b0=Math.ceil(_af.total/_af.pageSize); -if(_af.pageNumber<_b0){ -$(this).pagination("select",_af.pageNumber+1); -} -}},last:{iconCls:"pagination-last",handler:function(){ -var _b1=$(this).pagination("options"); -var _b2=Math.ceil(_b1.total/_b1.pageSize); -if(_b1.pageNumber<_b2){ -$(this).pagination("select",_b2); -} -}},refresh:{iconCls:"pagination-refresh",handler:function(){ -var _b3=$(this).pagination("options"); -if(_b3.onBeforeRefresh.call(this,_b3.pageNumber,_b3.pageSize)!=false){ -$(this).pagination("select",_b3.pageNumber); -_b3.onRefresh.call(this,_b3.pageNumber,_b3.pageSize); -} -}}}}; -})(jQuery); -(function($){ -function _b4(_b5){ -var _b6=$(_b5); -_b6.addClass("tree"); -return _b6; -}; -function _b7(_b8){ -var _b9=$.data(_b8,"tree").options; -$(_b8).unbind().bind("mouseover",function(e){ -var tt=$(e.target); -var _ba=tt.closest("div.tree-node"); -if(!_ba.length){ -return; -} -_ba.addClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.addClass("tree-expanded-hover"); -}else{ -tt.addClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var _bb=tt.closest("div.tree-node"); -if(!_bb.length){ -return; -} -_bb.removeClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.removeClass("tree-expanded-hover"); -}else{ -tt.removeClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("click",function(e){ -var tt=$(e.target); -var _bc=tt.closest("div.tree-node"); -if(!_bc.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_121(_b8,_bc[0]); -return false; -}else{ -if(tt.hasClass("tree-checkbox")){ -_e5(_b8,_bc[0],!tt.hasClass("tree-checkbox1")); -return false; -}else{ -_165(_b8,_bc[0]); -_b9.onClick.call(_b8,_bf(_b8,_bc[0])); -} -} -e.stopPropagation(); -}).bind("dblclick",function(e){ -var _bd=$(e.target).closest("div.tree-node"); -if(!_bd.length){ -return; -} -_165(_b8,_bd[0]); -_b9.onDblClick.call(_b8,_bf(_b8,_bd[0])); -e.stopPropagation(); -}).bind("contextmenu",function(e){ -var _be=$(e.target).closest("div.tree-node"); -if(!_be.length){ -return; -} -_b9.onContextMenu.call(_b8,e,_bf(_b8,_be[0])); -e.stopPropagation(); -}); -}; -function _c0(_c1){ -var _c2=$.data(_c1,"tree").options; -_c2.dnd=false; -var _c3=$(_c1).find("div.tree-node"); -_c3.draggable("disable"); -_c3.css("cursor","pointer"); -}; -function _c4(_c5){ -var _c6=$.data(_c5,"tree"); -var _c7=_c6.options; -var _c8=_c6.tree; -_c6.disabledNodes=[]; -_c7.dnd=true; -_c8.find("div.tree-node").draggable({disabled:false,revert:true,cursor:"pointer",proxy:function(_c9){ -var p=$("
                ").appendTo("body"); -p.html(" "+$(_c9).find(".tree-title").html()); -p.hide(); -return p; -},deltaX:15,deltaY:15,onBeforeDrag:function(e){ -if(_c7.onBeforeDrag.call(_c5,_bf(_c5,this))==false){ -return false; -} -if($(e.target).hasClass("tree-hit")||$(e.target).hasClass("tree-checkbox")){ -return false; -} -if(e.which!=1){ -return false; -} -$(this).next("ul").find("div.tree-node").droppable({accept:"no-accept"}); -var _ca=$(this).find("span.tree-indent"); -if(_ca.length){ -e.data.offsetWidth-=_ca.length*_ca.width(); -} -},onStartDrag:function(){ -$(this).draggable("proxy").css({left:-10000,top:-10000}); -_c7.onStartDrag.call(_c5,_bf(_c5,this)); -var _cb=_bf(_c5,this); -if(_cb.id==undefined){ -_cb.id="easyui_tree_node_id_temp"; -_105(_c5,_cb); -} -_c6.draggingNodeId=_cb.id; -},onDrag:function(e){ -var x1=e.pageX,y1=e.pageY,x2=e.data.startX,y2=e.data.startY; -var d=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); -if(d>3){ -$(this).draggable("proxy").show(); -} -this.pageY=e.pageY; -},onStopDrag:function(){ -$(this).next("ul").find("div.tree-node").droppable({accept:"div.tree-node"}); -for(var i=0;i<_c6.disabledNodes.length;i++){ -$(_c6.disabledNodes[i]).droppable("enable"); -} -_c6.disabledNodes=[]; -var _cc=_15d(_c5,_c6.draggingNodeId); -if(_cc&&_cc.id=="easyui_tree_node_id_temp"){ -_cc.id=""; -_105(_c5,_cc); -} -_c7.onStopDrag.call(_c5,_cc); -}}).droppable({accept:"div.tree-node",onDragEnter:function(e,_cd){ -if(_c7.onDragEnter.call(_c5,this,_bf(_c5,_cd))==false){ -_ce(_cd,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_c6.disabledNodes.push(this); -} -},onDragOver:function(e,_cf){ -if($(this).droppable("options").disabled){ -return; -} -var _d0=_cf.pageY; -var top=$(this).offset().top; -var _d1=top+$(this).outerHeight(); -_ce(_cf,true); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -if(_d0>top+(_d1-top)/2){ -if(_d1-_d0<5){ -$(this).addClass("tree-node-bottom"); -}else{ -$(this).addClass("tree-node-append"); -} -}else{ -if(_d0-top<5){ -$(this).addClass("tree-node-top"); -}else{ -$(this).addClass("tree-node-append"); -} -} -if(_c7.onDragOver.call(_c5,this,_bf(_c5,_cf))==false){ -_ce(_cf,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_c6.disabledNodes.push(this); -} -},onDragLeave:function(e,_d2){ -_ce(_d2,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -_c7.onDragLeave.call(_c5,this,_bf(_c5,_d2)); -},onDrop:function(e,_d3){ -var _d4=this; -var _d5,_d6; -if($(this).hasClass("tree-node-append")){ -_d5=_d7; -_d6="append"; -}else{ -_d5=_d8; -_d6=$(this).hasClass("tree-node-top")?"top":"bottom"; -} -if(_c7.onBeforeDrop.call(_c5,_d4,_158(_c5,_d3),_d6)==false){ -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -return; -} -_d5(_d3,_d4,_d6); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -}}); -function _ce(_d9,_da){ -var _db=$(_d9).draggable("proxy").find("span.tree-dnd-icon"); -_db.removeClass("tree-dnd-yes tree-dnd-no").addClass(_da?"tree-dnd-yes":"tree-dnd-no"); -}; -function _d7(_dc,_dd){ -if(_bf(_c5,_dd).state=="closed"){ -_119(_c5,_dd,function(){ -_de(); -}); -}else{ -_de(); -} -function _de(){ -var _df=$(_c5).tree("pop",_dc); -$(_c5).tree("append",{parent:_dd,data:[_df]}); -_c7.onDrop.call(_c5,_dd,_df,"append"); -}; -}; -function _d8(_e0,_e1,_e2){ -var _e3={}; -if(_e2=="top"){ -_e3.before=_e1; -}else{ -_e3.after=_e1; -} -var _e4=$(_c5).tree("pop",_e0); -_e3.data=_e4; -$(_c5).tree("insert",_e3); -_c7.onDrop.call(_c5,_e1,_e4,_e2); -}; -}; -function _e5(_e6,_e7,_e8){ -var _e9=$.data(_e6,"tree").options; -if(!_e9.checkbox){ -return; -} -var _ea=_bf(_e6,_e7); -if(_e9.onBeforeCheck.call(_e6,_ea,_e8)==false){ -return; -} -var _eb=$(_e7); -var ck=_eb.find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_e8){ -ck.addClass("tree-checkbox1"); -}else{ -ck.addClass("tree-checkbox0"); -} -if(_e9.cascadeCheck){ -_ec(_eb); -_ed(_eb); -} -_e9.onCheck.call(_e6,_ea,_e8); -function _ed(_ee){ -var _ef=_ee.next().find(".tree-checkbox"); -_ef.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_ee.find(".tree-checkbox").hasClass("tree-checkbox1")){ -_ef.addClass("tree-checkbox1"); -}else{ -_ef.addClass("tree-checkbox0"); -} -}; -function _ec(_f0){ -var _f1=_12c(_e6,_f0[0]); -if(_f1){ -var ck=$(_f1.target).find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_f2(_f0)){ -ck.addClass("tree-checkbox1"); -}else{ -if(_f3(_f0)){ -ck.addClass("tree-checkbox0"); -}else{ -ck.addClass("tree-checkbox2"); -} -} -_ec($(_f1.target)); -} -function _f2(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox0")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox1")){ -b=false; -} -}); -return b; -}; -function _f3(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox1")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox0")){ -b=false; -} -}); -return b; -}; -}; -}; -function _f4(_f5,_f6){ -var _f7=$.data(_f5,"tree").options; -if(!_f7.checkbox){ -return; -} -var _f8=$(_f6); -if(_f9(_f5,_f6)){ -var ck=_f8.find(".tree-checkbox"); -if(ck.length){ -if(ck.hasClass("tree-checkbox1")){ -_e5(_f5,_f6,true); -}else{ -_e5(_f5,_f6,false); -} -}else{ -if(_f7.onlyLeafCheck){ -$("").insertBefore(_f8.find(".tree-title")); -} -} -}else{ -var ck=_f8.find(".tree-checkbox"); -if(_f7.onlyLeafCheck){ -ck.remove(); -}else{ -if(ck.hasClass("tree-checkbox1")){ -_e5(_f5,_f6,true); -}else{ -if(ck.hasClass("tree-checkbox2")){ -var _fa=true; -var _fb=true; -var _fc=_fd(_f5,_f6); -for(var i=0;i<_fc.length;i++){ -if(_fc[i].checked){ -_fb=false; -}else{ -_fa=false; -} -} -if(_fa){ -_e5(_f5,_f6,true); -} -if(_fb){ -_e5(_f5,_f6,false); -} -} -} -} -} -}; -function _fe(_ff,ul,data,_100){ -var _101=$.data(_ff,"tree"); -var opts=_101.options; -var _102=$(ul).prevAll("div.tree-node:first"); -data=opts.loadFilter.call(_ff,data,_102[0]); -var _103=_104(_ff,"domId",_102.attr("id")); -if(!_100){ -_103?_103.children=data:_101.data=data; -$(ul).empty(); -}else{ -if(_103){ -_103.children?_103.children=_103.children.concat(data):_103.children=data; -}else{ -_101.data=_101.data.concat(data); -} -} -opts.view.render.call(opts.view,_ff,ul,data); -if(opts.dnd){ -_c4(_ff); -} -if(_103){ -_105(_ff,_103); -} -var _106=[]; -var _107=[]; -for(var i=0;i1){ -$(_10c[0].target).addClass("tree-root-first"); -}else{ -if(_10c.length==1){ -$(_10c[0].target).addClass("tree-root-one"); -} -} -} -$(ul).children("li").each(function(){ -var node=$(this).children("div.tree-node"); -var ul=node.next("ul"); -if(ul.length){ -if($(this).next().length){ -_10d(node); -} -_109(_10a,ul,_10b); -}else{ -_10e(node); -} -}); -var _10f=$(ul).children("li:last").children("div.tree-node").addClass("tree-node-last"); -_10f.children("span.tree-join").removeClass("tree-join").addClass("tree-joinbottom"); -function _10e(node,_110){ -var icon=node.find("span.tree-icon"); -icon.prev("span.tree-indent").addClass("tree-join"); -}; -function _10d(node){ -var _111=node.find("span.tree-indent, span.tree-hit").length; -node.next().find("div.tree-node").each(function(){ -$(this).children("span:eq("+(_111-1)+")").addClass("tree-line"); -}); -}; -}; -function _112(_113,ul,_114,_115){ -var opts=$.data(_113,"tree").options; -_114=_114||{}; -var _116=null; -if(_113!=ul){ -var node=$(ul).prev(); -_116=_bf(_113,node[0]); -} -if(opts.onBeforeLoad.call(_113,_116,_114)==false){ -return; -} -var _117=$(ul).prev().children("span.tree-folder"); -_117.addClass("tree-loading"); -var _118=opts.loader.call(_113,_114,function(data){ -_117.removeClass("tree-loading"); -_fe(_113,ul,data); -if(_115){ -_115(); -} -},function(){ -_117.removeClass("tree-loading"); -opts.onLoadError.apply(_113,arguments); -if(_115){ -_115(); -} -}); -if(_118==false){ -_117.removeClass("tree-loading"); -} -}; -function _119(_11a,_11b,_11c){ -var opts=$.data(_11a,"tree").options; -var hit=$(_11b).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -return; -} -var node=_bf(_11a,_11b); -if(opts.onBeforeExpand.call(_11a,node)==false){ -return; -} -hit.removeClass("tree-collapsed tree-collapsed-hover").addClass("tree-expanded"); -hit.next().addClass("tree-folder-open"); -var ul=$(_11b).next(); -if(ul.length){ -if(opts.animate){ -ul.slideDown("normal",function(){ -node.state="open"; -opts.onExpand.call(_11a,node); -if(_11c){ -_11c(); -} -}); -}else{ -ul.css("display","block"); -node.state="open"; -opts.onExpand.call(_11a,node); -if(_11c){ -_11c(); -} -} -}else{ -var _11d=$("
                  ").insertAfter(_11b); -_112(_11a,_11d[0],{id:node.id},function(){ -if(_11d.is(":empty")){ -_11d.remove(); -} -if(opts.animate){ -_11d.slideDown("normal",function(){ -node.state="open"; -opts.onExpand.call(_11a,node); -if(_11c){ -_11c(); -} -}); -}else{ -_11d.css("display","block"); -node.state="open"; -opts.onExpand.call(_11a,node); -if(_11c){ -_11c(); -} -} -}); -} -}; -function _11e(_11f,_120){ -var opts=$.data(_11f,"tree").options; -var hit=$(_120).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-collapsed")){ -return; -} -var node=_bf(_11f,_120); -if(opts.onBeforeCollapse.call(_11f,node)==false){ -return; -} -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -hit.next().removeClass("tree-folder-open"); -var ul=$(_120).next(); -if(opts.animate){ -ul.slideUp("normal",function(){ -node.state="closed"; -opts.onCollapse.call(_11f,node); -}); -}else{ -ul.css("display","none"); -node.state="closed"; -opts.onCollapse.call(_11f,node); -} -}; -function _121(_122,_123){ -var hit=$(_123).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -_11e(_122,_123); -}else{ -_119(_122,_123); -} -}; -function _124(_125,_126){ -var _127=_fd(_125,_126); -if(_126){ -_127.unshift(_bf(_125,_126)); -} -for(var i=0;i<_127.length;i++){ -_119(_125,_127[i].target); -} -}; -function _128(_129,_12a){ -var _12b=[]; -var p=_12c(_129,_12a); -while(p){ -_12b.unshift(p); -p=_12c(_129,p.target); -} -for(var i=0;i<_12b.length;i++){ -_119(_129,_12b[i].target); -} -}; -function _12d(_12e,_12f){ -var c=$(_12e).parent(); -while(c[0].tagName!="BODY"&&c.css("overflow-y")!="auto"){ -c=c.parent(); -} -var n=$(_12f); -var ntop=n.offset().top; -if(c[0].tagName!="BODY"){ -var ctop=c.offset().top; -if(ntopctop+c.outerHeight()-18){ -c.scrollTop(c.scrollTop()+ntop+n.outerHeight()-ctop-c.outerHeight()+18); -} -} -}else{ -c.scrollTop(ntop); -} -}; -function _130(_131,_132){ -var _133=_fd(_131,_132); -if(_132){ -_133.unshift(_bf(_131,_132)); -} -for(var i=0;i<_133.length;i++){ -_11e(_131,_133[i].target); -} -}; -function _134(_135,_136){ -var node=$(_136.parent); -var data=_136.data; -if(!data){ -return; -} -data=$.isArray(data)?data:[data]; -if(!data.length){ -return; -} -var ul; -if(node.length==0){ -ul=$(_135); -}else{ -if(_f9(_135,node[0])){ -var _137=node.find("span.tree-icon"); -_137.removeClass("tree-file").addClass("tree-folder tree-folder-open"); -var hit=$("").insertBefore(_137); -if(hit.prev().length){ -hit.prev().remove(); -} -} -ul=node.next(); -if(!ul.length){ -ul=$("
                    ").insertAfter(node); -} -} -_fe(_135,ul[0],data,true); -_f4(_135,ul.prev()); -}; -function _138(_139,_13a){ -var ref=_13a.before||_13a.after; -var _13b=_12c(_139,ref); -var data=_13a.data; -if(!data){ -return; -} -data=$.isArray(data)?data:[data]; -if(!data.length){ -return; -} -_134(_139,{parent:(_13b?_13b.target:null),data:data}); -var li=$(); -for(var i=0;i").prependTo(node); -node.next().remove(); -} -_105(_13d,_13f); -_f4(_13d,_13f.target); -} -_109(_13d,_13d); -function del(_140){ -var id=$(_140).attr("id"); -var _141=_12c(_13d,_140); -var cc=_141?_141.children:$.data(_13d,"tree").data; -for(var i=0;i=0;i--){ -_164.unshift(node.children[i]); -} -} -} -}; -function _165(_166,_167){ -var opts=$.data(_166,"tree").options; -var node=_bf(_166,_167); -if(opts.onBeforeSelect.call(_166,node)==false){ -return; -} -$(_166).find("div.tree-node-selected").removeClass("tree-node-selected"); -$(_167).addClass("tree-node-selected"); -opts.onSelect.call(_166,node); -}; -function _f9(_168,_169){ -return $(_169).children("span.tree-hit").length==0; -}; -function _16a(_16b,_16c){ -var opts=$.data(_16b,"tree").options; -var node=_bf(_16b,_16c); -if(opts.onBeforeEdit.call(_16b,node)==false){ -return; -} -$(_16c).css("position","relative"); -var nt=$(_16c).find(".tree-title"); -var _16d=nt.outerWidth(); -nt.empty(); -var _16e=$("").appendTo(nt); -_16e.val(node.text).focus(); -_16e.width(_16d+20); -_16e.height(document.compatMode=="CSS1Compat"?(18-(_16e.outerHeight()-_16e.height())):18); -_16e.bind("click",function(e){ -return false; -}).bind("mousedown",function(e){ -e.stopPropagation(); -}).bind("mousemove",function(e){ -e.stopPropagation(); -}).bind("keydown",function(e){ -if(e.keyCode==13){ -_16f(_16b,_16c); -return false; -}else{ -if(e.keyCode==27){ -_173(_16b,_16c); -return false; -} -} -}).bind("blur",function(e){ -e.stopPropagation(); -_16f(_16b,_16c); -}); -}; -function _16f(_170,_171){ -var opts=$.data(_170,"tree").options; -$(_171).css("position",""); -var _172=$(_171).find("input.tree-editor"); -var val=_172.val(); -_172.remove(); -var node=_bf(_170,_171); -node.text=val; -_105(_170,node); -opts.onAfterEdit.call(_170,node); -}; -function _173(_174,_175){ -var opts=$.data(_174,"tree").options; -$(_175).css("position",""); -$(_175).find("input.tree-editor").remove(); -var node=_bf(_174,_175); -_105(_174,node); -opts.onCancelEdit.call(_174,node); -}; -$.fn.tree=function(_176,_177){ -if(typeof _176=="string"){ -return $.fn.tree.methods[_176](this,_177); -} -var _176=_176||{}; -return this.each(function(){ -var _178=$.data(this,"tree"); -var opts; -if(_178){ -opts=$.extend(_178.options,_176); -_178.options=opts; -}else{ -opts=$.extend({},$.fn.tree.defaults,$.fn.tree.parseOptions(this),_176); -$.data(this,"tree",{options:opts,tree:_b4(this),data:[]}); -var data=$.fn.tree.parseData(this); -if(data.length){ -_fe(this,this,data); -} -} -_b7(this); -if(opts.data){ -_fe(this,this,opts.data); -} -_112(this,this); -}); -}; -$.fn.tree.methods={options:function(jq){ -return $.data(jq[0],"tree").options; -},loadData:function(jq,data){ -return jq.each(function(){ -_fe(this,this,data); -}); -},getNode:function(jq,_179){ -return _bf(jq[0],_179); -},getData:function(jq,_17a){ -return _158(jq[0],_17a); -},reload:function(jq,_17b){ -return jq.each(function(){ -if(_17b){ -var node=$(_17b); -var hit=node.children("span.tree-hit"); -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -node.next().remove(); -_119(this,_17b); -}else{ -$(this).empty(); -_112(this,this); -} -}); -},getRoot:function(jq){ -return _145(jq[0]); -},getRoots:function(jq){ -return _148(jq[0]); -},getParent:function(jq,_17c){ -return _12c(jq[0],_17c); -},getChildren:function(jq,_17d){ -return _fd(jq[0],_17d); -},getChecked:function(jq,_17e){ -return _151(jq[0],_17e); -},getSelected:function(jq){ -return _156(jq[0]); -},isLeaf:function(jq,_17f){ -return _f9(jq[0],_17f); -},find:function(jq,id){ -return _15d(jq[0],id); -},select:function(jq,_180){ -return jq.each(function(){ -_165(this,_180); -}); -},check:function(jq,_181){ -return jq.each(function(){ -_e5(this,_181,true); -}); -},uncheck:function(jq,_182){ -return jq.each(function(){ -_e5(this,_182,false); -}); -},collapse:function(jq,_183){ -return jq.each(function(){ -_11e(this,_183); -}); -},expand:function(jq,_184){ -return jq.each(function(){ -_119(this,_184); -}); -},collapseAll:function(jq,_185){ -return jq.each(function(){ -_130(this,_185); -}); -},expandAll:function(jq,_186){ -return jq.each(function(){ -_124(this,_186); -}); -},expandTo:function(jq,_187){ -return jq.each(function(){ -_128(this,_187); -}); -},scrollTo:function(jq,_188){ -return jq.each(function(){ -_12d(this,_188); -}); -},toggle:function(jq,_189){ -return jq.each(function(){ -_121(this,_189); -}); -},append:function(jq,_18a){ -return jq.each(function(){ -_134(this,_18a); -}); -},insert:function(jq,_18b){ -return jq.each(function(){ -_138(this,_18b); -}); -},remove:function(jq,_18c){ -return jq.each(function(){ -_13c(this,_18c); -}); -},pop:function(jq,_18d){ -var node=jq.tree("getData",_18d); -jq.tree("remove",_18d); -return node; -},update:function(jq,_18e){ -return jq.each(function(){ -_105(this,_18e); -}); -},enableDnd:function(jq){ -return jq.each(function(){ -_c4(this); -}); -},disableDnd:function(jq){ -return jq.each(function(){ -_c0(this); -}); -},beginEdit:function(jq,_18f){ -return jq.each(function(){ -_16a(this,_18f); -}); -},endEdit:function(jq,_190){ -return jq.each(function(){ -_16f(this,_190); -}); -},cancelEdit:function(jq,_191){ -return jq.each(function(){ -_173(this,_191); -}); -}}; -$.fn.tree.parseOptions=function(_192){ -var t=$(_192); -return $.extend({},$.parser.parseOptions(_192,["url","method",{checkbox:"boolean",cascadeCheck:"boolean",onlyLeafCheck:"boolean"},{animate:"boolean",lines:"boolean",dnd:"boolean"}])); -}; -$.fn.tree.parseData=function(_193){ -var data=[]; -_194(data,$(_193)); -return data; -function _194(aa,tree){ -tree.children("li").each(function(){ -var node=$(this); -var item=$.extend({},$.parser.parseOptions(this,["id","iconCls","state"]),{checked:(node.attr("checked")?true:undefined)}); -item.text=node.children("span").html(); -if(!item.text){ -item.text=node.html(); -} -var _195=node.children("ul"); -if(_195.length){ -item.children=[]; -_194(item.children,_195); -} -aa.push(item); -}); -}; -}; -var _196=1; -var _197={render:function(_198,ul,data){ -var opts=$.data(_198,"tree").options; -var _199=$(ul).prev("div.tree-node").find("span.tree-indent, span.tree-hit").length; -var cc=_19a(_199,data); -$(ul).append(cc.join("")); -function _19a(_19b,_19c){ -var cc=[]; -for(var i=0;i<_19c.length;i++){ -var item=_19c[i]; -if(item.state!="open"&&item.state!="closed"){ -item.state="open"; -} -item.domId="_easyui_tree_"+_196++; -cc.push("
                  • "); -cc.push("
                    "); -for(var j=0;j<_19b;j++){ -cc.push(""); -} -if(item.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(item.children&&item.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -} -} -if(opts.checkbox){ -if((!opts.onlyLeafCheck)||(opts.onlyLeafCheck&&(!item.children||!item.children.length))){ -cc.push(""); -} -} -cc.push(""+opts.formatter.call(_198,item)+""); -cc.push("
                    "); -if(item.children&&item.children.length){ -var tmp=_19a(_19b+1,item.children); -cc.push("
                      "); -cc=cc.concat(tmp); -cc.push("
                    "); -} -cc.push("
                  • "); -} -return cc; -}; -}}; -$.fn.tree.defaults={url:null,method:"post",animate:false,checkbox:false,cascadeCheck:true,onlyLeafCheck:false,lines:false,dnd:false,data:null,formatter:function(node){ -return node.text; -},loader:function(_19d,_19e,_19f){ -var opts=$(this).tree("options"); -if(!opts.url){ -return false; -} -$.ajax({type:opts.method,url:opts.url,data:_19d,dataType:"json",success:function(data){ -_19e(data); -},error:function(){ -_19f.apply(this,arguments); -}}); -},loadFilter:function(data,_1a0){ -return data; -},view:_197,onBeforeLoad:function(node,_1a1){ -},onLoadSuccess:function(node,data){ -},onLoadError:function(){ -},onClick:function(node){ -},onDblClick:function(node){ -},onBeforeExpand:function(node){ -},onExpand:function(node){ -},onBeforeCollapse:function(node){ -},onCollapse:function(node){ -},onBeforeCheck:function(node,_1a2){ -},onCheck:function(node,_1a3){ -},onBeforeSelect:function(node){ -},onSelect:function(node){ -},onContextMenu:function(e,node){ -},onBeforeDrag:function(node){ -},onStartDrag:function(node){ -},onStopDrag:function(node){ -},onDragEnter:function(_1a4,_1a5){ -},onDragOver:function(_1a6,_1a7){ -},onDragLeave:function(_1a8,_1a9){ -},onBeforeDrop:function(_1aa,_1ab,_1ac){ -},onDrop:function(_1ad,_1ae,_1af){ -},onBeforeEdit:function(node){ -},onAfterEdit:function(node){ -},onCancelEdit:function(node){ -}}; -})(jQuery); -(function($){ -function init(_1b0){ -$(_1b0).addClass("progressbar"); -$(_1b0).html("
                    "); -return $(_1b0); -}; -function _1b1(_1b2,_1b3){ -var opts=$.data(_1b2,"progressbar").options; -var bar=$.data(_1b2,"progressbar").bar; -if(_1b3){ -opts.width=_1b3; -} -bar._outerWidth(opts.width)._outerHeight(opts.height); -bar.find("div.progressbar-text").width(bar.width()); -bar.find("div.progressbar-text,div.progressbar-value").css({height:bar.height()+"px",lineHeight:bar.height()+"px"}); -}; -$.fn.progressbar=function(_1b4,_1b5){ -if(typeof _1b4=="string"){ -var _1b6=$.fn.progressbar.methods[_1b4]; -if(_1b6){ -return _1b6(this,_1b5); -} -} -_1b4=_1b4||{}; -return this.each(function(){ -var _1b7=$.data(this,"progressbar"); -if(_1b7){ -$.extend(_1b7.options,_1b4); -}else{ -_1b7=$.data(this,"progressbar",{options:$.extend({},$.fn.progressbar.defaults,$.fn.progressbar.parseOptions(this),_1b4),bar:init(this)}); -} -$(this).progressbar("setValue",_1b7.options.value); -_1b1(this); -}); -}; -$.fn.progressbar.methods={options:function(jq){ -return $.data(jq[0],"progressbar").options; -},resize:function(jq,_1b8){ -return jq.each(function(){ -_1b1(this,_1b8); -}); -},getValue:function(jq){ -return $.data(jq[0],"progressbar").options.value; -},setValue:function(jq,_1b9){ -if(_1b9<0){ -_1b9=0; -} -if(_1b9>100){ -_1b9=100; -} -return jq.each(function(){ -var opts=$.data(this,"progressbar").options; -var text=opts.text.replace(/{value}/,_1b9); -var _1ba=opts.value; -opts.value=_1b9; -$(this).find("div.progressbar-value").width(_1b9+"%"); -$(this).find("div.progressbar-text").html(text); -if(_1ba!=_1b9){ -opts.onChange.call(this,_1b9,_1ba); -} -}); -}}; -$.fn.progressbar.parseOptions=function(_1bb){ -return $.extend({},$.parser.parseOptions(_1bb,["width","height","text",{value:"number"}])); -}; -$.fn.progressbar.defaults={width:"auto",height:22,value:0,text:"{value}%",onChange:function(_1bc,_1bd){ -}}; -})(jQuery); -(function($){ -function init(_1be){ -$(_1be).addClass("tooltip-f"); -}; -function _1bf(_1c0){ -var opts=$.data(_1c0,"tooltip").options; -$(_1c0).unbind(".tooltip").bind(opts.showEvent+".tooltip",function(e){ -_1c7(_1c0,e); -}).bind(opts.hideEvent+".tooltip",function(e){ -_1cd(_1c0,e); -}).bind("mousemove.tooltip",function(e){ -if(opts.trackMouse){ -opts.trackMouseX=e.pageX; -opts.trackMouseY=e.pageY; -_1c1(_1c0); -} -}); -}; -function _1c2(_1c3){ -var _1c4=$.data(_1c3,"tooltip"); -if(_1c4.showTimer){ -clearTimeout(_1c4.showTimer); -_1c4.showTimer=null; -} -if(_1c4.hideTimer){ -clearTimeout(_1c4.hideTimer); -_1c4.hideTimer=null; -} -}; -function _1c1(_1c5){ -var _1c6=$.data(_1c5,"tooltip"); -if(!_1c6||!_1c6.tip){ -return; -} -var opts=_1c6.options; -var tip=_1c6.tip; -if(opts.trackMouse){ -t=$(); -var left=opts.trackMouseX+opts.deltaX; -var top=opts.trackMouseY+opts.deltaY; -}else{ -var t=$(_1c5); -var left=t.offset().left+opts.deltaX; -var top=t.offset().top+opts.deltaY; -} -switch(opts.position){ -case "right": -left+=t._outerWidth()+12+(opts.trackMouse?12:0); -top-=(tip._outerHeight()-t._outerHeight())/2; -break; -case "left": -left-=tip._outerWidth()+12+(opts.trackMouse?12:0); -top-=(tip._outerHeight()-t._outerHeight())/2; -break; -case "top": -left-=(tip._outerWidth()-t._outerWidth())/2; -top-=tip._outerHeight()+12+(opts.trackMouse?12:0); -break; -case "bottom": -left-=(tip._outerWidth()-t._outerWidth())/2; -top+=t._outerHeight()+12+(opts.trackMouse?12:0); -break; -} -if(!$(_1c5).is(":visible")){ -left=-100000; -top=-100000; -} -tip.css({left:left,top:top,zIndex:(opts.zIndex!=undefined?opts.zIndex:($.fn.window?$.fn.window.defaults.zIndex++:""))}); -opts.onPosition.call(_1c5,left,top); -}; -function _1c7(_1c8,e){ -var _1c9=$.data(_1c8,"tooltip"); -var opts=_1c9.options; -var tip=_1c9.tip; -if(!tip){ -tip=$("
                    "+"
                    "+"
                    "+"
                    "+"
                    ").appendTo("body"); -_1c9.tip=tip; -_1ca(_1c8); -} -tip.removeClass("tooltip-top tooltip-bottom tooltip-left tooltip-right").addClass("tooltip-"+opts.position); -_1c2(_1c8); -_1c9.showTimer=setTimeout(function(){ -_1c1(_1c8); -tip.show(); -opts.onShow.call(_1c8,e); -var _1cb=tip.children(".tooltip-arrow-outer"); -var _1cc=tip.children(".tooltip-arrow"); -var bc="border-"+opts.position+"-color"; -_1cb.add(_1cc).css({borderTopColor:"",borderBottomColor:"",borderLeftColor:"",borderRightColor:""}); -_1cb.css(bc,tip.css(bc)); -_1cc.css(bc,tip.css("backgroundColor")); -},opts.showDelay); -}; -function _1cd(_1ce,e){ -var _1cf=$.data(_1ce,"tooltip"); -if(_1cf&&_1cf.tip){ -_1c2(_1ce); -_1cf.hideTimer=setTimeout(function(){ -_1cf.tip.hide(); -_1cf.options.onHide.call(_1ce,e); -},_1cf.options.hideDelay); -} -}; -function _1ca(_1d0,_1d1){ -var _1d2=$.data(_1d0,"tooltip"); -var opts=_1d2.options; -if(_1d1){ -opts.content=_1d1; -} -if(!_1d2.tip){ -return; -} -var cc=typeof opts.content=="function"?opts.content.call(_1d0):opts.content; -_1d2.tip.children(".tooltip-content").html(cc); -opts.onUpdate.call(_1d0,cc); -}; -function _1d3(_1d4){ -var _1d5=$.data(_1d4,"tooltip"); -if(_1d5){ -_1c2(_1d4); -var opts=_1d5.options; -if(_1d5.tip){ -_1d5.tip.remove(); -} -if(opts._title){ -$(_1d4).attr("title",opts._title); -} -$.removeData(_1d4,"tooltip"); -$(_1d4).unbind(".tooltip").removeClass("tooltip-f"); -opts.onDestroy.call(_1d4); -} -}; -$.fn.tooltip=function(_1d6,_1d7){ -if(typeof _1d6=="string"){ -return $.fn.tooltip.methods[_1d6](this,_1d7); -} -_1d6=_1d6||{}; -return this.each(function(){ -var _1d8=$.data(this,"tooltip"); -if(_1d8){ -$.extend(_1d8.options,_1d6); -}else{ -$.data(this,"tooltip",{options:$.extend({},$.fn.tooltip.defaults,$.fn.tooltip.parseOptions(this),_1d6)}); -init(this); -} -_1bf(this); -_1ca(this); -}); -}; -$.fn.tooltip.methods={options:function(jq){ -return $.data(jq[0],"tooltip").options; -},tip:function(jq){ -return $.data(jq[0],"tooltip").tip; -},arrow:function(jq){ -return jq.tooltip("tip").children(".tooltip-arrow-outer,.tooltip-arrow"); -},show:function(jq,e){ -return jq.each(function(){ -_1c7(this,e); -}); -},hide:function(jq,e){ -return jq.each(function(){ -_1cd(this,e); -}); -},update:function(jq,_1d9){ -return jq.each(function(){ -_1ca(this,_1d9); -}); -},reposition:function(jq){ -return jq.each(function(){ -_1c1(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_1d3(this); -}); -}}; -$.fn.tooltip.parseOptions=function(_1da){ -var t=$(_1da); -var opts=$.extend({},$.parser.parseOptions(_1da,["position","showEvent","hideEvent","content",{deltaX:"number",deltaY:"number",showDelay:"number",hideDelay:"number"}]),{_title:t.attr("title")}); -t.attr("title",""); -if(!opts.content){ -opts.content=opts._title; -} -return opts; -}; -$.fn.tooltip.defaults={position:"bottom",content:null,trackMouse:false,deltaX:0,deltaY:0,showEvent:"mouseenter",hideEvent:"mouseleave",showDelay:200,hideDelay:100,onShow:function(e){ -},onHide:function(e){ -},onUpdate:function(_1db){ -},onPosition:function(left,top){ -},onDestroy:function(){ -}}; -})(jQuery); -(function($){ -$.fn._remove=function(){ -return this.each(function(){ -$(this).remove(); -try{ -this.outerHTML=""; -} -catch(err){ -} -}); -}; -function _1dc(node){ -node._remove(); -}; -function _1dd(_1de,_1df){ -var opts=$.data(_1de,"panel").options; -var _1e0=$.data(_1de,"panel").panel; -var _1e1=_1e0.children("div.panel-header"); -var _1e2=_1e0.children("div.panel-body"); -if(_1df){ -$.extend(opts,{width:_1df.width,height:_1df.height,left:_1df.left,top:_1df.top}); -} -opts.fit?$.extend(opts,_1e0._fit()):_1e0._fit(false); -_1e0.css({left:opts.left,top:opts.top}); -if(!isNaN(opts.width)){ -_1e0._outerWidth(opts.width); -}else{ -_1e0.width("auto"); -} -_1e1.add(_1e2)._outerWidth(_1e0.width()); -if(!isNaN(opts.height)){ -_1e0._outerHeight(opts.height); -_1e2._outerHeight(_1e0.height()-_1e1._outerHeight()); -}else{ -_1e2.height("auto"); -} -_1e0.css("height",""); -opts.onResize.apply(_1de,[opts.width,opts.height]); -$(_1de).find(">div,>form>div").triggerHandler("_resize"); -}; -function _1e3(_1e4,_1e5){ -var opts=$.data(_1e4,"panel").options; -var _1e6=$.data(_1e4,"panel").panel; -if(_1e5){ -if(_1e5.left!=null){ -opts.left=_1e5.left; -} -if(_1e5.top!=null){ -opts.top=_1e5.top; -} -} -_1e6.css({left:opts.left,top:opts.top}); -opts.onMove.apply(_1e4,[opts.left,opts.top]); -}; -function _1e7(_1e8){ -$(_1e8).addClass("panel-body"); -var _1e9=$("
                    ").insertBefore(_1e8); -_1e9[0].appendChild(_1e8); -_1e9.bind("_resize",function(){ -var opts=$.data(_1e8,"panel").options; -if(opts.fit==true){ -_1dd(_1e8); -} -return false; -}); -return _1e9; -}; -function _1ea(_1eb){ -var opts=$.data(_1eb,"panel").options; -var _1ec=$.data(_1eb,"panel").panel; -if(opts.tools&&typeof opts.tools=="string"){ -_1ec.find(">div.panel-header>div.panel-tool .panel-tool-a").appendTo(opts.tools); -} -_1dc(_1ec.children("div.panel-header")); -if(opts.title&&!opts.noheader){ -var _1ed=$("
                    "+opts.title+"
                    ").prependTo(_1ec); -if(opts.iconCls){ -_1ed.find(".panel-title").addClass("panel-with-icon"); -$("
                    ").addClass(opts.iconCls).appendTo(_1ed); -} -var tool=$("
                    ").appendTo(_1ed); -tool.bind("click",function(e){ -e.stopPropagation(); -}); -if(opts.tools){ -if($.isArray(opts.tools)){ -for(var i=0;i").addClass(opts.tools[i].iconCls).appendTo(tool); -if(opts.tools[i].handler){ -t.bind("click",eval(opts.tools[i].handler)); -} -} -}else{ -$(opts.tools).children().each(function(){ -$(this).addClass($(this).attr("iconCls")).addClass("panel-tool-a").appendTo(tool); -}); -} -} -if(opts.collapsible){ -$("").appendTo(tool).bind("click",function(){ -if(opts.collapsed==true){ -_208(_1eb,true); -}else{ -_1fd(_1eb,true); -} -return false; -}); -} -if(opts.minimizable){ -$("").appendTo(tool).bind("click",function(){ -_20e(_1eb); -return false; -}); -} -if(opts.maximizable){ -$("").appendTo(tool).bind("click",function(){ -if(opts.maximized==true){ -_211(_1eb); -}else{ -_1fc(_1eb); -} -return false; -}); -} -if(opts.closable){ -$("").appendTo(tool).bind("click",function(){ -_1ee(_1eb); -return false; -}); -} -_1ec.children("div.panel-body").removeClass("panel-body-noheader"); -}else{ -_1ec.children("div.panel-body").addClass("panel-body-noheader"); -} -}; -function _1ef(_1f0){ -var _1f1=$.data(_1f0,"panel"); -var opts=_1f1.options; -if(opts.href){ -if(!_1f1.isLoaded||!opts.cache){ -if(opts.onBeforeLoad.call(_1f0)==false){ -return; -} -_1f1.isLoaded=false; -_1f2(_1f0); -if(opts.loadingMessage){ -$(_1f0).html($("
                    ").html(opts.loadingMessage)); -} -$.ajax({url:opts.href,cache:false,dataType:"html",success:function(data){ -_1f3(opts.extractor.call(_1f0,data)); -opts.onLoad.apply(_1f0,arguments); -_1f1.isLoaded=true; -}}); -} -}else{ -if(opts.content){ -if(!_1f1.isLoaded){ -_1f2(_1f0); -_1f3(opts.content); -_1f1.isLoaded=true; -} -} -} -function _1f3(_1f4){ -$(_1f0).html(_1f4); -if($.parser){ -$.parser.parse($(_1f0)); -} -}; -}; -function _1f2(_1f5){ -var t=$(_1f5); -t.find(".combo-f").each(function(){ -$(this).combo("destroy"); -}); -t.find(".m-btn").each(function(){ -$(this).menubutton("destroy"); -}); -t.find(".s-btn").each(function(){ -$(this).splitbutton("destroy"); -}); -t.find(".tooltip-f").each(function(){ -$(this).tooltip("destroy"); -}); -}; -function _1f6(_1f7){ -$(_1f7).find("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible").each(function(){ -$(this).triggerHandler("_resize",[true]); -}); -}; -function _1f8(_1f9,_1fa){ -var opts=$.data(_1f9,"panel").options; -var _1fb=$.data(_1f9,"panel").panel; -if(_1fa!=true){ -if(opts.onBeforeOpen.call(_1f9)==false){ -return; -} -} -_1fb.show(); -opts.closed=false; -opts.minimized=false; -var tool=_1fb.children("div.panel-header").find("a.panel-tool-restore"); -if(tool.length){ -opts.maximized=true; -} -opts.onOpen.call(_1f9); -if(opts.maximized==true){ -opts.maximized=false; -_1fc(_1f9); -} -if(opts.collapsed==true){ -opts.collapsed=false; -_1fd(_1f9); -} -if(!opts.collapsed){ -_1ef(_1f9); -_1f6(_1f9); -} -}; -function _1ee(_1fe,_1ff){ -var opts=$.data(_1fe,"panel").options; -var _200=$.data(_1fe,"panel").panel; -if(_1ff!=true){ -if(opts.onBeforeClose.call(_1fe)==false){ -return; -} -} -_200._fit(false); -_200.hide(); -opts.closed=true; -opts.onClose.call(_1fe); -}; -function _201(_202,_203){ -var opts=$.data(_202,"panel").options; -var _204=$.data(_202,"panel").panel; -if(_203!=true){ -if(opts.onBeforeDestroy.call(_202)==false){ -return; -} -} -_1f2(_202); -_1dc(_204); -opts.onDestroy.call(_202); -}; -function _1fd(_205,_206){ -var opts=$.data(_205,"panel").options; -var _207=$.data(_205,"panel").panel; -var body=_207.children("div.panel-body"); -var tool=_207.children("div.panel-header").find("a.panel-tool-collapse"); -if(opts.collapsed==true){ -return; -} -body.stop(true,true); -if(opts.onBeforeCollapse.call(_205)==false){ -return; -} -tool.addClass("panel-tool-expand"); -if(_206==true){ -body.slideUp("normal",function(){ -opts.collapsed=true; -opts.onCollapse.call(_205); -}); -}else{ -body.hide(); -opts.collapsed=true; -opts.onCollapse.call(_205); -} -}; -function _208(_209,_20a){ -var opts=$.data(_209,"panel").options; -var _20b=$.data(_209,"panel").panel; -var body=_20b.children("div.panel-body"); -var tool=_20b.children("div.panel-header").find("a.panel-tool-collapse"); -if(opts.collapsed==false){ -return; -} -body.stop(true,true); -if(opts.onBeforeExpand.call(_209)==false){ -return; -} -tool.removeClass("panel-tool-expand"); -if(_20a==true){ -body.slideDown("normal",function(){ -opts.collapsed=false; -opts.onExpand.call(_209); -_1ef(_209); -_1f6(_209); -}); -}else{ -body.show(); -opts.collapsed=false; -opts.onExpand.call(_209); -_1ef(_209); -_1f6(_209); -} -}; -function _1fc(_20c){ -var opts=$.data(_20c,"panel").options; -var _20d=$.data(_20c,"panel").panel; -var tool=_20d.children("div.panel-header").find("a.panel-tool-max"); -if(opts.maximized==true){ -return; -} -tool.addClass("panel-tool-restore"); -if(!$.data(_20c,"panel").original){ -$.data(_20c,"panel").original={width:opts.width,height:opts.height,left:opts.left,top:opts.top,fit:opts.fit}; -} -opts.left=0; -opts.top=0; -opts.fit=true; -_1dd(_20c); -opts.minimized=false; -opts.maximized=true; -opts.onMaximize.call(_20c); -}; -function _20e(_20f){ -var opts=$.data(_20f,"panel").options; -var _210=$.data(_20f,"panel").panel; -_210._fit(false); -_210.hide(); -opts.minimized=true; -opts.maximized=false; -opts.onMinimize.call(_20f); -}; -function _211(_212){ -var opts=$.data(_212,"panel").options; -var _213=$.data(_212,"panel").panel; -var tool=_213.children("div.panel-header").find("a.panel-tool-max"); -if(opts.maximized==false){ -return; -} -_213.show(); -tool.removeClass("panel-tool-restore"); -$.extend(opts,$.data(_212,"panel").original); -_1dd(_212); -opts.minimized=false; -opts.maximized=false; -$.data(_212,"panel").original=null; -opts.onRestore.call(_212); -}; -function _214(_215){ -var opts=$.data(_215,"panel").options; -var _216=$.data(_215,"panel").panel; -var _217=$(_215).panel("header"); -var body=$(_215).panel("body"); -_216.css(opts.style); -_216.addClass(opts.cls); -if(opts.border){ -_217.removeClass("panel-header-noborder"); -body.removeClass("panel-body-noborder"); -}else{ -_217.addClass("panel-header-noborder"); -body.addClass("panel-body-noborder"); -} -_217.addClass(opts.headerCls); -body.addClass(opts.bodyCls); -if(opts.id){ -$(_215).attr("id",opts.id); -}else{ -$(_215).attr("id",""); -} -}; -function _218(_219,_21a){ -$.data(_219,"panel").options.title=_21a; -$(_219).panel("header").find("div.panel-title").html(_21a); -}; -var TO=false; -var _21b=true; -$(window).unbind(".panel").bind("resize.panel",function(){ -if(!_21b){ -return; -} -if(TO!==false){ -clearTimeout(TO); -} -TO=setTimeout(function(){ -_21b=false; -var _21c=$("body.layout"); -if(_21c.length){ -_21c.layout("resize"); -}else{ -$("body").children("div.panel,div.accordion,div.tabs-container,div.layout").triggerHandler("_resize"); -} -_21b=true; -TO=false; -},200); -}); -$.fn.panel=function(_21d,_21e){ -if(typeof _21d=="string"){ -return $.fn.panel.methods[_21d](this,_21e); -} -_21d=_21d||{}; -return this.each(function(){ -var _21f=$.data(this,"panel"); -var opts; -if(_21f){ -opts=$.extend(_21f.options,_21d); -_21f.isLoaded=false; -}else{ -opts=$.extend({},$.fn.panel.defaults,$.fn.panel.parseOptions(this),_21d); -$(this).attr("title",""); -_21f=$.data(this,"panel",{options:opts,panel:_1e7(this),isLoaded:false}); -} -_1ea(this); -_214(this); -if(opts.doSize==true){ -_21f.panel.css("display","block"); -_1dd(this); -} -if(opts.closed==true||opts.minimized==true){ -_21f.panel.hide(); -}else{ -_1f8(this); -} -}); -}; -$.fn.panel.methods={options:function(jq){ -return $.data(jq[0],"panel").options; -},panel:function(jq){ -return $.data(jq[0],"panel").panel; -},header:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-header"); -},body:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-body"); -},setTitle:function(jq,_220){ -return jq.each(function(){ -_218(this,_220); -}); -},open:function(jq,_221){ -return jq.each(function(){ -_1f8(this,_221); -}); -},close:function(jq,_222){ -return jq.each(function(){ -_1ee(this,_222); -}); -},destroy:function(jq,_223){ -return jq.each(function(){ -_201(this,_223); -}); -},refresh:function(jq,href){ -return jq.each(function(){ -$.data(this,"panel").isLoaded=false; -if(href){ -$.data(this,"panel").options.href=href; -} -_1ef(this); -}); -},resize:function(jq,_224){ -return jq.each(function(){ -_1dd(this,_224); -}); -},move:function(jq,_225){ -return jq.each(function(){ -_1e3(this,_225); -}); -},maximize:function(jq){ -return jq.each(function(){ -_1fc(this); -}); -},minimize:function(jq){ -return jq.each(function(){ -_20e(this); -}); -},restore:function(jq){ -return jq.each(function(){ -_211(this); -}); -},collapse:function(jq,_226){ -return jq.each(function(){ -_1fd(this,_226); -}); -},expand:function(jq,_227){ -return jq.each(function(){ -_208(this,_227); -}); -}}; -$.fn.panel.parseOptions=function(_228){ -var t=$(_228); -return $.extend({},$.parser.parseOptions(_228,["id","width","height","left","top","title","iconCls","cls","headerCls","bodyCls","tools","href",{cache:"boolean",fit:"boolean",border:"boolean",noheader:"boolean"},{collapsible:"boolean",minimizable:"boolean",maximizable:"boolean"},{closable:"boolean",collapsed:"boolean",minimized:"boolean",maximized:"boolean",closed:"boolean"}]),{loadingMessage:(t.attr("loadingMessage")!=undefined?t.attr("loadingMessage"):undefined)}); -}; -$.fn.panel.defaults={id:null,title:null,iconCls:null,width:"auto",height:"auto",left:null,top:null,cls:null,headerCls:null,bodyCls:null,style:{},href:null,cache:true,fit:false,border:true,doSize:true,noheader:false,content:null,collapsible:false,minimizable:false,maximizable:false,closable:false,collapsed:false,minimized:false,maximized:false,closed:false,tools:null,href:null,loadingMessage:"Loading...",extractor:function(data){ -var _229=/]*>((.|[\n\r])*)<\/body>/im; -var _22a=_229.exec(data); -if(_22a){ -return _22a[1]; -}else{ -return data; -} -},onBeforeLoad:function(){ -},onLoad:function(){ -},onBeforeOpen:function(){ -},onOpen:function(){ -},onBeforeClose:function(){ -},onClose:function(){ -},onBeforeDestroy:function(){ -},onDestroy:function(){ -},onResize:function(_22b,_22c){ -},onMove:function(left,top){ -},onMaximize:function(){ -},onRestore:function(){ -},onMinimize:function(){ -},onBeforeCollapse:function(){ -},onBeforeExpand:function(){ -},onCollapse:function(){ -},onExpand:function(){ -}}; -})(jQuery); -(function($){ -function _22d(_22e,_22f){ -var opts=$.data(_22e,"window").options; -if(_22f){ -$.extend(opts,_22f); -} -$(_22e).panel("resize",opts); -}; -function _230(_231,_232){ -var _233=$.data(_231,"window"); -if(_232){ -if(_232.left!=null){ -_233.options.left=_232.left; -} -if(_232.top!=null){ -_233.options.top=_232.top; -} -} -$(_231).panel("move",_233.options); -if(_233.shadow){ -_233.shadow.css({left:_233.options.left,top:_233.options.top}); -} -}; -function _234(_235,_236){ -var _237=$.data(_235,"window"); -var opts=_237.options; -var _238=opts.width; -if(isNaN(_238)){ -_238=_237.window._outerWidth(); -} -if(opts.inline){ -var _239=_237.window.parent(); -opts.left=(_239.width()-_238)/2+_239.scrollLeft(); -}else{ -opts.left=($(window)._outerWidth()-_238)/2+$(document).scrollLeft(); -} -if(_236){ -_230(_235); -} -}; -function _23a(_23b,_23c){ -var _23d=$.data(_23b,"window"); -var opts=_23d.options; -var _23e=opts.height; -if(isNaN(_23e)){ -_23e=_23d.window._outerHeight(); -} -if(opts.inline){ -var _23f=_23d.window.parent(); -opts.top=(_23f.height()-_23e)/2+_23f.scrollTop(); -}else{ -opts.top=($(window)._outerHeight()-_23e)/2+$(document).scrollTop(); -} -if(_23c){ -_230(_23b); -} -}; -function _240(_241){ -var _242=$.data(_241,"window"); -var win=$(_241).panel($.extend({},_242.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(_242.options.noheader?"window-body-noheader":""),onBeforeDestroy:function(){ -if(_242.options.onBeforeDestroy.call(_241)==false){ -return false; -} -if(_242.shadow){ -_242.shadow.remove(); -} -if(_242.mask){ -_242.mask.remove(); -} -},onClose:function(){ -if(_242.shadow){ -_242.shadow.hide(); -} -if(_242.mask){ -_242.mask.hide(); -} -_242.options.onClose.call(_241); -},onOpen:function(){ -if(_242.mask){ -_242.mask.css({display:"block",zIndex:$.fn.window.defaults.zIndex++}); -} -if(_242.shadow){ -_242.shadow.css({display:"block",zIndex:$.fn.window.defaults.zIndex++,left:_242.options.left,top:_242.options.top,width:_242.window._outerWidth(),height:_242.window._outerHeight()}); -} -_242.window.css("z-index",$.fn.window.defaults.zIndex++); -_242.options.onOpen.call(_241); -},onResize:function(_243,_244){ -var opts=$(this).panel("options"); -$.extend(_242.options,{width:opts.width,height:opts.height,left:opts.left,top:opts.top}); -if(_242.shadow){ -_242.shadow.css({left:_242.options.left,top:_242.options.top,width:_242.window._outerWidth(),height:_242.window._outerHeight()}); -} -_242.options.onResize.call(_241,_243,_244); -},onMinimize:function(){ -if(_242.shadow){ -_242.shadow.hide(); -} -if(_242.mask){ -_242.mask.hide(); -} -_242.options.onMinimize.call(_241); -},onBeforeCollapse:function(){ -if(_242.options.onBeforeCollapse.call(_241)==false){ -return false; -} -if(_242.shadow){ -_242.shadow.hide(); -} -},onExpand:function(){ -if(_242.shadow){ -_242.shadow.show(); -} -_242.options.onExpand.call(_241); -}})); -_242.window=win.panel("panel"); -if(_242.mask){ -_242.mask.remove(); -} -if(_242.options.modal==true){ -_242.mask=$("
                    ").insertAfter(_242.window); -_242.mask.css({width:(_242.options.inline?_242.mask.parent().width():_245().width),height:(_242.options.inline?_242.mask.parent().height():_245().height),display:"none"}); -} -if(_242.shadow){ -_242.shadow.remove(); -} -if(_242.options.shadow==true){ -_242.shadow=$("
                    ").insertAfter(_242.window); -_242.shadow.css({display:"none"}); -} -if(_242.options.left==null){ -_234(_241); -} -if(_242.options.top==null){ -_23a(_241); -} -_230(_241); -if(_242.options.closed==false){ -win.window("open"); -} -}; -function _246(_247){ -var _248=$.data(_247,"window"); -_248.window.draggable({handle:">div.panel-header>div.panel-title",disabled:_248.options.draggable==false,onStartDrag:function(e){ -if(_248.mask){ -_248.mask.css("z-index",$.fn.window.defaults.zIndex++); -} -if(_248.shadow){ -_248.shadow.css("z-index",$.fn.window.defaults.zIndex++); -} -_248.window.css("z-index",$.fn.window.defaults.zIndex++); -if(!_248.proxy){ -_248.proxy=$("
                    ").insertAfter(_248.window); -} -_248.proxy.css({display:"none",zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_248.proxy._outerWidth(_248.window._outerWidth()); -_248.proxy._outerHeight(_248.window._outerHeight()); -setTimeout(function(){ -if(_248.proxy){ -_248.proxy.show(); -} -},500); -},onDrag:function(e){ -_248.proxy.css({display:"block",left:e.data.left,top:e.data.top}); -return false; -},onStopDrag:function(e){ -_248.options.left=e.data.left; -_248.options.top=e.data.top; -$(_247).window("move"); -_248.proxy.remove(); -_248.proxy=null; -}}); -_248.window.resizable({disabled:_248.options.resizable==false,onStartResize:function(e){ -_248.pmask=$("
                    ").insertAfter(_248.window); -_248.pmask.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top,width:_248.window._outerWidth(),height:_248.window._outerHeight()}); -if(!_248.proxy){ -_248.proxy=$("
                    ").insertAfter(_248.window); -} -_248.proxy.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_248.proxy._outerWidth(e.data.width); -_248.proxy._outerHeight(e.data.height); -},onResize:function(e){ -_248.proxy.css({left:e.data.left,top:e.data.top}); -_248.proxy._outerWidth(e.data.width); -_248.proxy._outerHeight(e.data.height); -return false; -},onStopResize:function(e){ -$.extend(_248.options,{left:e.data.left,top:e.data.top,width:e.data.width,height:e.data.height}); -_22d(_247); -_248.pmask.remove(); -_248.pmask=null; -_248.proxy.remove(); -_248.proxy=null; -}}); -}; -function _245(){ -if(document.compatMode=="BackCompat"){ -return {width:Math.max(document.body.scrollWidth,document.body.clientWidth),height:Math.max(document.body.scrollHeight,document.body.clientHeight)}; -}else{ -return {width:Math.max(document.documentElement.scrollWidth,document.documentElement.clientWidth),height:Math.max(document.documentElement.scrollHeight,document.documentElement.clientHeight)}; -} -}; -$(window).resize(function(){ -$("body>div.window-mask").css({width:$(window)._outerWidth(),height:$(window)._outerHeight()}); -setTimeout(function(){ -$("body>div.window-mask").css({width:_245().width,height:_245().height}); -},50); -}); -$.fn.window=function(_249,_24a){ -if(typeof _249=="string"){ -var _24b=$.fn.window.methods[_249]; -if(_24b){ -return _24b(this,_24a); -}else{ -return this.panel(_249,_24a); -} -} -_249=_249||{}; -return this.each(function(){ -var _24c=$.data(this,"window"); -if(_24c){ -$.extend(_24c.options,_249); -}else{ -_24c=$.data(this,"window",{options:$.extend({},$.fn.window.defaults,$.fn.window.parseOptions(this),_249)}); -if(!_24c.options.inline){ -document.body.appendChild(this); -} -} -_240(this); -_246(this); -}); -}; -$.fn.window.methods={options:function(jq){ -var _24d=jq.panel("options"); -var _24e=$.data(jq[0],"window").options; -return $.extend(_24e,{closed:_24d.closed,collapsed:_24d.collapsed,minimized:_24d.minimized,maximized:_24d.maximized}); -},window:function(jq){ -return $.data(jq[0],"window").window; -},resize:function(jq,_24f){ -return jq.each(function(){ -_22d(this,_24f); -}); -},move:function(jq,_250){ -return jq.each(function(){ -_230(this,_250); -}); -},hcenter:function(jq){ -return jq.each(function(){ -_234(this,true); -}); -},vcenter:function(jq){ -return jq.each(function(){ -_23a(this,true); -}); -},center:function(jq){ -return jq.each(function(){ -_234(this); -_23a(this); -_230(this); -}); -}}; -$.fn.window.parseOptions=function(_251){ -return $.extend({},$.fn.panel.parseOptions(_251),$.parser.parseOptions(_251,[{draggable:"boolean",resizable:"boolean",shadow:"boolean",modal:"boolean",inline:"boolean"}])); -}; -$.fn.window.defaults=$.extend({},$.fn.panel.defaults,{zIndex:9000,draggable:true,resizable:true,shadow:true,modal:false,inline:false,title:"New Window",collapsible:true,minimizable:true,maximizable:true,closable:true,closed:false}); -})(jQuery); -(function($){ -function _252(_253){ -var cp=document.createElement("div"); -while(_253.firstChild){ -cp.appendChild(_253.firstChild); -} -_253.appendChild(cp); -var _254=$(cp); -_254.attr("style",$(_253).attr("style")); -$(_253).removeAttr("style").css("overflow","hidden"); -_254.panel({border:false,doSize:false,bodyCls:"dialog-content"}); -return _254; -}; -function _255(_256){ -var opts=$.data(_256,"dialog").options; -var _257=$.data(_256,"dialog").contentPanel; -if(opts.toolbar){ -if($.isArray(opts.toolbar)){ -$(_256).find("div.dialog-toolbar").remove(); -var _258=$("
                    ").prependTo(_256); -var tr=_258.find("tr"); -for(var i=0;i
                    ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var tool=$("").appendTo(td); -tool[0].onclick=eval(btn.handler||function(){ -}); -tool.linkbutton($.extend({},btn,{plain:true})); -} -} -}else{ -$(opts.toolbar).addClass("dialog-toolbar").prependTo(_256); -$(opts.toolbar).show(); -} -}else{ -$(_256).find("div.dialog-toolbar").remove(); -} -if(opts.buttons){ -if($.isArray(opts.buttons)){ -$(_256).find("div.dialog-button").remove(); -var _259=$("
                    ").appendTo(_256); -for(var i=0;i").appendTo(_259); -if(p.handler){ -_25a[0].onclick=p.handler; -} -_25a.linkbutton(p); -} -}else{ -$(opts.buttons).addClass("dialog-button").appendTo(_256); -$(opts.buttons).show(); -} -}else{ -$(_256).find("div.dialog-button").remove(); -} -var _25b=opts.href; -var _25c=opts.content; -opts.href=null; -opts.content=null; -_257.panel({closed:opts.closed,cache:opts.cache,href:_25b,content:_25c,onLoad:function(){ -if(opts.height=="auto"){ -$(_256).window("resize"); -} -opts.onLoad.apply(_256,arguments); -}}); -$(_256).window($.extend({},opts,{onOpen:function(){ -if(_257.panel("options").closed){ -_257.panel("open"); -} -if(opts.onOpen){ -opts.onOpen.call(_256); -} -},onResize:function(_25d,_25e){ -var _25f=$(_256); -_257.panel("panel").show(); -_257.panel("resize",{width:_25f.width(),height:(_25e=="auto")?"auto":_25f.height()-_25f.children("div.dialog-toolbar")._outerHeight()-_25f.children("div.dialog-button")._outerHeight()}); -if(opts.onResize){ -opts.onResize.call(_256,_25d,_25e); -} -}})); -opts.href=_25b; -opts.content=_25c; -}; -function _260(_261,href){ -var _262=$.data(_261,"dialog").contentPanel; -_262.panel("refresh",href); -}; -$.fn.dialog=function(_263,_264){ -if(typeof _263=="string"){ -var _265=$.fn.dialog.methods[_263]; -if(_265){ -return _265(this,_264); -}else{ -return this.window(_263,_264); -} -} -_263=_263||{}; -return this.each(function(){ -var _266=$.data(this,"dialog"); -if(_266){ -$.extend(_266.options,_263); -}else{ -$.data(this,"dialog",{options:$.extend({},$.fn.dialog.defaults,$.fn.dialog.parseOptions(this),_263),contentPanel:_252(this)}); -} -_255(this); -}); -}; -$.fn.dialog.methods={options:function(jq){ -var _267=$.data(jq[0],"dialog").options; -var _268=jq.panel("options"); -$.extend(_267,{closed:_268.closed,collapsed:_268.collapsed,minimized:_268.minimized,maximized:_268.maximized}); -var _269=$.data(jq[0],"dialog").contentPanel; -return _267; -},dialog:function(jq){ -return jq.window("window"); -},refresh:function(jq,href){ -return jq.each(function(){ -_260(this,href); -}); -}}; -$.fn.dialog.parseOptions=function(_26a){ -return $.extend({},$.fn.window.parseOptions(_26a),$.parser.parseOptions(_26a,["toolbar","buttons"])); -}; -$.fn.dialog.defaults=$.extend({},$.fn.window.defaults,{title:"New Dialog",collapsible:false,minimizable:false,maximizable:false,resizable:false,toolbar:null,buttons:null}); -})(jQuery); -(function($){ -function show(el,type,_26b,_26c){ -var win=$(el).window("window"); -if(!win){ -return; -} -switch(type){ -case null: -win.show(); -break; -case "slide": -win.slideDown(_26b); -break; -case "fade": -win.fadeIn(_26b); -break; -case "show": -win.show(_26b); -break; -} -var _26d=null; -if(_26c>0){ -_26d=setTimeout(function(){ -hide(el,type,_26b); -},_26c); -} -win.hover(function(){ -if(_26d){ -clearTimeout(_26d); -} -},function(){ -if(_26c>0){ -_26d=setTimeout(function(){ -hide(el,type,_26b); -},_26c); -} -}); -}; -function hide(el,type,_26e){ -if(el.locked==true){ -return; -} -el.locked=true; -var win=$(el).window("window"); -if(!win){ -return; -} -switch(type){ -case null: -win.hide(); -break; -case "slide": -win.slideUp(_26e); -break; -case "fade": -win.fadeOut(_26e); -break; -case "show": -win.hide(_26e); -break; -} -setTimeout(function(){ -$(el).window("destroy"); -},_26e); -}; -function _26f(_270){ -var opts=$.extend({},$.fn.window.defaults,{collapsible:false,minimizable:false,maximizable:false,shadow:false,draggable:false,resizable:false,closed:true,style:{left:"",top:"",right:0,zIndex:$.fn.window.defaults.zIndex++,bottom:-document.body.scrollTop-document.documentElement.scrollTop},onBeforeOpen:function(){ -show(this,opts.showType,opts.showSpeed,opts.timeout); -return false; -},onBeforeClose:function(){ -hide(this,opts.showType,opts.showSpeed); -return false; -}},{title:"",width:250,height:100,showType:"slide",showSpeed:600,msg:"",timeout:4000},_270); -opts.style.zIndex=$.fn.window.defaults.zIndex++; -var win=$("
                    ").html(opts.msg).appendTo("body"); -win.window(opts); -win.window("window").css(opts.style); -win.window("open"); -return win; -}; -function _271(_272,_273,_274){ -var win=$("
                    ").appendTo("body"); -win.append(_273); -if(_274){ -var tb=$("
                    ").appendTo(win); -for(var _275 in _274){ -$("").attr("href","javascript:void(0)").text(_275).css("margin-left",10).bind("click",eval(_274[_275])).appendTo(tb).linkbutton(); -} -} -win.window({title:_272,noheader:(_272?false:true),width:300,height:"auto",modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,onClose:function(){ -setTimeout(function(){ -win.window("destroy"); -},100); -}}); -win.window("window").addClass("messager-window"); -win.children("div.messager-button").children("a:first").focus(); -return win; -}; -$.messager={show:function(_276){ -return _26f(_276); -},alert:function(_277,msg,icon,fn){ -var _278="
                    "+msg+"
                    "; -switch(icon){ -case "error": -_278="
                    "+_278; -break; -case "info": -_278="
                    "+_278; -break; -case "question": -_278="
                    "+_278; -break; -case "warning": -_278="
                    "+_278; -break; -} -_278+="
                    "; -var _279={}; -_279[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_271(_277,_278,_279); -return win; -},confirm:function(_27a,msg,fn){ -var _27b="
                    "+"
                    "+msg+"
                    "+"
                    "; -var _27c={}; -_27c[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(true); -return false; -} -}; -_27c[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(false); -return false; -} -}; -var win=_271(_27a,_27b,_27c); -return win; -},prompt:function(_27d,msg,fn){ -var _27e="
                    "+"
                    "+msg+"
                    "+"
                    "+"
                    "+"
                    "; -var _27f={}; -_27f[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn($(".messager-input",win).val()); -return false; -} -}; -_27f[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_271(_27d,_27e,_27f); -win.children("input.messager-input").focus(); -return win; -},progress:function(_280){ -var _281={bar:function(){ -return $("body>div.messager-window").find("div.messager-p-bar"); -},close:function(){ -var win=$("body>div.messager-window>div.messager-body:has(div.messager-progress)"); -if(win.length){ -win.window("close"); -} -}}; -if(typeof _280=="string"){ -var _282=_281[_280]; -return _282(); -} -var opts=$.extend({title:"",msg:"",text:undefined,interval:300},_280||{}); -var _283="
                    "; -var win=_271(opts.title,_283,null); -win.find("div.messager-p-msg").html(opts.msg); -var bar=win.find("div.messager-p-bar"); -bar.progressbar({text:opts.text}); -win.window({closable:false,onClose:function(){ -if(this.timer){ -clearInterval(this.timer); -} -$(this).window("destroy"); -}}); -if(opts.interval){ -win[0].timer=setInterval(function(){ -var v=bar.progressbar("getValue"); -v+=10; -if(v>100){ -v=0; -} -bar.progressbar("setValue",v); -},opts.interval); -} -return win; -}}; -$.messager.defaults={ok:"Ok",cancel:"Cancel"}; -})(jQuery); -(function($){ -function _284(_285){ -var _286=$.data(_285,"accordion"); -var opts=_286.options; -var _287=_286.panels; -var cc=$(_285); -opts.fit?$.extend(opts,cc._fit()):cc._fit(false); -if(!isNaN(opts.width)){ -cc._outerWidth(opts.width); -}else{ -cc.css("width",""); -} -var _288=0; -var _289="auto"; -var _28a=cc.find(">div.panel>div.accordion-header"); -if(_28a.length){ -_288=$(_28a[0]).css("height","")._outerHeight(); -} -if(!isNaN(opts.height)){ -cc._outerHeight(opts.height); -_289=cc.height()-_288*_28a.length; -}else{ -cc.css("height",""); -} -_28b(true,_289-_28b(false)+1); -function _28b(_28c,_28d){ -var _28e=0; -for(var i=0;i<_287.length;i++){ -var p=_287[i]; -var h=p.panel("header")._outerHeight(_288); -if(p.panel("options").collapsible==_28c){ -var _28f=isNaN(_28d)?undefined:(_28d+_288*h.length); -p.panel("resize",{width:cc.width(),height:(_28c?_28f:undefined)}); -_28e+=p.panel("panel").outerHeight()-_288; -} -} -return _28e; -}; -}; -function _290(_291,_292,_293,all){ -var _294=$.data(_291,"accordion").panels; -var pp=[]; -for(var i=0;i<_294.length;i++){ -var p=_294[i]; -if(_292){ -if(p.panel("options")[_292]==_293){ -pp.push(p); -} -}else{ -if(p[0]==$(_293)[0]){ -return i; -} -} -} -if(_292){ -return all?pp:(pp.length?pp[0]:null); -}else{ -return -1; -} -}; -function _295(_296){ -return _290(_296,"collapsed",false,true); -}; -function _297(_298){ -var pp=_295(_298); -return pp.length?pp[0]:null; -}; -function _299(_29a,_29b){ -return _290(_29a,null,_29b); -}; -function _29c(_29d,_29e){ -var _29f=$.data(_29d,"accordion").panels; -if(typeof _29e=="number"){ -if(_29e<0||_29e>=_29f.length){ -return null; -}else{ -return _29f[_29e]; -} -} -return _290(_29d,"title",_29e); -}; -function _2a0(_2a1){ -var opts=$.data(_2a1,"accordion").options; -var cc=$(_2a1); -if(opts.border){ -cc.removeClass("accordion-noborder"); -}else{ -cc.addClass("accordion-noborder"); -} -}; -function init(_2a2){ -var _2a3=$.data(_2a2,"accordion"); -var cc=$(_2a2); -cc.addClass("accordion"); -_2a3.panels=[]; -cc.children("div").each(function(){ -var opts=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -var pp=$(this); -_2a3.panels.push(pp); -_2a5(_2a2,pp,opts); -}); -cc.bind("_resize",function(e,_2a4){ -var opts=$.data(_2a2,"accordion").options; -if(opts.fit==true||_2a4){ -_284(_2a2); -} -return false; -}); -}; -function _2a5(_2a6,pp,_2a7){ -var opts=$.data(_2a6,"accordion").options; -pp.panel($.extend({},{collapsible:true,minimizable:false,maximizable:false,closable:false,doSize:false,collapsed:true,headerCls:"accordion-header",bodyCls:"accordion-body"},_2a7,{onBeforeExpand:function(){ -if(_2a7.onBeforeExpand){ -if(_2a7.onBeforeExpand.call(this)==false){ -return false; -} -} -if(!opts.multiple){ -var all=$.grep(_295(_2a6),function(p){ -return p.panel("options").collapsible; -}); -for(var i=0;i").addClass("accordion-collapse accordion-expand").appendTo(tool); -t.bind("click",function(){ -var _2ab=_299(_2a6,pp); -if(pp.panel("options").collapsed){ -_2ac(_2a6,_2ab); -}else{ -_2b0(_2a6,_2ab); -} -return false; -}); -pp.panel("options").collapsible?t.show():t.hide(); -_2aa.click(function(){ -$(this).find("a.accordion-collapse:visible").triggerHandler("click"); -return false; -}); -}; -function _2ac(_2ad,_2ae){ -var p=_29c(_2ad,_2ae); -if(!p){ -return; -} -_2af(_2ad); -var opts=$.data(_2ad,"accordion").options; -p.panel("expand",opts.animate); -}; -function _2b0(_2b1,_2b2){ -var p=_29c(_2b1,_2b2); -if(!p){ -return; -} -_2af(_2b1); -var opts=$.data(_2b1,"accordion").options; -p.panel("collapse",opts.animate); -}; -function _2b3(_2b4){ -var opts=$.data(_2b4,"accordion").options; -var p=_290(_2b4,"selected",true); -if(p){ -_2b5(_299(_2b4,p)); -}else{ -_2b5(opts.selected); -} -function _2b5(_2b6){ -var _2b7=opts.animate; -opts.animate=false; -_2ac(_2b4,_2b6); -opts.animate=_2b7; -}; -}; -function _2af(_2b8){ -var _2b9=$.data(_2b8,"accordion").panels; -for(var i=0;i<_2b9.length;i++){ -_2b9[i].stop(true,true); -} -}; -function add(_2ba,_2bb){ -var _2bc=$.data(_2ba,"accordion"); -var opts=_2bc.options; -var _2bd=_2bc.panels; -if(_2bb.selected==undefined){ -_2bb.selected=true; -} -_2af(_2ba); -var pp=$("
                    ").appendTo(_2ba); -_2bd.push(pp); -_2a5(_2ba,pp,_2bb); -_284(_2ba); -opts.onAdd.call(_2ba,_2bb.title,_2bd.length-1); -if(_2bb.selected){ -_2ac(_2ba,_2bd.length-1); -} -}; -function _2be(_2bf,_2c0){ -var _2c1=$.data(_2bf,"accordion"); -var opts=_2c1.options; -var _2c2=_2c1.panels; -_2af(_2bf); -var _2c3=_29c(_2bf,_2c0); -var _2c4=_2c3.panel("options").title; -var _2c5=_299(_2bf,_2c3); -if(!_2c3){ -return; -} -if(opts.onBeforeRemove.call(_2bf,_2c4,_2c5)==false){ -return; -} -_2c2.splice(_2c5,1); -_2c3.panel("destroy"); -if(_2c2.length){ -_284(_2bf); -var curr=_297(_2bf); -if(!curr){ -_2ac(_2bf,0); -} -} -opts.onRemove.call(_2bf,_2c4,_2c5); -}; -$.fn.accordion=function(_2c6,_2c7){ -if(typeof _2c6=="string"){ -return $.fn.accordion.methods[_2c6](this,_2c7); -} -_2c6=_2c6||{}; -return this.each(function(){ -var _2c8=$.data(this,"accordion"); -if(_2c8){ -$.extend(_2c8.options,_2c6); -}else{ -$.data(this,"accordion",{options:$.extend({},$.fn.accordion.defaults,$.fn.accordion.parseOptions(this),_2c6),accordion:$(this).addClass("accordion"),panels:[]}); -init(this); -} -_2a0(this); -_284(this); -_2b3(this); -}); -}; -$.fn.accordion.methods={options:function(jq){ -return $.data(jq[0],"accordion").options; -},panels:function(jq){ -return $.data(jq[0],"accordion").panels; -},resize:function(jq){ -return jq.each(function(){ -_284(this); -}); -},getSelections:function(jq){ -return _295(jq[0]); -},getSelected:function(jq){ -return _297(jq[0]); -},getPanel:function(jq,_2c9){ -return _29c(jq[0],_2c9); -},getPanelIndex:function(jq,_2ca){ -return _299(jq[0],_2ca); -},select:function(jq,_2cb){ -return jq.each(function(){ -_2ac(this,_2cb); -}); -},unselect:function(jq,_2cc){ -return jq.each(function(){ -_2b0(this,_2cc); -}); -},add:function(jq,_2cd){ -return jq.each(function(){ -add(this,_2cd); -}); -},remove:function(jq,_2ce){ -return jq.each(function(){ -_2be(this,_2ce); -}); -}}; -$.fn.accordion.parseOptions=function(_2cf){ -var t=$(_2cf); -return $.extend({},$.parser.parseOptions(_2cf,["width","height",{fit:"boolean",border:"boolean",animate:"boolean",multiple:"boolean",selected:"number"}])); -}; -$.fn.accordion.defaults={width:"auto",height:"auto",fit:false,border:true,animate:true,multiple:false,selected:0,onSelect:function(_2d0,_2d1){ -},onUnselect:function(_2d2,_2d3){ -},onAdd:function(_2d4,_2d5){ -},onBeforeRemove:function(_2d6,_2d7){ -},onRemove:function(_2d8,_2d9){ -}}; -})(jQuery); -(function($){ -function _2da(_2db){ -var opts=$.data(_2db,"tabs").options; -if(opts.tabPosition=="left"||opts.tabPosition=="right"||!opts.showHeader){ -return; -} -var _2dc=$(_2db).children("div.tabs-header"); -var tool=_2dc.children("div.tabs-tool"); -var _2dd=_2dc.children("div.tabs-scroller-left"); -var _2de=_2dc.children("div.tabs-scroller-right"); -var wrap=_2dc.children("div.tabs-wrap"); -var _2df=_2dc.outerHeight(); -if(opts.plain){ -_2df-=_2df-_2dc.height(); -} -tool._outerHeight(_2df); -var _2e0=0; -$("ul.tabs li",_2dc).each(function(){ -_2e0+=$(this).outerWidth(true); -}); -var _2e1=_2dc.width()-tool._outerWidth(); -if(_2e0>_2e1){ -_2dd.add(_2de).show()._outerHeight(_2df); -if(opts.toolPosition=="left"){ -tool.css({left:_2dd.outerWidth(),right:""}); -wrap.css({marginLeft:_2dd.outerWidth()+tool._outerWidth(),marginRight:_2de._outerWidth(),width:_2e1-_2dd.outerWidth()-_2de.outerWidth()}); -}else{ -tool.css({left:"",right:_2de.outerWidth()}); -wrap.css({marginLeft:_2dd.outerWidth(),marginRight:_2de.outerWidth()+tool._outerWidth(),width:_2e1-_2dd.outerWidth()-_2de.outerWidth()}); -} -}else{ -_2dd.add(_2de).hide(); -if(opts.toolPosition=="left"){ -tool.css({left:0,right:""}); -wrap.css({marginLeft:tool._outerWidth(),marginRight:0,width:_2e1}); -}else{ -tool.css({left:"",right:0}); -wrap.css({marginLeft:0,marginRight:tool._outerWidth(),width:_2e1}); -} -} -}; -function _2e2(_2e3){ -var opts=$.data(_2e3,"tabs").options; -var _2e4=$(_2e3).children("div.tabs-header"); -if(opts.tools){ -if(typeof opts.tools=="string"){ -$(opts.tools).addClass("tabs-tool").appendTo(_2e4); -$(opts.tools).show(); -}else{ -_2e4.children("div.tabs-tool").remove(); -var _2e5=$("
                    ").appendTo(_2e4); -var tr=_2e5.find("tr"); -for(var i=0;i").appendTo(tr); -var tool=$("").appendTo(td); -tool[0].onclick=eval(opts.tools[i].handler||function(){ -}); -tool.linkbutton($.extend({},opts.tools[i],{plain:true})); -} -} -}else{ -_2e4.children("div.tabs-tool").remove(); -} -}; -function _2e6(_2e7){ -var _2e8=$.data(_2e7,"tabs"); -var opts=_2e8.options; -var cc=$(_2e7); -opts.fit?$.extend(opts,cc._fit()):cc._fit(false); -cc.width(opts.width).height(opts.height); -var _2e9=$(_2e7).children("div.tabs-header"); -var _2ea=$(_2e7).children("div.tabs-panels"); -var wrap=_2e9.find("div.tabs-wrap"); -var ul=wrap.find(".tabs"); -for(var i=0;i<_2e8.tabs.length;i++){ -var _2eb=_2e8.tabs[i].panel("options"); -var p_t=_2eb.tab.find("a.tabs-inner"); -var _2ec=parseInt(_2eb.tabWidth||opts.tabWidth)||undefined; -if(_2ec){ -p_t._outerWidth(_2ec); -}else{ -p_t.css("width",""); -} -p_t._outerHeight(opts.tabHeight); -p_t.css("lineHeight",p_t.height()+"px"); -} -if(opts.tabPosition=="left"||opts.tabPosition=="right"){ -_2e9._outerWidth(opts.showHeader?opts.headerWidth:0); -_2ea._outerWidth(cc.width()-_2e9.outerWidth()); -_2e9.add(_2ea)._outerHeight(opts.height); -wrap._outerWidth(_2e9.width()); -ul._outerWidth(wrap.width()).css("height",""); -}else{ -var lrt=_2e9.children("div.tabs-scroller-left,div.tabs-scroller-right,div.tabs-tool"); -_2e9._outerWidth(opts.width).css("height",""); -if(opts.showHeader){ -_2e9.css("background-color",""); -wrap.css("height",""); -lrt.show(); -}else{ -_2e9.css("background-color","transparent"); -_2e9._outerHeight(0); -wrap._outerHeight(0); -lrt.hide(); -} -ul._outerHeight(opts.tabHeight).css("width",""); -_2da(_2e7); -var _2ed=opts.height; -if(!isNaN(_2ed)){ -_2ea._outerHeight(_2ed-_2e9.outerHeight()); -}else{ -_2ea.height("auto"); -} -var _2ec=opts.width; -if(!isNaN(_2ec)){ -_2ea._outerWidth(_2ec); -}else{ -_2ea.width("auto"); -} -} -}; -function _2ee(_2ef){ -var opts=$.data(_2ef,"tabs").options; -var tab=_2f0(_2ef); -if(tab){ -var _2f1=$(_2ef).children("div.tabs-panels"); -var _2f2=opts.width=="auto"?"auto":_2f1.width(); -var _2f3=opts.height=="auto"?"auto":_2f1.height(); -tab.panel("resize",{width:_2f2,height:_2f3}); -} -}; -function _2f4(_2f5){ -var tabs=$.data(_2f5,"tabs").tabs; -var cc=$(_2f5); -cc.addClass("tabs-container"); -var pp=$("
                    ").insertBefore(cc); -cc.children("div").each(function(){ -pp[0].appendChild(this); -}); -cc[0].appendChild(pp[0]); -$("
                    "+"
                    "+"
                    "+"
                    "+"
                      "+"
                      "+"
                      ").prependTo(_2f5); -cc.children("div.tabs-panels").children("div").each(function(i){ -var opts=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -var pp=$(this); -tabs.push(pp); -_302(_2f5,pp,opts); -}); -cc.children("div.tabs-header").find(".tabs-scroller-left, .tabs-scroller-right").hover(function(){ -$(this).addClass("tabs-scroller-over"); -},function(){ -$(this).removeClass("tabs-scroller-over"); -}); -cc.bind("_resize",function(e,_2f6){ -var opts=$.data(_2f5,"tabs").options; -if(opts.fit==true||_2f6){ -_2e6(_2f5); -_2ee(_2f5); -} -return false; -}); -}; -function _2f7(_2f8){ -var _2f9=$.data(_2f8,"tabs"); -var opts=_2f9.options; -$(_2f8).children("div.tabs-header").unbind().bind("click",function(e){ -if($(e.target).hasClass("tabs-scroller-left")){ -$(_2f8).tabs("scrollBy",-opts.scrollIncrement); -}else{ -if($(e.target).hasClass("tabs-scroller-right")){ -$(_2f8).tabs("scrollBy",opts.scrollIncrement); -}else{ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -var a=$(e.target).closest("a.tabs-close"); -if(a.length){ -_313(_2f8,_2fa(li)); -}else{ -if(li.length){ -var _2fb=_2fa(li); -var _2fc=_2f9.tabs[_2fb].panel("options"); -if(_2fc.collapsible){ -_2fc.closed?_309(_2f8,_2fb):_32a(_2f8,_2fb); -}else{ -_309(_2f8,_2fb); -} -} -} -} -} -}).bind("contextmenu",function(e){ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -if(li.length){ -opts.onContextMenu.call(_2f8,e,li.find("span.tabs-title").html(),_2fa(li)); -} -}); -function _2fa(li){ -var _2fd=0; -li.parent().children("li").each(function(i){ -if(li[0]==this){ -_2fd=i; -return false; -} -}); -return _2fd; -}; -}; -function _2fe(_2ff){ -var opts=$.data(_2ff,"tabs").options; -var _300=$(_2ff).children("div.tabs-header"); -var _301=$(_2ff).children("div.tabs-panels"); -_300.removeClass("tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right"); -_301.removeClass("tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right"); -if(opts.tabPosition=="top"){ -_300.insertBefore(_301); -}else{ -if(opts.tabPosition=="bottom"){ -_300.insertAfter(_301); -_300.addClass("tabs-header-bottom"); -_301.addClass("tabs-panels-top"); -}else{ -if(opts.tabPosition=="left"){ -_300.addClass("tabs-header-left"); -_301.addClass("tabs-panels-right"); -}else{ -if(opts.tabPosition=="right"){ -_300.addClass("tabs-header-right"); -_301.addClass("tabs-panels-left"); -} -} -} -} -if(opts.plain==true){ -_300.addClass("tabs-header-plain"); -}else{ -_300.removeClass("tabs-header-plain"); -} -if(opts.border==true){ -_300.removeClass("tabs-header-noborder"); -_301.removeClass("tabs-panels-noborder"); -}else{ -_300.addClass("tabs-header-noborder"); -_301.addClass("tabs-panels-noborder"); -} -}; -function _302(_303,pp,_304){ -var _305=$.data(_303,"tabs"); -_304=_304||{}; -pp.panel($.extend({},_304,{border:false,noheader:true,closed:true,doSize:false,iconCls:(_304.icon?_304.icon:undefined),onLoad:function(){ -if(_304.onLoad){ -_304.onLoad.call(this,arguments); -} -_305.options.onLoad.call(_303,$(this)); -}})); -var opts=pp.panel("options"); -var tabs=$(_303).children("div.tabs-header").find("ul.tabs"); -opts.tab=$("
                    • ").appendTo(tabs); -opts.tab.append(""+""+""+""); -$(_303).tabs("update",{tab:pp,options:opts}); -}; -function _306(_307,_308){ -var opts=$.data(_307,"tabs").options; -var tabs=$.data(_307,"tabs").tabs; -if(_308.selected==undefined){ -_308.selected=true; -} -var pp=$("
                      ").appendTo($(_307).children("div.tabs-panels")); -tabs.push(pp); -_302(_307,pp,_308); -opts.onAdd.call(_307,_308.title,tabs.length-1); -_2e6(_307); -if(_308.selected){ -_309(_307,tabs.length-1); -} -}; -function _30a(_30b,_30c){ -var _30d=$.data(_30b,"tabs").selectHis; -var pp=_30c.tab; -var _30e=pp.panel("options").title; -pp.panel($.extend({},_30c.options,{iconCls:(_30c.options.icon?_30c.options.icon:undefined)})); -var opts=pp.panel("options"); -var tab=opts.tab; -var _30f=tab.find("span.tabs-title"); -var _310=tab.find("span.tabs-icon"); -_30f.html(opts.title); -_310.attr("class","tabs-icon"); -tab.find("a.tabs-close").remove(); -if(opts.closable){ -_30f.addClass("tabs-closable"); -$("").appendTo(tab); -}else{ -_30f.removeClass("tabs-closable"); -} -if(opts.iconCls){ -_30f.addClass("tabs-with-icon"); -_310.addClass(opts.iconCls); -}else{ -_30f.removeClass("tabs-with-icon"); -} -if(_30e!=opts.title){ -for(var i=0;i<_30d.length;i++){ -if(_30d[i]==_30e){ -_30d[i]=opts.title; -} -} -} -tab.find("span.tabs-p-tool").remove(); -if(opts.tools){ -var _311=$("").insertAfter(tab.find("a.tabs-inner")); -if($.isArray(opts.tools)){ -for(var i=0;i").appendTo(_311); -t.addClass(opts.tools[i].iconCls); -if(opts.tools[i].handler){ -t.bind("click",{handler:opts.tools[i].handler},function(e){ -if($(this).parents("li").hasClass("tabs-disabled")){ -return; -} -e.data.handler.call(this); -}); -} -} -}else{ -$(opts.tools).children().appendTo(_311); -} -var pr=_311.children().length*12; -if(opts.closable){ -pr+=8; -}else{ -pr-=3; -_311.css("right","5px"); -} -_30f.css("padding-right",pr+"px"); -} -_2e6(_30b); -$.data(_30b,"tabs").options.onUpdate.call(_30b,opts.title,_312(_30b,pp)); -}; -function _313(_314,_315){ -var opts=$.data(_314,"tabs").options; -var tabs=$.data(_314,"tabs").tabs; -var _316=$.data(_314,"tabs").selectHis; -if(!_317(_314,_315)){ -return; -} -var tab=_318(_314,_315); -var _319=tab.panel("options").title; -var _31a=_312(_314,tab); -if(opts.onBeforeClose.call(_314,_319,_31a)==false){ -return; -} -var tab=_318(_314,_315,true); -tab.panel("options").tab.remove(); -tab.panel("destroy"); -opts.onClose.call(_314,_319,_31a); -_2e6(_314); -for(var i=0;i<_316.length;i++){ -if(_316[i]==_319){ -_316.splice(i,1); -i--; -} -} -var _31b=_316.pop(); -if(_31b){ -_309(_314,_31b); -}else{ -if(tabs.length){ -_309(_314,0); -} -} -}; -function _318(_31c,_31d,_31e){ -var tabs=$.data(_31c,"tabs").tabs; -if(typeof _31d=="number"){ -if(_31d<0||_31d>=tabs.length){ -return null; -}else{ -var tab=tabs[_31d]; -if(_31e){ -tabs.splice(_31d,1); -} -return tab; -} -} -for(var i=0;idiv.tabs-header>div.tabs-wrap"); -var left=tab.position().left; -var _32c=left+tab.outerWidth(); -if(left<0||_32c>wrap.width()){ -var _32d=left-(wrap.width()-tab.width())/2; -$(_324).tabs("scrollBy",_32d); -}else{ -$(_324).tabs("scrollBy",0); -} -_2ee(_324); -opts.onSelect.call(_324,_32b,_312(_324,_328)); -}; -function _32a(_32e,_32f){ -var _330=$.data(_32e,"tabs"); -var p=_318(_32e,_32f); -if(p){ -var opts=p.panel("options"); -if(!opts.closed){ -p.panel("close"); -if(opts.closed){ -opts.tab.removeClass("tabs-selected"); -_330.options.onUnselect.call(_32e,opts.title,_312(_32e,p)); -} -} -} -}; -function _317(_331,_332){ -return _318(_331,_332)!=null; -}; -function _333(_334,_335){ -var opts=$.data(_334,"tabs").options; -opts.showHeader=_335; -$(_334).tabs("resize"); -}; -$.fn.tabs=function(_336,_337){ -if(typeof _336=="string"){ -return $.fn.tabs.methods[_336](this,_337); -} -_336=_336||{}; -return this.each(function(){ -var _338=$.data(this,"tabs"); -var opts; -if(_338){ -opts=$.extend(_338.options,_336); -_338.options=opts; -}else{ -$.data(this,"tabs",{options:$.extend({},$.fn.tabs.defaults,$.fn.tabs.parseOptions(this),_336),tabs:[],selectHis:[]}); -_2f4(this); -} -_2e2(this); -_2fe(this); -_2e6(this); -_2f7(this); -_321(this); -}); -}; -$.fn.tabs.methods={options:function(jq){ -var cc=jq[0]; -var opts=$.data(cc,"tabs").options; -var s=_2f0(cc); -opts.selected=s?_312(cc,s):-1; -return opts; -},tabs:function(jq){ -return $.data(jq[0],"tabs").tabs; -},resize:function(jq){ -return jq.each(function(){ -_2e6(this); -_2ee(this); -}); -},add:function(jq,_339){ -return jq.each(function(){ -_306(this,_339); -}); -},close:function(jq,_33a){ -return jq.each(function(){ -_313(this,_33a); -}); -},getTab:function(jq,_33b){ -return _318(jq[0],_33b); -},getTabIndex:function(jq,tab){ -return _312(jq[0],tab); -},getSelected:function(jq){ -return _2f0(jq[0]); -},select:function(jq,_33c){ -return jq.each(function(){ -_309(this,_33c); -}); -},unselect:function(jq,_33d){ -return jq.each(function(){ -_32a(this,_33d); -}); -},exists:function(jq,_33e){ -return _317(jq[0],_33e); -},update:function(jq,_33f){ -return jq.each(function(){ -_30a(this,_33f); -}); -},enableTab:function(jq,_340){ -return jq.each(function(){ -$(this).tabs("getTab",_340).panel("options").tab.removeClass("tabs-disabled"); -}); -},disableTab:function(jq,_341){ -return jq.each(function(){ -$(this).tabs("getTab",_341).panel("options").tab.addClass("tabs-disabled"); -}); -},showHeader:function(jq){ -return jq.each(function(){ -_333(this,true); -}); -},hideHeader:function(jq){ -return jq.each(function(){ -_333(this,false); -}); -},scrollBy:function(jq,_342){ -return jq.each(function(){ -var opts=$(this).tabs("options"); -var wrap=$(this).find(">div.tabs-header>div.tabs-wrap"); -var pos=Math.min(wrap._scrollLeft()+_342,_343()); -wrap.animate({scrollLeft:pos},opts.scrollDuration); -function _343(){ -var w=0; -var ul=wrap.children("ul"); -ul.children("li").each(function(){ -w+=$(this).outerWidth(true); -}); -return w-wrap.width()+(ul.outerWidth()-ul.width()); -}; -}); -}}; -$.fn.tabs.parseOptions=function(_344){ -return $.extend({},$.parser.parseOptions(_344,["width","height","tools","toolPosition","tabPosition",{fit:"boolean",border:"boolean",plain:"boolean",headerWidth:"number",tabWidth:"number",tabHeight:"number",selected:"number",showHeader:"boolean"}])); -}; -$.fn.tabs.defaults={width:"auto",height:"auto",headerWidth:150,tabWidth:"auto",tabHeight:27,selected:0,showHeader:true,plain:false,fit:false,border:true,tools:null,toolPosition:"right",tabPosition:"top",scrollIncrement:100,scrollDuration:400,onLoad:function(_345){ -},onSelect:function(_346,_347){ -},onUnselect:function(_348,_349){ -},onBeforeClose:function(_34a,_34b){ -},onClose:function(_34c,_34d){ -},onAdd:function(_34e,_34f){ -},onUpdate:function(_350,_351){ -},onContextMenu:function(e,_352,_353){ -}}; -})(jQuery); -(function($){ -var _354=false; -function _355(_356){ -var _357=$.data(_356,"layout"); -var opts=_357.options; -var _358=_357.panels; -var cc=$(_356); -if(_356.tagName=="BODY"){ -cc._fit(); -}else{ -opts.fit?cc.css(cc._fit()):cc._fit(false); -} -var cpos={top:0,left:0,width:cc.width(),height:cc.height()}; -_359(_35a(_358.expandNorth)?_358.expandNorth:_358.north,"n"); -_359(_35a(_358.expandSouth)?_358.expandSouth:_358.south,"s"); -_35b(_35a(_358.expandEast)?_358.expandEast:_358.east,"e"); -_35b(_35a(_358.expandWest)?_358.expandWest:_358.west,"w"); -_358.center.panel("resize",cpos); -function _35c(pp){ -var opts=pp.panel("options"); -return Math.min(Math.max(opts.height,opts.minHeight),opts.maxHeight); -}; -function _35d(pp){ -var opts=pp.panel("options"); -return Math.min(Math.max(opts.width,opts.minWidth),opts.maxWidth); -}; -function _359(pp,type){ -if(!pp.length){ -return; -} -var opts=pp.panel("options"); -var _35e=_35c(pp); -pp.panel("resize",{width:cc.width(),height:_35e,left:0,top:(type=="n"?0:cc.height()-_35e)}); -cpos.height-=_35e; -if(type=="n"){ -cpos.top+=_35e; -if(!opts.split&&opts.border){ -cpos.top--; -} -} -if(!opts.split&&opts.border){ -cpos.height++; -} -}; -function _35b(pp,type){ -if(!pp.length){ -return; -} -var opts=pp.panel("options"); -var _35f=_35d(pp); -pp.panel("resize",{width:_35f,height:cpos.height,left:(type=="e"?cc.width()-_35f:0),top:cpos.top}); -cpos.width-=_35f; -if(type=="w"){ -cpos.left+=_35f; -if(!opts.split&&opts.border){ -cpos.left--; -} -} -if(!opts.split&&opts.border){ -cpos.width++; -} -}; -}; -function init(_360){ -var cc=$(_360); -cc.addClass("layout"); -function _361(cc){ -cc.children("div").each(function(){ -var opts=$.fn.layout.parsePanelOptions(this); -if("north,south,east,west,center".indexOf(opts.region)>=0){ -_363(_360,opts,this); -} -}); -}; -cc.children("form").length?_361(cc.children("form")):_361(cc); -cc.append("
                      "); -cc.bind("_resize",function(e,_362){ -var opts=$.data(_360,"layout").options; -if(opts.fit==true||_362){ -_355(_360); -} -return false; -}); -}; -function _363(_364,_365,el){ -_365.region=_365.region||"center"; -var _366=$.data(_364,"layout").panels; -var cc=$(_364); -var dir=_365.region; -if(_366[dir].length){ -return; -} -var pp=$(el); -if(!pp.length){ -pp=$("
                      ").appendTo(cc); -} -var _367=$.extend({},$.fn.layout.paneldefaults,{width:(pp.length?parseInt(pp[0].style.width)||pp.outerWidth():"auto"),height:(pp.length?parseInt(pp[0].style.height)||pp.outerHeight():"auto"),doSize:false,collapsible:true,cls:("layout-panel layout-panel-"+dir),bodyCls:"layout-body",onOpen:function(){ -var tool=$(this).panel("header").children("div.panel-tool"); -tool.children("a.panel-tool-collapse").hide(); -var _368={north:"up",south:"down",east:"right",west:"left"}; -if(!_368[dir]){ -return; -} -var _369="layout-button-"+_368[dir]; -var t=tool.children("a."+_369); -if(!t.length){ -t=$("").addClass(_369).appendTo(tool); -t.bind("click",{dir:dir},function(e){ -_375(_364,e.data.dir); -return false; -}); -} -$(this).panel("options").collapsible?t.show():t.hide(); -}},_365); -pp.panel(_367); -_366[dir]=pp; -if(pp.panel("options").split){ -var _36a=pp.panel("panel"); -_36a.addClass("layout-split-"+dir); -var _36b=""; -if(dir=="north"){ -_36b="s"; -} -if(dir=="south"){ -_36b="n"; -} -if(dir=="east"){ -_36b="w"; -} -if(dir=="west"){ -_36b="e"; -} -_36a.resizable($.extend({},{handles:_36b,onStartResize:function(e){ -_354=true; -if(dir=="north"||dir=="south"){ -var _36c=$(">div.layout-split-proxy-v",_364); -}else{ -var _36c=$(">div.layout-split-proxy-h",_364); -} -var top=0,left=0,_36d=0,_36e=0; -var pos={display:"block"}; -if(dir=="north"){ -pos.top=parseInt(_36a.css("top"))+_36a.outerHeight()-_36c.height(); -pos.left=parseInt(_36a.css("left")); -pos.width=_36a.outerWidth(); -pos.height=_36c.height(); -}else{ -if(dir=="south"){ -pos.top=parseInt(_36a.css("top")); -pos.left=parseInt(_36a.css("left")); -pos.width=_36a.outerWidth(); -pos.height=_36c.height(); -}else{ -if(dir=="east"){ -pos.top=parseInt(_36a.css("top"))||0; -pos.left=parseInt(_36a.css("left"))||0; -pos.width=_36c.width(); -pos.height=_36a.outerHeight(); -}else{ -if(dir=="west"){ -pos.top=parseInt(_36a.css("top"))||0; -pos.left=_36a.outerWidth()-_36c.width(); -pos.width=_36c.width(); -pos.height=_36a.outerHeight(); -} -} -} -} -_36c.css(pos); -$("
                      ").css({left:0,top:0,width:cc.width(),height:cc.height()}).appendTo(cc); -},onResize:function(e){ -if(dir=="north"||dir=="south"){ -var _36f=$(">div.layout-split-proxy-v",_364); -_36f.css("top",e.pageY-$(_364).offset().top-_36f.height()/2); -}else{ -var _36f=$(">div.layout-split-proxy-h",_364); -_36f.css("left",e.pageX-$(_364).offset().left-_36f.width()/2); -} -return false; -},onStopResize:function(e){ -cc.children("div.layout-split-proxy-v,div.layout-split-proxy-h").hide(); -pp.panel("resize",e.data); -_355(_364); -_354=false; -cc.find(">div.layout-mask").remove(); -}},_365)); -} -}; -function _370(_371,_372){ -var _373=$.data(_371,"layout").panels; -if(_373[_372].length){ -_373[_372].panel("destroy"); -_373[_372]=$(); -var _374="expand"+_372.substring(0,1).toUpperCase()+_372.substring(1); -if(_373[_374]){ -_373[_374].panel("destroy"); -_373[_374]=undefined; -} -} -}; -function _375(_376,_377,_378){ -if(_378==undefined){ -_378="normal"; -} -var _379=$.data(_376,"layout").panels; -var p=_379[_377]; -var _37a=p.panel("options"); -if(_37a.onBeforeCollapse.call(p)==false){ -return; -} -var _37b="expand"+_377.substring(0,1).toUpperCase()+_377.substring(1); -if(!_379[_37b]){ -_379[_37b]=_37c(_377); -_379[_37b].panel("panel").bind("click",function(){ -var _37d=_37e(); -p.panel("expand",false).panel("open").panel("resize",_37d.collapse); -p.panel("panel").animate(_37d.expand,function(){ -$(this).unbind(".layout").bind("mouseleave.layout",{region:_377},function(e){ -if(_354==true){ -return; -} -_375(_376,e.data.region); -}); -}); -return false; -}); -} -var _37f=_37e(); -if(!_35a(_379[_37b])){ -_379.center.panel("resize",_37f.resizeC); -} -p.panel("panel").animate(_37f.collapse,_378,function(){ -p.panel("collapse",false).panel("close"); -_379[_37b].panel("open").panel("resize",_37f.expandP); -$(this).unbind(".layout"); -}); -function _37c(dir){ -var icon; -if(dir=="east"){ -icon="layout-button-left"; -}else{ -if(dir=="west"){ -icon="layout-button-right"; -}else{ -if(dir=="north"){ -icon="layout-button-down"; -}else{ -if(dir=="south"){ -icon="layout-button-up"; -} -} -} -} -var p=$("
                      ").appendTo(_376); -p.panel($.extend({},$.fn.layout.paneldefaults,{cls:("layout-expand layout-expand-"+dir),title:" ",closed:true,doSize:false,tools:[{iconCls:icon,handler:function(){ -_381(_376,_377); -return false; -}}]})); -p.panel("panel").hover(function(){ -$(this).addClass("layout-expand-over"); -},function(){ -$(this).removeClass("layout-expand-over"); -}); -return p; -}; -function _37e(){ -var cc=$(_376); -var _380=_379.center.panel("options"); -if(_377=="east"){ -var ww=_380.width+_37a.width-28; -if(_37a.split||!_37a.border){ -ww++; -} -return {resizeC:{width:ww},expand:{left:cc.width()-_37a.width},expandP:{top:_380.top,left:cc.width()-28,width:28,height:_380.height},collapse:{left:cc.width(),top:_380.top,height:_380.height}}; -}else{ -if(_377=="west"){ -var ww=_380.width+_37a.width-28; -if(_37a.split||!_37a.border){ -ww++; -} -return {resizeC:{width:ww,left:28-1},expand:{left:0},expandP:{left:0,top:_380.top,width:28,height:_380.height},collapse:{left:-_37a.width,top:_380.top,height:_380.height}}; -}else{ -if(_377=="north"){ -var hh=_380.height; -if(!_35a(_379.expandNorth)){ -hh+=_37a.height-28+((_37a.split||!_37a.border)?1:0); -} -_379.east.add(_379.west).add(_379.expandEast).add(_379.expandWest).panel("resize",{top:28-1,height:hh}); -return {resizeC:{top:28-1,height:hh},expand:{top:0},expandP:{top:0,left:0,width:cc.width(),height:28},collapse:{top:-_37a.height,width:cc.width()}}; -}else{ -if(_377=="south"){ -var hh=_380.height; -if(!_35a(_379.expandSouth)){ -hh+=_37a.height-28+((_37a.split||!_37a.border)?1:0); -} -_379.east.add(_379.west).add(_379.expandEast).add(_379.expandWest).panel("resize",{height:hh}); -return {resizeC:{height:hh},expand:{top:cc.height()-_37a.height},expandP:{top:cc.height()-28,left:0,width:cc.width(),height:28},collapse:{top:cc.height(),width:cc.width()}}; -} -} -} -} -}; -}; -function _381(_382,_383){ -var _384=$.data(_382,"layout").panels; -var p=_384[_383]; -var _385=p.panel("options"); -if(_385.onBeforeExpand.call(p)==false){ -return; -} -var _386=_387(); -var _388="expand"+_383.substring(0,1).toUpperCase()+_383.substring(1); -if(_384[_388]){ -_384[_388].panel("close"); -p.panel("panel").stop(true,true); -p.panel("expand",false).panel("open").panel("resize",_386.collapse); -p.panel("panel").animate(_386.expand,function(){ -_355(_382); -}); -} -function _387(){ -var cc=$(_382); -var _389=_384.center.panel("options"); -if(_383=="east"&&_384.expandEast){ -return {collapse:{left:cc.width(),top:_389.top,height:_389.height},expand:{left:cc.width()-_384["east"].panel("options").width}}; -}else{ -if(_383=="west"&&_384.expandWest){ -return {collapse:{left:-_384["west"].panel("options").width,top:_389.top,height:_389.height},expand:{left:0}}; -}else{ -if(_383=="north"&&_384.expandNorth){ -return {collapse:{top:-_384["north"].panel("options").height,width:cc.width()},expand:{top:0}}; -}else{ -if(_383=="south"&&_384.expandSouth){ -return {collapse:{top:cc.height(),width:cc.width()},expand:{top:cc.height()-_384["south"].panel("options").height}}; -} -} -} -} -}; -}; -function _35a(pp){ -if(!pp){ -return false; -} -if(pp.length){ -return pp.panel("panel").is(":visible"); -}else{ -return false; -} -}; -function _38a(_38b){ -var _38c=$.data(_38b,"layout").panels; -if(_38c.east.length&&_38c.east.panel("options").collapsed){ -_375(_38b,"east",0); -} -if(_38c.west.length&&_38c.west.panel("options").collapsed){ -_375(_38b,"west",0); -} -if(_38c.north.length&&_38c.north.panel("options").collapsed){ -_375(_38b,"north",0); -} -if(_38c.south.length&&_38c.south.panel("options").collapsed){ -_375(_38b,"south",0); -} -}; -$.fn.layout=function(_38d,_38e){ -if(typeof _38d=="string"){ -return $.fn.layout.methods[_38d](this,_38e); -} -_38d=_38d||{}; -return this.each(function(){ -var _38f=$.data(this,"layout"); -if(_38f){ -$.extend(_38f.options,_38d); -}else{ -var opts=$.extend({},$.fn.layout.defaults,$.fn.layout.parseOptions(this),_38d); -$.data(this,"layout",{options:opts,panels:{center:$(),north:$(),south:$(),east:$(),west:$()}}); -init(this); -} -_355(this); -_38a(this); -}); -}; -$.fn.layout.methods={resize:function(jq){ -return jq.each(function(){ -_355(this); -}); -},panel:function(jq,_390){ -return $.data(jq[0],"layout").panels[_390]; -},collapse:function(jq,_391){ -return jq.each(function(){ -_375(this,_391); -}); -},expand:function(jq,_392){ -return jq.each(function(){ -_381(this,_392); -}); -},add:function(jq,_393){ -return jq.each(function(){ -_363(this,_393); -_355(this); -if($(this).layout("panel",_393.region).panel("options").collapsed){ -_375(this,_393.region,0); -} -}); -},remove:function(jq,_394){ -return jq.each(function(){ -_370(this,_394); -_355(this); -}); -}}; -$.fn.layout.parseOptions=function(_395){ -return $.extend({},$.parser.parseOptions(_395,[{fit:"boolean"}])); -}; -$.fn.layout.defaults={fit:false}; -$.fn.layout.parsePanelOptions=function(_396){ -var t=$(_396); -return $.extend({},$.fn.panel.parseOptions(_396),$.parser.parseOptions(_396,["region",{split:"boolean",minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number"}])); -}; -$.fn.layout.paneldefaults=$.extend({},$.fn.panel.defaults,{region:null,split:false,minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000}); -})(jQuery); -(function($){ -function init(_397){ -$(_397).appendTo("body"); -$(_397).addClass("menu-top"); -$(document).unbind(".menu").bind("mousedown.menu",function(e){ -var _398=$("body>div.menu:visible"); -var m=$(e.target).closest("div.menu",_398); -if(m.length){ -return; -} -$("body>div.menu-top:visible").menu("hide"); -}); -var _399=_39a($(_397)); -for(var i=0;i<_399.length;i++){ -_39b(_399[i]); -} -function _39a(menu){ -var _39c=[]; -menu.addClass("menu"); -_39c.push(menu); -if(!menu.hasClass("menu-content")){ -menu.children("div").each(function(){ -var _39d=$(this).children("div"); -if(_39d.length){ -_39d.insertAfter(_397); -this.submenu=_39d; -var mm=_39a(_39d); -_39c=_39c.concat(mm); -} -}); -} -return _39c; -}; -function _39b(menu){ -var _39e=$.parser.parseOptions(menu[0],["width"]).width; -if(menu.hasClass("menu-content")){ -menu[0].originalWidth=_39e||menu._outerWidth(); -}else{ -menu[0].originalWidth=_39e||0; -menu.children("div").each(function(){ -var item=$(this); -var _39f=$.extend({},$.parser.parseOptions(this,["name","iconCls","href",{separator:"boolean"}]),{disabled:(item.attr("disabled")?true:undefined)}); -if(_39f.separator){ -item.addClass("menu-sep"); -} -if(!item.hasClass("menu-sep")){ -item[0].itemName=_39f.name||""; -item[0].itemHref=_39f.href||""; -var text=item.addClass("menu-item").html(); -item.empty().append($("
                      ").html(text)); -if(_39f.iconCls){ -$("
                      ").addClass(_39f.iconCls).appendTo(item); -} -if(_39f.disabled){ -_3a0(_397,item[0],true); -} -if(item[0].submenu){ -$("
                      ").appendTo(item); -} -_3a1(_397,item); -} -}); -$("
                      ").prependTo(menu); -} -_3a2(_397,menu); -menu.hide(); -_3a3(_397,menu); -}; -}; -function _3a2(_3a4,menu){ -var opts=$.data(_3a4,"menu").options; -var _3a5=menu.attr("style"); -menu.css({display:"block",left:-10000,height:"auto",overflow:"hidden"}); -var _3a6=0; -menu.find("div.menu-text").each(function(){ -if(_3a6<$(this)._outerWidth()){ -_3a6=$(this)._outerWidth(); -} -$(this).closest("div.menu-item")._outerHeight($(this)._outerHeight()+2); -}); -_3a6+=65; -menu._outerWidth(Math.max((menu[0].originalWidth||0),_3a6,opts.minWidth)); -menu.children("div.menu-line")._outerHeight(menu.outerHeight()); -menu.attr("style",_3a5); -}; -function _3a3(_3a7,menu){ -var _3a8=$.data(_3a7,"menu"); -menu.unbind(".menu").bind("mouseenter.menu",function(){ -if(_3a8.timer){ -clearTimeout(_3a8.timer); -_3a8.timer=null; -} -}).bind("mouseleave.menu",function(){ -if(_3a8.options.hideOnUnhover){ -_3a8.timer=setTimeout(function(){ -_3a9(_3a7); -},100); -} -}); -}; -function _3a1(_3aa,item){ -if(!item.hasClass("menu-item")){ -return; -} -item.unbind(".menu"); -item.bind("click.menu",function(){ -if($(this).hasClass("menu-item-disabled")){ -return; -} -if(!this.submenu){ -_3a9(_3aa); -var href=$(this).attr("href"); -if(href){ -location.href=href; -} -} -var item=$(_3aa).menu("getItem",this); -$.data(_3aa,"menu").options.onClick.call(_3aa,item); -}).bind("mouseenter.menu",function(e){ -item.siblings().each(function(){ -if(this.submenu){ -_3ad(this.submenu); -} -$(this).removeClass("menu-active"); -}); -item.addClass("menu-active"); -if($(this).hasClass("menu-item-disabled")){ -item.addClass("menu-active-disabled"); -return; -} -var _3ab=item[0].submenu; -if(_3ab){ -$(_3aa).menu("show",{menu:_3ab,parent:item}); -} -}).bind("mouseleave.menu",function(e){ -item.removeClass("menu-active menu-active-disabled"); -var _3ac=item[0].submenu; -if(_3ac){ -if(e.pageX>=parseInt(_3ac.css("left"))){ -item.addClass("menu-active"); -}else{ -_3ad(_3ac); -} -}else{ -item.removeClass("menu-active"); -} -}); -}; -function _3a9(_3ae){ -var _3af=$.data(_3ae,"menu"); -if(_3af){ -if($(_3ae).is(":visible")){ -_3ad($(_3ae)); -_3af.options.onHide.call(_3ae); -} -} -return false; -}; -function _3b0(_3b1,_3b2){ -var left,top; -_3b2=_3b2||{}; -var menu=$(_3b2.menu||_3b1); -if(menu.hasClass("menu-top")){ -var opts=$.data(_3b1,"menu").options; -$.extend(opts,_3b2); -left=opts.left; -top=opts.top; -if(opts.alignTo){ -var at=$(opts.alignTo); -left=at.offset().left; -top=at.offset().top+at._outerHeight(); -} -if(left+menu.outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ -left=$(window)._outerWidth()+$(document).scrollLeft()-menu.outerWidth()-5; -} -if(top+menu.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-menu.outerHeight()-5; -} -}else{ -var _3b3=_3b2.parent; -left=_3b3.offset().left+_3b3.outerWidth()-2; -if(left+menu.outerWidth()+5>$(window)._outerWidth()+$(document).scrollLeft()){ -left=_3b3.offset().left-menu.outerWidth()+2; -} -var top=_3b3.offset().top-3; -if(top+menu.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-menu.outerHeight()-5; -} -} -menu.css({left:left,top:top}); -menu.show(0,function(){ -if(!menu[0].shadow){ -menu[0].shadow=$("
                      ").insertAfter(menu); -} -menu[0].shadow.css({display:"block",zIndex:$.fn.menu.defaults.zIndex++,left:menu.css("left"),top:menu.css("top"),width:menu.outerWidth(),height:menu.outerHeight()}); -menu.css("z-index",$.fn.menu.defaults.zIndex++); -if(menu.hasClass("menu-top")){ -$.data(menu[0],"menu").options.onShow.call(menu[0]); -} -}); -}; -function _3ad(menu){ -if(!menu){ -return; -} -_3b4(menu); -menu.find("div.menu-item").each(function(){ -if(this.submenu){ -_3ad(this.submenu); -} -$(this).removeClass("menu-active"); -}); -function _3b4(m){ -m.stop(true,true); -if(m[0].shadow){ -m[0].shadow.hide(); -} -m.hide(); -}; -}; -function _3b5(_3b6,text){ -var _3b7=null; -var tmp=$("
                      "); -function find(menu){ -menu.children("div.menu-item").each(function(){ -var item=$(_3b6).menu("getItem",this); -var s=tmp.empty().html(item.text).text(); -if(text==$.trim(s)){ -_3b7=item; -}else{ -if(this.submenu&&!_3b7){ -find(this.submenu); -} -} -}); -}; -find($(_3b6)); -tmp.remove(); -return _3b7; -}; -function _3a0(_3b8,_3b9,_3ba){ -var t=$(_3b9); -if(!t.hasClass("menu-item")){ -return; -} -if(_3ba){ -t.addClass("menu-item-disabled"); -if(_3b9.onclick){ -_3b9.onclick1=_3b9.onclick; -_3b9.onclick=null; -} -}else{ -t.removeClass("menu-item-disabled"); -if(_3b9.onclick1){ -_3b9.onclick=_3b9.onclick1; -_3b9.onclick1=null; -} -} -}; -function _3bb(_3bc,_3bd){ -var menu=$(_3bc); -if(_3bd.parent){ -if(!_3bd.parent.submenu){ -var _3be=$("
                      ").appendTo("body"); -_3be.hide(); -_3bd.parent.submenu=_3be; -$("
                      ").appendTo(_3bd.parent); -} -menu=_3bd.parent.submenu; -} -if(_3bd.separator){ -var item=$("
                      ").appendTo(menu); -}else{ -var item=$("
                      ").appendTo(menu); -$("
                      ").html(_3bd.text).appendTo(item); -} -if(_3bd.iconCls){ -$("
                      ").addClass(_3bd.iconCls).appendTo(item); -} -if(_3bd.id){ -item.attr("id",_3bd.id); -} -if(_3bd.name){ -item[0].itemName=_3bd.name; -} -if(_3bd.href){ -item[0].itemHref=_3bd.href; -} -if(_3bd.onclick){ -if(typeof _3bd.onclick=="string"){ -item.attr("onclick",_3bd.onclick); -}else{ -item[0].onclick=eval(_3bd.onclick); -} -} -if(_3bd.handler){ -item[0].onclick=eval(_3bd.handler); -} -if(_3bd.disabled){ -_3a0(_3bc,item[0],true); -} -_3a1(_3bc,item); -_3a3(_3bc,menu); -_3a2(_3bc,menu); -}; -function _3bf(_3c0,_3c1){ -function _3c2(el){ -if(el.submenu){ -el.submenu.children("div.menu-item").each(function(){ -_3c2(this); -}); -var _3c3=el.submenu[0].shadow; -if(_3c3){ -_3c3.remove(); -} -el.submenu.remove(); -} -$(el).remove(); -}; -_3c2(_3c1); -}; -function _3c4(_3c5){ -$(_3c5).children("div.menu-item").each(function(){ -_3bf(_3c5,this); -}); -if(_3c5.shadow){ -_3c5.shadow.remove(); -} -$(_3c5).remove(); -}; -$.fn.menu=function(_3c6,_3c7){ -if(typeof _3c6=="string"){ -return $.fn.menu.methods[_3c6](this,_3c7); -} -_3c6=_3c6||{}; -return this.each(function(){ -var _3c8=$.data(this,"menu"); -if(_3c8){ -$.extend(_3c8.options,_3c6); -}else{ -_3c8=$.data(this,"menu",{options:$.extend({},$.fn.menu.defaults,$.fn.menu.parseOptions(this),_3c6)}); -init(this); -} -$(this).css({left:_3c8.options.left,top:_3c8.options.top}); -}); -}; -$.fn.menu.methods={options:function(jq){ -return $.data(jq[0],"menu").options; -},show:function(jq,pos){ -return jq.each(function(){ -_3b0(this,pos); -}); -},hide:function(jq){ -return jq.each(function(){ -_3a9(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_3c4(this); -}); -},setText:function(jq,_3c9){ -return jq.each(function(){ -$(_3c9.target).children("div.menu-text").html(_3c9.text); -}); -},setIcon:function(jq,_3ca){ -return jq.each(function(){ -var item=$(this).menu("getItem",_3ca.target); -if(item.iconCls){ -$(item.target).children("div.menu-icon").removeClass(item.iconCls).addClass(_3ca.iconCls); -}else{ -$("
                      ").addClass(_3ca.iconCls).appendTo(_3ca.target); -} -}); -},getItem:function(jq,_3cb){ -var t=$(_3cb); -var item={target:_3cb,id:t.attr("id"),text:$.trim(t.children("div.menu-text").html()),disabled:t.hasClass("menu-item-disabled"),name:_3cb.itemName,href:_3cb.itemHref,onclick:_3cb.onclick}; -var icon=t.children("div.menu-icon"); -if(icon.length){ -var cc=[]; -var aa=icon.attr("class").split(" "); -for(var i=0;i "})); -if(opts.menu){ -$(opts.menu).menu(); -var _3d2=$(opts.menu).menu("options"); -var _3d3=_3d2.onShow; -var _3d4=_3d2.onHide; -$.extend(_3d2,{onShow:function(){ -var _3d5=$(this).menu("options"); -var btn=$(_3d5.alignTo); -var opts=btn.menubutton("options"); -btn.addClass((opts.plain==true)?opts.cls.btn2:opts.cls.btn1); -_3d3.call(this); -},onHide:function(){ -var _3d6=$(this).menu("options"); -var btn=$(_3d6.alignTo); -var opts=btn.menubutton("options"); -btn.removeClass((opts.plain==true)?opts.cls.btn2:opts.cls.btn1); -_3d4.call(this); -}}); -} -_3d7(_3d1,opts.disabled); -}; -function _3d7(_3d8,_3d9){ -var opts=$.data(_3d8,"menubutton").options; -opts.disabled=_3d9; -var btn=$(_3d8); -var t=btn.find("."+opts.cls.trigger); -if(!t.length){ -t=btn; -} -t.unbind(".menubutton"); -if(_3d9){ -btn.linkbutton("disable"); -}else{ -btn.linkbutton("enable"); -var _3da=null; -t.bind("click.menubutton",function(){ -_3db(_3d8); -return false; -}).bind("mouseenter.menubutton",function(){ -_3da=setTimeout(function(){ -_3db(_3d8); -},opts.duration); -return false; -}).bind("mouseleave.menubutton",function(){ -if(_3da){ -clearTimeout(_3da); -} -}); -} -}; -function _3db(_3dc){ -var opts=$.data(_3dc,"menubutton").options; -if(opts.disabled||!opts.menu){ -return; -} -$("body>div.menu-top").menu("hide"); -var btn=$(_3dc); -var mm=$(opts.menu); -if(mm.length){ -mm.menu("options").alignTo=btn; -mm.menu("show",{alignTo:btn}); -} -btn.blur(); -}; -$.fn.menubutton=function(_3dd,_3de){ -if(typeof _3dd=="string"){ -var _3df=$.fn.menubutton.methods[_3dd]; -if(_3df){ -return _3df(this,_3de); -}else{ -return this.linkbutton(_3dd,_3de); -} -} -_3dd=_3dd||{}; -return this.each(function(){ -var _3e0=$.data(this,"menubutton"); -if(_3e0){ -$.extend(_3e0.options,_3dd); -}else{ -$.data(this,"menubutton",{options:$.extend({},$.fn.menubutton.defaults,$.fn.menubutton.parseOptions(this),_3dd)}); -$(this).removeAttr("disabled"); -} -init(this); -}); -}; -$.fn.menubutton.methods={options:function(jq){ -var _3e1=jq.linkbutton("options"); -var _3e2=$.data(jq[0],"menubutton").options; -_3e2.toggle=_3e1.toggle; -_3e2.selected=_3e1.selected; -return _3e2; -},enable:function(jq){ -return jq.each(function(){ -_3d7(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_3d7(this,true); -}); -},destroy:function(jq){ -return jq.each(function(){ -var opts=$(this).menubutton("options"); -if(opts.menu){ -$(opts.menu).menu("destroy"); -} -$(this).remove(); -}); -}}; -$.fn.menubutton.parseOptions=function(_3e3){ -var t=$(_3e3); -return $.extend({},$.fn.linkbutton.parseOptions(_3e3),$.parser.parseOptions(_3e3,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.menubutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active",btn2:"m-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn"}}); -})(jQuery); -(function($){ -function init(_3e4){ -var opts=$.data(_3e4,"splitbutton").options; -$(_3e4).menubutton(opts); -}; -$.fn.splitbutton=function(_3e5,_3e6){ -if(typeof _3e5=="string"){ -var _3e7=$.fn.splitbutton.methods[_3e5]; -if(_3e7){ -return _3e7(this,_3e6); -}else{ -return this.menubutton(_3e5,_3e6); -} -} -_3e5=_3e5||{}; -return this.each(function(){ -var _3e8=$.data(this,"splitbutton"); -if(_3e8){ -$.extend(_3e8.options,_3e5); -}else{ -$.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_3e5)}); -$(this).removeAttr("disabled"); -} -init(this); -}); -}; -$.fn.splitbutton.methods={options:function(jq){ -var _3e9=jq.menubutton("options"); -var _3ea=$.data(jq[0],"splitbutton").options; -$.extend(_3ea,{disabled:_3e9.disabled,toggle:_3e9.toggle,selected:_3e9.selected}); -return _3ea; -}}; -$.fn.splitbutton.parseOptions=function(_3eb){ -var t=$(_3eb); -return $.extend({},$.fn.linkbutton.parseOptions(_3eb),$.parser.parseOptions(_3eb,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"s-btn-active",btn2:"s-btn-plain-active",arrow:"s-btn-downarrow",trigger:"s-btn-downarrow"}}); -})(jQuery); -(function($){ -function init(_3ec){ -$(_3ec).addClass("searchbox-f").hide(); -var span=$("").insertAfter(_3ec); -var _3ed=$("").appendTo(span); -$("").appendTo(span); -var name=$(_3ec).attr("name"); -if(name){ -_3ed.attr("name",name); -$(_3ec).removeAttr("name").attr("searchboxName",name); -} -return span; -}; -function _3ee(_3ef,_3f0){ -var opts=$.data(_3ef,"searchbox").options; -var sb=$.data(_3ef,"searchbox").searchbox; -if(_3f0){ -opts.width=_3f0; -} -sb.appendTo("body"); -if(isNaN(opts.width)){ -opts.width=sb._outerWidth(); -} -var _3f1=sb.find("span.searchbox-button"); -var menu=sb.find("a.searchbox-menu"); -var _3f2=sb.find("input.searchbox-text"); -sb._outerWidth(opts.width)._outerHeight(opts.height); -_3f2._outerWidth(sb.width()-menu._outerWidth()-_3f1._outerWidth()); -_3f2.css({height:sb.height()+"px",lineHeight:sb.height()+"px"}); -menu._outerHeight(sb.height()); -_3f1._outerHeight(sb.height()); -var _3f3=menu.find("span.l-btn-left"); -_3f3._outerHeight(sb.height()); -_3f3.find("span.l-btn-text,span.m-btn-downarrow").css({height:_3f3.height()+"px",lineHeight:_3f3.height()+"px"}); -sb.insertAfter(_3ef); -}; -function _3f4(_3f5){ -var _3f6=$.data(_3f5,"searchbox"); -var opts=_3f6.options; -if(opts.menu){ -_3f6.menu=$(opts.menu).menu({onClick:function(item){ -_3f7(item); -}}); -var item=_3f6.menu.children("div.menu-item:first"); -_3f6.menu.children("div.menu-item").each(function(){ -var _3f8=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -if(_3f8.selected){ -item=$(this); -return false; -} -}); -item.triggerHandler("click"); -}else{ -_3f6.searchbox.find("a.searchbox-menu").remove(); -_3f6.menu=null; -} -function _3f7(item){ -_3f6.searchbox.find("a.searchbox-menu").remove(); -var mb=$("").html(item.text); -mb.prependTo(_3f6.searchbox).menubutton({menu:_3f6.menu,iconCls:item.iconCls}); -_3f6.searchbox.find("input.searchbox-text").attr("name",item.name||item.text); -_3ee(_3f5); -}; -}; -function _3f9(_3fa){ -var _3fb=$.data(_3fa,"searchbox"); -var opts=_3fb.options; -var _3fc=_3fb.searchbox.find("input.searchbox-text"); -var _3fd=_3fb.searchbox.find(".searchbox-button"); -_3fc.unbind(".searchbox").bind("blur.searchbox",function(e){ -opts.value=$(this).val(); -if(opts.value==""){ -$(this).val(opts.prompt); -$(this).addClass("searchbox-prompt"); -}else{ -$(this).removeClass("searchbox-prompt"); -} -}).bind("focus.searchbox",function(e){ -if($(this).val()!=opts.value){ -$(this).val(opts.value); -} -$(this).removeClass("searchbox-prompt"); -}).bind("keydown.searchbox",function(e){ -if(e.keyCode==13){ -e.preventDefault(); -opts.value=$(this).val(); -opts.searcher.call(_3fa,opts.value,_3fc._propAttr("name")); -return false; -} -}); -_3fd.unbind(".searchbox").bind("click.searchbox",function(){ -opts.searcher.call(_3fa,opts.value,_3fc._propAttr("name")); -}).bind("mouseenter.searchbox",function(){ -$(this).addClass("searchbox-button-hover"); -}).bind("mouseleave.searchbox",function(){ -$(this).removeClass("searchbox-button-hover"); -}); -}; -function _3fe(_3ff){ -var _400=$.data(_3ff,"searchbox"); -var opts=_400.options; -var _401=_400.searchbox.find("input.searchbox-text"); -if(opts.value==""){ -_401.val(opts.prompt); -_401.addClass("searchbox-prompt"); -}else{ -_401.val(opts.value); -_401.removeClass("searchbox-prompt"); -} -}; -$.fn.searchbox=function(_402,_403){ -if(typeof _402=="string"){ -return $.fn.searchbox.methods[_402](this,_403); -} -_402=_402||{}; -return this.each(function(){ -var _404=$.data(this,"searchbox"); -if(_404){ -$.extend(_404.options,_402); -}else{ -_404=$.data(this,"searchbox",{options:$.extend({},$.fn.searchbox.defaults,$.fn.searchbox.parseOptions(this),_402),searchbox:init(this)}); -} -_3f4(this); -_3fe(this); -_3f9(this); -_3ee(this); -}); -}; -$.fn.searchbox.methods={options:function(jq){ -return $.data(jq[0],"searchbox").options; -},menu:function(jq){ -return $.data(jq[0],"searchbox").menu; -},textbox:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text"); -},getValue:function(jq){ -return $.data(jq[0],"searchbox").options.value; -},setValue:function(jq,_405){ -return jq.each(function(){ -$(this).searchbox("options").value=_405; -$(this).searchbox("textbox").val(_405); -$(this).searchbox("textbox").blur(); -}); -},getName:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text").attr("name"); -},selectName:function(jq,name){ -return jq.each(function(){ -var menu=$.data(this,"searchbox").menu; -if(menu){ -menu.children("div.menu-item[name=\""+name+"\"]").triggerHandler("click"); -} -}); -},destroy:function(jq){ -return jq.each(function(){ -var menu=$(this).searchbox("menu"); -if(menu){ -menu.menu("destroy"); -} -$.data(this,"searchbox").searchbox.remove(); -$(this).remove(); -}); -},resize:function(jq,_406){ -return jq.each(function(){ -_3ee(this,_406); -}); -}}; -$.fn.searchbox.parseOptions=function(_407){ -var t=$(_407); -return $.extend({},$.parser.parseOptions(_407,["width","height","prompt","menu"]),{value:t.val(),searcher:(t.attr("searcher")?eval(t.attr("searcher")):undefined)}); -}; -$.fn.searchbox.defaults={width:"auto",height:22,prompt:"",value:"",menu:null,searcher:function(_408,name){ -}}; -})(jQuery); -(function($){ -function init(_409){ -$(_409).addClass("validatebox-text"); -}; -function _40a(_40b){ -var _40c=$.data(_40b,"validatebox"); -_40c.validating=false; -if(_40c.timer){ -clearTimeout(_40c.timer); -} -$(_40b).tooltip("destroy"); -$(_40b).unbind(); -$(_40b).remove(); -}; -function _40d(_40e){ -var box=$(_40e); -var _40f=$.data(_40e,"validatebox"); -box.unbind(".validatebox"); -if(_40f.options.novalidate){ -return; -} -box.bind("focus.validatebox",function(){ -_40f.validating=true; -_40f.value=undefined; -(function(){ -if(_40f.validating){ -if(_40f.value!=box.val()){ -_40f.value=box.val(); -if(_40f.timer){ -clearTimeout(_40f.timer); -} -_40f.timer=setTimeout(function(){ -$(_40e).validatebox("validate"); -},_40f.options.delay); -}else{ -_414(_40e); -} -setTimeout(arguments.callee,200); -} -})(); -}).bind("blur.validatebox",function(){ -if(_40f.timer){ -clearTimeout(_40f.timer); -_40f.timer=undefined; -} -_40f.validating=false; -_410(_40e); -}).bind("mouseenter.validatebox",function(){ -if(box.hasClass("validatebox-invalid")){ -_411(_40e); -} -}).bind("mouseleave.validatebox",function(){ -if(!_40f.validating){ -_410(_40e); -} -}); -}; -function _411(_412){ -var _413=$.data(_412,"validatebox"); -var opts=_413.options; -$(_412).tooltip($.extend({},opts.tipOptions,{content:_413.message,position:opts.tipPosition,deltaX:opts.deltaX})).tooltip("show"); -_413.tip=true; -}; -function _414(_415){ -var _416=$.data(_415,"validatebox"); -if(_416&&_416.tip){ -$(_415).tooltip("reposition"); -} -}; -function _410(_417){ -var _418=$.data(_417,"validatebox"); -_418.tip=false; -$(_417).tooltip("hide"); -}; -function _419(_41a){ -var _41b=$.data(_41a,"validatebox"); -var opts=_41b.options; -var box=$(_41a); -var _41c=box.val(); -function _41d(msg){ -_41b.message=msg; -}; -function _41e(_41f){ -var _420=/([a-zA-Z_]+)(.*)/.exec(_41f); -var rule=opts.rules[_420[1]]; -if(rule&&_41c){ -var _421=eval(_420[2]); -if(!rule["validator"](_41c,_421)){ -box.addClass("validatebox-invalid"); -var _422=rule["message"]; -if(_421){ -for(var i=0;i<_421.length;i++){ -_422=_422.replace(new RegExp("\\{"+i+"\\}","g"),_421[i]); -} -} -_41d(opts.invalidMessage||_422); -if(_41b.validating){ -_411(_41a); -} -return false; -} -} -return true; -}; -box.removeClass("validatebox-invalid"); -_410(_41a); -if(opts.novalidate||box.is(":disabled")){ -return true; -} -if(opts.required){ -if(_41c==""){ -box.addClass("validatebox-invalid"); -_41d(opts.missingMessage); -if(_41b.validating){ -_411(_41a); -} -return false; -} -} -if(opts.validType){ -if(typeof opts.validType=="string"){ -if(!_41e(opts.validType)){ -return false; -} -}else{ -for(var i=0;i=_42d[0]&&len<=_42d[1]; -},message:"Please enter a value between {0} and {1}."},remote:{validator:function(_42e,_42f){ -var data={}; -data[_42f[1]]=_42e; -var _430=$.ajax({url:_42f[0],dataType:"json",data:data,async:false,cache:false,type:"post"}).responseText; -return _430=="true"; -},message:"Please fix this field."}}}; -})(jQuery); -(function($){ -function _431(_432,_433){ -_433=_433||{}; -var _434={}; -if(_433.onSubmit){ -if(_433.onSubmit.call(_432,_434)==false){ -return; -} -} -var form=$(_432); -if(_433.url){ -form.attr("action",_433.url); -} -var _435="easyui_frame_"+(new Date().getTime()); -var _436=$("").attr("src",window.ActiveXObject?"javascript:false":"about:blank").css({position:"absolute",top:-1000,left:-1000}); -var t=form.attr("target"),a=form.attr("action"); -form.attr("target",_435); -var _437=$(); -try{ -_436.appendTo("body"); -_436.bind("load",cb); -for(var n in _434){ -var f=$("").val(_434[n]).appendTo(form); -_437=_437.add(f); -} -_438(); -form[0].submit(); -} -finally{ -form.attr("action",a); -t?form.attr("target",t):form.removeAttr("target"); -_437.remove(); -} -function _438(){ -var f=$("#"+_435); -if(!f.length){ -return; -} -try{ -var s=f.contents()[0].readyState; -if(s&&s.toLowerCase()=="uninitialized"){ -setTimeout(_438,100); -} -} -catch(e){ -cb(); -} -}; -var _439=10; -function cb(){ -var _43a=$("#"+_435); -if(!_43a.length){ -return; -} -_43a.unbind(); -var data=""; -try{ -var body=_43a.contents().find("body"); -data=body.html(); -if(data==""){ -if(--_439){ -setTimeout(cb,100); -return; -} -} -var ta=body.find(">textarea"); -if(ta.length){ -data=ta.val(); -}else{ -var pre=body.find(">pre"); -if(pre.length){ -data=pre.html(); -} -} -} -catch(e){ -} -if(_433.success){ -_433.success(data); -} -setTimeout(function(){ -_43a.unbind(); -_43a.remove(); -},100); -}; -}; -function load(_43b,data){ -if(!$.data(_43b,"form")){ -$.data(_43b,"form",{options:$.extend({},$.fn.form.defaults)}); -} -var opts=$.data(_43b,"form").options; -if(typeof data=="string"){ -var _43c={}; -if(opts.onBeforeLoad.call(_43b,_43c)==false){ -return; -} -$.ajax({url:data,data:_43c,dataType:"json",success:function(data){ -_43d(data); -},error:function(){ -opts.onLoadError.apply(_43b,arguments); -}}); -}else{ -_43d(data); -} -function _43d(data){ -var form=$(_43b); -for(var name in data){ -var val=data[name]; -var rr=_43e(name,val); -if(!rr.length){ -var _43f=_440(name,val); -if(!_43f){ -$("input[name=\""+name+"\"]",form).val(val); -$("textarea[name=\""+name+"\"]",form).val(val); -$("select[name=\""+name+"\"]",form).val(val); -} -} -_441(name,val); -} -opts.onLoadSuccess.call(_43b,data); -_447(_43b); -}; -function _43e(name,val){ -var rr=$(_43b).find("input[name=\""+name+"\"][type=radio], input[name=\""+name+"\"][type=checkbox]"); -rr._propAttr("checked",false); -rr.each(function(){ -var f=$(this); -if(f.val()==String(val)||$.inArray(f.val(),$.isArray(val)?val:[val])>=0){ -f._propAttr("checked",true); -} -}); -return rr; -}; -function _440(name,val){ -var _442=0; -var pp=["numberbox","slider"]; -for(var i=0;i").insertAfter(_459); -var name=$(_459).attr("name"); -if(name){ -v.attr("name",name); -$(_459).removeAttr("name").attr("numberboxName",name); -} -return v; -}; -function _45a(_45b){ -var opts=$.data(_45b,"numberbox").options; -var fn=opts.onChange; -opts.onChange=function(){ -}; -_45c(_45b,opts.parser.call(_45b,opts.value)); -opts.onChange=fn; -opts.originalValue=_45d(_45b); -}; -function _45d(_45e){ -return $.data(_45e,"numberbox").field.val(); -}; -function _45c(_45f,_460){ -var _461=$.data(_45f,"numberbox"); -var opts=_461.options; -var _462=_45d(_45f); -_460=opts.parser.call(_45f,_460); -opts.value=_460; -_461.field.val(_460); -$(_45f).val(opts.formatter.call(_45f,_460)); -if(_462!=_460){ -opts.onChange.call(_45f,_460,_462); -} -}; -function _463(_464){ -var opts=$.data(_464,"numberbox").options; -$(_464).unbind(".numberbox").bind("keypress.numberbox",function(e){ -return opts.filter.call(_464,e); -}).bind("blur.numberbox",function(){ -_45c(_464,$(this).val()); -$(this).val(opts.formatter.call(_464,_45d(_464))); -}).bind("focus.numberbox",function(){ -var vv=_45d(_464); -if(vv!=opts.parser.call(_464,$(this).val())){ -$(this).val(opts.formatter.call(_464,vv)); -} -}); -}; -function _465(_466){ -if($.fn.validatebox){ -var opts=$.data(_466,"numberbox").options; -$(_466).validatebox(opts); -} -}; -function _467(_468,_469){ -var opts=$.data(_468,"numberbox").options; -if(_469){ -opts.disabled=true; -$(_468).attr("disabled",true); -}else{ -opts.disabled=false; -$(_468).removeAttr("disabled"); -} -}; -$.fn.numberbox=function(_46a,_46b){ -if(typeof _46a=="string"){ -var _46c=$.fn.numberbox.methods[_46a]; -if(_46c){ -return _46c(this,_46b); -}else{ -return this.validatebox(_46a,_46b); -} -} -_46a=_46a||{}; -return this.each(function(){ -var _46d=$.data(this,"numberbox"); -if(_46d){ -$.extend(_46d.options,_46a); -}else{ -_46d=$.data(this,"numberbox",{options:$.extend({},$.fn.numberbox.defaults,$.fn.numberbox.parseOptions(this),_46a),field:init(this)}); -$(this).removeAttr("disabled"); -$(this).css({imeMode:"disabled"}); -} -_467(this,_46d.options.disabled); -_463(this); -_465(this); -_45a(this); -}); -}; -$.fn.numberbox.methods={options:function(jq){ -return $.data(jq[0],"numberbox").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"numberbox").field.remove(); -$(this).validatebox("destroy"); -$(this).remove(); -}); -},disable:function(jq){ -return jq.each(function(){ -_467(this,true); -}); -},enable:function(jq){ -return jq.each(function(){ -_467(this,false); -}); -},fix:function(jq){ -return jq.each(function(){ -_45c(this,$(this).val()); -}); -},setValue:function(jq,_46e){ -return jq.each(function(){ -_45c(this,_46e); -}); -},getValue:function(jq){ -return _45d(jq[0]); -},clear:function(jq){ -return jq.each(function(){ -var _46f=$.data(this,"numberbox"); -_46f.field.val(""); -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).numberbox("options"); -$(this).numberbox("setValue",opts.originalValue); -}); -}}; -$.fn.numberbox.parseOptions=function(_470){ -var t=$(_470); -return $.extend({},$.fn.validatebox.parseOptions(_470),$.parser.parseOptions(_470,["decimalSeparator","groupSeparator","suffix",{min:"number",max:"number",precision:"number"}]),{prefix:(t.attr("prefix")?t.attr("prefix"):undefined),disabled:(t.attr("disabled")?true:undefined),value:(t.val()||undefined)}); -}; -$.fn.numberbox.defaults=$.extend({},$.fn.validatebox.defaults,{disabled:false,value:"",min:null,max:null,precision:0,decimalSeparator:".",groupSeparator:"",prefix:"",suffix:"",filter:function(e){ -var opts=$(this).numberbox("options"); -if(e.which==45){ -return ($(this).val().indexOf("-")==-1?true:false); -} -var c=String.fromCharCode(e.which); -if(c==opts.decimalSeparator){ -return ($(this).val().indexOf(c)==-1?true:false); -}else{ -if(c==opts.groupSeparator){ -return true; -}else{ -if((e.which>=48&&e.which<=57&&e.ctrlKey==false&&e.shiftKey==false)||e.which==0||e.which==8){ -return true; -}else{ -if(e.ctrlKey==true&&(e.which==99||e.which==118)){ -return true; -}else{ -return false; -} -} -} -} -},formatter:function(_471){ -if(!_471){ -return _471; -} -_471=_471+""; -var opts=$(this).numberbox("options"); -var s1=_471,s2=""; -var dpos=_471.indexOf("."); -if(dpos>=0){ -s1=_471.substring(0,dpos); -s2=_471.substring(dpos+1,_471.length); -} -if(opts.groupSeparator){ -var p=/(\d+)(\d{3})/; -while(p.test(s1)){ -s1=s1.replace(p,"$1"+opts.groupSeparator+"$2"); -} -} -if(s2){ -return opts.prefix+s1+opts.decimalSeparator+s2+opts.suffix; -}else{ -return opts.prefix+s1+opts.suffix; -} -},parser:function(s){ -s=s+""; -var opts=$(this).numberbox("options"); -if(parseFloat(s)!=s){ -if(opts.prefix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(opts.prefix),"g"),"")); -} -if(opts.suffix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(opts.suffix),"g"),"")); -} -if(opts.groupSeparator){ -s=$.trim(s.replace(new RegExp("\\"+opts.groupSeparator,"g"),"")); -} -if(opts.decimalSeparator){ -s=$.trim(s.replace(new RegExp("\\"+opts.decimalSeparator,"g"),".")); -} -s=s.replace(/\s/g,""); -} -var val=parseFloat(s).toFixed(opts.precision); -if(isNaN(val)){ -val=""; -}else{ -if(typeof (opts.min)=="number"&&valopts.max){ -val=opts.max.toFixed(opts.precision); -} -} -} -return val; -},onChange:function(_472,_473){ -}}); -})(jQuery); -(function($){ -function _474(_475){ -var opts=$.data(_475,"calendar").options; -var t=$(_475); -opts.fit?$.extend(opts,t._fit()):t._fit(false); -var _476=t.find(".calendar-header"); -t._outerWidth(opts.width); -t._outerHeight(opts.height); -t.find(".calendar-body")._outerHeight(t.height()-_476._outerHeight()); -}; -function init(_477){ -$(_477).addClass("calendar").html("
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"Aprial 2010"+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+""+""+""+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "); -$(_477).find(".calendar-title span").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}).click(function(){ -var menu=$(_477).find(".calendar-menu"); -if(menu.is(":visible")){ -menu.hide(); -}else{ -_47e(_477); -} -}); -$(".calendar-prevmonth,.calendar-nextmonth,.calendar-prevyear,.calendar-nextyear",_477).hover(function(){ -$(this).addClass("calendar-nav-hover"); -},function(){ -$(this).removeClass("calendar-nav-hover"); -}); -$(_477).find(".calendar-nextmonth").click(function(){ -_478(_477,1); -}); -$(_477).find(".calendar-prevmonth").click(function(){ -_478(_477,-1); -}); -$(_477).find(".calendar-nextyear").click(function(){ -_47b(_477,1); -}); -$(_477).find(".calendar-prevyear").click(function(){ -_47b(_477,-1); -}); -$(_477).bind("_resize",function(){ -var opts=$.data(_477,"calendar").options; -if(opts.fit==true){ -_474(_477); -} -return false; -}); -}; -function _478(_479,_47a){ -var opts=$.data(_479,"calendar").options; -opts.month+=_47a; -if(opts.month>12){ -opts.year++; -opts.month=1; -}else{ -if(opts.month<1){ -opts.year--; -opts.month=12; -} -} -show(_479); -var menu=$(_479).find(".calendar-menu-month-inner"); -menu.find("td.calendar-selected").removeClass("calendar-selected"); -menu.find("td:eq("+(opts.month-1)+")").addClass("calendar-selected"); -}; -function _47b(_47c,_47d){ -var opts=$.data(_47c,"calendar").options; -opts.year+=_47d; -show(_47c); -var menu=$(_47c).find(".calendar-menu-year"); -menu.val(opts.year); -}; -function _47e(_47f){ -var opts=$.data(_47f,"calendar").options; -$(_47f).find(".calendar-menu").show(); -if($(_47f).find(".calendar-menu-month-inner").is(":empty")){ -$(_47f).find(".calendar-menu-month-inner").empty(); -var t=$("
                      ").appendTo($(_47f).find(".calendar-menu-month-inner")); -var idx=0; -for(var i=0;i<3;i++){ -var tr=$("").appendTo(t); -for(var j=0;j<4;j++){ -$("").html(opts.months[idx++]).attr("abbr",idx).appendTo(tr); -} -} -$(_47f).find(".calendar-menu-prev,.calendar-menu-next").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}); -$(_47f).find(".calendar-menu-next").click(function(){ -var y=$(_47f).find(".calendar-menu-year"); -if(!isNaN(y.val())){ -y.val(parseInt(y.val())+1); -} -}); -$(_47f).find(".calendar-menu-prev").click(function(){ -var y=$(_47f).find(".calendar-menu-year"); -if(!isNaN(y.val())){ -y.val(parseInt(y.val()-1)); -} -}); -$(_47f).find(".calendar-menu-year").keypress(function(e){ -if(e.keyCode==13){ -_480(); -} -}); -$(_47f).find(".calendar-menu-month").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}).click(function(){ -var menu=$(_47f).find(".calendar-menu"); -menu.find(".calendar-selected").removeClass("calendar-selected"); -$(this).addClass("calendar-selected"); -_480(); -}); -} -function _480(){ -var menu=$(_47f).find(".calendar-menu"); -var year=menu.find(".calendar-menu-year").val(); -var _481=menu.find(".calendar-selected").attr("abbr"); -if(!isNaN(year)){ -opts.year=parseInt(year); -opts.month=parseInt(_481); -show(_47f); -} -menu.hide(); -}; -var body=$(_47f).find(".calendar-body"); -var sele=$(_47f).find(".calendar-menu"); -var _482=sele.find(".calendar-menu-year-inner"); -var _483=sele.find(".calendar-menu-month-inner"); -_482.find("input").val(opts.year).focus(); -_483.find("td.calendar-selected").removeClass("calendar-selected"); -_483.find("td:eq("+(opts.month-1)+")").addClass("calendar-selected"); -sele._outerWidth(body._outerWidth()); -sele._outerHeight(body._outerHeight()); -_483._outerHeight(sele.height()-_482._outerHeight()); -}; -function _484(_485,year,_486){ -var opts=$.data(_485,"calendar").options; -var _487=[]; -var _488=new Date(year,_486,0).getDate(); -for(var i=1;i<=_488;i++){ -_487.push([year,_486,i]); -} -var _489=[],week=[]; -var _48a=-1; -while(_487.length>0){ -var date=_487.shift(); -week.push(date); -var day=new Date(date[0],date[1]-1,date[2]).getDay(); -if(_48a==day){ -day=0; -}else{ -if(day==(opts.firstDay==0?7:opts.firstDay)-1){ -_489.push(week); -week=[]; -} -} -_48a=day; -} -if(week.length){ -_489.push(week); -} -var _48b=_489[0]; -if(_48b.length<7){ -while(_48b.length<7){ -var _48c=_48b[0]; -var date=new Date(_48c[0],_48c[1]-1,_48c[2]-1); -_48b.unshift([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -}else{ -var _48c=_48b[0]; -var week=[]; -for(var i=1;i<=7;i++){ -var date=new Date(_48c[0],_48c[1]-1,_48c[2]-i); -week.unshift([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -_489.unshift(week); -} -var _48d=_489[_489.length-1]; -while(_48d.length<7){ -var _48e=_48d[_48d.length-1]; -var date=new Date(_48e[0],_48e[1]-1,_48e[2]+1); -_48d.push([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -if(_489.length<6){ -var _48e=_48d[_48d.length-1]; -var week=[]; -for(var i=1;i<=7;i++){ -var date=new Date(_48e[0],_48e[1]-1,_48e[2]+i); -week.push([date.getFullYear(),date.getMonth()+1,date.getDate()]); -} -_489.push(week); -} -return _489; -}; -function show(_48f){ -var opts=$.data(_48f,"calendar").options; -$(_48f).find(".calendar-title span").html(opts.months[opts.month-1]+" "+opts.year); -var body=$(_48f).find("div.calendar-body"); -body.find(">table").remove(); -var t=$("
                      ").prependTo(body); -var tr=$("").appendTo(t.find("thead")); -for(var i=opts.firstDay;i"+opts.weeks[i]+""); -} -for(var i=0;i"+opts.weeks[i]+""); -} -var _490=_484(_48f,opts.year,opts.month); -for(var i=0;i<_490.length;i++){ -var week=_490[i]; -var tr=$("").appendTo(t.find("tbody")); -for(var j=0;j").attr("abbr",day[0]+","+day[1]+","+day[2]).html(day[2]).appendTo(tr); -} -} -t.find("td[abbr^=\""+opts.year+","+opts.month+"\"]").removeClass("calendar-other-month"); -var now=new Date(); -var _491=now.getFullYear()+","+(now.getMonth()+1)+","+now.getDate(); -t.find("td[abbr=\""+_491+"\"]").addClass("calendar-today"); -if(opts.current){ -t.find(".calendar-selected").removeClass("calendar-selected"); -var _492=opts.current.getFullYear()+","+(opts.current.getMonth()+1)+","+opts.current.getDate(); -t.find("td[abbr=\""+_492+"\"]").addClass("calendar-selected"); -} -var _493=6-opts.firstDay; -var _494=_493+1; -if(_493>=7){ -_493-=7; -} -if(_494>=7){ -_494-=7; -} -t.find("tr").find("td:eq("+_493+")").addClass("calendar-saturday"); -t.find("tr").find("td:eq("+_494+")").addClass("calendar-sunday"); -t.find("td").hover(function(){ -$(this).addClass("calendar-hover"); -},function(){ -$(this).removeClass("calendar-hover"); -}).click(function(){ -t.find(".calendar-selected").removeClass("calendar-selected"); -$(this).addClass("calendar-selected"); -var _495=$(this).attr("abbr").split(","); -opts.current=new Date(_495[0],parseInt(_495[1])-1,_495[2]); -opts.onSelect.call(_48f,opts.current); -}); -}; -$.fn.calendar=function(_496,_497){ -if(typeof _496=="string"){ -return $.fn.calendar.methods[_496](this,_497); -} -_496=_496||{}; -return this.each(function(){ -var _498=$.data(this,"calendar"); -if(_498){ -$.extend(_498.options,_496); -}else{ -_498=$.data(this,"calendar",{options:$.extend({},$.fn.calendar.defaults,$.fn.calendar.parseOptions(this),_496)}); -init(this); -} -if(_498.options.border==false){ -$(this).addClass("calendar-noborder"); -} -_474(this); -show(this); -$(this).find("div.calendar-menu").hide(); -}); -}; -$.fn.calendar.methods={options:function(jq){ -return $.data(jq[0],"calendar").options; -},resize:function(jq){ -return jq.each(function(){ -_474(this); -}); -},moveTo:function(jq,date){ -return jq.each(function(){ -$(this).calendar({year:date.getFullYear(),month:date.getMonth()+1,current:date}); -}); -}}; -$.fn.calendar.parseOptions=function(_499){ -var t=$(_499); -return $.extend({},$.parser.parseOptions(_499,["width","height",{firstDay:"number",fit:"boolean",border:"boolean"}])); -}; -$.fn.calendar.defaults={width:180,height:180,fit:false,border:true,firstDay:0,weeks:["S","M","T","W","T","F","S"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date(),onSelect:function(date){ -}}; -})(jQuery); -(function($){ -function init(_49a){ -var _49b=$(""+""+""+""+""+"").insertAfter(_49a); -$(_49a).addClass("spinner-text spinner-f").prependTo(_49b); -return _49b; -}; -function _49c(_49d,_49e){ -var opts=$.data(_49d,"spinner").options; -var _49f=$.data(_49d,"spinner").spinner; -if(_49e){ -opts.width=_49e; -} -var _4a0=$("
                      ").insertBefore(_49f); -_49f.appendTo("body"); -if(isNaN(opts.width)){ -opts.width=$(_49d).outerWidth(); -} -var _4a1=_49f.find(".spinner-arrow"); -_49f._outerWidth(opts.width)._outerHeight(opts.height); -$(_49d)._outerWidth(_49f.width()-_4a1.outerWidth()); -$(_49d).css({height:_49f.height()+"px",lineHeight:_49f.height()+"px"}); -_4a1._outerHeight(_49f.height()); -_4a1.find("span")._outerHeight(_4a1.height()/2); -_49f.insertAfter(_4a0); -_4a0.remove(); -}; -function _4a2(_4a3){ -var opts=$.data(_4a3,"spinner").options; -var _4a4=$.data(_4a3,"spinner").spinner; -_4a4.find(".spinner-arrow-up,.spinner-arrow-down").unbind(".spinner"); -if(!opts.disabled){ -_4a4.find(".spinner-arrow-up").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -opts.spin.call(_4a3,false); -opts.onSpinUp.call(_4a3); -$(_4a3).validatebox("validate"); -}); -_4a4.find(".spinner-arrow-down").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -opts.spin.call(_4a3,true); -opts.onSpinDown.call(_4a3); -$(_4a3).validatebox("validate"); -}); -} -}; -function _4a5(_4a6,_4a7){ -var opts=$.data(_4a6,"spinner").options; -if(_4a7){ -opts.disabled=true; -$(_4a6).attr("disabled",true); -}else{ -opts.disabled=false; -$(_4a6).removeAttr("disabled"); -} -}; -$.fn.spinner=function(_4a8,_4a9){ -if(typeof _4a8=="string"){ -var _4aa=$.fn.spinner.methods[_4a8]; -if(_4aa){ -return _4aa(this,_4a9); -}else{ -return this.validatebox(_4a8,_4a9); -} -} -_4a8=_4a8||{}; -return this.each(function(){ -var _4ab=$.data(this,"spinner"); -if(_4ab){ -$.extend(_4ab.options,_4a8); -}else{ -_4ab=$.data(this,"spinner",{options:$.extend({},$.fn.spinner.defaults,$.fn.spinner.parseOptions(this),_4a8),spinner:init(this)}); -$(this).removeAttr("disabled"); -} -_4ab.options.originalValue=_4ab.options.value; -$(this).val(_4ab.options.value); -$(this).attr("readonly",!_4ab.options.editable); -_4a5(this,_4ab.options.disabled); -_49c(this); -$(this).validatebox(_4ab.options); -_4a2(this); -}); -}; -$.fn.spinner.methods={options:function(jq){ -var opts=$.data(jq[0],"spinner").options; -return $.extend(opts,{value:jq.val()}); -},destroy:function(jq){ -return jq.each(function(){ -var _4ac=$.data(this,"spinner").spinner; -$(this).validatebox("destroy"); -_4ac.remove(); -}); -},resize:function(jq,_4ad){ -return jq.each(function(){ -_49c(this,_4ad); -}); -},enable:function(jq){ -return jq.each(function(){ -_4a5(this,false); -_4a2(this); -}); -},disable:function(jq){ -return jq.each(function(){ -_4a5(this,true); -_4a2(this); -}); -},getValue:function(jq){ -return jq.val(); -},setValue:function(jq,_4ae){ -return jq.each(function(){ -var opts=$.data(this,"spinner").options; -opts.value=_4ae; -$(this).val(_4ae); -}); -},clear:function(jq){ -return jq.each(function(){ -var opts=$.data(this,"spinner").options; -opts.value=""; -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).spinner("options"); -$(this).spinner("setValue",opts.originalValue); -}); -}}; -$.fn.spinner.parseOptions=function(_4af){ -var t=$(_4af); -return $.extend({},$.fn.validatebox.parseOptions(_4af),$.parser.parseOptions(_4af,["width","height","min","max",{increment:"number",editable:"boolean"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.spinner.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,deltaX:19,value:"",min:null,max:null,increment:1,editable:true,disabled:false,spin:function(down){ -},onSpinUp:function(){ -},onSpinDown:function(){ -}}); -})(jQuery); -(function($){ -function _4b0(_4b1){ -$(_4b1).addClass("numberspinner-f"); -var opts=$.data(_4b1,"numberspinner").options; -$(_4b1).spinner(opts).numberbox(opts); -}; -function _4b2(_4b3,down){ -var opts=$.data(_4b3,"numberspinner").options; -var v=parseFloat($(_4b3).numberbox("getValue")||opts.value)||0; -if(down==true){ -v-=opts.increment; -}else{ -v+=opts.increment; -} -$(_4b3).numberbox("setValue",v); -}; -$.fn.numberspinner=function(_4b4,_4b5){ -if(typeof _4b4=="string"){ -var _4b6=$.fn.numberspinner.methods[_4b4]; -if(_4b6){ -return _4b6(this,_4b5); -}else{ -return this.spinner(_4b4,_4b5); -} -} -_4b4=_4b4||{}; -return this.each(function(){ -var _4b7=$.data(this,"numberspinner"); -if(_4b7){ -$.extend(_4b7.options,_4b4); -}else{ -$.data(this,"numberspinner",{options:$.extend({},$.fn.numberspinner.defaults,$.fn.numberspinner.parseOptions(this),_4b4)}); -} -_4b0(this); -}); -}; -$.fn.numberspinner.methods={options:function(jq){ -var opts=$.data(jq[0],"numberspinner").options; -return $.extend(opts,{value:jq.numberbox("getValue"),originalValue:jq.numberbox("options").originalValue}); -},setValue:function(jq,_4b8){ -return jq.each(function(){ -$(this).numberbox("setValue",_4b8); -}); -},getValue:function(jq){ -return jq.numberbox("getValue"); -},clear:function(jq){ -return jq.each(function(){ -$(this).spinner("clear"); -$(this).numberbox("clear"); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).numberspinner("options"); -$(this).numberspinner("setValue",opts.originalValue); -}); -}}; -$.fn.numberspinner.parseOptions=function(_4b9){ -return $.extend({},$.fn.spinner.parseOptions(_4b9),$.fn.numberbox.parseOptions(_4b9),{}); -}; -$.fn.numberspinner.defaults=$.extend({},$.fn.spinner.defaults,$.fn.numberbox.defaults,{spin:function(down){ -_4b2(this,down); -}}); -})(jQuery); -(function($){ -function _4ba(_4bb){ -var opts=$.data(_4bb,"timespinner").options; -$(_4bb).addClass("timespinner-f"); -$(_4bb).spinner(opts); -$(_4bb).unbind(".timespinner"); -$(_4bb).bind("click.timespinner",function(){ -var _4bc=0; -if(this.selectionStart!=null){ -_4bc=this.selectionStart; -}else{ -if(this.createTextRange){ -var _4bd=_4bb.createTextRange(); -var s=document.selection.createRange(); -s.setEndPoint("StartToStart",_4bd); -_4bc=s.text.length; -} -} -if(_4bc>=0&&_4bc<=2){ -opts.highlight=0; -}else{ -if(_4bc>=3&&_4bc<=5){ -opts.highlight=1; -}else{ -if(_4bc>=6&&_4bc<=8){ -opts.highlight=2; -} -} -} -_4bf(_4bb); -}).bind("blur.timespinner",function(){ -_4be(_4bb); -}); -}; -function _4bf(_4c0){ -var opts=$.data(_4c0,"timespinner").options; -var _4c1=0,end=0; -if(opts.highlight==0){ -_4c1=0; -end=2; -}else{ -if(opts.highlight==1){ -_4c1=3; -end=5; -}else{ -if(opts.highlight==2){ -_4c1=6; -end=8; -} -} -} -if(_4c0.selectionStart!=null){ -_4c0.setSelectionRange(_4c1,end); -}else{ -if(_4c0.createTextRange){ -var _4c2=_4c0.createTextRange(); -_4c2.collapse(); -_4c2.moveEnd("character",end); -_4c2.moveStart("character",_4c1); -_4c2.select(); -} -} -$(_4c0).focus(); -}; -function _4c3(_4c4,_4c5){ -var opts=$.data(_4c4,"timespinner").options; -if(!_4c5){ -return null; -} -var vv=_4c5.split(opts.separator); -for(var i=0;itime){ -time=_4c8; -} -if(_4c9&&_4c9"]; -for(var i=0;i<_4dc.length;i++){ -_4db.cache[_4dc[i][0]]={width:_4dc[i][1]}; -} -var _4dd=0; -for(var s in _4db.cache){ -var item=_4db.cache[s]; -item.index=_4dd++; -ss.push(s+"{width:"+item.width+"}"); -} -ss.push(""); -$(ss.join("\n")).appendTo(cc); -setTimeout(function(){ -cc.children("style:not(:last)").remove(); -},0); -},getRule:function(_4de){ -var _4df=cc.children("style:last")[0]; -var _4e0=_4df.styleSheet?_4df.styleSheet:(_4df.sheet||document.styleSheets[document.styleSheets.length-1]); -var _4e1=_4e0.cssRules||_4e0.rules; -return _4e1[_4de]; -},set:function(_4e2,_4e3){ -var item=_4db.cache[_4e2]; -if(item){ -item.width=_4e3; -var rule=this.getRule(item.index); -if(rule){ -rule.style["width"]=_4e3; -} -} -},remove:function(_4e4){ -var tmp=[]; -for(var s in _4db.cache){ -if(s.indexOf(_4e4)==-1){ -tmp.push([s,_4db.cache[s].width]); -} -} -_4db.cache={}; -this.add(tmp); -},dirty:function(_4e5){ -if(_4e5){ -_4db.dirty.push(_4e5); -} -},clean:function(){ -for(var i=0;i<_4db.dirty.length;i++){ -this.remove(_4db.dirty[i]); -} -_4db.dirty=[]; -}}; -}; -function _4e6(_4e7,_4e8){ -var opts=$.data(_4e7,"datagrid").options; -var _4e9=$.data(_4e7,"datagrid").panel; -if(_4e8){ -if(_4e8.width){ -opts.width=_4e8.width; -} -if(_4e8.height){ -opts.height=_4e8.height; -} -} -if(opts.fit==true){ -var p=_4e9.panel("panel").parent(); -opts.width=p.width(); -opts.height=p.height(); -} -_4e9.panel("resize",{width:opts.width,height:opts.height}); -}; -function _4ea(_4eb){ -var opts=$.data(_4eb,"datagrid").options; -var dc=$.data(_4eb,"datagrid").dc; -var wrap=$.data(_4eb,"datagrid").panel; -var _4ec=wrap.width(); -var _4ed=wrap.height(); -var view=dc.view; -var _4ee=dc.view1; -var _4ef=dc.view2; -var _4f0=_4ee.children("div.datagrid-header"); -var _4f1=_4ef.children("div.datagrid-header"); -var _4f2=_4f0.find("table"); -var _4f3=_4f1.find("table"); -view.width(_4ec); -var _4f4=_4f0.children("div.datagrid-header-inner").show(); -_4ee.width(_4f4.find("table").width()); -if(!opts.showHeader){ -_4f4.hide(); -} -_4ef.width(_4ec-_4ee._outerWidth()); -_4ee.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_4ee.width()); -_4ef.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_4ef.width()); -var hh; -_4f0.css("height",""); -_4f1.css("height",""); -_4f2.css("height",""); -_4f3.css("height",""); -hh=Math.max(_4f2.height(),_4f3.height()); -_4f2.height(hh); -_4f3.height(hh); -_4f0.add(_4f1)._outerHeight(hh); -if(opts.height!="auto"){ -var _4f5=_4ed-_4ef.children("div.datagrid-header")._outerHeight()-_4ef.children("div.datagrid-footer")._outerHeight()-wrap.children("div.datagrid-toolbar")._outerHeight(); -wrap.children("div.datagrid-pager").each(function(){ -_4f5-=$(this)._outerHeight(); -}); -dc.body1.add(dc.body2).children("table.datagrid-btable-frozen").css({position:"absolute",top:dc.header2._outerHeight()}); -var _4f6=dc.body2.children("table.datagrid-btable-frozen")._outerHeight(); -_4ee.add(_4ef).children("div.datagrid-body").css({marginTop:_4f6,height:(_4f5-_4f6)}); -} -view.height(_4ef.height()); -}; -function _4f7(_4f8,_4f9,_4fa){ -var rows=$.data(_4f8,"datagrid").data.rows; -var opts=$.data(_4f8,"datagrid").options; -var dc=$.data(_4f8,"datagrid").dc; -if(!dc.body1.is(":empty")&&(!opts.nowrap||opts.autoRowHeight||_4fa)){ -if(_4f9!=undefined){ -var tr1=opts.finder.getTr(_4f8,_4f9,"body",1); -var tr2=opts.finder.getTr(_4f8,_4f9,"body",2); -_4fb(tr1,tr2); -}else{ -var tr1=opts.finder.getTr(_4f8,0,"allbody",1); -var tr2=opts.finder.getTr(_4f8,0,"allbody",2); -_4fb(tr1,tr2); -if(opts.showFooter){ -var tr1=opts.finder.getTr(_4f8,0,"allfooter",1); -var tr2=opts.finder.getTr(_4f8,0,"allfooter",2); -_4fb(tr1,tr2); -} -} -} -_4ea(_4f8); -if(opts.height=="auto"){ -var _4fc=dc.body1.parent(); -var _4fd=dc.body2; -var _4fe=_4ff(_4fd); -var _500=_4fe.height; -if(_4fe.width>_4fd.width()){ -_500+=18; -} -_4fc.height(_500); -_4fd.height(_500); -dc.view.height(dc.view2.height()); -} -dc.body2.triggerHandler("scroll"); -function _4fb(trs1,trs2){ -for(var i=0;i"); -} -_508(true); -_508(false); -_4ea(_505); -function _508(_509){ -var _50a=_509?1:2; -var tr=opts.finder.getTr(_505,_506,"body",_50a); -(_509?dc.body1:dc.body2).children("table.datagrid-btable-frozen").append(tr); -}; -}; -function _50b(_50c,_50d){ -function _50e(){ -var _50f=[]; -var _510=[]; -$(_50c).children("thead").each(function(){ -var opt=$.parser.parseOptions(this,[{frozen:"boolean"}]); -$(this).find("tr").each(function(){ -var cols=[]; -$(this).find("th").each(function(){ -var th=$(this); -var col=$.extend({},$.parser.parseOptions(this,["field","align","halign","order",{sortable:"boolean",checkbox:"boolean",resizable:"boolean",fixed:"boolean"},{rowspan:"number",colspan:"number",width:"number"}]),{title:(th.html()||undefined),hidden:(th.attr("hidden")?true:undefined),formatter:(th.attr("formatter")?eval(th.attr("formatter")):undefined),styler:(th.attr("styler")?eval(th.attr("styler")):undefined),sorter:(th.attr("sorter")?eval(th.attr("sorter")):undefined)}); -if(th.attr("editor")){ -var s=$.trim(th.attr("editor")); -if(s.substr(0,1)=="{"){ -col.editor=eval("("+s+")"); -}else{ -col.editor=s; -} -} -cols.push(col); -}); -opt.frozen?_50f.push(cols):_510.push(cols); -}); -}); -return [_50f,_510]; -}; -var _511=$("
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+""+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+""+"
                      "+"
                      "+"
                      "+"
                      ").insertAfter(_50c); -_511.panel({doSize:false}); -_511.panel("panel").addClass("datagrid").bind("_resize",function(e,_512){ -var opts=$.data(_50c,"datagrid").options; -if(opts.fit==true||_512){ -_4e6(_50c); -setTimeout(function(){ -if($.data(_50c,"datagrid")){ -_513(_50c); -} -},0); -} -return false; -}); -$(_50c).hide().appendTo(_511.children("div.datagrid-view")); -var cc=_50e(); -var view=_511.children("div.datagrid-view"); -var _514=view.children("div.datagrid-view1"); -var _515=view.children("div.datagrid-view2"); -var _516=_511.closest("div.datagrid-view"); -if(!_516.length){ -_516=view; -} -var ss=_4d9(_516); -return {panel:_511,frozenColumns:cc[0],columns:cc[1],dc:{view:view,view1:_514,view2:_515,header1:_514.children("div.datagrid-header").children("div.datagrid-header-inner"),header2:_515.children("div.datagrid-header").children("div.datagrid-header-inner"),body1:_514.children("div.datagrid-body").children("div.datagrid-body-inner"),body2:_515.children("div.datagrid-body"),footer1:_514.children("div.datagrid-footer").children("div.datagrid-footer-inner"),footer2:_515.children("div.datagrid-footer").children("div.datagrid-footer-inner")},ss:ss}; -}; -function _517(_518){ -var _519=$.data(_518,"datagrid"); -var opts=_519.options; -var dc=_519.dc; -var _51a=_519.panel; -_51a.panel($.extend({},opts,{id:null,doSize:false,onResize:function(_51b,_51c){ -setTimeout(function(){ -if($.data(_518,"datagrid")){ -_4ea(_518); -_543(_518); -opts.onResize.call(_51a,_51b,_51c); -} -},0); -},onExpand:function(){ -_4f7(_518); -opts.onExpand.call(_51a); -}})); -_519.rowIdPrefix="datagrid-row-r"+(++_4d4); -_519.cellClassPrefix="datagrid-cell-c"+_4d4; -_51d(dc.header1,opts.frozenColumns,true); -_51d(dc.header2,opts.columns,false); -_51e(); -dc.header1.add(dc.header2).css("display",opts.showHeader?"block":"none"); -dc.footer1.add(dc.footer2).css("display",opts.showFooter?"block":"none"); -if(opts.toolbar){ -if($.isArray(opts.toolbar)){ -$("div.datagrid-toolbar",_51a).remove(); -var tb=$("
                      ").prependTo(_51a); -var tr=tb.find("tr"); -for(var i=0;i
                      ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var tool=$("").appendTo(td); -tool[0].onclick=eval(btn.handler||function(){ -}); -tool.linkbutton($.extend({},btn,{plain:true})); -} -} -}else{ -$(opts.toolbar).addClass("datagrid-toolbar").prependTo(_51a); -$(opts.toolbar).show(); -} -}else{ -$("div.datagrid-toolbar",_51a).remove(); -} -$("div.datagrid-pager",_51a).remove(); -if(opts.pagination){ -var _51f=$("
                      "); -if(opts.pagePosition=="bottom"){ -_51f.appendTo(_51a); -}else{ -if(opts.pagePosition=="top"){ -_51f.addClass("datagrid-pager-top").prependTo(_51a); -}else{ -var ptop=$("
                      ").prependTo(_51a); -_51f.appendTo(_51a); -_51f=_51f.add(ptop); -} -} -_51f.pagination({total:(opts.pageNumber*opts.pageSize),pageNumber:opts.pageNumber,pageSize:opts.pageSize,pageList:opts.pageList,onSelectPage:function(_520,_521){ -opts.pageNumber=_520; -opts.pageSize=_521; -_51f.pagination("refresh",{pageNumber:_520,pageSize:_521}); -_60a(_518); -}}); -opts.pageSize=_51f.pagination("options").pageSize; -} -function _51d(_522,_523,_524){ -if(!_523){ -return; -} -$(_522).show(); -$(_522).empty(); -var _525=[]; -var _526=[]; -if(opts.sortName){ -_525=opts.sortName.split(","); -_526=opts.sortOrder.split(","); -} -var t=$("
                      ").appendTo(_522); -for(var i=0;i<_523.length;i++){ -var tr=$("").appendTo($("tbody",t)); -var cols=_523[i]; -for(var j=0;j").appendTo(tr); -if(col.checkbox){ -td.attr("field",col.field); -$("
                      ").html("").appendTo(td); -}else{ -if(col.field){ -td.attr("field",col.field); -td.append("
                      "); -$("span",td).html(col.title); -$("span.datagrid-sort-icon",td).html(" "); -var cell=td.find("div.datagrid-cell"); -var pos=_4d5(_525,col.field); -if(pos>=0){ -cell.addClass("datagrid-sort-"+_526[pos]); -} -if(col.resizable==false){ -cell.attr("resizable","false"); -} -if(col.width){ -cell._outerWidth(col.width); -col.boxWidth=parseInt(cell[0].style.width); -}else{ -col.auto=true; -} -cell.css("text-align",(col.halign||col.align||"")); -col.cellClass=_519.cellClassPrefix+"-"+col.field.replace(/[\.|\s]/g,"-"); -cell.addClass(col.cellClass).css("width",""); -}else{ -$("
                      ").html(col.title).appendTo(td); -} -} -if(col.hidden){ -td.hide(); -} -} -} -if(_524&&opts.rownumbers){ -var td=$("
                      "); -if($("tr",t).length==0){ -td.wrap("").parent().appendTo($("tbody",t)); -}else{ -td.prependTo($("tr:first",t)); -} -} -}; -function _51e(){ -var _527=[]; -var _528=_529(_518,true).concat(_529(_518)); -for(var i=0;i<_528.length;i++){ -var col=_52a(_518,_528[i]); -if(col&&!col.checkbox){ -_527.push(["."+col.cellClass,col.boxWidth?col.boxWidth+"px":"auto"]); -} -} -_519.ss.add(_527); -_519.ss.dirty(_519.cellSelectorPrefix); -_519.cellSelectorPrefix="."+_519.cellClassPrefix; -}; -}; -function _52b(_52c){ -var _52d=$.data(_52c,"datagrid"); -var _52e=_52d.panel; -var opts=_52d.options; -var dc=_52d.dc; -var _52f=dc.header1.add(dc.header2); -_52f.find("input[type=checkbox]").unbind(".datagrid").bind("click.datagrid",function(e){ -if(opts.singleSelect&&opts.selectOnCheck){ -return false; -} -if($(this).is(":checked")){ -_5a5(_52c); -}else{ -_5ab(_52c); -} -e.stopPropagation(); -}); -var _530=_52f.find("div.datagrid-cell"); -_530.closest("td").unbind(".datagrid").bind("mouseenter.datagrid",function(){ -if(_52d.resizing){ -return; -} -$(this).addClass("datagrid-header-over"); -}).bind("mouseleave.datagrid",function(){ -$(this).removeClass("datagrid-header-over"); -}).bind("contextmenu.datagrid",function(e){ -var _531=$(this).attr("field"); -opts.onHeaderContextMenu.call(_52c,e,_531); -}); -_530.unbind(".datagrid").bind("click.datagrid",function(e){ -var p1=$(this).offset().left+5; -var p2=$(this).offset().left+$(this)._outerWidth()-5; -if(e.pageXp1){ -var _532=$(this).parent().attr("field"); -var col=_52a(_52c,_532); -if(!col.sortable||_52d.resizing){ -return; -} -var _533=[]; -var _534=[]; -if(opts.sortName){ -_533=opts.sortName.split(","); -_534=opts.sortOrder.split(","); -} -var pos=_4d5(_533,_532); -var _535=col.order||"asc"; -if(pos>=0){ -$(this).removeClass("datagrid-sort-asc datagrid-sort-desc"); -var _536=_534[pos]=="asc"?"desc":"asc"; -if(opts.multiSort&&_536==_535){ -_533.splice(pos,1); -_534.splice(pos,1); -}else{ -_534[pos]=_536; -$(this).addClass("datagrid-sort-"+_536); -} -}else{ -if(opts.multiSort){ -_533.push(_532); -_534.push(_535); -}else{ -_533=[_532]; -_534=[_535]; -_530.removeClass("datagrid-sort-asc datagrid-sort-desc"); -} -$(this).addClass("datagrid-sort-"+_535); -} -opts.sortName=_533.join(","); -opts.sortOrder=_534.join(","); -if(opts.remoteSort){ -_60a(_52c); -}else{ -var data=$.data(_52c,"datagrid").data; -_572(_52c,data); -} -opts.onSortColumn.call(_52c,opts.sortName,opts.sortOrder); -} -}).bind("dblclick.datagrid",function(e){ -var p1=$(this).offset().left+5; -var p2=$(this).offset().left+$(this)._outerWidth()-5; -var cond=opts.resizeHandle=="right"?(e.pageX>p2):(opts.resizeHandle=="left"?(e.pageXp2)); -if(cond){ -var _537=$(this).parent().attr("field"); -var col=_52a(_52c,_537); -if(col.resizable==false){ -return; -} -$(_52c).datagrid("autoSizeColumn",_537); -col.auto=false; -} -}); -var _538=opts.resizeHandle=="right"?"e":(opts.resizeHandle=="left"?"w":"e,w"); -_530.each(function(){ -$(this).resizable({handles:_538,disabled:($(this).attr("resizable")?$(this).attr("resizable")=="false":false),minWidth:25,onStartResize:function(e){ -_52d.resizing=true; -_52f.css("cursor",$("body").css("cursor")); -if(!_52d.proxy){ -_52d.proxy=$("
                      ").appendTo(dc.view); -} -_52d.proxy.css({left:e.pageX-$(_52e).offset().left-1,display:"none"}); -setTimeout(function(){ -if(_52d.proxy){ -_52d.proxy.show(); -} -},500); -},onResize:function(e){ -_52d.proxy.css({left:e.pageX-$(_52e).offset().left-1,display:"block"}); -return false; -},onStopResize:function(e){ -_52f.css("cursor",""); -$(this).css("height",""); -$(this)._outerWidth($(this)._outerWidth()); -var _539=$(this).parent().attr("field"); -var col=_52a(_52c,_539); -col.width=$(this)._outerWidth(); -col.boxWidth=parseInt(this.style.width); -col.auto=undefined; -$(this).css("width",""); -_513(_52c,_539); -_52d.proxy.remove(); -_52d.proxy=null; -if($(this).parents("div:first.datagrid-header").parent().hasClass("datagrid-view1")){ -_4ea(_52c); -} -_543(_52c); -opts.onResizeColumn.call(_52c,_539,col.width); -setTimeout(function(){ -_52d.resizing=false; -},0); -}}); -}); -dc.body1.add(dc.body2).unbind().bind("mouseover",function(e){ -if(_52d.resizing){ -return; -} -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_53a(tr)){ -return; -} -var _53b=_53c(tr); -_58d(_52c,_53b); -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_53a(tr)){ -return; -} -var _53d=_53c(tr); -opts.finder.getTr(_52c,_53d).removeClass("datagrid-row-over"); -e.stopPropagation(); -}).bind("click",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!_53a(tr)){ -return; -} -var _53e=_53c(tr); -if(tt.parent().hasClass("datagrid-cell-check")){ -if(opts.singleSelect&&opts.selectOnCheck){ -if(!opts.checkOnSelect){ -_5ab(_52c,true); -} -_598(_52c,_53e); -}else{ -if(tt.is(":checked")){ -_598(_52c,_53e); -}else{ -_59f(_52c,_53e); -} -} -}else{ -var row=opts.finder.getRow(_52c,_53e); -var td=tt.closest("td[field]",tr); -if(td.length){ -var _53f=td.attr("field"); -opts.onClickCell.call(_52c,_53e,_53f,row[_53f]); -} -if(opts.singleSelect==true){ -_591(_52c,_53e); -}else{ -if(tr.hasClass("datagrid-row-selected")){ -_599(_52c,_53e); -}else{ -_591(_52c,_53e); -} -} -opts.onClickRow.call(_52c,_53e,row); -} -e.stopPropagation(); -}).bind("dblclick",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!_53a(tr)){ -return; -} -var _540=_53c(tr); -var row=opts.finder.getRow(_52c,_540); -var td=tt.closest("td[field]",tr); -if(td.length){ -var _541=td.attr("field"); -opts.onDblClickCell.call(_52c,_540,_541,row[_541]); -} -opts.onDblClickRow.call(_52c,_540,row); -e.stopPropagation(); -}).bind("contextmenu",function(e){ -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_53a(tr)){ -return; -} -var _542=_53c(tr); -var row=opts.finder.getRow(_52c,_542); -opts.onRowContextMenu.call(_52c,e,_542,row); -e.stopPropagation(); -}); -dc.body2.bind("scroll",function(){ -var b1=dc.view1.children("div.datagrid-body"); -b1.scrollTop($(this).scrollTop()); -var c1=dc.body1.children(":first"); -var c2=dc.body2.children(":first"); -if(c1.length&&c2.length){ -var top1=c1.offset().top; -var top2=c2.offset().top; -if(top1!=top2){ -b1.scrollTop(b1.scrollTop()+top1-top2); -} -} -dc.view2.children("div.datagrid-header,div.datagrid-footer")._scrollLeft($(this)._scrollLeft()); -dc.body2.children("table.datagrid-btable-frozen").css("left",-$(this)._scrollLeft()); -}); -function _53c(tr){ -if(tr.attr("datagrid-row-index")){ -return parseInt(tr.attr("datagrid-row-index")); -}else{ -return tr.attr("node-id"); -} -}; -function _53a(tr){ -return tr.length&&tr.parent().length; -}; -}; -function _543(_544){ -var _545=$.data(_544,"datagrid"); -var opts=_545.options; -var dc=_545.dc; -dc.body2.css("overflow-x",opts.fitColumns?"hidden":""); -if(!opts.fitColumns){ -return; -} -if(!_545.leftWidth){ -_545.leftWidth=0; -} -var _546=dc.view2.children("div.datagrid-header"); -var _547=0; -var _548; -var _549=_529(_544,false); -for(var i=0;i<_549.length;i++){ -var col=_52a(_544,_549[i]); -if(_54a(col)){ -_547+=col.width; -_548=col; -} -} -if(!_547){ -return; -} -if(_548){ -_54b(_548,-_545.leftWidth); -} -var _54c=_546.children("div.datagrid-header-inner").show(); -var _54d=_546.width()-_546.find("table").width()-opts.scrollbarSize+_545.leftWidth; -var rate=_54d/_547; -if(!opts.showHeader){ -_54c.hide(); -} -for(var i=0;i<_549.length;i++){ -var col=_52a(_544,_549[i]); -if(_54a(col)){ -var _54e=parseInt(col.width*rate); -_54b(col,_54e); -_54d-=_54e; -} -} -_545.leftWidth=_54d; -if(_548){ -_54b(_548,_545.leftWidth); -} -_513(_544); -function _54b(col,_54f){ -col.width+=_54f; -col.boxWidth+=_54f; -}; -function _54a(col){ -if(!col.hidden&&!col.checkbox&&!col.auto&&!col.fixed){ -return true; -} -}; -}; -function _550(_551,_552){ -var _553=$.data(_551,"datagrid"); -var opts=_553.options; -var dc=_553.dc; -var tmp=$("
                      ").appendTo("body"); -if(_552){ -_4e6(_552); -if(opts.fitColumns){ -_4ea(_551); -_543(_551); -} -}else{ -var _554=false; -var _555=_529(_551,true).concat(_529(_551,false)); -for(var i=0;i<_555.length;i++){ -var _552=_555[i]; -var col=_52a(_551,_552); -if(col.auto){ -_4e6(_552); -_554=true; -} -} -if(_554&&opts.fitColumns){ -_4ea(_551); -_543(_551); -} -} -tmp.remove(); -function _4e6(_556){ -var _557=dc.view.find("div.datagrid-header td[field=\""+_556+"\"] div.datagrid-cell"); -_557.css("width",""); -var col=$(_551).datagrid("getColumnOption",_556); -col.width=undefined; -col.boxWidth=undefined; -col.auto=true; -$(_551).datagrid("fixColumnSize",_556); -var _558=Math.max(_559("header"),_559("allbody"),_559("allfooter")); -_557._outerWidth(_558); -col.width=_558; -col.boxWidth=parseInt(_557[0].style.width); -_557.css("width",""); -$(_551).datagrid("fixColumnSize",_556); -opts.onResizeColumn.call(_551,_556,col.width); -function _559(type){ -var _55a=0; -if(type=="header"){ -_55a=_55b(_557); -}else{ -opts.finder.getTr(_551,0,type).find("td[field=\""+_556+"\"] div.datagrid-cell").each(function(){ -var w=_55b($(this)); -if(_55ab?1:-1); -}; -r=_577(r1[sn],r2[sn])*(so=="asc"?1:-1); -if(r!=0){ -return r; -} -} -return r; -}); -} -if(opts.view.onBeforeRender){ -opts.view.onBeforeRender.call(opts.view,_573,data.rows); -} -opts.view.render.call(opts.view,_573,dc.body2,false); -opts.view.render.call(opts.view,_573,dc.body1,true); -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,_573,dc.footer2,false); -opts.view.renderFooter.call(opts.view,_573,dc.footer1,true); -} -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,_573); -} -_574.ss.clean(); -opts.onLoadSuccess.call(_573,data); -var _578=$(_573).datagrid("getPager"); -if(_578.length){ -var _579=_578.pagination("options"); -if(_579.total!=data.total){ -_578.pagination("refresh",{total:data.total}); -if(opts.pageNumber!=_579.pageNumber){ -opts.pageNumber=_579.pageNumber; -_60a(_573); -} -} -} -_4f7(_573); -dc.body2.triggerHandler("scroll"); -_57a(); -$(_573).datagrid("autoSizeColumn"); -function _57a(){ -if(opts.idField){ -for(var i=0;i_58b.height()-18){ -_58b.scrollTop(_58b.scrollTop()+top+tr._outerHeight()-_58b.height()+18); -} -} -} -}; -function _58d(_58e,_58f){ -var _590=$.data(_58e,"datagrid"); -var opts=_590.options; -opts.finder.getTr(_58e,_590.highlightIndex).removeClass("datagrid-row-over"); -opts.finder.getTr(_58e,_58f).addClass("datagrid-row-over"); -_590.highlightIndex=_58f; -}; -function _591(_592,_593,_594){ -var _595=$.data(_592,"datagrid"); -var dc=_595.dc; -var opts=_595.options; -var _596=_595.selectedRows; -if(opts.singleSelect){ -_597(_592); -_596.splice(0,_596.length); -} -if(!_594&&opts.checkOnSelect){ -_598(_592,_593,true); -} -var row=opts.finder.getRow(_592,_593); -if(opts.idField){ -_4d8(_596,opts.idField,row); -} -opts.finder.getTr(_592,_593).addClass("datagrid-row-selected"); -opts.onSelect.call(_592,_593,row); -_586(_592,_593); -}; -function _599(_59a,_59b,_59c){ -var _59d=$.data(_59a,"datagrid"); -var dc=_59d.dc; -var opts=_59d.options; -var _59e=$.data(_59a,"datagrid").selectedRows; -if(!_59c&&opts.checkOnSelect){ -_59f(_59a,_59b,true); -} -opts.finder.getTr(_59a,_59b).removeClass("datagrid-row-selected"); -var row=opts.finder.getRow(_59a,_59b); -if(opts.idField){ -_4d6(_59e,opts.idField,row[opts.idField]); -} -opts.onUnselect.call(_59a,_59b,row); -}; -function _5a0(_5a1,_5a2){ -var _5a3=$.data(_5a1,"datagrid"); -var opts=_5a3.options; -var rows=_5a3.data.rows; -var _5a4=$.data(_5a1,"datagrid").selectedRows; -if(!_5a2&&opts.checkOnSelect){ -_5a5(_5a1,true); -} -opts.finder.getTr(_5a1,"","allbody").addClass("datagrid-row-selected"); -if(opts.idField){ -for(var _5a6=0;_5a6"); -cell.children("table").bind("click dblclick contextmenu",function(e){ -e.stopPropagation(); -}); -$.data(cell[0],"datagrid.editor",{actions:_5db,target:_5db.init(cell.find("td"),_5da),field:_5d8,type:_5d9,oldHtml:_5dc}); -} -} -}); -_4f7(_5d6,_5d7,true); -}; -function _5cd(_5de,_5df){ -var opts=$.data(_5de,"datagrid").options; -var tr=opts.finder.getTr(_5de,_5df); -tr.children("td").each(function(){ -var cell=$(this).find("div.datagrid-editable"); -if(cell.length){ -var ed=$.data(cell[0],"datagrid.editor"); -if(ed.actions.destroy){ -ed.actions.destroy(ed.target); -} -cell.html(ed.oldHtml); -$.removeData(cell[0],"datagrid.editor"); -cell.removeClass("datagrid-editable"); -cell.css("width",""); -} -}); -}; -function _5c2(_5e0,_5e1){ -var tr=$.data(_5e0,"datagrid").options.finder.getTr(_5e0,_5e1); -if(!tr.hasClass("datagrid-row-editing")){ -return true; -} -var vbox=tr.find(".validatebox-text"); -vbox.validatebox("validate"); -vbox.trigger("mouseleave"); -var _5e2=tr.find(".validatebox-invalid"); -return _5e2.length==0; -}; -function _5e3(_5e4,_5e5){ -var _5e6=$.data(_5e4,"datagrid").insertedRows; -var _5e7=$.data(_5e4,"datagrid").deletedRows; -var _5e8=$.data(_5e4,"datagrid").updatedRows; -if(!_5e5){ -var rows=[]; -rows=rows.concat(_5e6); -rows=rows.concat(_5e7); -rows=rows.concat(_5e8); -return rows; -}else{ -if(_5e5=="inserted"){ -return _5e6; -}else{ -if(_5e5=="deleted"){ -return _5e7; -}else{ -if(_5e5=="updated"){ -return _5e8; -} -} -} -} -return []; -}; -function _5e9(_5ea,_5eb){ -var _5ec=$.data(_5ea,"datagrid"); -var opts=_5ec.options; -var data=_5ec.data; -var _5ed=_5ec.insertedRows; -var _5ee=_5ec.deletedRows; -$(_5ea).datagrid("cancelEdit",_5eb); -var row=data.rows[_5eb]; -if(_4d5(_5ed,row)>=0){ -_4d6(_5ed,row); -}else{ -_5ee.push(row); -} -_4d6(_5ec.selectedRows,opts.idField,data.rows[_5eb][opts.idField]); -_4d6(_5ec.checkedRows,opts.idField,data.rows[_5eb][opts.idField]); -opts.view.deleteRow.call(opts.view,_5ea,_5eb); -if(opts.height=="auto"){ -_4f7(_5ea); -} -$(_5ea).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _5ef(_5f0,_5f1){ -var data=$.data(_5f0,"datagrid").data; -var view=$.data(_5f0,"datagrid").options.view; -var _5f2=$.data(_5f0,"datagrid").insertedRows; -view.insertRow.call(view,_5f0,_5f1.index,_5f1.row); -_5f2.push(_5f1.row); -$(_5f0).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _5f3(_5f4,row){ -var data=$.data(_5f4,"datagrid").data; -var view=$.data(_5f4,"datagrid").options.view; -var _5f5=$.data(_5f4,"datagrid").insertedRows; -view.insertRow.call(view,_5f4,null,row); -_5f5.push(row); -$(_5f4).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _5f6(_5f7){ -var _5f8=$.data(_5f7,"datagrid"); -var data=_5f8.data; -var rows=data.rows; -var _5f9=[]; -for(var i=0;i=0){ -(_606=="s"?_591:_598)(_5fd,_607,true); -} -} -}; -for(var i=0;i0){ -_572(this,data); -_5f6(this); -} -} -_4e6(this); -_60a(this); -_52b(this); -}); -}; -var _618={text:{init:function(_619,_61a){ -var _61b=$("").appendTo(_619); -return _61b; -},getValue:function(_61c){ -return $(_61c).val(); -},setValue:function(_61d,_61e){ -$(_61d).val(_61e); -},resize:function(_61f,_620){ -$(_61f)._outerWidth(_620)._outerHeight(22); -}},textarea:{init:function(_621,_622){ -var _623=$("").appendTo(_621); -return _623; -},getValue:function(_624){ -return $(_624).val(); -},setValue:function(_625,_626){ -$(_625).val(_626); -},resize:function(_627,_628){ -$(_627)._outerWidth(_628); -}},checkbox:{init:function(_629,_62a){ -var _62b=$("").appendTo(_629); -_62b.val(_62a.on); -_62b.attr("offval",_62a.off); -return _62b; -},getValue:function(_62c){ -if($(_62c).is(":checked")){ -return $(_62c).val(); -}else{ -return $(_62c).attr("offval"); -} -},setValue:function(_62d,_62e){ -var _62f=false; -if($(_62d).val()==_62e){ -_62f=true; -} -$(_62d)._propAttr("checked",_62f); -}},numberbox:{init:function(_630,_631){ -var _632=$("").appendTo(_630); -_632.numberbox(_631); -return _632; -},destroy:function(_633){ -$(_633).numberbox("destroy"); -},getValue:function(_634){ -$(_634).blur(); -return $(_634).numberbox("getValue"); -},setValue:function(_635,_636){ -$(_635).numberbox("setValue",_636); -},resize:function(_637,_638){ -$(_637)._outerWidth(_638)._outerHeight(22); -}},validatebox:{init:function(_639,_63a){ -var _63b=$("").appendTo(_639); -_63b.validatebox(_63a); -return _63b; -},destroy:function(_63c){ -$(_63c).validatebox("destroy"); -},getValue:function(_63d){ -return $(_63d).val(); -},setValue:function(_63e,_63f){ -$(_63e).val(_63f); -},resize:function(_640,_641){ -$(_640)._outerWidth(_641)._outerHeight(22); -}},datebox:{init:function(_642,_643){ -var _644=$("").appendTo(_642); -_644.datebox(_643); -return _644; -},destroy:function(_645){ -$(_645).datebox("destroy"); -},getValue:function(_646){ -return $(_646).datebox("getValue"); -},setValue:function(_647,_648){ -$(_647).datebox("setValue",_648); -},resize:function(_649,_64a){ -$(_649).datebox("resize",_64a); -}},combobox:{init:function(_64b,_64c){ -var _64d=$("").appendTo(_64b); -_64d.combobox(_64c||{}); -return _64d; -},destroy:function(_64e){ -$(_64e).combobox("destroy"); -},getValue:function(_64f){ -var opts=$(_64f).combobox("options"); -if(opts.multiple){ -return $(_64f).combobox("getValues").join(opts.separator); -}else{ -return $(_64f).combobox("getValue"); -} -},setValue:function(_650,_651){ -var opts=$(_650).combobox("options"); -if(opts.multiple){ -if(_651){ -$(_650).combobox("setValues",_651.split(opts.separator)); -}else{ -$(_650).combobox("clear"); -} -}else{ -$(_650).combobox("setValue",_651); -} -},resize:function(_652,_653){ -$(_652).combobox("resize",_653); -}},combotree:{init:function(_654,_655){ -var _656=$("").appendTo(_654); -_656.combotree(_655); -return _656; -},destroy:function(_657){ -$(_657).combotree("destroy"); -},getValue:function(_658){ -return $(_658).combotree("getValue"); -},setValue:function(_659,_65a){ -$(_659).combotree("setValue",_65a); -},resize:function(_65b,_65c){ -$(_65b).combotree("resize",_65c); -}}}; -$.fn.datagrid.methods={options:function(jq){ -var _65d=$.data(jq[0],"datagrid").options; -var _65e=$.data(jq[0],"datagrid").panel.panel("options"); -var opts=$.extend(_65d,{width:_65e.width,height:_65e.height,closed:_65e.closed,collapsed:_65e.collapsed,minimized:_65e.minimized,maximized:_65e.maximized}); -return opts; -},getPanel:function(jq){ -return $.data(jq[0],"datagrid").panel; -},getPager:function(jq){ -return $.data(jq[0],"datagrid").panel.children("div.datagrid-pager"); -},getColumnFields:function(jq,_65f){ -return _529(jq[0],_65f); -},getColumnOption:function(jq,_660){ -return _52a(jq[0],_660); -},resize:function(jq,_661){ -return jq.each(function(){ -_4e6(this,_661); -}); -},load:function(jq,_662){ -return jq.each(function(){ -var opts=$(this).datagrid("options"); -opts.pageNumber=1; -var _663=$(this).datagrid("getPager"); -_663.pagination("refresh",{pageNumber:1}); -_60a(this,_662); -}); -},reload:function(jq,_664){ -return jq.each(function(){ -_60a(this,_664); -}); -},reloadFooter:function(jq,_665){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -var dc=$.data(this,"datagrid").dc; -if(_665){ -$.data(this,"datagrid").footer=_665; -} -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,this,dc.footer2,false); -opts.view.renderFooter.call(opts.view,this,dc.footer1,true); -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,this); -} -$(this).datagrid("fixRowHeight"); -} -}); -},loading:function(jq){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -$(this).datagrid("getPager").pagination("loading"); -if(opts.loadMsg){ -var _666=$(this).datagrid("getPanel"); -if(!_666.children("div.datagrid-mask").length){ -$("
                      ").appendTo(_666); -var msg=$("
                      ").html(opts.loadMsg).appendTo(_666); -msg._outerHeight(40); -msg.css({marginLeft:(-msg.outerWidth()/2),lineHeight:(msg.height()+"px")}); -} -} -}); -},loaded:function(jq){ -return jq.each(function(){ -$(this).datagrid("getPager").pagination("loaded"); -var _667=$(this).datagrid("getPanel"); -_667.children("div.datagrid-mask-msg").remove(); -_667.children("div.datagrid-mask").remove(); -}); -},fitColumns:function(jq){ -return jq.each(function(){ -_543(this); -}); -},fixColumnSize:function(jq,_668){ -return jq.each(function(){ -_513(this,_668); -}); -},fixRowHeight:function(jq,_669){ -return jq.each(function(){ -_4f7(this,_669); -}); -},freezeRow:function(jq,_66a){ -return jq.each(function(){ -_504(this,_66a); -}); -},autoSizeColumn:function(jq,_66b){ -return jq.each(function(){ -_550(this,_66b); -}); -},loadData:function(jq,data){ -return jq.each(function(){ -_572(this,data); -_5f6(this); -}); -},getData:function(jq){ -return $.data(jq[0],"datagrid").data; -},getRows:function(jq){ -return $.data(jq[0],"datagrid").data.rows; -},getFooterRows:function(jq){ -return $.data(jq[0],"datagrid").footer; -},getRowIndex:function(jq,id){ -return _57c(jq[0],id); -},getChecked:function(jq){ -return _583(jq[0]); -},getSelected:function(jq){ -var rows=_57f(jq[0]); -return rows.length>0?rows[0]:null; -},getSelections:function(jq){ -return _57f(jq[0]); -},clearSelections:function(jq){ -return jq.each(function(){ -var _66c=$.data(this,"datagrid").selectedRows; -_66c.splice(0,_66c.length); -_597(this); -}); -},clearChecked:function(jq){ -return jq.each(function(){ -var _66d=$.data(this,"datagrid").checkedRows; -_66d.splice(0,_66d.length); -_5ab(this); -}); -},scrollTo:function(jq,_66e){ -return jq.each(function(){ -_586(this,_66e); -}); -},highlightRow:function(jq,_66f){ -return jq.each(function(){ -_58d(this,_66f); -_586(this,_66f); -}); -},selectAll:function(jq){ -return jq.each(function(){ -_5a0(this); -}); -},unselectAll:function(jq){ -return jq.each(function(){ -_597(this); -}); -},selectRow:function(jq,_670){ -return jq.each(function(){ -_591(this,_670); -}); -},selectRecord:function(jq,id){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -if(opts.idField){ -var _671=_57c(this,id); -if(_671>=0){ -$(this).datagrid("selectRow",_671); -} -} -}); -},unselectRow:function(jq,_672){ -return jq.each(function(){ -_599(this,_672); -}); -},checkRow:function(jq,_673){ -return jq.each(function(){ -_598(this,_673); -}); -},uncheckRow:function(jq,_674){ -return jq.each(function(){ -_59f(this,_674); -}); -},checkAll:function(jq){ -return jq.each(function(){ -_5a5(this); -}); -},uncheckAll:function(jq){ -return jq.each(function(){ -_5ab(this); -}); -},beginEdit:function(jq,_675){ -return jq.each(function(){ -_5bd(this,_675); -}); -},endEdit:function(jq,_676){ -return jq.each(function(){ -_5c3(this,_676,false); -}); -},cancelEdit:function(jq,_677){ -return jq.each(function(){ -_5c3(this,_677,true); -}); -},getEditors:function(jq,_678){ -return _5ce(jq[0],_678); -},getEditor:function(jq,_679){ -return _5d2(jq[0],_679); -},refreshRow:function(jq,_67a){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -opts.view.refreshRow.call(opts.view,this,_67a); -}); -},validateRow:function(jq,_67b){ -return _5c2(jq[0],_67b); -},updateRow:function(jq,_67c){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -opts.view.updateRow.call(opts.view,this,_67c.index,_67c.row); -}); -},appendRow:function(jq,row){ -return jq.each(function(){ -_5f3(this,row); -}); -},insertRow:function(jq,_67d){ -return jq.each(function(){ -_5ef(this,_67d); -}); -},deleteRow:function(jq,_67e){ -return jq.each(function(){ -_5e9(this,_67e); -}); -},getChanges:function(jq,_67f){ -return _5e3(jq[0],_67f); -},acceptChanges:function(jq){ -return jq.each(function(){ -_5fa(this); -}); -},rejectChanges:function(jq){ -return jq.each(function(){ -_5fc(this); -}); -},mergeCells:function(jq,_680){ -return jq.each(function(){ -_610(this,_680); -}); -},showColumn:function(jq,_681){ -return jq.each(function(){ -var _682=$(this).datagrid("getPanel"); -_682.find("td[field=\""+_681+"\"]").show(); -$(this).datagrid("getColumnOption",_681).hidden=false; -$(this).datagrid("fitColumns"); -}); -},hideColumn:function(jq,_683){ -return jq.each(function(){ -var _684=$(this).datagrid("getPanel"); -_684.find("td[field=\""+_683+"\"]").hide(); -$(this).datagrid("getColumnOption",_683).hidden=true; -$(this).datagrid("fitColumns"); -}); -}}; -$.fn.datagrid.parseOptions=function(_685){ -var t=$(_685); -return $.extend({},$.fn.panel.parseOptions(_685),$.parser.parseOptions(_685,["url","toolbar","idField","sortName","sortOrder","pagePosition","resizeHandle",{fitColumns:"boolean",autoRowHeight:"boolean",striped:"boolean",nowrap:"boolean"},{rownumbers:"boolean",singleSelect:"boolean",checkOnSelect:"boolean",selectOnCheck:"boolean"},{pagination:"boolean",pageSize:"number",pageNumber:"number"},{multiSort:"boolean",remoteSort:"boolean",showHeader:"boolean",showFooter:"boolean"},{scrollbarSize:"number"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined),loadMsg:(t.attr("loadMsg")!=undefined?t.attr("loadMsg"):undefined),rowStyler:(t.attr("rowStyler")?eval(t.attr("rowStyler")):undefined)}); -}; -$.fn.datagrid.parseData=function(_686){ -var t=$(_686); -var data={total:0,rows:[]}; -var _687=t.datagrid("getColumnFields",true).concat(t.datagrid("getColumnFields",false)); -t.find("tbody tr").each(function(){ -data.total++; -var row={}; -$.extend(row,$.parser.parseOptions(this,["iconCls","state"])); -for(var i=0;i<_687.length;i++){ -row[_687[i]]=$(this).find("td:eq("+i+")").html(); -} -data.rows.push(row); -}); -return data; -}; -var _688={render:function(_689,_68a,_68b){ -var _68c=$.data(_689,"datagrid"); -var opts=_68c.options; -var rows=_68c.data.rows; -var _68d=$(_689).datagrid("getColumnFields",_68b); -if(_68b){ -if(!(opts.rownumbers||(opts.frozenColumns&&opts.frozenColumns.length))){ -return; -} -} -var _68e=[""]; -for(var i=0;i"); -_68e.push(this.renderRow.call(this,_689,_68d,_68b,i,rows[i])); -_68e.push(""); -} -_68e.push("
                      "); -$(_68a).html(_68e.join("")); -},renderFooter:function(_693,_694,_695){ -var opts=$.data(_693,"datagrid").options; -var rows=$.data(_693,"datagrid").footer||[]; -var _696=$(_693).datagrid("getColumnFields",_695); -var _697=[""]; -for(var i=0;i"); -_697.push(this.renderRow.call(this,_693,_696,_695,i,rows[i])); -_697.push(""); -} -_697.push("
                      "); -$(_694).html(_697.join("")); -},renderRow:function(_698,_699,_69a,_69b,_69c){ -var opts=$.data(_698,"datagrid").options; -var cc=[]; -if(_69a&&opts.rownumbers){ -var _69d=_69b+1; -if(opts.pagination){ -_69d+=(opts.pageNumber-1)*opts.pageSize; -} -cc.push("
                      "+_69d+"
                      "); -} -for(var i=0;i<_699.length;i++){ -var _69e=_699[i]; -var col=$(_698).datagrid("getColumnOption",_69e); -if(col){ -var _69f=_69c[_69e]; -var css=col.styler?(col.styler(_69f,_69c,_69b)||""):""; -var _6a0=""; -var _6a1=""; -if(typeof css=="string"){ -_6a1=css; -}else{ -if(cc){ -_6a0=css["class"]||""; -_6a1=css["style"]||""; -} -} -var cls=_6a0?"class=\""+_6a0+"\"":""; -var _6a2=col.hidden?"style=\"display:none;"+_6a1+"\"":(_6a1?"style=\""+_6a1+"\"":""); -cc.push(""); -if(col.checkbox){ -var _6a2=""; -}else{ -var _6a2=_6a1; -if(col.align){ -_6a2+=";text-align:"+col.align+";"; -} -if(!opts.nowrap){ -_6a2+=";white-space:normal;height:auto;"; -}else{ -if(opts.autoRowHeight){ -_6a2+=";height:auto;"; -} -} -} -cc.push("
                      "); -if(col.checkbox){ -cc.push(""); -}else{ -if(col.formatter){ -cc.push(col.formatter(_69f,_69c,_69b)); -}else{ -cc.push(_69f); -} -} -cc.push("
                      "); -cc.push(""); -} -} -return cc.join(""); -},refreshRow:function(_6a3,_6a4){ -this.updateRow.call(this,_6a3,_6a4,{}); -},updateRow:function(_6a5,_6a6,row){ -var opts=$.data(_6a5,"datagrid").options; -var rows=$(_6a5).datagrid("getRows"); -$.extend(rows[_6a6],row); -var css=opts.rowStyler?opts.rowStyler.call(_6a5,_6a6,rows[_6a6]):""; -var _6a7=""; -var _6a8=""; -if(typeof css=="string"){ -_6a8=css; -}else{ -if(css){ -_6a7=css["class"]||""; -_6a8=css["style"]||""; -} -} -var _6a7="datagrid-row "+(_6a6%2&&opts.striped?"datagrid-row-alt ":" ")+_6a7; -function _6a9(_6aa){ -var _6ab=$(_6a5).datagrid("getColumnFields",_6aa); -var tr=opts.finder.getTr(_6a5,_6a6,"body",(_6aa?1:2)); -var _6ac=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); -tr.html(this.renderRow.call(this,_6a5,_6ab,_6aa,_6a6,rows[_6a6])); -tr.attr("style",_6a8).attr("class",tr.hasClass("datagrid-row-selected")?_6a7+" datagrid-row-selected":_6a7); -if(_6ac){ -tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -}; -_6a9.call(this,true); -_6a9.call(this,false); -$(_6a5).datagrid("fixRowHeight",_6a6); -},insertRow:function(_6ad,_6ae,row){ -var _6af=$.data(_6ad,"datagrid"); -var opts=_6af.options; -var dc=_6af.dc; -var data=_6af.data; -if(_6ae==undefined||_6ae==null){ -_6ae=data.rows.length; -} -if(_6ae>data.rows.length){ -_6ae=data.rows.length; -} -function _6b0(_6b1){ -var _6b2=_6b1?1:2; -for(var i=data.rows.length-1;i>=_6ae;i--){ -var tr=opts.finder.getTr(_6ad,i,"body",_6b2); -tr.attr("datagrid-row-index",i+1); -tr.attr("id",_6af.rowIdPrefix+"-"+_6b2+"-"+(i+1)); -if(_6b1&&opts.rownumbers){ -var _6b3=i+2; -if(opts.pagination){ -_6b3+=(opts.pageNumber-1)*opts.pageSize; -} -tr.find("div.datagrid-cell-rownumber").html(_6b3); -} -if(opts.striped){ -tr.removeClass("datagrid-row-alt").addClass((i+1)%2?"datagrid-row-alt":""); -} -} -}; -function _6b4(_6b5){ -var _6b6=_6b5?1:2; -var _6b7=$(_6ad).datagrid("getColumnFields",_6b5); -var _6b8=_6af.rowIdPrefix+"-"+_6b6+"-"+_6ae; -var tr=""; -if(_6ae>=data.rows.length){ -if(data.rows.length){ -opts.finder.getTr(_6ad,"","last",_6b6).after(tr); -}else{ -var cc=_6b5?dc.body1:dc.body2; -cc.html(""+tr+"
                      "); -} -}else{ -opts.finder.getTr(_6ad,_6ae+1,"body",_6b6).before(tr); -} -}; -_6b0.call(this,true); -_6b0.call(this,false); -_6b4.call(this,true); -_6b4.call(this,false); -data.total+=1; -data.rows.splice(_6ae,0,row); -this.refreshRow.call(this,_6ad,_6ae); -},deleteRow:function(_6b9,_6ba){ -var _6bb=$.data(_6b9,"datagrid"); -var opts=_6bb.options; -var data=_6bb.data; -function _6bc(_6bd){ -var _6be=_6bd?1:2; -for(var i=_6ba+1;itable>tbody>tr[datagrid-row-index="+_6c9+"]"); -} -return tr; -}else{ -if(type=="footer"){ -return (_6ca==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index="+_6c9+"]"); -}else{ -if(type=="selected"){ -return (_6ca==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-selected"); -}else{ -if(type=="highlight"){ -return (_6ca==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-over"); -}else{ -if(type=="checked"){ -return (_6ca==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-checked"); -}else{ -if(type=="last"){ -return (_6ca==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]:last"); -}else{ -if(type=="allbody"){ -return (_6ca==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]"); -}else{ -if(type=="allfooter"){ -return (_6ca==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index]"); -} -} -} -} -} -} -} -} -} -},getRow:function(_6cc,p){ -var _6cd=(typeof p=="object")?p.attr("datagrid-row-index"):p; -return $.data(_6cc,"datagrid").data.rows[parseInt(_6cd)]; -}},view:_688,onBeforeLoad:function(_6ce){ -},onLoadSuccess:function(){ -},onLoadError:function(){ -},onClickRow:function(_6cf,_6d0){ -},onDblClickRow:function(_6d1,_6d2){ -},onClickCell:function(_6d3,_6d4,_6d5){ -},onDblClickCell:function(_6d6,_6d7,_6d8){ -},onSortColumn:function(sort,_6d9){ -},onResizeColumn:function(_6da,_6db){ -},onSelect:function(_6dc,_6dd){ -},onUnselect:function(_6de,_6df){ -},onSelectAll:function(rows){ -},onUnselectAll:function(rows){ -},onCheck:function(_6e0,_6e1){ -},onUncheck:function(_6e2,_6e3){ -},onCheckAll:function(rows){ -},onUncheckAll:function(rows){ -},onBeforeEdit:function(_6e4,_6e5){ -},onAfterEdit:function(_6e6,_6e7,_6e8){ -},onCancelEdit:function(_6e9,_6ea){ -},onHeaderContextMenu:function(e,_6eb){ -},onRowContextMenu:function(e,_6ec,_6ed){ -}}); -})(jQuery); -(function($){ -var _6ee; -function _6ef(_6f0){ -var _6f1=$.data(_6f0,"propertygrid"); -var opts=$.data(_6f0,"propertygrid").options; -$(_6f0).datagrid($.extend({},opts,{cls:"propertygrid",view:(opts.showGroup?opts.groupView:opts.view),onClickRow:function(_6f2,row){ -if(_6ee!=this){ -_6f3(_6ee); -_6ee=this; -} -if(opts.editIndex!=_6f2&&row.editor){ -var col=$(this).datagrid("getColumnOption","value"); -col.editor=row.editor; -_6f3(_6ee); -$(this).datagrid("beginEdit",_6f2); -$(this).datagrid("getEditors",_6f2)[0].target.focus(); -opts.editIndex=_6f2; -} -opts.onClickRow.call(_6f0,_6f2,row); -},loadFilter:function(data){ -_6f3(this); -return opts.loadFilter.call(this,data); -}})); -$(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){ -var p=$(e.target).closest("div.datagrid-view,div.combo-panel"); -if(p.length){ -return; -} -_6f3(_6ee); -_6ee=undefined; -}); -}; -function _6f3(_6f4){ -var t=$(_6f4); -if(!t.length){ -return; -} -var opts=$.data(_6f4,"propertygrid").options; -var _6f5=opts.editIndex; -if(_6f5==undefined){ -return; -} -var ed=t.datagrid("getEditors",_6f5)[0]; -if(ed){ -ed.target.blur(); -if(t.datagrid("validateRow",_6f5)){ -t.datagrid("endEdit",_6f5); -}else{ -t.datagrid("cancelEdit",_6f5); -} -} -opts.editIndex=undefined; -}; -$.fn.propertygrid=function(_6f6,_6f7){ -if(typeof _6f6=="string"){ -var _6f8=$.fn.propertygrid.methods[_6f6]; -if(_6f8){ -return _6f8(this,_6f7); -}else{ -return this.datagrid(_6f6,_6f7); -} -} -_6f6=_6f6||{}; -return this.each(function(){ -var _6f9=$.data(this,"propertygrid"); -if(_6f9){ -$.extend(_6f9.options,_6f6); -}else{ -var opts=$.extend({},$.fn.propertygrid.defaults,$.fn.propertygrid.parseOptions(this),_6f6); -opts.frozenColumns=$.extend(true,[],opts.frozenColumns); -opts.columns=$.extend(true,[],opts.columns); -$.data(this,"propertygrid",{options:opts}); -} -_6ef(this); -}); -}; -$.fn.propertygrid.methods={options:function(jq){ -return $.data(jq[0],"propertygrid").options; -}}; -$.fn.propertygrid.parseOptions=function(_6fa){ -return $.extend({},$.fn.datagrid.parseOptions(_6fa),$.parser.parseOptions(_6fa,[{showGroup:"boolean"}])); -}; -var _6fb=$.extend({},$.fn.datagrid.defaults.view,{render:function(_6fc,_6fd,_6fe){ -var _6ff=[]; -var _700=this.groups; -for(var i=0;i<_700.length;i++){ -_6ff.push(this.renderGroup.call(this,_6fc,i,_700[i],_6fe)); -} -$(_6fd).html(_6ff.join("")); -},renderGroup:function(_701,_702,_703,_704){ -var _705=$.data(_701,"datagrid"); -var opts=_705.options; -var _706=$(_701).datagrid("getColumnFields",_704); -var _707=[]; -_707.push("
                      "); -_707.push(""); -_707.push(""); -if((_704&&(opts.rownumbers||opts.frozenColumns.length))||(!_704&&!(opts.rownumbers||opts.frozenColumns.length))){ -_707.push(""); -} -_707.push(""); -_707.push(""); -_707.push("
                       "); -if(!_704){ -_707.push(""); -_707.push(opts.groupFormatter.call(_701,_703.value,_703.rows)); -_707.push(""); -} -_707.push("
                      "); -_707.push("
                      "); -_707.push(""); -var _708=_703.startIndex; -for(var j=0;j<_703.rows.length;j++){ -var css=opts.rowStyler?opts.rowStyler.call(_701,_708,_703.rows[j]):""; -var _709=""; -var _70a=""; -if(typeof css=="string"){ -_70a=css; -}else{ -if(css){ -_709=css["class"]||""; -_70a=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_708%2&&opts.striped?"datagrid-row-alt ":" ")+_709+"\""; -var _70b=_70a?"style=\""+_70a+"\"":""; -var _70c=_705.rowIdPrefix+"-"+(_704?1:2)+"-"+_708; -_707.push(""); -_707.push(this.renderRow.call(this,_701,_706,_704,_708,_703.rows[j])); -_707.push(""); -_708++; -} -_707.push("
                      "); -return _707.join(""); -},bindEvents:function(_70d){ -var _70e=$.data(_70d,"datagrid"); -var dc=_70e.dc; -var body=dc.body1.add(dc.body2); -var _70f=($.data(body[0],"events")||$._data(body[0],"events")).click[0].handler; -body.unbind("click").bind("click",function(e){ -var tt=$(e.target); -var _710=tt.closest("span.datagrid-row-expander"); -if(_710.length){ -var _711=_710.closest("div.datagrid-group").attr("group-index"); -if(_710.hasClass("datagrid-row-collapse")){ -$(_70d).datagrid("collapseGroup",_711); -}else{ -$(_70d).datagrid("expandGroup",_711); -} -}else{ -_70f(e); -} -e.stopPropagation(); -}); -},onBeforeRender:function(_712,rows){ -var _713=$.data(_712,"datagrid"); -var opts=_713.options; -_714(); -var _715=[]; -for(var i=0;i"+".datagrid-group{height:25px;overflow:hidden;font-weight:bold;border-bottom:1px solid #ccc;}"+""); -} -}; -}}); -$.extend($.fn.datagrid.methods,{expandGroup:function(jq,_71c){ -return jq.each(function(){ -var view=$.data(this,"datagrid").dc.view; -var _71d=view.find(_71c!=undefined?"div.datagrid-group[group-index=\""+_71c+"\"]":"div.datagrid-group"); -var _71e=_71d.find("span.datagrid-row-expander"); -if(_71e.hasClass("datagrid-row-expand")){ -_71e.removeClass("datagrid-row-expand").addClass("datagrid-row-collapse"); -_71d.next("table").show(); -} -$(this).datagrid("fixRowHeight"); -}); -},collapseGroup:function(jq,_71f){ -return jq.each(function(){ -var view=$.data(this,"datagrid").dc.view; -var _720=view.find(_71f!=undefined?"div.datagrid-group[group-index=\""+_71f+"\"]":"div.datagrid-group"); -var _721=_720.find("span.datagrid-row-expander"); -if(_721.hasClass("datagrid-row-collapse")){ -_721.removeClass("datagrid-row-collapse").addClass("datagrid-row-expand"); -_720.next("table").hide(); -} -$(this).datagrid("fixRowHeight"); -}); -}}); -$.fn.propertygrid.defaults=$.extend({},$.fn.datagrid.defaults,{singleSelect:true,remoteSort:false,fitColumns:true,loadMsg:"",frozenColumns:[[{field:"f",width:16,resizable:false}]],columns:[[{field:"name",title:"Name",width:100,sortable:true},{field:"value",title:"Value",width:100,resizable:false}]],showGroup:false,groupView:_6fb,groupField:"group",groupFormatter:function(_722,rows){ -return _722; -}}); -})(jQuery); -(function($){ -function _723(_724){ -var _725=$.data(_724,"treegrid"); -var opts=_725.options; -$(_724).datagrid($.extend({},opts,{url:null,data:null,loader:function(){ -return false; -},onBeforeLoad:function(){ -return false; -},onLoadSuccess:function(){ -},onResizeColumn:function(_726,_727){ -_73d(_724); -opts.onResizeColumn.call(_724,_726,_727); -},onSortColumn:function(sort,_728){ -opts.sortName=sort; -opts.sortOrder=_728; -if(opts.remoteSort){ -_73c(_724); -}else{ -var data=$(_724).treegrid("getData"); -_752(_724,0,data); -} -opts.onSortColumn.call(_724,sort,_728); -},onBeforeEdit:function(_729,row){ -if(opts.onBeforeEdit.call(_724,row)==false){ -return false; -} -},onAfterEdit:function(_72a,row,_72b){ -opts.onAfterEdit.call(_724,row,_72b); -},onCancelEdit:function(_72c,row){ -opts.onCancelEdit.call(_724,row); -},onSelect:function(_72d){ -opts.onSelect.call(_724,find(_724,_72d)); -},onUnselect:function(_72e){ -opts.onUnselect.call(_724,find(_724,_72e)); -},onSelectAll:function(){ -opts.onSelectAll.call(_724,$.data(_724,"treegrid").data); -},onUnselectAll:function(){ -opts.onUnselectAll.call(_724,$.data(_724,"treegrid").data); -},onCheck:function(_72f){ -opts.onCheck.call(_724,find(_724,_72f)); -},onUncheck:function(_730){ -opts.onUncheck.call(_724,find(_724,_730)); -},onCheckAll:function(){ -opts.onCheckAll.call(_724,$.data(_724,"treegrid").data); -},onUncheckAll:function(){ -opts.onUncheckAll.call(_724,$.data(_724,"treegrid").data); -},onClickRow:function(_731){ -opts.onClickRow.call(_724,find(_724,_731)); -},onDblClickRow:function(_732){ -opts.onDblClickRow.call(_724,find(_724,_732)); -},onClickCell:function(_733,_734){ -opts.onClickCell.call(_724,_734,find(_724,_733)); -},onDblClickCell:function(_735,_736){ -opts.onDblClickCell.call(_724,_736,find(_724,_735)); -},onRowContextMenu:function(e,_737){ -opts.onContextMenu.call(_724,e,find(_724,_737)); -}})); -if(!opts.columns){ -var _738=$.data(_724,"datagrid").options; -opts.columns=_738.columns; -opts.frozenColumns=_738.frozenColumns; -} -_725.dc=$.data(_724,"datagrid").dc; -if(opts.pagination){ -var _739=$(_724).datagrid("getPager"); -_739.pagination({pageNumber:opts.pageNumber,pageSize:opts.pageSize,pageList:opts.pageList,onSelectPage:function(_73a,_73b){ -opts.pageNumber=_73a; -opts.pageSize=_73b; -_73c(_724); -}}); -opts.pageSize=_739.pagination("options").pageSize; -} -}; -function _73d(_73e,_73f){ -var opts=$.data(_73e,"datagrid").options; -var dc=$.data(_73e,"datagrid").dc; -if(!dc.body1.is(":empty")&&(!opts.nowrap||opts.autoRowHeight)){ -if(_73f!=undefined){ -var _740=_741(_73e,_73f); -for(var i=0;i<_740.length;i++){ -_742(_740[i][opts.idField]); -} -} -} -$(_73e).datagrid("fixRowHeight",_73f); -function _742(_743){ -var tr1=opts.finder.getTr(_73e,_743,"body",1); -var tr2=opts.finder.getTr(_73e,_743,"body",2); -tr1.css("height",""); -tr2.css("height",""); -var _744=Math.max(tr1.height(),tr2.height()); -tr1.css("height",_744); -tr2.css("height",_744); -}; -}; -function _745(_746){ -var dc=$.data(_746,"datagrid").dc; -var opts=$.data(_746,"treegrid").options; -if(!opts.rownumbers){ -return; -} -dc.body1.find("div.datagrid-cell-rownumber").each(function(i){ -$(this).html(i+1); -}); -}; -function _747(_748){ -var dc=$.data(_748,"datagrid").dc; -var body=dc.body1.add(dc.body2); -var _749=($.data(body[0],"events")||$._data(body[0],"events")).click[0].handler; -dc.body1.add(dc.body2).bind("mouseover",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.addClass("tree-expanded-hover"):tt.addClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.removeClass("tree-expanded-hover"):tt.removeClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).unbind("click").bind("click",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_74a(_748,tr.attr("node-id")); -}else{ -_749(e); -} -e.stopPropagation(); -}); -}; -function _74b(_74c,_74d){ -var opts=$.data(_74c,"treegrid").options; -var tr1=opts.finder.getTr(_74c,_74d,"body",1); -var tr2=opts.finder.getTr(_74c,_74d,"body",2); -var _74e=$(_74c).datagrid("getColumnFields",true).length+(opts.rownumbers?1:0); -var _74f=$(_74c).datagrid("getColumnFields",false).length; -_750(tr1,_74e); -_750(tr2,_74f); -function _750(tr,_751){ -$(""+""+"
                      "+""+"").insertAfter(tr); -}; -}; -function _752(_753,_754,data,_755){ -var _756=$.data(_753,"treegrid"); -var opts=_756.options; -var dc=_756.dc; -data=opts.loadFilter.call(_753,data,_754); -var node=find(_753,_754); -if(node){ -var _757=opts.finder.getTr(_753,_754,"body",1); -var _758=opts.finder.getTr(_753,_754,"body",2); -var cc1=_757.next("tr.treegrid-tr-tree").children("td").children("div"); -var cc2=_758.next("tr.treegrid-tr-tree").children("td").children("div"); -if(!_755){ -node.children=[]; -} -}else{ -var cc1=dc.body1; -var cc2=dc.body2; -if(!_755){ -_756.data=[]; -} -} -if(!_755){ -cc1.empty(); -cc2.empty(); -} -if(opts.view.onBeforeRender){ -opts.view.onBeforeRender.call(opts.view,_753,_754,data); -} -opts.view.render.call(opts.view,_753,cc1,true); -opts.view.render.call(opts.view,_753,cc2,false); -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,_753,dc.footer1,true); -opts.view.renderFooter.call(opts.view,_753,dc.footer2,false); -} -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,_753); -} -opts.onLoadSuccess.call(_753,node,data); -if(!_754&&opts.pagination){ -var _759=$.data(_753,"treegrid").total; -var _75a=$(_753).datagrid("getPager"); -if(_75a.pagination("options").total!=_759){ -_75a.pagination({total:_759}); -} -} -_73d(_753); -_745(_753); -$(_753).treegrid("autoSizeColumn"); -}; -function _73c(_75b,_75c,_75d,_75e,_75f){ -var opts=$.data(_75b,"treegrid").options; -var body=$(_75b).datagrid("getPanel").find("div.datagrid-body"); -if(_75d){ -opts.queryParams=_75d; -} -var _760=$.extend({},opts.queryParams); -if(opts.pagination){ -$.extend(_760,{page:opts.pageNumber,rows:opts.pageSize}); -} -if(opts.sortName){ -$.extend(_760,{sort:opts.sortName,order:opts.sortOrder}); -} -var row=find(_75b,_75c); -if(opts.onBeforeLoad.call(_75b,row,_760)==false){ -return; -} -var _761=body.find("tr[node-id=\""+_75c+"\"] span.tree-folder"); -_761.addClass("tree-loading"); -$(_75b).treegrid("loading"); -var _762=opts.loader.call(_75b,_760,function(data){ -_761.removeClass("tree-loading"); -$(_75b).treegrid("loaded"); -_752(_75b,_75c,data,_75e); -if(_75f){ -_75f(); -} -},function(){ -_761.removeClass("tree-loading"); -$(_75b).treegrid("loaded"); -opts.onLoadError.apply(_75b,arguments); -if(_75f){ -_75f(); -} -}); -if(_762==false){ -_761.removeClass("tree-loading"); -$(_75b).treegrid("loaded"); -} -}; -function _763(_764){ -var rows=_765(_764); -if(rows.length){ -return rows[0]; -}else{ -return null; -} -}; -function _765(_766){ -return $.data(_766,"treegrid").data; -}; -function _767(_768,_769){ -var row=find(_768,_769); -if(row._parentId){ -return find(_768,row._parentId); -}else{ -return null; -} -}; -function _741(_76a,_76b){ -var opts=$.data(_76a,"treegrid").options; -var body=$(_76a).datagrid("getPanel").find("div.datagrid-view2 div.datagrid-body"); -var _76c=[]; -if(_76b){ -_76d(_76b); -}else{ -var _76e=_765(_76a); -for(var i=0;i<_76e.length;i++){ -_76c.push(_76e[i]); -_76d(_76e[i][opts.idField]); -} -} -function _76d(_76f){ -var _770=find(_76a,_76f); -if(_770&&_770.children){ -for(var i=0,len=_770.children.length;i").insertBefore(_795); -if(hit.prev().length){ -hit.prev().remove(); -} -} -} -_752(_793,_794.parent,_794.data,true); -}; -function _796(_797,_798){ -var ref=_798.before||_798.after; -var opts=$.data(_797,"treegrid").options; -var _799=_767(_797,ref); -_792(_797,{parent:(_799?_799[opts.idField]:null),data:[_798.data]}); -_79a(true); -_79a(false); -_745(_797); -function _79a(_79b){ -var _79c=_79b?1:2; -var tr=opts.finder.getTr(_797,_798.data[opts.idField],"body",_79c); -var _79d=tr.closest("table.datagrid-btable"); -tr=tr.parent().children(); -var dest=opts.finder.getTr(_797,ref,"body",_79c); -if(_798.before){ -tr.insertBefore(dest); -}else{ -var sub=dest.next("tr.treegrid-tr-tree"); -tr.insertAfter(sub.length?sub:dest); -} -_79d.remove(); -}; -}; -function _79e(_79f,_7a0){ -var opts=$.data(_79f,"treegrid").options; -var tr=opts.finder.getTr(_79f,_7a0); -tr.next("tr.treegrid-tr-tree").remove(); -tr.remove(); -var _7a1=del(_7a0); -if(_7a1){ -if(_7a1.children.length==0){ -tr=opts.finder.getTr(_79f,_7a1[opts.idField]); -tr.next("tr.treegrid-tr-tree").remove(); -var cell=tr.children("td[field=\""+opts.treeField+"\"]").children("div.datagrid-cell"); -cell.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); -cell.find(".tree-hit").remove(); -$("").prependTo(cell); -} -} -_745(_79f); -function del(id){ -var cc; -var _7a2=_767(_79f,_7a0); -if(_7a2){ -cc=_7a2.children; -}else{ -cc=$(_79f).treegrid("getData"); -} -for(var i=0;i"]; -for(var i=0;i<_7bb.length;i++){ -var row=_7bb[i]; -if(row.state!="open"&&row.state!="closed"){ -row.state="open"; -} -var css=opts.rowStyler?opts.rowStyler.call(_7b1,row):""; -var _7bd=""; -var _7be=""; -if(typeof css=="string"){ -_7be=css; -}else{ -if(css){ -_7bd=css["class"]||""; -_7be=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_7b6++%2&&opts.striped?"datagrid-row-alt ":" ")+_7bd+"\""; -var _7bf=_7be?"style=\""+_7be+"\"":""; -var _7c0=_7b5+"-"+(_7b9?1:2)+"-"+row[opts.idField]; -_7bc.push(""); -_7bc=_7bc.concat(view.renderRow.call(view,_7b1,_7b4,_7b9,_7ba,row)); -_7bc.push(""); -if(row.children&&row.children.length){ -var tt=_7b8(_7b9,_7ba+1,row.children); -var v=row.state=="closed"?"none":"block"; -_7bc.push("
                      "); -_7bc=_7bc.concat(tt); -_7bc.push("
                      "); -} -} -_7bc.push(""); -return _7bc; -}; -},renderFooter:function(_7c1,_7c2,_7c3){ -var opts=$.data(_7c1,"treegrid").options; -var rows=$.data(_7c1,"treegrid").footer||[]; -var _7c4=$(_7c1).datagrid("getColumnFields",_7c3); -var _7c5=[""]; -for(var i=0;i"); -_7c5.push(this.renderRow.call(this,_7c1,_7c4,_7c3,0,row)); -_7c5.push(""); -} -_7c5.push("
                      "); -$(_7c2).html(_7c5.join("")); -},renderRow:function(_7c6,_7c7,_7c8,_7c9,row){ -var opts=$.data(_7c6,"treegrid").options; -var cc=[]; -if(_7c8&&opts.rownumbers){ -cc.push("
                      0
                      "); -} -for(var i=0;i<_7c7.length;i++){ -var _7ca=_7c7[i]; -var col=$(_7c6).datagrid("getColumnOption",_7ca); -if(col){ -var css=col.styler?(col.styler(row[_7ca],row)||""):""; -var _7cb=""; -var _7cc=""; -if(typeof css=="string"){ -_7cc=css; -}else{ -if(cc){ -_7cb=css["class"]||""; -_7cc=css["style"]||""; -} -} -var cls=_7cb?"class=\""+_7cb+"\"":""; -var _7cd=col.hidden?"style=\"display:none;"+_7cc+"\"":(_7cc?"style=\""+_7cc+"\"":""); -cc.push(""); -if(col.checkbox){ -var _7cd=""; -}else{ -var _7cd=_7cc; -if(col.align){ -_7cd+=";text-align:"+col.align+";"; -} -if(!opts.nowrap){ -_7cd+=";white-space:normal;height:auto;"; -}else{ -if(opts.autoRowHeight){ -_7cd+=";height:auto;"; -} -} -} -cc.push("
                      "); -if(col.checkbox){ -if(row.checked){ -cc.push(""); -}else{ -var val=null; -if(col.formatter){ -val=col.formatter(row[_7ca],row); -}else{ -val=row[_7ca]; -} -if(_7ca==opts.treeField){ -for(var j=0;j<_7c9;j++){ -cc.push(""); -} -if(row.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(row.children&&row.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -} -} -cc.push(""+val+""); -}else{ -cc.push(val); -} -} -cc.push("
                      "); -cc.push(""); -} -} -return cc.join(""); -},refreshRow:function(_7ce,id){ -this.updateRow.call(this,_7ce,id,{}); -},updateRow:function(_7cf,id,row){ -var opts=$.data(_7cf,"treegrid").options; -var _7d0=$(_7cf).treegrid("find",id); -$.extend(_7d0,row); -var _7d1=$(_7cf).treegrid("getLevel",id)-1; -var _7d2=opts.rowStyler?opts.rowStyler.call(_7cf,_7d0):""; -function _7d3(_7d4){ -var _7d5=$(_7cf).treegrid("getColumnFields",_7d4); -var tr=opts.finder.getTr(_7cf,id,"body",(_7d4?1:2)); -var _7d6=tr.find("div.datagrid-cell-rownumber").html(); -var _7d7=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); -tr.html(this.renderRow(_7cf,_7d5,_7d4,_7d1,_7d0)); -tr.attr("style",_7d2||""); -tr.find("div.datagrid-cell-rownumber").html(_7d6); -if(_7d7){ -tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -}; -_7d3.call(this,true); -_7d3.call(this,false); -$(_7cf).treegrid("fixRowHeight",id); -},onBeforeRender:function(_7d8,_7d9,data){ -if($.isArray(_7d9)){ -data={total:_7d9.length,rows:_7d9}; -_7d9=null; -} -if(!data){ -return false; -} -var _7da=$.data(_7d8,"treegrid"); -var opts=_7da.options; -if(data.length==undefined){ -if(data.footer){ -_7da.footer=data.footer; -} -if(data.total){ -_7da.total=data.total; -} -data=this.transfer(_7d8,_7d9,data.rows); -}else{ -function _7db(_7dc,_7dd){ -for(var i=0;i<_7dc.length;i++){ -var row=_7dc[i]; -row._parentId=_7dd; -if(row.children&&row.children.length){ -_7db(row.children,row[opts.idField]); -} -} -}; -_7db(data,_7d9); -} -var node=find(_7d8,_7d9); -if(node){ -if(node.children){ -node.children=node.children.concat(data); -}else{ -node.children=data; -} -}else{ -_7da.data=_7da.data.concat(data); -} -this.sort(_7d8,data); -this.treeNodes=data; -this.treeLevel=$(_7d8).treegrid("getLevel",_7d9); -},sort:function(_7de,data){ -var opts=$.data(_7de,"treegrid").options; -if(!opts.remoteSort&&opts.sortName){ -var _7df=opts.sortName.split(","); -var _7e0=opts.sortOrder.split(","); -_7e1(data); -} -function _7e1(rows){ -rows.sort(function(r1,r2){ -var r=0; -for(var i=0;i<_7df.length;i++){ -var sn=_7df[i]; -var so=_7e0[i]; -var col=$(_7de).treegrid("getColumnOption",sn); -var _7e2=col.sorter||function(a,b){ -return a==b?0:(a>b?1:-1); -}; -r=_7e2(r1[sn],r2[sn])*(so=="asc"?1:-1); -if(r!=0){ -return r; -} -} -return r; -}); -for(var i=0;i"+""+""+""+"").insertAfter(_7fb); -var _7fc=$("
                      ").appendTo("body"); -_7fc.panel({doSize:false,closed:true,cls:"combo-p",style:{position:"absolute",zIndex:10},onOpen:function(){ -$(this).panel("resize"); -},onClose:function(){ -var _7fd=$.data(_7fb,"combo"); -if(_7fd){ -_7fd.options.onHidePanel.call(_7fb); -} -}}); -var name=$(_7fb).attr("name"); -if(name){ -span.find("input.combo-value").attr("name",name); -$(_7fb).removeAttr("name").attr("comboName",name); -} -return {combo:span,panel:_7fc}; -}; -function _7fe(_7ff){ -var _800=$.data(_7ff,"combo"); -var opts=_800.options; -var _801=_800.combo; -if(opts.hasDownArrow){ -_801.find(".combo-arrow").show(); -}else{ -_801.find(".combo-arrow").hide(); -} -_802(_7ff,opts.disabled); -_803(_7ff,opts.readonly); -}; -function _804(_805){ -var _806=$.data(_805,"combo"); -var _807=_806.combo.find("input.combo-text"); -_807.validatebox("destroy"); -_806.panel.panel("destroy"); -_806.combo.remove(); -$(_805).remove(); -}; -function _808(_809){ -$(_809).find(".combo-f").each(function(){ -var p=$(this).combo("panel"); -if(p.is(":visible")){ -p.panel("close"); -} -}); -}; -function _80a(_80b){ -var _80c=$.data(_80b,"combo"); -var opts=_80c.options; -var _80d=_80c.panel; -var _80e=_80c.combo; -var _80f=_80e.find(".combo-text"); -var _810=_80e.find(".combo-arrow"); -$(document).unbind(".combo").bind("mousedown.combo",function(e){ -var p=$(e.target).closest("span.combo,div.combo-p"); -if(p.length){ -_808(p); -return; -} -$("body>div.combo-p>div.combo-panel:visible").panel("close"); -}); -_80f.unbind(".combo"); -_810.unbind(".combo"); -if(!opts.disabled&&!opts.readonly){ -_80f.bind("click.combo",function(e){ -if(!opts.editable){ -_811.call(this); -}else{ -var p=$(this).closest("div.combo-panel"); -$("div.combo-panel:visible").not(_80d).not(p).panel("close"); -} -}).bind("keydown.combo",function(e){ -switch(e.keyCode){ -case 38: -opts.keyHandler.up.call(_80b,e); -break; -case 40: -opts.keyHandler.down.call(_80b,e); -break; -case 37: -opts.keyHandler.left.call(_80b,e); -break; -case 39: -opts.keyHandler.right.call(_80b,e); -break; -case 13: -e.preventDefault(); -opts.keyHandler.enter.call(_80b,e); -return false; -case 9: -case 27: -_812(_80b); -break; -default: -if(opts.editable){ -if(_80c.timer){ -clearTimeout(_80c.timer); -} -_80c.timer=setTimeout(function(){ -var q=_80f.val(); -if(_80c.previousValue!=q){ -_80c.previousValue=q; -$(_80b).combo("showPanel"); -opts.keyHandler.query.call(_80b,_80f.val(),e); -$(_80b).combo("validate"); -} -},opts.delay); -} -} -}); -_810.bind("click.combo",function(){ -_811.call(this); -}).bind("mouseenter.combo",function(){ -$(this).addClass("combo-arrow-hover"); -}).bind("mouseleave.combo",function(){ -$(this).removeClass("combo-arrow-hover"); -}); -} -function _811(){ -if(_80d.is(":visible")){ -_808(_80d); -_812(_80b); -}else{ -var p=$(this).closest("div.combo-panel"); -$("div.combo-panel:visible").not(_80d).not(p).panel("close"); -$(_80b).combo("showPanel"); -} -_80f.focus(); -}; -}; -function _813(_814){ -var opts=$.data(_814,"combo").options; -var _815=$.data(_814,"combo").combo; -var _816=$.data(_814,"combo").panel; -if($.fn.window){ -_816.panel("panel").css("z-index",$.fn.window.defaults.zIndex++); -} -_816.panel("move",{left:_815.offset().left,top:_817()}); -if(_816.panel("options").closed){ -_816.panel("open"); -opts.onShowPanel.call(_814); -} -(function(){ -if(_816.is(":visible")){ -_816.panel("move",{left:_818(),top:_817()}); -setTimeout(arguments.callee,200); -} -})(); -function _818(){ -var left=_815.offset().left; -if(left+_816._outerWidth()>$(window)._outerWidth()+$(document).scrollLeft()){ -left=$(window)._outerWidth()+$(document).scrollLeft()-_816._outerWidth(); -} -if(left<0){ -left=0; -} -return left; -}; -function _817(){ -var top=_815.offset().top+_815._outerHeight(); -if(top+_816._outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=_815.offset().top-_816._outerHeight(); -} -if(top<$(document).scrollTop()){ -top=_815.offset().top+_815._outerHeight(); -} -return top; -}; -}; -function _812(_819){ -var _81a=$.data(_819,"combo").panel; -_81a.panel("close"); -}; -function _81b(_81c){ -var opts=$.data(_81c,"combo").options; -var _81d=$(_81c).combo("textbox"); -_81d.validatebox($.extend({},opts,{deltaX:(opts.hasDownArrow?opts.deltaX:(opts.deltaX>0?1:-1))})); -}; -function _802(_81e,_81f){ -var _820=$.data(_81e,"combo"); -var opts=_820.options; -var _821=_820.combo; -if(_81f){ -opts.disabled=true; -$(_81e).attr("disabled",true); -_821.find(".combo-value").attr("disabled",true); -_821.find(".combo-text").attr("disabled",true); -}else{ -opts.disabled=false; -$(_81e).removeAttr("disabled"); -_821.find(".combo-value").removeAttr("disabled"); -_821.find(".combo-text").removeAttr("disabled"); -} -}; -function _803(_822,mode){ -var _823=$.data(_822,"combo"); -var opts=_823.options; -opts.readonly=mode==undefined?true:mode; -var _824=opts.readonly?true:(!opts.editable); -_823.combo.find(".combo-text").attr("readonly",_824).css("cursor",_824?"pointer":""); -}; -function _825(_826){ -var _827=$.data(_826,"combo"); -var opts=_827.options; -var _828=_827.combo; -if(opts.multiple){ -_828.find("input.combo-value").remove(); -}else{ -_828.find("input.combo-value").val(""); -} -_828.find("input.combo-text").val(""); -}; -function _829(_82a){ -var _82b=$.data(_82a,"combo").combo; -return _82b.find("input.combo-text").val(); -}; -function _82c(_82d,text){ -var _82e=$.data(_82d,"combo"); -var _82f=_82e.combo.find("input.combo-text"); -if(_82f.val()!=text){ -_82f.val(text); -$(_82d).combo("validate"); -_82e.previousValue=text; -} -}; -function _830(_831){ -var _832=[]; -var _833=$.data(_831,"combo").combo; -_833.find("input.combo-value").each(function(){ -_832.push($(this).val()); -}); -return _832; -}; -function _834(_835,_836){ -var opts=$.data(_835,"combo").options; -var _837=_830(_835); -var _838=$.data(_835,"combo").combo; -_838.find("input.combo-value").remove(); -var name=$(_835).attr("comboName"); -for(var i=0;i<_836.length;i++){ -var _839=$("").appendTo(_838); -if(name){ -_839.attr("name",name); -} -_839.val(_836[i]); -} -var tmp=[]; -for(var i=0;i<_837.length;i++){ -tmp[i]=_837[i]; -} -var aa=[]; -for(var i=0;i<_836.length;i++){ -for(var j=0;j_859.height()){ -var h=_859.scrollTop()+item.position().top+item.outerHeight()-_859.height(); -_859.scrollTop(h); -} -} -} -}; -function nav(_85a,dir){ -var opts=$.data(_85a,"combobox").options; -var _85b=$(_85a).combobox("panel"); -var item=_85b.children("div.combobox-item-hover"); -if(!item.length){ -item=_85b.children("div.combobox-item-selected"); -} -item.removeClass("combobox-item-hover"); -var _85c="div.combobox-item:visible:not(.combobox-item-disabled):first"; -var _85d="div.combobox-item:visible:not(.combobox-item-disabled):last"; -if(!item.length){ -item=_85b.children(dir=="next"?_85c:_85d); -}else{ -if(dir=="next"){ -item=item.nextAll(_85c); -if(!item.length){ -item=_85b.children(_85c); -} -}else{ -item=item.prevAll(_85c); -if(!item.length){ -item=_85b.children(_85d); -} -} -} -if(item.length){ -item.addClass("combobox-item-hover"); -var row=_84e(_85a,item.attr("id"),"domId"); -if(row){ -_856(_85a,row[opts.valueField]); -if(opts.selectOnNavigation){ -_85e(_85a,row[opts.valueField]); -} -} -} -}; -function _85e(_85f,_860){ -var opts=$.data(_85f,"combobox").options; -var _861=$(_85f).combo("getValues"); -if($.inArray(_860+"",_861)==-1){ -if(opts.multiple){ -_861.push(_860); -}else{ -_861=[_860]; -} -_862(_85f,_861); -opts.onSelect.call(_85f,_84e(_85f,_860)); -} -}; -function _863(_864,_865){ -var opts=$.data(_864,"combobox").options; -var _866=$(_864).combo("getValues"); -var _867=$.inArray(_865+"",_866); -if(_867>=0){ -_866.splice(_867,1); -_862(_864,_866); -opts.onUnselect.call(_864,_84e(_864,_865)); -} -}; -function _862(_868,_869,_86a){ -var opts=$.data(_868,"combobox").options; -var _86b=$(_868).combo("panel"); -_86b.find("div.combobox-item-selected").removeClass("combobox-item-selected"); -var vv=[],ss=[]; -for(var i=0;i<_869.length;i++){ -var v=_869[i]; -var s=v; -var row=_84e(_868,v); -if(row){ -s=row[opts.textField]; -$("#"+row.domId).addClass("combobox-item-selected"); -} -vv.push(v); -ss.push(s); -} -$(_868).combo("setValues",vv); -if(!_86a){ -$(_868).combo("setText",ss.join(opts.separator)); -} -}; -var _86c=1; -function _86d(_86e,data,_86f){ -var _870=$.data(_86e,"combobox"); -var opts=_870.options; -_870.data=opts.loadFilter.call(_86e,data); -_870.groups=[]; -data=_870.data; -var _871=$(_86e).combobox("getValues"); -var dd=[]; -var _872=undefined; -for(var i=0;i"); -dd.push(opts.groupFormatter?opts.groupFormatter.call(_86e,g):g); -dd.push("
                      "); -} -}else{ -_872=undefined; -} -var cls="combobox-item"+(row.disabled?" combobox-item-disabled":"")+(g?" combobox-gitem":""); -row.domId="_easyui_combobox_"+_86c++; -dd.push("
                      "); -dd.push(opts.formatter?opts.formatter.call(_86e,row):s); -dd.push("
                      "); -if(row["selected"]&&$.inArray(v,_871)==-1){ -_871.push(v); -} -} -$(_86e).combo("panel").html(dd.join("")); -if(opts.multiple){ -_862(_86e,_871,_86f); -}else{ -_862(_86e,_871.length?[_871[_871.length-1]]:[],_86f); -} -opts.onLoadSuccess.call(_86e,data); -}; -function _873(_874,url,_875,_876){ -var opts=$.data(_874,"combobox").options; -if(url){ -opts.url=url; -} -_875=_875||{}; -if(opts.onBeforeLoad.call(_874,_875)==false){ -return; -} -opts.loader.call(_874,_875,function(data){ -_86d(_874,data,_876); -},function(){ -opts.onLoadError.apply(this,arguments); -}); -}; -function _877(_878,q){ -var _879=$.data(_878,"combobox"); -var opts=_879.options; -if(opts.multiple&&!q){ -_862(_878,[],true); -}else{ -_862(_878,[q],true); -} -if(opts.mode=="remote"){ -_873(_878,null,{q:q},true); -}else{ -var _87a=$(_878).combo("panel"); -_87a.find("div.combobox-item,div.combobox-group").hide(); -var data=_879.data; -var _87b=undefined; -for(var i=0;i").appendTo(_89c); -$.data(_89b,"combotree").tree=tree; -} -tree.tree($.extend({},opts,{checkbox:opts.multiple,onLoadSuccess:function(node,data){ -var _89d=$(_89b).combotree("getValues"); -if(opts.multiple){ -var _89e=tree.tree("getChecked"); -for(var i=0;i<_89e.length;i++){ -var id=_89e[i].id; -(function(){ -for(var i=0;i<_89d.length;i++){ -if(id==_89d[i]){ -return; -} -} -_89d.push(id); -})(); -} -} -$(_89b).combotree("setValues",_89d); -opts.onLoadSuccess.call(this,node,data); -},onClick:function(node){ -_8a0(_89b); -$(_89b).combo("hidePanel"); -opts.onClick.call(this,node); -},onCheck:function(node,_89f){ -_8a0(_89b); -opts.onCheck.call(this,node,_89f); -}})); -}; -function _8a0(_8a1){ -var opts=$.data(_8a1,"combotree").options; -var tree=$.data(_8a1,"combotree").tree; -var vv=[],ss=[]; -if(opts.multiple){ -var _8a2=tree.tree("getChecked"); -for(var i=0;i<_8a2.length;i++){ -vv.push(_8a2[i].id); -ss.push(_8a2[i].text); -} -}else{ -var node=tree.tree("getSelected"); -if(node){ -vv.push(node.id); -ss.push(node.text); -} -} -$(_8a1).combo("setValues",vv).combo("setText",ss.join(opts.separator)); -}; -function _8a3(_8a4,_8a5){ -var opts=$.data(_8a4,"combotree").options; -var tree=$.data(_8a4,"combotree").tree; -tree.find("span.tree-checkbox").addClass("tree-checkbox0").removeClass("tree-checkbox1 tree-checkbox2"); -var vv=[],ss=[]; -for(var i=0;i<_8a5.length;i++){ -var v=_8a5[i]; -var s=v; -var node=tree.tree("find",v); -if(node){ -s=node.text; -tree.tree("check",node.target); -tree.tree("select",node.target); -} -vv.push(v); -ss.push(s); -} -$(_8a4).combo("setValues",vv).combo("setText",ss.join(opts.separator)); -}; -$.fn.combotree=function(_8a6,_8a7){ -if(typeof _8a6=="string"){ -var _8a8=$.fn.combotree.methods[_8a6]; -if(_8a8){ -return _8a8(this,_8a7); -}else{ -return this.combo(_8a6,_8a7); -} -} -_8a6=_8a6||{}; -return this.each(function(){ -var _8a9=$.data(this,"combotree"); -if(_8a9){ -$.extend(_8a9.options,_8a6); -}else{ -$.data(this,"combotree",{options:$.extend({},$.fn.combotree.defaults,$.fn.combotree.parseOptions(this),_8a6)}); -} -_89a(this); -}); -}; -$.fn.combotree.methods={options:function(jq){ -var _8aa=jq.combo("options"); -return $.extend($.data(jq[0],"combotree").options,{originalValue:_8aa.originalValue,disabled:_8aa.disabled,readonly:_8aa.readonly}); -},tree:function(jq){ -return $.data(jq[0],"combotree").tree; -},loadData:function(jq,data){ -return jq.each(function(){ -var opts=$.data(this,"combotree").options; -opts.data=data; -var tree=$.data(this,"combotree").tree; -tree.tree("loadData",data); -}); -},reload:function(jq,url){ -return jq.each(function(){ -var opts=$.data(this,"combotree").options; -var tree=$.data(this,"combotree").tree; -if(url){ -opts.url=url; -} -tree.tree({url:opts.url}); -}); -},setValues:function(jq,_8ab){ -return jq.each(function(){ -_8a3(this,_8ab); -}); -},setValue:function(jq,_8ac){ -return jq.each(function(){ -_8a3(this,[_8ac]); -}); -},clear:function(jq){ -return jq.each(function(){ -var tree=$.data(this,"combotree").tree; -tree.find("div.tree-node-selected").removeClass("tree-node-selected"); -var cc=tree.tree("getChecked"); -for(var i=0;i").appendTo(_8b1); -_8b0.grid=grid; -} -grid.datagrid($.extend({},opts,{border:false,fit:true,singleSelect:(!opts.multiple),onLoadSuccess:function(data){ -var _8b2=$(_8af).combo("getValues"); -var _8b3=opts.onSelect; -opts.onSelect=function(){ -}; -_8bd(_8af,_8b2,_8b0.remainText); -opts.onSelect=_8b3; -opts.onLoadSuccess.apply(_8af,arguments); -},onClickRow:_8b4,onSelect:function(_8b5,row){ -_8b6(); -opts.onSelect.call(this,_8b5,row); -},onUnselect:function(_8b7,row){ -_8b6(); -opts.onUnselect.call(this,_8b7,row); -},onSelectAll:function(rows){ -_8b6(); -opts.onSelectAll.call(this,rows); -},onUnselectAll:function(rows){ -if(opts.multiple){ -_8b6(); -} -opts.onUnselectAll.call(this,rows); -}})); -function _8b4(_8b8,row){ -_8b0.remainText=false; -_8b6(); -if(!opts.multiple){ -$(_8af).combo("hidePanel"); -} -opts.onClickRow.call(this,_8b8,row); -}; -function _8b6(){ -var rows=grid.datagrid("getSelections"); -var vv=[],ss=[]; -for(var i=0;i=_8bb){ -_8bc=0; -} -} -grid.datagrid("highlightRow",_8bc); -if(opts.selectOnNavigation){ -_8ba.remainText=false; -grid.datagrid("selectRow",_8bc); -} -}; -function _8bd(_8be,_8bf,_8c0){ -var _8c1=$.data(_8be,"combogrid"); -var opts=_8c1.options; -var grid=_8c1.grid; -var rows=grid.datagrid("getRows"); -var ss=[]; -var _8c2=$(_8be).combo("getValues"); -var _8c3=$(_8be).combo("options"); -var _8c4=_8c3.onChange; -_8c3.onChange=function(){ -}; -grid.datagrid("clearSelections"); -for(var i=0;i<_8bf.length;i++){ -var _8c5=grid.datagrid("getRowIndex",_8bf[i]); -if(_8c5>=0){ -grid.datagrid("selectRow",_8c5); -ss.push(rows[_8c5][opts.textField]); -}else{ -ss.push(_8bf[i]); -} -} -$(_8be).combo("setValues",_8c2); -_8c3.onChange=_8c4; -$(_8be).combo("setValues",_8bf); -if(!_8c0){ -var s=ss.join(opts.separator); -if($(_8be).combo("getText")!=s){ -$(_8be).combo("setText",s); -} -} -}; -function _8c6(_8c7,q){ -var _8c8=$.data(_8c7,"combogrid"); -var opts=_8c8.options; -var grid=_8c8.grid; -_8c8.remainText=true; -if(opts.multiple&&!q){ -_8bd(_8c7,[],true); -}else{ -_8bd(_8c7,[q],true); -} -if(opts.mode=="remote"){ -grid.datagrid("clearSelections"); -grid.datagrid("load",$.extend({},opts.queryParams,{q:q})); -}else{ -if(!q){ -return; -} -var rows=grid.datagrid("getRows"); -for(var i=0;i
                      ").appendTo(_8da); -if(opts.sharedCalendar){ -_8d7.calendar=$(opts.sharedCalendar).appendTo(cc); -if(!_8d7.calendar.hasClass("calendar")){ -_8d7.calendar.calendar(); -} -}else{ -_8d7.calendar=$("
                      ").appendTo(cc).calendar(); -} -$.extend(_8d7.calendar.calendar("options"),{fit:true,border:false,onSelect:function(date){ -var opts=$(this.target).datebox("options"); -_8e0(this.target,opts.formatter(date)); -$(this.target).combo("hidePanel"); -opts.onSelect.call(_8d6,date); -}}); -_8e0(_8d6,opts.value); -var _8db=$("
                      ").appendTo(_8da); -var tr=_8db.find("tr"); -for(var i=0;i").appendTo(tr); -var btn=opts.buttons[i]; -var t=$("").html($.isFunction(btn.text)?btn.text(_8d6):btn.text).appendTo(td); -t.bind("click",{target:_8d6,handler:btn.handler},function(e){ -e.data.handler.call(this,e.data.target); -}); -} -tr.find("td").css("width",(100/opts.buttons.length)+"%"); -}; -function _8d8(){ -var _8dc=$(_8d6).combo("panel"); -var cc=_8dc.children("div.datebox-calendar-inner"); -_8dc.children()._outerWidth(_8dc.width()); -_8d7.calendar.appendTo(cc); -_8d7.calendar[0].target=_8d6; -if(opts.panelHeight!="auto"){ -var _8dd=_8dc.height(); -_8dc.children().not(cc).each(function(){ -_8dd-=$(this).outerHeight(); -}); -cc._outerHeight(_8dd); -} -_8d7.calendar.calendar("resize"); -}; -}; -function _8de(_8df,q){ -_8e0(_8df,q); -}; -function _8e1(_8e2){ -var _8e3=$.data(_8e2,"datebox"); -var opts=_8e3.options; -var _8e4=opts.formatter(_8e3.calendar.calendar("options").current); -_8e0(_8e2,_8e4); -$(_8e2).combo("hidePanel"); -}; -function _8e0(_8e5,_8e6){ -var _8e7=$.data(_8e5,"datebox"); -var opts=_8e7.options; -$(_8e5).combo("setValue",_8e6).combo("setText",_8e6); -_8e7.calendar.calendar("moveTo",opts.parser(_8e6)); -}; -$.fn.datebox=function(_8e8,_8e9){ -if(typeof _8e8=="string"){ -var _8ea=$.fn.datebox.methods[_8e8]; -if(_8ea){ -return _8ea(this,_8e9); -}else{ -return this.combo(_8e8,_8e9); -} -} -_8e8=_8e8||{}; -return this.each(function(){ -var _8eb=$.data(this,"datebox"); -if(_8eb){ -$.extend(_8eb.options,_8e8); -}else{ -$.data(this,"datebox",{options:$.extend({},$.fn.datebox.defaults,$.fn.datebox.parseOptions(this),_8e8)}); -} -_8d5(this); -}); -}; -$.fn.datebox.methods={options:function(jq){ -var _8ec=jq.combo("options"); -return $.extend($.data(jq[0],"datebox").options,{originalValue:_8ec.originalValue,disabled:_8ec.disabled,readonly:_8ec.readonly}); -},calendar:function(jq){ -return $.data(jq[0],"datebox").calendar; -},setValue:function(jq,_8ed){ -return jq.each(function(){ -_8e0(this,_8ed); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).datebox("options"); -$(this).datebox("setValue",opts.originalValue); -}); -}}; -$.fn.datebox.parseOptions=function(_8ee){ -return $.extend({},$.fn.combo.parseOptions(_8ee),$.parser.parseOptions(_8ee,["sharedCalendar"])); -}; -$.fn.datebox.defaults=$.extend({},$.fn.combo.defaults,{panelWidth:180,panelHeight:"auto",sharedCalendar:null,keyHandler:{up:function(e){ -},down:function(e){ -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_8e1(this); -},query:function(q,e){ -_8de(this,q); -}},currentText:"Today",closeText:"Close",okText:"Ok",buttons:[{text:function(_8ef){ -return $(_8ef).datebox("options").currentText; -},handler:function(_8f0){ -$(_8f0).datebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); -_8e1(_8f0); -}},{text:function(_8f1){ -return $(_8f1).datebox("options").closeText; -},handler:function(_8f2){ -$(this).closest("div.combo-panel").panel("close"); -}}],formatter:function(date){ -var y=date.getFullYear(); -var m=date.getMonth()+1; -var d=date.getDate(); -return m+"/"+d+"/"+y; -},parser:function(s){ -var t=Date.parse(s); -if(!isNaN(t)){ -return new Date(t); -}else{ -return new Date(); -} -},onSelect:function(date){ -}}); -})(jQuery); -(function($){ -function _8f3(_8f4){ -var _8f5=$.data(_8f4,"datetimebox"); -var opts=_8f5.options; -$(_8f4).datebox($.extend({},opts,{onShowPanel:function(){ -var _8f6=$(_8f4).datetimebox("getValue"); -_8f8(_8f4,_8f6,true); -opts.onShowPanel.call(_8f4); -},formatter:$.fn.datebox.defaults.formatter,parser:$.fn.datebox.defaults.parser})); -$(_8f4).removeClass("datebox-f").addClass("datetimebox-f"); -$(_8f4).datebox("calendar").calendar({onSelect:function(date){ -opts.onSelect.call(_8f4,date); -}}); -var _8f7=$(_8f4).datebox("panel"); -if(!_8f5.spinner){ -var p=$("
                      ").insertAfter(_8f7.children("div.datebox-calendar-inner")); -_8f5.spinner=p.children("input"); -} -_8f5.spinner.timespinner({showSeconds:opts.showSeconds,separator:opts.timeSeparator}).unbind(".datetimebox").bind("mousedown.datetimebox",function(e){ -e.stopPropagation(); -}); -_8f8(_8f4,opts.value); -}; -function _8f9(_8fa){ -var c=$(_8fa).datetimebox("calendar"); -var t=$(_8fa).datetimebox("spinner"); -var date=c.calendar("options").current; -return new Date(date.getFullYear(),date.getMonth(),date.getDate(),t.timespinner("getHours"),t.timespinner("getMinutes"),t.timespinner("getSeconds")); -}; -function _8fb(_8fc,q){ -_8f8(_8fc,q,true); -}; -function _8fd(_8fe){ -var opts=$.data(_8fe,"datetimebox").options; -var date=_8f9(_8fe); -_8f8(_8fe,opts.formatter.call(_8fe,date)); -$(_8fe).combo("hidePanel"); -}; -function _8f8(_8ff,_900,_901){ -var opts=$.data(_8ff,"datetimebox").options; -$(_8ff).combo("setValue",_900); -if(!_901){ -if(_900){ -var date=opts.parser.call(_8ff,_900); -$(_8ff).combo("setValue",opts.formatter.call(_8ff,date)); -$(_8ff).combo("setText",opts.formatter.call(_8ff,date)); -}else{ -$(_8ff).combo("setText",_900); -} -} -var date=opts.parser.call(_8ff,_900); -$(_8ff).datetimebox("calendar").calendar("moveTo",date); -$(_8ff).datetimebox("spinner").timespinner("setValue",_902(date)); -function _902(date){ -function _903(_904){ -return (_904<10?"0":"")+_904; -}; -var tt=[_903(date.getHours()),_903(date.getMinutes())]; -if(opts.showSeconds){ -tt.push(_903(date.getSeconds())); -} -return tt.join($(_8ff).datetimebox("spinner").timespinner("options").separator); -}; -}; -$.fn.datetimebox=function(_905,_906){ -if(typeof _905=="string"){ -var _907=$.fn.datetimebox.methods[_905]; -if(_907){ -return _907(this,_906); -}else{ -return this.datebox(_905,_906); -} -} -_905=_905||{}; -return this.each(function(){ -var _908=$.data(this,"datetimebox"); -if(_908){ -$.extend(_908.options,_905); -}else{ -$.data(this,"datetimebox",{options:$.extend({},$.fn.datetimebox.defaults,$.fn.datetimebox.parseOptions(this),_905)}); -} -_8f3(this); -}); -}; -$.fn.datetimebox.methods={options:function(jq){ -var _909=jq.datebox("options"); -return $.extend($.data(jq[0],"datetimebox").options,{originalValue:_909.originalValue,disabled:_909.disabled,readonly:_909.readonly}); -},spinner:function(jq){ -return $.data(jq[0],"datetimebox").spinner; -},setValue:function(jq,_90a){ -return jq.each(function(){ -_8f8(this,_90a); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).datetimebox("options"); -$(this).datetimebox("setValue",opts.originalValue); -}); -}}; -$.fn.datetimebox.parseOptions=function(_90b){ -var t=$(_90b); -return $.extend({},$.fn.datebox.parseOptions(_90b),$.parser.parseOptions(_90b,["timeSeparator",{showSeconds:"boolean"}])); -}; -$.fn.datetimebox.defaults=$.extend({},$.fn.datebox.defaults,{showSeconds:true,timeSeparator:":",keyHandler:{up:function(e){ -},down:function(e){ -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_8fd(this); -},query:function(q,e){ -_8fb(this,q); -}},buttons:[{text:function(_90c){ -return $(_90c).datetimebox("options").currentText; -},handler:function(_90d){ -$(_90d).datetimebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); -_8fd(_90d); -}},{text:function(_90e){ -return $(_90e).datetimebox("options").okText; -},handler:function(_90f){ -_8fd(_90f); -}},{text:function(_910){ -return $(_910).datetimebox("options").closeText; -},handler:function(_911){ -$(this).closest("div.combo-panel").panel("close"); -}}],formatter:function(date){ -var h=date.getHours(); -var M=date.getMinutes(); -var s=date.getSeconds(); -function _912(_913){ -return (_913<10?"0":"")+_913; -}; -var _914=$(this).datetimebox("spinner").timespinner("options").separator; -var r=$.fn.datebox.defaults.formatter(date)+" "+_912(h)+_914+_912(M); -if($(this).datetimebox("options").showSeconds){ -r+=_914+_912(s); -} -return r; -},parser:function(s){ -if($.trim(s)==""){ -return new Date(); -} -var dt=s.split(" "); -var d=$.fn.datebox.defaults.parser(dt[0]); -if(dt.length<2){ -return d; -} -var _915=$(this).datetimebox("spinner").timespinner("options").separator; -var tt=dt[1].split(_915); -var hour=parseInt(tt[0],10)||0; -var _916=parseInt(tt[1],10)||0; -var _917=parseInt(tt[2],10)||0; -return new Date(d.getFullYear(),d.getMonth(),d.getDate(),hour,_916,_917); -}}); -})(jQuery); -(function($){ -function init(_918){ -var _919=$("
                      "+"
                      "+""+""+"
                      "+"
                      "+"
                      "+"
                      "+""+"
                      ").insertAfter(_918); -var t=$(_918); -t.addClass("slider-f").hide(); -var name=t.attr("name"); -if(name){ -_919.find("input.slider-value").attr("name",name); -t.removeAttr("name").attr("sliderName",name); -} -return _919; -}; -function _91a(_91b,_91c){ -var _91d=$.data(_91b,"slider"); -var opts=_91d.options; -var _91e=_91d.slider; -if(_91c){ -if(_91c.width){ -opts.width=_91c.width; -} -if(_91c.height){ -opts.height=_91c.height; -} -} -if(opts.mode=="h"){ -_91e.css("height",""); -_91e.children("div").css("height",""); -if(!isNaN(opts.width)){ -_91e.width(opts.width); -} -}else{ -_91e.css("width",""); -_91e.children("div").css("width",""); -if(!isNaN(opts.height)){ -_91e.height(opts.height); -_91e.find("div.slider-rule").height(opts.height); -_91e.find("div.slider-rulelabel").height(opts.height); -_91e.find("div.slider-inner")._outerHeight(opts.height); -} -} -_91f(_91b); -}; -function _920(_921){ -var _922=$.data(_921,"slider"); -var opts=_922.options; -var _923=_922.slider; -var aa=opts.mode=="h"?opts.rule:opts.rule.slice(0).reverse(); -if(opts.reversed){ -aa=aa.slice(0).reverse(); -} -_924(aa); -function _924(aa){ -var rule=_923.find("div.slider-rule"); -var _925=_923.find("div.slider-rulelabel"); -rule.empty(); -_925.empty(); -for(var i=0;i").appendTo(rule); -span.css((opts.mode=="h"?"left":"top"),_926); -if(aa[i]!="|"){ -span=$("").appendTo(_925); -span.html(aa[i]); -if(opts.mode=="h"){ -span.css({left:_926,marginLeft:-Math.round(span.outerWidth()/2)}); -}else{ -span.css({top:_926,marginTop:-Math.round(span.outerHeight()/2)}); -} -} -} -}; -}; -function _927(_928){ -var _929=$.data(_928,"slider"); -var opts=_929.options; -var _92a=_929.slider; -_92a.removeClass("slider-h slider-v slider-disabled"); -_92a.addClass(opts.mode=="h"?"slider-h":"slider-v"); -_92a.addClass(opts.disabled?"slider-disabled":""); -_92a.find("a.slider-handle").draggable({axis:opts.mode,cursor:"pointer",disabled:opts.disabled,onDrag:function(e){ -var left=e.data.left; -var _92b=_92a.width(); -if(opts.mode!="h"){ -left=e.data.top; -_92b=_92a.height(); -} -if(left<0||left>_92b){ -return false; -}else{ -var _92c=_93e(_928,left); -_92d(_92c); -return false; -} -},onBeforeDrag:function(){ -_929.isDragging=true; -},onStartDrag:function(){ -opts.onSlideStart.call(_928,opts.value); -},onStopDrag:function(e){ -var _92e=_93e(_928,(opts.mode=="h"?e.data.left:e.data.top)); -_92d(_92e); -opts.onSlideEnd.call(_928,opts.value); -opts.onComplete.call(_928,opts.value); -_929.isDragging=false; -}}); -_92a.find("div.slider-inner").unbind(".slider").bind("mousedown.slider",function(e){ -if(_929.isDragging){ -return; -} -var pos=$(this).offset(); -var _92f=_93e(_928,(opts.mode=="h"?(e.pageX-pos.left):(e.pageY-pos.top))); -_92d(_92f); -opts.onComplete.call(_928,opts.value); -}); -function _92d(_930){ -var s=Math.abs(_930%opts.step); -if(sopts.max){ -_933=opts.max; -} -opts.value=_933; -$(_932).val(_933); -_935.find("input.slider-value").val(_933); -var pos=_937(_932,_933); -var tip=_935.find(".slider-tip"); -if(opts.showTip){ -tip.show(); -tip.html(opts.tipFormatter.call(_932,opts.value)); -}else{ -tip.hide(); -} -if(opts.mode=="h"){ -var _938="left:"+pos+"px;"; -_935.find(".slider-handle").attr("style",_938); -tip.attr("style",_938+"margin-left:"+(-Math.round(tip.outerWidth()/2))+"px"); -}else{ -var _938="top:"+pos+"px;"; -_935.find(".slider-handle").attr("style",_938); -tip.attr("style",_938+"margin-left:"+(-Math.round(tip.outerWidth()))+"px"); -} -if(_936!=_933){ -opts.onChange.call(_932,_933,_936); -} -}; -function _91f(_939){ -var opts=$.data(_939,"slider").options; -var fn=opts.onChange; -opts.onChange=function(){ -}; -_931(_939,opts.value); -opts.onChange=fn; -}; -function _937(_93a,_93b){ -var _93c=$.data(_93a,"slider"); -var opts=_93c.options; -var _93d=_93c.slider; -if(opts.mode=="h"){ -var pos=(_93b-opts.min)/(opts.max-opts.min)*_93d.width(); -if(opts.reversed){ -pos=_93d.width()-pos; -} -}else{ -var pos=_93d.height()-(_93b-opts.min)/(opts.max-opts.min)*_93d.height(); -if(opts.reversed){ -pos=_93d.height()-pos; -} -} -return pos.toFixed(0); -}; -function _93e(_93f,pos){ -var _940=$.data(_93f,"slider"); -var opts=_940.options; -var _941=_940.slider; -if(opts.mode=="h"){ -var _942=opts.min+(opts.max-opts.min)*(pos/_941.width()); -}else{ -var _942=opts.min+(opts.max-opts.min)*((_941.height()-pos)/_941.height()); -} -return opts.reversed?opts.max-_942.toFixed(0):_942.toFixed(0); -}; -$.fn.slider=function(_943,_944){ -if(typeof _943=="string"){ -return $.fn.slider.methods[_943](this,_944); -} -_943=_943||{}; -return this.each(function(){ -var _945=$.data(this,"slider"); -if(_945){ -$.extend(_945.options,_943); -}else{ -_945=$.data(this,"slider",{options:$.extend({},$.fn.slider.defaults,$.fn.slider.parseOptions(this),_943),slider:init(this)}); -$(this).removeAttr("disabled"); -} -var opts=_945.options; -opts.min=parseFloat(opts.min); -opts.max=parseFloat(opts.max); -opts.value=parseFloat(opts.value); -opts.step=parseFloat(opts.step); -opts.originalValue=opts.value; -_927(this); -_920(this); -_91a(this); -}); -}; -$.fn.slider.methods={options:function(jq){ -return $.data(jq[0],"slider").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"slider").slider.remove(); -$(this).remove(); -}); -},resize:function(jq,_946){ -return jq.each(function(){ -_91a(this,_946); -}); -},getValue:function(jq){ -return jq.slider("options").value; -},setValue:function(jq,_947){ -return jq.each(function(){ -_931(this,_947); -}); -},clear:function(jq){ -return jq.each(function(){ -var opts=$(this).slider("options"); -_931(this,opts.min); -}); -},reset:function(jq){ -return jq.each(function(){ -var opts=$(this).slider("options"); -_931(this,opts.originalValue); -}); -},enable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=false; -_927(this); -}); -},disable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=true; -_927(this); -}); -}}; -$.fn.slider.parseOptions=function(_948){ -var t=$(_948); -return $.extend({},$.parser.parseOptions(_948,["width","height","mode",{reversed:"boolean",showTip:"boolean",min:"number",max:"number",step:"number"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),rule:(t.attr("rule")?eval(t.attr("rule")):undefined)}); -}; -$.fn.slider.defaults={width:"auto",height:"auto",mode:"h",reversed:false,showTip:false,disabled:false,value:0,min:0,max:100,step:1,rule:[],tipFormatter:function(_949){ -return _949; -},onChange:function(_94a,_94b){ -},onSlideStart:function(_94c){ -},onSlideEnd:function(_94d){ -},onComplete:function(_94e){ -}}; -})(jQuery); - -$.extend($.fn.validatebox.defaults.rules, { - equals: { - validator: function(value,param) - { - return value == $(param[0]).val(); - }, - message: '确认密码与输入密码不一致' - } -}); diff --git a/src/main/webapp/js/easyui-1.3.5/jquery.min.js b/src/main/webapp/js/easyui-1.3.5/jquery.min.js deleted file mode 100644 index f121291c4c7a6a8fb48e5c53d28c84fe07a5842c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/jquery.min.js +++ /dev/null @@ -1,2 +0,0 @@ -/*! jQuery v@1.8.0 jquery.com | jquery.org/license */ -(function(a,b){function G(a){var b=F[a]={};return p.each(a.split(s),function(a,c){b[c]=!0}),b}function J(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(I,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:+d+""===d?+d:H.test(d)?p.parseJSON(d):d}catch(f){}p.data(a,c,d)}else d=b}return d}function K(a){var b;for(b in a){if(b==="data"&&p.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function ba(){return!1}function bb(){return!0}function bh(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function bi(a,b){do a=a[b];while(a&&a.nodeType!==1);return a}function bj(a,b,c){b=b||0;if(p.isFunction(b))return p.grep(a,function(a,d){var e=!!b.call(a,d,a);return e===c});if(b.nodeType)return p.grep(a,function(a,d){return a===b===c});if(typeof b=="string"){var d=p.grep(a,function(a){return a.nodeType===1});if(be.test(b))return p.filter(b,d,!c);b=p.filter(b,d)}return p.grep(a,function(a,d){return p.inArray(a,b)>=0===c})}function bk(a){var b=bl.split("|"),c=a.createDocumentFragment();if(c.createElement)while(b.length)c.createElement(b.pop());return c}function bC(a,b){return a.getElementsByTagName(b)[0]||a.appendChild(a.ownerDocument.createElement(b))}function bD(a,b){if(b.nodeType!==1||!p.hasData(a))return;var c,d,e,f=p._data(a),g=p._data(b,f),h=f.events;if(h){delete g.handle,g.events={};for(c in h)for(d=0,e=h[c].length;d").appendTo(e.body),c=b.css("display");b.remove();if(c==="none"||c===""){bI=e.body.appendChild(bI||p.extend(e.createElement("iframe"),{frameBorder:0,width:0,height:0}));if(!bJ||!bI.createElement)bJ=(bI.contentWindow||bI.contentDocument).document,bJ.write(""),bJ.close();b=bJ.body.appendChild(bJ.createElement(a)),c=bH(b,"display"),e.body.removeChild(bI)}return bR[a]=c,c}function ch(a,b,c,d){var e;if(p.isArray(b))p.each(b,function(b,e){c||cd.test(a)?d(a,e):ch(a+"["+(typeof e=="object"?b:"")+"]",e,c,d)});else if(!c&&p.type(b)==="object")for(e in b)ch(a+"["+e+"]",b[e],c,d);else d(a,b)}function cy(a){return function(b,c){typeof b!="string"&&(c=b,b="*");var d,e,f,g=b.toLowerCase().split(s),h=0,i=g.length;if(p.isFunction(c))for(;h)[^>]*$|#([\w\-]*)$)/,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^[\],:{}\s]*$/,x=/(?:^|:|,)(?:\s*\[)+/g,y=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,z=/"[^"\\\r\n]*"|true|false|null|-?(?:\d\d*\.|)\d+(?:[eE][\-+]?\d+|)/g,A=/^-ms-/,B=/-([\da-z])/gi,C=function(a,b){return(b+"").toUpperCase()},D=function(){e.addEventListener?(e.removeEventListener("DOMContentLoaded",D,!1),p.ready()):e.readyState==="complete"&&(e.detachEvent("onreadystatechange",D),p.ready())},E={};p.fn=p.prototype={constructor:p,init:function(a,c,d){var f,g,h,i;if(!a)return this;if(a.nodeType)return this.context=this[0]=a,this.length=1,this;if(typeof a=="string"){a.charAt(0)==="<"&&a.charAt(a.length-1)===">"&&a.length>=3?f=[null,a,null]:f=u.exec(a);if(f&&(f[1]||!c)){if(f[1])return c=c instanceof p?c[0]:c,i=c&&c.nodeType?c.ownerDocument||c:e,a=p.parseHTML(f[1],i,!0),v.test(f[1])&&p.isPlainObject(c)&&this.attr.call(a,c,!0),p.merge(this,a);g=e.getElementById(f[2]);if(g&&g.parentNode){if(g.id!==f[2])return d.find(a);this.length=1,this[0]=g}return this.context=e,this.selector=a,this}return!c||c.jquery?(c||d).find(a):this.constructor(c).find(a)}return p.isFunction(a)?d.ready(a):(a.selector!==b&&(this.selector=a.selector,this.context=a.context),p.makeArray(a,this))},selector:"",jquery:"1.8.0",length:0,size:function(){return this.length},toArray:function(){return k.call(this)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=p.merge(this.constructor(),a);return d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")"),d},each:function(a,b){return p.each(this,a,b)},ready:function(a){return p.ready.promise().done(a),this},eq:function(a){return a=+a,a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(k.apply(this,arguments),"slice",k.call(arguments).join(","))},map:function(a){return this.pushStack(p.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:j,sort:[].sort,splice:[].splice},p.fn.init.prototype=p.fn,p.extend=p.fn.extend=function(){var a,c,d,e,f,g,h=arguments[0]||{},i=1,j=arguments.length,k=!1;typeof h=="boolean"&&(k=h,h=arguments[1]||{},i=2),typeof h!="object"&&!p.isFunction(h)&&(h={}),j===i&&(h=this,--i);for(;i0)return;d.resolveWith(e,[p]),p.fn.trigger&&p(e).trigger("ready").off("ready")},isFunction:function(a){return p.type(a)==="function"},isArray:Array.isArray||function(a){return p.type(a)==="array"},isWindow:function(a){return a!=null&&a==a.window},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):E[m.call(a)]||"object"},isPlainObject:function(a){if(!a||p.type(a)!=="object"||a.nodeType||p.isWindow(a))return!1;try{if(a.constructor&&!n.call(a,"constructor")&&!n.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||n.call(a,d)},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},error:function(a){throw new Error(a)},parseHTML:function(a,b,c){var d;return!a||typeof a!="string"?null:(typeof b=="boolean"&&(c=b,b=0),b=b||e,(d=v.exec(a))?[b.createElement(d[1])]:(d=p.buildFragment([a],b,c?null:[]),p.merge([],(d.cacheable?p.clone(d.fragment):d.fragment).childNodes)))},parseJSON:function(b){if(!b||typeof b!="string")return null;b=p.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(w.test(b.replace(y,"@").replace(z,"]").replace(x,"")))return(new Function("return "+b))();p.error("Invalid JSON: "+b)},parseXML:function(c){var d,e;if(!c||typeof c!="string")return null;try{a.DOMParser?(e=new DOMParser,d=e.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(f){d=b}return(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&p.error("Invalid XML: "+c),d},noop:function(){},globalEval:function(b){b&&r.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(A,"ms-").replace(B,C)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var e,f=0,g=a.length,h=g===b||p.isFunction(a);if(d){if(h){for(e in a)if(c.apply(a[e],d)===!1)break}else for(;f0&&a[0]&&a[i-1]||i===0||p.isArray(a));if(j)for(;h-1)i.splice(c,1),e&&(c<=g&&g--,c<=h&&h--)}),this},has:function(a){return p.inArray(a,i)>-1},empty:function(){return i=[],this},disable:function(){return i=j=c=b,this},disabled:function(){return!i},lock:function(){return j=b,c||l.disable(),this},locked:function(){return!j},fireWith:function(a,b){return b=b||[],b=[a,b.slice?b.slice():b],i&&(!d||j)&&(e?j.push(b):k(b)),this},fire:function(){return l.fireWith(this,arguments),this},fired:function(){return!!d}};return l},p.extend({Deferred:function(a){var b=[["resolve","done",p.Callbacks("once memory"),"resolved"],["reject","fail",p.Callbacks("once memory"),"rejected"],["notify","progress",p.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return p.Deferred(function(c){p.each(b,function(b,d){var f=d[0],g=a[b];e[d[1]](p.isFunction(g)?function(){var a=g.apply(this,arguments);a&&p.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f+"With"](this===e?c:this,[a])}:c[f])}),a=null}).promise()},promise:function(a){return typeof a=="object"?p.extend(a,d):d}},e={};return d.pipe=d.then,p.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[a^1][2].disable,b[2][2].lock),e[f[0]]=g.fire,e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=k.call(arguments),d=c.length,e=d!==1||a&&p.isFunction(a.promise)?d:0,f=e===1?a:p.Deferred(),g=function(a,b,c){return function(d){b[a]=this,c[a]=arguments.length>1?k.call(arguments):d,c===h?f.notifyWith(b,c):--e||f.resolveWith(b,c)}},h,i,j;if(d>1){h=new Array(d),i=new Array(d),j=new Array(d);for(;b
                      a",c=n.getElementsByTagName("*"),d=n.getElementsByTagName("a")[0],d.style.cssText="top:1px;float:left;opacity:.5";if(!c||!c.length||!d)return{};f=e.createElement("select"),g=f.appendChild(e.createElement("option")),h=n.getElementsByTagName("input")[0],b={leadingWhitespace:n.firstChild.nodeType===3,tbody:!n.getElementsByTagName("tbody").length,htmlSerialize:!!n.getElementsByTagName("link").length,style:/top/.test(d.getAttribute("style")),hrefNormalized:d.getAttribute("href")==="/a",opacity:/^0.5/.test(d.style.opacity),cssFloat:!!d.style.cssFloat,checkOn:h.value==="on",optSelected:g.selected,getSetAttribute:n.className!=="t",enctype:!!e.createElement("form").enctype,html5Clone:e.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",boxModel:e.compatMode==="CSS1Compat",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},h.checked=!0,b.noCloneChecked=h.cloneNode(!0).checked,f.disabled=!0,b.optDisabled=!g.disabled;try{delete n.test}catch(o){b.deleteExpando=!1}!n.addEventListener&&n.attachEvent&&n.fireEvent&&(n.attachEvent("onclick",m=function(){b.noCloneEvent=!1}),n.cloneNode(!0).fireEvent("onclick"),n.detachEvent("onclick",m)),h=e.createElement("input"),h.value="t",h.setAttribute("type","radio"),b.radioValue=h.value==="t",h.setAttribute("checked","checked"),h.setAttribute("name","t"),n.appendChild(h),i=e.createDocumentFragment(),i.appendChild(n.lastChild),b.checkClone=i.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=h.checked,i.removeChild(h),i.appendChild(n);if(n.attachEvent)for(k in{submit:!0,change:!0,focusin:!0})j="on"+k,l=j in n,l||(n.setAttribute(j,"return;"),l=typeof n[j]=="function"),b[k+"Bubbles"]=l;return p(function(){var c,d,f,g,h="padding:0;margin:0;border:0;display:block;overflow:hidden;",i=e.getElementsByTagName("body")[0];if(!i)return;c=e.createElement("div"),c.style.cssText="visibility:hidden;border:0;width:0;height:0;position:static;top:0;margin-top:1px",i.insertBefore(c,i.firstChild),d=e.createElement("div"),c.appendChild(d),d.innerHTML="
                      t
                      ",f=d.getElementsByTagName("td"),f[0].style.cssText="padding:0;margin:0;border:0;display:none",l=f[0].offsetHeight===0,f[0].style.display="",f[1].style.display="none",b.reliableHiddenOffsets=l&&f[0].offsetHeight===0,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",b.boxSizing=d.offsetWidth===4,b.doesNotIncludeMarginInBodyOffset=i.offsetTop!==1,a.getComputedStyle&&(b.pixelPosition=(a.getComputedStyle(d,null)||{}).top!=="1%",b.boxSizingReliable=(a.getComputedStyle(d,null)||{width:"4px"}).width==="4px",g=e.createElement("div"),g.style.cssText=d.style.cssText=h,g.style.marginRight=g.style.width="0",d.style.width="1px",d.appendChild(g),b.reliableMarginRight=!parseFloat((a.getComputedStyle(g,null)||{}).marginRight)),typeof d.style.zoom!="undefined"&&(d.innerHTML="",d.style.cssText=h+"width:1px;padding:1px;display:inline;zoom:1",b.inlineBlockNeedsLayout=d.offsetWidth===3,d.style.display="block",d.style.overflow="visible",d.innerHTML="
                      ",d.firstChild.style.width="5px",b.shrinkWrapBlocks=d.offsetWidth!==3,c.style.zoom=1),i.removeChild(c),c=d=f=g=null}),i.removeChild(n),c=d=f=g=h=i=n=null,b}();var H=/^(?:\{.*\}|\[.*\])$/,I=/([A-Z])/g;p.extend({cache:{},deletedIds:[],uuid:0,expando:"jQuery"+(p.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){return a=a.nodeType?p.cache[a[p.expando]]:a[p.expando],!!a&&!K(a)},data:function(a,c,d,e){if(!p.acceptData(a))return;var f,g,h=p.expando,i=typeof c=="string",j=a.nodeType,k=j?p.cache:a,l=j?a[h]:a[h]&&h;if((!l||!k[l]||!e&&!k[l].data)&&i&&d===b)return;l||(j?a[h]=l=p.deletedIds.pop()||++p.uuid:l=h),k[l]||(k[l]={},j||(k[l].toJSON=p.noop));if(typeof c=="object"||typeof c=="function")e?k[l]=p.extend(k[l],c):k[l].data=p.extend(k[l].data,c);return f=k[l],e||(f.data||(f.data={}),f=f.data),d!==b&&(f[p.camelCase(c)]=d),i?(g=f[c],g==null&&(g=f[p.camelCase(c)])):g=f,g},removeData:function(a,b,c){if(!p.acceptData(a))return;var d,e,f,g=a.nodeType,h=g?p.cache:a,i=g?a[p.expando]:p.expando;if(!h[i])return;if(b){d=c?h[i]:h[i].data;if(d){p.isArray(b)||(b in d?b=[b]:(b=p.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,f=b.length;e1,null,!1))},removeData:function(a){return this.each(function(){p.removeData(this,a)})}}),p.extend({queue:function(a,b,c){var d;if(a)return b=(b||"fx")+"queue",d=p._data(a,b),c&&(!d||p.isArray(c)?d=p._data(a,b,p.makeArray(c)):d.push(c)),d||[]},dequeue:function(a,b){b=b||"fx";var c=p.queue(a,b),d=c.shift(),e=p._queueHooks(a,b),f=function(){p.dequeue(a,b)};d==="inprogress"&&(d=c.shift()),d&&(b==="fx"&&c.unshift("inprogress"),delete e.stop,d.call(a,f,e)),!c.length&&e&&e.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return p._data(a,c)||p._data(a,c,{empty:p.Callbacks("once memory").add(function(){p.removeData(a,b+"queue",!0),p.removeData(a,c,!0)})})}}),p.fn.extend({queue:function(a,c){var d=2;return typeof a!="string"&&(c=a,a="fx",d--),arguments.length1)},removeAttr:function(a){return this.each(function(){p.removeAttr(this,a)})},prop:function(a,b){return p.access(this,p.prop,a,b,arguments.length>1)},removeProp:function(a){return a=p.propFix[a]||a,this.each(function(){try{this[a]=b,delete this[a]}catch(c){}})},addClass:function(a){var b,c,d,e,f,g,h;if(p.isFunction(a))return this.each(function(b){p(this).addClass(a.call(this,b,this.className))});if(a&&typeof a=="string"){b=a.split(s);for(c=0,d=this.length;c-1)d=d.replace(" "+c[f]+" "," ");e.className=a?p.trim(d):""}}}return this},toggleClass:function(a,b){var c=typeof a,d=typeof b=="boolean";return p.isFunction(a)?this.each(function(c){p(this).toggleClass(a.call(this,c,this.className,b),b)}):this.each(function(){if(c==="string"){var e,f=0,g=p(this),h=b,i=a.split(s);while(e=i[f++])h=d?h:!g.hasClass(e),g[h?"addClass":"removeClass"](e)}else if(c==="undefined"||c==="boolean")this.className&&p._data(this,"__className__",this.className),this.className=this.className||a===!1?"":p._data(this,"__className__")||""})},hasClass:function(a){var b=" "+a+" ",c=0,d=this.length;for(;c-1)return!0;return!1},val:function(a){var c,d,e,f=this[0];if(!arguments.length){if(f)return c=p.valHooks[f.type]||p.valHooks[f.nodeName.toLowerCase()],c&&"get"in c&&(d=c.get(f,"value"))!==b?d:(d=f.value,typeof d=="string"?d.replace(P,""):d==null?"":d);return}return e=p.isFunction(a),this.each(function(d){var f,g=p(this);if(this.nodeType!==1)return;e?f=a.call(this,d,g.val()):f=a,f==null?f="":typeof f=="number"?f+="":p.isArray(f)&&(f=p.map(f,function(a){return a==null?"":a+""})),c=p.valHooks[this.type]||p.valHooks[this.nodeName.toLowerCase()];if(!c||!("set"in c)||c.set(this,f,"value")===b)this.value=f})}}),p.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,f=a.selectedIndex,g=[],h=a.options,i=a.type==="select-one";if(f<0)return null;c=i?f:0,d=i?f+1:h.length;for(;c=0}),c.length||(a.selectedIndex=-1),c}}},attrFn:{},attr:function(a,c,d,e){var f,g,h,i=a.nodeType;if(!a||i===3||i===8||i===2)return;if(e&&p.isFunction(p.fn[c]))return p(a)[c](d);if(typeof a.getAttribute=="undefined")return p.prop(a,c,d);h=i!==1||!p.isXMLDoc(a),h&&(c=c.toLowerCase(),g=p.attrHooks[c]||(T.test(c)?M:L));if(d!==b){if(d===null){p.removeAttr(a,c);return}return g&&"set"in g&&h&&(f=g.set(a,d,c))!==b?f:(a.setAttribute(c,""+d),d)}return g&&"get"in g&&h&&(f=g.get(a,c))!==null?f:(f=a.getAttribute(c),f===null?b:f)},removeAttr:function(a,b){var c,d,e,f,g=0;if(b&&a.nodeType===1){d=b.split(s);for(;g=0}})});var V=/^(?:textarea|input|select)$/i,W=/^([^\.]*|)(?:\.(.+)|)$/,X=/(?:^|\s)hover(\.\S+|)\b/,Y=/^key/,Z=/^(?:mouse|contextmenu)|click/,$=/^(?:focusinfocus|focusoutblur)$/,_=function(a){return p.event.special.hover?a:a.replace(X,"mouseenter$1 mouseleave$1")};p.event={add:function(a,c,d,e,f){var g,h,i,j,k,l,m,n,o,q,r;if(a.nodeType===3||a.nodeType===8||!c||!d||!(g=p._data(a)))return;d.handler&&(o=d,d=o.handler,f=o.selector),d.guid||(d.guid=p.guid++),i=g.events,i||(g.events=i={}),h=g.handle,h||(g.handle=h=function(a){return typeof p!="undefined"&&(!a||p.event.triggered!==a.type)?p.event.dispatch.apply(h.elem,arguments):b},h.elem=a),c=p.trim(_(c)).split(" ");for(j=0;j=0&&(s=s.slice(0,-1),i=!0),s.indexOf(".")>=0&&(t=s.split("."),s=t.shift(),t.sort());if((!f||p.event.customEvent[s])&&!p.event.global[s])return;c=typeof c=="object"?c[p.expando]?c:new p.Event(s,c):new p.Event(s),c.type=s,c.isTrigger=!0,c.exclusive=i,c.namespace=t.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+t.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,m=s.indexOf(":")<0?"on"+s:"";if(!f){h=p.cache;for(j in h)h[j].events&&h[j].events[s]&&p.event.trigger(c,d,h[j].handle.elem,!0);return}c.result=b,c.target||(c.target=f),d=d!=null?p.makeArray(d):[],d.unshift(c),n=p.event.special[s]||{};if(n.trigger&&n.trigger.apply(f,d)===!1)return;q=[[f,n.bindType||s]];if(!g&&!n.noBubble&&!p.isWindow(f)){r=n.delegateType||s,k=$.test(r+s)?f:f.parentNode;for(l=f;k;k=k.parentNode)q.push([k,r]),l=k;l===(f.ownerDocument||e)&&q.push([l.defaultView||l.parentWindow||a,r])}for(j=0;jq&&u.push({elem:this,matches:o.slice(q)});for(d=0;d0?this.on(b,null,a,c):this.trigger(b)},Y.test(b)&&(p.event.fixHooks[b]=p.event.keyHooks),Z.test(b)&&(p.event.fixHooks[b]=p.event.mouseHooks)}),function(a,b){function bd(a,b,c,d){var e=0,f=b.length;for(;e0?h(g,c,f):[]}function bf(a,c,d,e,f){var g,h,i,j,k,l,m,n,p=0,q=f.length,s=L.POS,t=new RegExp("^"+s.source+"(?!"+r+")","i"),u=function(){var a=1,c=arguments.length-2;for(;ai){m=a.slice(i,g.index),i=n,l=[c],B.test(m)&&(k&&(l=k),k=e);if(h=H.test(m))m=m.slice(0,-5).replace(B,"$&*");g.length>1&&g[0].replace(t,u),k=be(m,g[1],g[2],l,k,h)}}k?(j=j.concat(k),(m=a.slice(i))&&m!==")"?B.test(m)?bd(m,j,d,e):Z(m,c,d,e?e.concat(k):k):o.apply(d,j)):Z(a,c,d,e)}return q===1?d:Z.uniqueSort(d)}function bg(a,b,c){var d,e,f,g=[],i=0,j=D.exec(a),k=!j.pop()&&!j.pop(),l=k&&a.match(C)||[""],m=$.preFilter,n=$.filter,o=!c&&b!==h;for(;(e=l[i])!=null&&k;i++){g.push(d=[]),o&&(e=" "+e);while(e){k=!1;if(j=B.exec(e))e=e.slice(j[0].length),k=d.push({part:j.pop().replace(A," "),captures:j});for(f in n)(j=L[f].exec(e))&&(!m[f]||(j=m[f](j,b,c)))&&(e=e.slice(j.shift().length),k=d.push({part:f,captures:j}));if(!k)break}}return k||Z.error(a),g}function bh(a,b,e){var f=b.dir,g=m++;return a||(a=function(a){return a===e}),b.first?function(b,c){while(b=b[f])if(b.nodeType===1)return a(b,c)&&b}:function(b,e){var h,i=g+"."+d,j=i+"."+c;while(b=b[f])if(b.nodeType===1){if((h=b[q])===j)return b.sizset;if(typeof h=="string"&&h.indexOf(i)===0){if(b.sizset)return b}else{b[q]=j;if(a(b,e))return b.sizset=!0,b;b.sizset=!1}}}}function bi(a,b){return a?function(c,d){var e=b(c,d);return e&&a(e===!0?c:e,d)}:b}function bj(a,b,c){var d,e,f=0;for(;d=a[f];f++)$.relative[d.part]?e=bh(e,$.relative[d.part],b):(d.captures.push(b,c),e=bi(e,$.filter[d.part].apply(null,d.captures)));return e}function bk(a){return function(b,c){var d,e=0;for(;d=a[e];e++)if(d(b,c))return!0;return!1}}var c,d,e,f,g,h=a.document,i=h.documentElement,j="undefined",k=!1,l=!0,m=0,n=[].slice,o=[].push,q=("sizcache"+Math.random()).replace(".",""),r="[\\x20\\t\\r\\n\\f]",s="(?:\\\\.|[-\\w]|[^\\x00-\\xa0])+",t=s.replace("w","w#"),u="([*^$|!~]?=)",v="\\["+r+"*("+s+")"+r+"*(?:"+u+r+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+t+")|)|)"+r+"*\\]",w=":("+s+")(?:\\((?:(['\"])((?:\\\\.|[^\\\\])*?)\\2|((?:[^,]|\\\\,|(?:,(?=[^\\[]*\\]))|(?:,(?=[^\\(]*\\))))*))\\)|)",x=":(nth|eq|gt|lt|first|last|even|odd)(?:\\((\\d*)\\)|)(?=[^-]|$)",y=r+"*([\\x20\\t\\r\\n\\f>+~])"+r+"*",z="(?=[^\\x20\\t\\r\\n\\f])(?:\\\\.|"+v+"|"+w.replace(2,7)+"|[^\\\\(),])+",A=new RegExp("^"+r+"+|((?:^|[^\\\\])(?:\\\\.)*)"+r+"+$","g"),B=new RegExp("^"+y),C=new RegExp(z+"?(?="+r+"*,|$)","g"),D=new RegExp("^(?:(?!,)(?:(?:^|,)"+r+"*"+z+")*?|"+r+"*(.*?))(\\)|$)"),E=new RegExp(z.slice(19,-6)+"\\x20\\t\\r\\n\\f>+~])+|"+y,"g"),F=/^(?:#([\w\-]+)|(\w+)|\.([\w\-]+))$/,G=/[\x20\t\r\n\f]*[+~]/,H=/:not\($/,I=/h\d/i,J=/input|select|textarea|button/i,K=/\\(?!\\)/g,L={ID:new RegExp("^#("+s+")"),CLASS:new RegExp("^\\.("+s+")"),NAME:new RegExp("^\\[name=['\"]?("+s+")['\"]?\\]"),TAG:new RegExp("^("+s.replace("[-","[-\\*")+")"),ATTR:new RegExp("^"+v),PSEUDO:new RegExp("^"+w),CHILD:new RegExp("^:(only|nth|last|first)-child(?:\\("+r+"*(even|odd|(([+-]|)(\\d*)n|)"+r+"*(?:([+-]|)"+r+"*(\\d+)|))"+r+"*\\)|)","i"),POS:new RegExp(x,"ig"),needsContext:new RegExp("^"+r+"*[>+~]|"+x,"i")},M={},N=[],O={},P=[],Q=function(a){return a.sizzleFilter=!0,a},R=function(a){return function(b){return b.nodeName.toLowerCase()==="input"&&b.type===a}},S=function(a){return function(b){var c=b.nodeName.toLowerCase();return(c==="input"||c==="button")&&b.type===a}},T=function(a){var b=!1,c=h.createElement("div");try{b=a(c)}catch(d){}return c=null,b},U=T(function(a){a.innerHTML="";var b=typeof a.lastChild.getAttribute("multiple");return b!=="boolean"&&b!=="string"}),V=T(function(a){a.id=q+0,a.innerHTML="
                      ",i.insertBefore(a,i.firstChild);var b=h.getElementsByName&&h.getElementsByName(q).length===2+h.getElementsByName(q+0).length;return g=!h.getElementById(q),i.removeChild(a),b}),W=T(function(a){return a.appendChild(h.createComment("")),a.getElementsByTagName("*").length===0}),X=T(function(a){return a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!==j&&a.firstChild.getAttribute("href")==="#"}),Y=T(function(a){return a.innerHTML="",!a.getElementsByClassName||a.getElementsByClassName("e").length===0?!1:(a.lastChild.className="e",a.getElementsByClassName("e").length!==1)}),Z=function(a,b,c,d){c=c||[],b=b||h;var e,f,g,i,j=b.nodeType;if(j!==1&&j!==9)return[];if(!a||typeof a!="string")return c;g=ba(b);if(!g&&!d)if(e=F.exec(a))if(i=e[1]){if(j===9){f=b.getElementById(i);if(!f||!f.parentNode)return c;if(f.id===i)return c.push(f),c}else if(b.ownerDocument&&(f=b.ownerDocument.getElementById(i))&&bb(b,f)&&f.id===i)return c.push(f),c}else{if(e[2])return o.apply(c,n.call(b.getElementsByTagName(a),0)),c;if((i=e[3])&&Y&&b.getElementsByClassName)return o.apply(c,n.call(b.getElementsByClassName(i),0)),c}return bm(a,b,c,d,g)},$=Z.selectors={cacheLength:50,match:L,order:["ID","TAG"],attrHandle:{},createPseudo:Q,find:{ID:g?function(a,b,c){if(typeof b.getElementById!==j&&!c){var d=b.getElementById(a);return d&&d.parentNode?[d]:[]}}:function(a,c,d){if(typeof c.getElementById!==j&&!d){var e=c.getElementById(a);return e?e.id===a||typeof e.getAttributeNode!==j&&e.getAttributeNode("id").value===a?[e]:b:[]}},TAG:W?function(a,b){if(typeof b.getElementsByTagName!==j)return b.getElementsByTagName(a)}:function(a,b){var c=b.getElementsByTagName(a);if(a==="*"){var d,e=[],f=0;for(;d=c[f];f++)d.nodeType===1&&e.push(d);return e}return c}},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(K,""),a[3]=(a[4]||a[5]||"").replace(K,""),a[2]==="~="&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),a[1]==="nth"?(a[2]||Z.error(a[0]),a[3]=+(a[3]?a[4]+(a[5]||1):2*(a[2]==="even"||a[2]==="odd")),a[4]=+(a[6]+a[7]||a[2]==="odd")):a[2]&&Z.error(a[0]),a},PSEUDO:function(a){var b,c=a[4];return L.CHILD.test(a[0])?null:(c&&(b=D.exec(c))&&b.pop()&&(a[0]=a[0].slice(0,b[0].length-c.length-1),c=b[0].slice(0,-1)),a.splice(2,3,c||a[3]),a)}},filter:{ID:g?function(a){return a=a.replace(K,""),function(b){return b.getAttribute("id")===a}}:function(a){return a=a.replace(K,""),function(b){var c=typeof b.getAttributeNode!==j&&b.getAttributeNode("id");return c&&c.value===a}},TAG:function(a){return a==="*"?function(){return!0}:(a=a.replace(K,"").toLowerCase(),function(b){return b.nodeName&&b.nodeName.toLowerCase()===a})},CLASS:function(a){var b=M[a];return b||(b=M[a]=new RegExp("(^|"+r+")"+a+"("+r+"|$)"),N.push(a),N.length>$.cacheLength&&delete M[N.shift()]),function(a){return b.test(a.className||typeof a.getAttribute!==j&&a.getAttribute("class")||"")}},ATTR:function(a,b,c){return b?function(d){var e=Z.attr(d,a),f=e+"";if(e==null)return b==="!=";switch(b){case"=":return f===c;case"!=":return f!==c;case"^=":return c&&f.indexOf(c)===0;case"*=":return c&&f.indexOf(c)>-1;case"$=":return c&&f.substr(f.length-c.length)===c;case"~=":return(" "+f+" ").indexOf(c)>-1;case"|=":return f===c||f.substr(0,c.length+1)===c+"-"}}:function(b){return Z.attr(b,a)!=null}},CHILD:function(a,b,c,d){if(a==="nth"){var e=m++;return function(a){var b,f,g=0,h=a;if(c===1&&d===0)return!0;b=a.parentNode;if(b&&(b[q]!==e||!a.sizset)){for(h=b.firstChild;h;h=h.nextSibling)if(h.nodeType===1){h.sizset=++g;if(h===a)break}b[q]=e}return f=a.sizset-d,c===0?f===0:f%c===0&&f/c>=0}}return function(b){var c=b;switch(a){case"only":case"first":while(c=c.previousSibling)if(c.nodeType===1)return!1;if(a==="first")return!0;c=b;case"last":while(c=c.nextSibling)if(c.nodeType===1)return!1;return!0}}},PSEUDO:function(a,b,c,d){var e=$.pseudos[a]||$.pseudos[a.toLowerCase()];return e||Z.error("unsupported pseudo: "+a),e.sizzleFilter?e(b,c,d):e}},pseudos:{not:Q(function(a,b,c){var d=bl(a.replace(A,"$1"),b,c);return function(a){return!d(a)}}),enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&!!a.checked||b==="option"&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},parent:function(a){return!$.pseudos.empty(a)},empty:function(a){var b;a=a.firstChild;while(a){if(a.nodeName>"@"||(b=a.nodeType)===3||b===4)return!1;a=a.nextSibling}return!0},contains:Q(function(a){return function(b){return(b.textContent||b.innerText||bc(b)).indexOf(a)>-1}}),has:Q(function(a){return function(b){return Z(a,b).length>0}}),header:function(a){return I.test(a.nodeName)},text:function(a){var b,c;return a.nodeName.toLowerCase()==="input"&&(b=a.type)==="text"&&((c=a.getAttribute("type"))==null||c.toLowerCase()===b)},radio:R("radio"),checkbox:R("checkbox"),file:R("file"),password:R("password"),image:R("image"),submit:S("submit"),reset:S("reset"),button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&a.type==="button"||b==="button"},input:function(a){return J.test(a.nodeName)},focus:function(a){var b=a.ownerDocument;return a===b.activeElement&&(!b.hasFocus||b.hasFocus())&&(!!a.type||!!a.href)},active:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b,c){return c?a.slice(1):[a[0]]},last:function(a,b,c){var d=a.pop();return c?a:[d]},even:function(a,b,c){var d=[],e=c?1:0,f=a.length;for(;e$.cacheLength&&delete O[P.shift()],g};Z.matches=function(a,b){return Z(a,null,null,b)},Z.matchesSelector=function(a,b){return Z(b,null,null,[a]).length>0};var bm=function(a,b,e,f,g){a=a.replace(A,"$1");var h,i,j,k,l,m,p,q,r,s=a.match(C),t=a.match(E),u=b.nodeType;if(L.POS.test(a))return bf(a,b,e,f,s);if(f)h=n.call(f,0);else if(s&&s.length===1){if(t.length>1&&u===9&&!g&&(s=L.ID.exec(t[0]))){b=$.find.ID(s[1],b,g)[0];if(!b)return e;a=a.slice(t.shift().length)}q=(s=G.exec(t[0]))&&!s.index&&b.parentNode||b,r=t.pop(),m=r.split(":not")[0];for(j=0,k=$.order.length;j",a.querySelectorAll("[selected]").length||e.push("\\["+r+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),a.querySelectorAll(":checked").length||e.push(":checked")}),T(function(a){a.innerHTML="

                      ",a.querySelectorAll("[test^='']").length&&e.push("[*^$]="+r+"*(?:\"\"|'')"),a.innerHTML="",a.querySelectorAll(":enabled").length||e.push(":enabled",":disabled")}),e=e.length&&new RegExp(e.join("|")),bm=function(a,d,f,g,h){if(!g&&!h&&(!e||!e.test(a)))if(d.nodeType===9)try{return o.apply(f,n.call(d.querySelectorAll(a),0)),f}catch(i){}else if(d.nodeType===1&&d.nodeName.toLowerCase()!=="object"){var j=d.getAttribute("id"),k=j||q,l=G.test(a)&&d.parentNode||d;j?k=k.replace(c,"\\$&"):d.setAttribute("id",k);try{return o.apply(f,n.call(l.querySelectorAll(a.replace(C,"[id='"+k+"'] $&")),0)),f}catch(i){}finally{j||d.removeAttribute("id")}}return b(a,d,f,g,h)},g&&(T(function(b){a=g.call(b,"div");try{g.call(b,"[test!='']:sizzle"),f.push($.match.PSEUDO)}catch(c){}}),f=new RegExp(f.join("|")),Z.matchesSelector=function(b,c){c=c.replace(d,"='$1']");if(!ba(b)&&!f.test(c)&&(!e||!e.test(c)))try{var h=g.call(b,c);if(h||a||b.document&&b.document.nodeType!==11)return h}catch(i){}return Z(c,null,null,[b]).length>0})}(),Z.attr=p.attr,p.find=Z,p.expr=Z.selectors,p.expr[":"]=p.expr.pseudos,p.unique=Z.uniqueSort,p.text=Z.getText,p.isXMLDoc=Z.isXML,p.contains=Z.contains}(a);var bc=/Until$/,bd=/^(?:parents|prev(?:Until|All))/,be=/^.[^:#\[\.,]*$/,bf=p.expr.match.needsContext,bg={children:!0,contents:!0,next:!0,prev:!0};p.fn.extend({find:function(a){var b,c,d,e,f,g,h=this;if(typeof a!="string")return p(a).filter(function(){for(b=0,c=h.length;b0)for(e=d;e=0:p.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c,d=0,e=this.length,f=[],g=bf.test(a)||typeof a!="string"?p(a,b||this.context):0;for(;d-1:p.find.matchesSelector(c,a)){f.push(c);break}c=c.parentNode}}return f=f.length>1?p.unique(f):f,this.pushStack(f,"closest",a)},index:function(a){return a?typeof a=="string"?p.inArray(this[0],p(a)):p.inArray(a.jquery?a[0]:a,this):this[0]&&this[0].parentNode?this.prevAll().length:-1},add:function(a,b){var c=typeof a=="string"?p(a,b):p.makeArray(a&&a.nodeType?[a]:a),d=p.merge(this.get(),c);return this.pushStack(bh(c[0])||bh(d[0])?d:p.unique(d))},addBack:function(a){return this.add(a==null?this.prevObject:this.prevObject.filter(a))}}),p.fn.andSelf=p.fn.addBack,p.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return p.dir(a,"parentNode")},parentsUntil:function(a,b,c){return p.dir(a,"parentNode",c)},next:function(a){return bi(a,"nextSibling")},prev:function(a){return bi(a,"previousSibling")},nextAll:function(a){return p.dir(a,"nextSibling")},prevAll:function(a){return p.dir(a,"previousSibling")},nextUntil:function(a,b,c){return p.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return p.dir(a,"previousSibling",c)},siblings:function(a){return p.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return p.sibling(a.firstChild)},contents:function(a){return p.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:p.merge([],a.childNodes)}},function(a,b){p.fn[a]=function(c,d){var e=p.map(this,b,c);return bc.test(a)||(d=c),d&&typeof d=="string"&&(e=p.filter(d,e)),e=this.length>1&&!bg[a]?p.unique(e):e,this.length>1&&bd.test(a)&&(e=e.reverse()),this.pushStack(e,a,k.call(arguments).join(","))}}),p.extend({filter:function(a,b,c){return c&&(a=":not("+a+")"),b.length===1?p.find.matchesSelector(b[0],a)?[b[0]]:[]:p.find.matches(a,b)},dir:function(a,c,d){var e=[],f=a[c];while(f&&f.nodeType!==9&&(d===b||f.nodeType!==1||!p(f).is(d)))f.nodeType===1&&e.push(f),f=f[c];return e},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var bl="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",bm=/ jQuery\d+="(?:null|\d+)"/g,bn=/^\s+/,bo=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bp=/<([\w:]+)/,bq=/]","i"),bv=/^(?:checkbox|radio)$/,bw=/checked\s*(?:[^=]|=\s*.checked.)/i,bx=/\/(java|ecma)script/i,by=/^\s*\s*$/g,bz={option:[1,""],legend:[1,"
                      ","
                      "],thead:[1,"","
                      "],tr:[2,"","
                      "],td:[3,"","
                      "],col:[2,"","
                      "],area:[1,"",""],_default:[0,"",""]},bA=bk(e),bB=bA.appendChild(e.createElement("div"));bz.optgroup=bz.option,bz.tbody=bz.tfoot=bz.colgroup=bz.caption=bz.thead,bz.th=bz.td,p.support.htmlSerialize||(bz._default=[1,"X
                      ","
                      "]),p.fn.extend({text:function(a){return p.access(this,function(a){return a===b?p.text(this):this.empty().append((this[0]&&this[0].ownerDocument||e).createTextNode(a))},null,a,arguments.length)},wrapAll:function(a){if(p.isFunction(a))return this.each(function(b){p(this).wrapAll(a.call(this,b))});if(this[0]){var b=p(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){return p.isFunction(a)?this.each(function(b){p(this).wrapInner(a.call(this,b))}):this.each(function(){var b=p(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=p.isFunction(a);return this.each(function(c){p(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){p.nodeName(this,"body")||p(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){(this.nodeType===1||this.nodeType===11)&&this.insertBefore(a,this.firstChild)})},before:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(a,this),"before",this.selector)}},after:function(){if(!bh(this[0]))return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=p.clean(arguments);return this.pushStack(p.merge(this,a),"after",this.selector)}},remove:function(a,b){var c,d=0;for(;(c=this[d])!=null;d++)if(!a||p.filter(a,[c]).length)!b&&c.nodeType===1&&(p.cleanData(c.getElementsByTagName("*")),p.cleanData([c])),c.parentNode&&c.parentNode.removeChild(c);return this},empty:function(){var a,b=0;for(;(a=this[b])!=null;b++){a.nodeType===1&&p.cleanData(a.getElementsByTagName("*"));while(a.firstChild)a.removeChild(a.firstChild)}return this},clone:function(a,b){return a=a==null?!1:a,b=b==null?a:b,this.map(function(){return p.clone(this,a,b)})},html:function(a){return p.access(this,function(a){var c=this[0]||{},d=0,e=this.length;if(a===b)return c.nodeType===1?c.innerHTML.replace(bm,""):b;if(typeof a=="string"&&!bs.test(a)&&(p.support.htmlSerialize||!bu.test(a))&&(p.support.leadingWhitespace||!bn.test(a))&&!bz[(bp.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(bo,"<$1>");try{for(;d1&&typeof j=="string"&&bw.test(j))return this.each(function(){p(this).domManip(a,c,d)});if(p.isFunction(j))return this.each(function(e){var f=p(this);a[0]=j.call(this,e,c?f.html():b),f.domManip(a,c,d)});if(this[0]){e=p.buildFragment(a,this,k),g=e.fragment,f=g.firstChild,g.childNodes.length===1&&(g=f);if(f){c=c&&p.nodeName(f,"tr");for(h=e.cacheable||l-1;i0?this.clone(!0):this).get(),p(g[e])[b](d),f=f.concat(d);return this.pushStack(f,a,g.selector)}}),p.extend({clone:function(a,b,c){var d,e,f,g;p.support.html5Clone||p.isXMLDoc(a)||!bu.test("<"+a.nodeName+">")?g=a.cloneNode(!0):(bB.innerHTML=a.outerHTML,bB.removeChild(g=bB.firstChild));if((!p.support.noCloneEvent||!p.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!p.isXMLDoc(a)){bE(a,g),d=bF(a),e=bF(g);for(f=0;d[f];++f)e[f]&&bE(d[f],e[f])}if(b){bD(a,g);if(c){d=bF(a),e=bF(g);for(f=0;d[f];++f)bD(d[f],e[f])}}return d=e=null,g},clean:function(a,b,c,d){var f,g,h,i,j,k,l,m,n,o,q,r,s=0,t=[];if(!b||typeof b.createDocumentFragment=="undefined")b=e;for(g=b===e&&bA;(h=a[s])!=null;s++){typeof h=="number"&&(h+="");if(!h)continue;if(typeof h=="string")if(!br.test(h))h=b.createTextNode(h);else{g=g||bk(b),l=l||g.appendChild(b.createElement("div")),h=h.replace(bo,"<$1>"),i=(bp.exec(h)||["",""])[1].toLowerCase(),j=bz[i]||bz._default,k=j[0],l.innerHTML=j[1]+h+j[2];while(k--)l=l.lastChild;if(!p.support.tbody){m=bq.test(h),n=i==="table"&&!m?l.firstChild&&l.firstChild.childNodes:j[1]===""&&!m?l.childNodes:[];for(f=n.length-1;f>=0;--f)p.nodeName(n[f],"tbody")&&!n[f].childNodes.length&&n[f].parentNode.removeChild(n[f])}!p.support.leadingWhitespace&&bn.test(h)&&l.insertBefore(b.createTextNode(bn.exec(h)[0]),l.firstChild),h=l.childNodes,l=g.lastChild}h.nodeType?t.push(h):t=p.merge(t,h)}l&&(g.removeChild(l),h=l=g=null);if(!p.support.appendChecked)for(s=0;(h=t[s])!=null;s++)p.nodeName(h,"input")?bG(h):typeof h.getElementsByTagName!="undefined"&&p.grep(h.getElementsByTagName("input"),bG);if(c){q=function(a){if(!a.type||bx.test(a.type))return d?d.push(a.parentNode?a.parentNode.removeChild(a):a):c.appendChild(a)};for(s=0;(h=t[s])!=null;s++)if(!p.nodeName(h,"script")||!q(h))c.appendChild(h),typeof h.getElementsByTagName!="undefined"&&(r=p.grep(p.merge([],h.getElementsByTagName("script")),q),t.splice.apply(t,[s+1,0].concat(r)),s+=r.length)}return t},cleanData:function(a,b){var c,d,e,f,g=0,h=p.expando,i=p.cache,j=p.support.deleteExpando,k=p.event.special;for(;(e=a[g])!=null;g++)if(b||p.acceptData(e)){d=e[h],c=d&&i[d];if(c){if(c.events)for(f in c.events)k[f]?p.event.remove(e,f):p.removeEvent(e,f,c.handle);i[d]&&(delete i[d],j?delete e[h]:e.removeAttribute?e.removeAttribute(h):e[h]=null,p.deletedIds.push(d))}}}}),function(){var a,b;p.uaMatch=function(a){a=a.toLowerCase();var b=/(chrome)[ \/]([\w.]+)/.exec(a)||/(webkit)[ \/]([\w.]+)/.exec(a)||/(opera)(?:.*version|)[ \/]([\w.]+)/.exec(a)||/(msie) ([\w.]+)/.exec(a)||a.indexOf("compatible")<0&&/(mozilla)(?:.*? rv:([\w.]+)|)/.exec(a)||[];return{browser:b[1]||"",version:b[2]||"0"}},a=p.uaMatch(g.userAgent),b={},a.browser&&(b[a.browser]=!0,b.version=a.version),b.webkit&&(b.safari=!0),p.browser=b,p.sub=function(){function a(b,c){return new a.fn.init(b,c)}p.extend(!0,a,this),a.superclass=this,a.fn=a.prototype=this(),a.fn.constructor=a,a.sub=this.sub,a.fn.init=function c(c,d){return d&&d instanceof p&&!(d instanceof a)&&(d=a(d)),p.fn.init.call(this,c,d,b)},a.fn.init.prototype=a.fn;var b=a(e);return a}}();var bH,bI,bJ,bK=/alpha\([^)]*\)/i,bL=/opacity=([^)]*)/,bM=/^(top|right|bottom|left)$/,bN=/^margin/,bO=new RegExp("^("+q+")(.*)$","i"),bP=new RegExp("^("+q+")(?!px)[a-z%]+$","i"),bQ=new RegExp("^([-+])=("+q+")","i"),bR={},bS={position:"absolute",visibility:"hidden",display:"block"},bT={letterSpacing:0,fontWeight:400,lineHeight:1},bU=["Top","Right","Bottom","Left"],bV=["Webkit","O","Moz","ms"],bW=p.fn.toggle;p.fn.extend({css:function(a,c){return p.access(this,function(a,c,d){return d!==b?p.style(a,c,d):p.css(a,c)},a,c,arguments.length>1)},show:function(){return bZ(this,!0)},hide:function(){return bZ(this)},toggle:function(a,b){var c=typeof a=="boolean";return p.isFunction(a)&&p.isFunction(b)?bW.apply(this,arguments):this.each(function(){(c?a:bY(this))?p(this).show():p(this).hide()})}}),p.extend({cssHooks:{opacity:{get:function(a,b){if(b){var c=bH(a,"opacity");return c===""?"1":c}}}},cssNumber:{fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":p.support.cssFloat?"cssFloat":"styleFloat"},style:function(a,c,d,e){if(!a||a.nodeType===3||a.nodeType===8||!a.style)return;var f,g,h,i=p.camelCase(c),j=a.style;c=p.cssProps[i]||(p.cssProps[i]=bX(j,i)),h=p.cssHooks[c]||p.cssHooks[i];if(d===b)return h&&"get"in h&&(f=h.get(a,!1,e))!==b?f:j[c];g=typeof d,g==="string"&&(f=bQ.exec(d))&&(d=(f[1]+1)*f[2]+parseFloat(p.css(a,c)),g="number");if(d==null||g==="number"&&isNaN(d))return;g==="number"&&!p.cssNumber[i]&&(d+="px");if(!h||!("set"in h)||(d=h.set(a,d,e))!==b)try{j[c]=d}catch(k){}},css:function(a,c,d,e){var f,g,h,i=p.camelCase(c);return c=p.cssProps[i]||(p.cssProps[i]=bX(a.style,i)),h=p.cssHooks[c]||p.cssHooks[i],h&&"get"in h&&(f=h.get(a,!0,e)),f===b&&(f=bH(a,c)),f==="normal"&&c in bT&&(f=bT[c]),d||e!==b?(g=parseFloat(f),d||p.isNumeric(g)?g||0:f):f},swap:function(a,b,c){var d,e,f={};for(e in b)f[e]=a.style[e],a.style[e]=b[e];d=c.call(a);for(e in b)a.style[e]=f[e];return d}}),a.getComputedStyle?bH=function(a,b){var c,d,e,f,g=getComputedStyle(a,null),h=a.style;return g&&(c=g[b],c===""&&!p.contains(a.ownerDocument.documentElement,a)&&(c=p.style(a,b)),bP.test(c)&&bN.test(b)&&(d=h.width,e=h.minWidth,f=h.maxWidth,h.minWidth=h.maxWidth=h.width=c,c=g.width,h.width=d,h.minWidth=e,h.maxWidth=f)),c}:e.documentElement.currentStyle&&(bH=function(a,b){var c,d,e=a.currentStyle&&a.currentStyle[b],f=a.style;return e==null&&f&&f[b]&&(e=f[b]),bP.test(e)&&!bM.test(b)&&(c=f.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),f.left=b==="fontSize"?"1em":e,e=f.pixelLeft+"px",f.left=c,d&&(a.runtimeStyle.left=d)),e===""?"auto":e}),p.each(["height","width"],function(a,b){p.cssHooks[b]={get:function(a,c,d){if(c)return a.offsetWidth!==0||bH(a,"display")!=="none"?ca(a,b,d):p.swap(a,bS,function(){return ca(a,b,d)})},set:function(a,c,d){return b$(a,c,d?b_(a,b,d,p.support.boxSizing&&p.css(a,"boxSizing")==="border-box"):0)}}}),p.support.opacity||(p.cssHooks.opacity={get:function(a,b){return bL.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=p.isNumeric(b)?"alpha(opacity="+b*100+")":"",f=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&p.trim(f.replace(bK,""))===""&&c.removeAttribute){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bK.test(f)?f.replace(bK,e):f+" "+e}}),p(function(){p.support.reliableMarginRight||(p.cssHooks.marginRight={get:function(a,b){return p.swap(a,{display:"inline-block"},function(){if(b)return bH(a,"marginRight")})}}),!p.support.pixelPosition&&p.fn.position&&p.each(["top","left"],function(a,b){p.cssHooks[b]={get:function(a,c){if(c){var d=bH(a,b);return bP.test(d)?p(a).position()[b]+"px":d}}}})}),p.expr&&p.expr.filters&&(p.expr.filters.hidden=function(a){return a.offsetWidth===0&&a.offsetHeight===0||!p.support.reliableHiddenOffsets&&(a.style&&a.style.display||bH(a,"display"))==="none"},p.expr.filters.visible=function(a){return!p.expr.filters.hidden(a)}),p.each({margin:"",padding:"",border:"Width"},function(a,b){p.cssHooks[a+b]={expand:function(c){var d,e=typeof c=="string"?c.split(" "):[c],f={};for(d=0;d<4;d++)f[a+bU[d]+b]=e[d]||e[d-2]||e[0];return f}},bN.test(a)||(p.cssHooks[a+b].set=b$)});var cc=/%20/g,cd=/\[\]$/,ce=/\r?\n/g,cf=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,cg=/^(?:select|textarea)/i;p.fn.extend({serialize:function(){return p.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?p.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||cg.test(this.nodeName)||cf.test(this.type))}).map(function(a,b){var c=p(this).val();return c==null?null:p.isArray(c)?p.map(c,function(a,c){return{name:b.name,value:a.replace(ce,"\r\n")}}):{name:b.name,value:c.replace(ce,"\r\n")}}).get()}}),p.param=function(a,c){var d,e=[],f=function(a,b){b=p.isFunction(b)?b():b==null?"":b,e[e.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=p.ajaxSettings&&p.ajaxSettings.traditional);if(p.isArray(a)||a.jquery&&!p.isPlainObject(a))p.each(a,function(){f(this.name,this.value)});else for(d in a)ch(d,a[d],c,f);return e.join("&").replace(cc,"+")};var ci,cj,ck=/#.*$/,cl=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,cm=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,cn=/^(?:GET|HEAD)$/,co=/^\/\//,cp=/\?/,cq=/)<[^<]*)*<\/script>/gi,cr=/([?&])_=[^&]*/,cs=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,ct=p.fn.load,cu={},cv={},cw=["*/"]+["*"];try{ci=f.href}catch(cx){ci=e.createElement("a"),ci.href="",ci=ci.href}cj=cs.exec(ci.toLowerCase())||[],p.fn.load=function(a,c,d){if(typeof a!="string"&&ct)return ct.apply(this,arguments);if(!this.length)return this;var e,f,g,h=this,i=a.indexOf(" ");return i>=0&&(e=a.slice(i,a.length),a=a.slice(0,i)),p.isFunction(c)?(d=c,c=b):typeof c=="object"&&(f="POST"),p.ajax({url:a,type:f,dataType:"html",data:c,complete:function(a,b){d&&h.each(d,g||[a.responseText,b,a])}}).done(function(a){g=arguments,h.html(e?p("
                      ").append(a.replace(cq,"")).find(e):a)}),this},p.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){p.fn[b]=function(a){return this.on(b,a)}}),p.each(["get","post"],function(a,c){p[c]=function(a,d,e,f){return p.isFunction(d)&&(f=f||e,e=d,d=b),p.ajax({type:c,url:a,data:d,success:e,dataType:f})}}),p.extend({getScript:function(a,c){return p.get(a,b,c,"script")},getJSON:function(a,b,c){return p.get(a,b,c,"json")},ajaxSetup:function(a,b){return b?cA(a,p.ajaxSettings):(b=a,a=p.ajaxSettings),cA(a,b),a},ajaxSettings:{url:ci,isLocal:cm.test(cj[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded; charset=UTF-8",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":cw},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":p.parseJSON,"text xml":p.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:cy(cu),ajaxTransport:cy(cv),ajax:function(a,c){function y(a,c,f,i){var k,s,t,u,w,y=c;if(v===2)return;v=2,h&&clearTimeout(h),g=b,e=i||"",x.readyState=a>0?4:0,f&&(u=cB(l,x,f));if(a>=200&&a<300||a===304)l.ifModified&&(w=x.getResponseHeader("Last-Modified"),w&&(p.lastModified[d]=w),w=x.getResponseHeader("Etag"),w&&(p.etag[d]=w)),a===304?(y="notmodified",k=!0):(k=cC(l,u),y=k.state,s=k.data,t=k.error,k=!t);else{t=y;if(!y||a)y="error",a<0&&(a=0)}x.status=a,x.statusText=""+(c||y),k?o.resolveWith(m,[s,y,x]):o.rejectWith(m,[x,y,t]),x.statusCode(r),r=b,j&&n.trigger("ajax"+(k?"Success":"Error"),[x,l,k?s:t]),q.fireWith(m,[x,y]),j&&(n.trigger("ajaxComplete",[x,l]),--p.active||p.event.trigger("ajaxStop"))}typeof a=="object"&&(c=a,a=b),c=c||{};var d,e,f,g,h,i,j,k,l=p.ajaxSetup({},c),m=l.context||l,n=m!==l&&(m.nodeType||m instanceof p)?p(m):p.event,o=p.Deferred(),q=p.Callbacks("once memory"),r=l.statusCode||{},t={},u={},v=0,w="canceled",x={readyState:0,setRequestHeader:function(a,b){if(!v){var c=a.toLowerCase();a=u[c]=u[c]||a,t[a]=b}return this},getAllResponseHeaders:function(){return v===2?e:null},getResponseHeader:function(a){var c;if(v===2){if(!f){f={};while(c=cl.exec(e))f[c[1].toLowerCase()]=c[2]}c=f[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){return v||(l.mimeType=a),this},abort:function(a){return a=a||w,g&&g.abort(a),y(0,a),this}};o.promise(x),x.success=x.done,x.error=x.fail,x.complete=q.add,x.statusCode=function(a){if(a){var b;if(v<2)for(b in a)r[b]=[r[b],a[b]];else b=a[x.status],x.always(b)}return this},l.url=((a||l.url)+"").replace(ck,"").replace(co,cj[1]+"//"),l.dataTypes=p.trim(l.dataType||"*").toLowerCase().split(s),l.crossDomain==null&&(i=cs.exec(l.url.toLowerCase()),l.crossDomain=!(!i||i[1]==cj[1]&&i[2]==cj[2]&&(i[3]||(i[1]==="http:"?80:443))==(cj[3]||(cj[1]==="http:"?80:443)))),l.data&&l.processData&&typeof l.data!="string"&&(l.data=p.param(l.data,l.traditional)),cz(cu,l,c,x);if(v===2)return x;j=l.global,l.type=l.type.toUpperCase(),l.hasContent=!cn.test(l.type),j&&p.active++===0&&p.event.trigger("ajaxStart");if(!l.hasContent){l.data&&(l.url+=(cp.test(l.url)?"&":"?")+l.data,delete l.data),d=l.url;if(l.cache===!1){var z=p.now(),A=l.url.replace(cr,"$1_="+z);l.url=A+(A===l.url?(cp.test(l.url)?"&":"?")+"_="+z:"")}}(l.data&&l.hasContent&&l.contentType!==!1||c.contentType)&&x.setRequestHeader("Content-Type",l.contentType),l.ifModified&&(d=d||l.url,p.lastModified[d]&&x.setRequestHeader("If-Modified-Since",p.lastModified[d]),p.etag[d]&&x.setRequestHeader("If-None-Match",p.etag[d])),x.setRequestHeader("Accept",l.dataTypes[0]&&l.accepts[l.dataTypes[0]]?l.accepts[l.dataTypes[0]]+(l.dataTypes[0]!=="*"?", "+cw+"; q=0.01":""):l.accepts["*"]);for(k in l.headers)x.setRequestHeader(k,l.headers[k]);if(!l.beforeSend||l.beforeSend.call(m,x,l)!==!1&&v!==2){w="abort";for(k in{success:1,error:1,complete:1})x[k](l[k]);g=cz(cv,l,c,x);if(!g)y(-1,"No Transport");else{x.readyState=1,j&&n.trigger("ajaxSend",[x,l]),l.async&&l.timeout>0&&(h=setTimeout(function(){x.abort("timeout")},l.timeout));try{v=1,g.send(t,y)}catch(B){if(v<2)y(-1,B);else throw B}}return x}return x.abort()},active:0,lastModified:{},etag:{}});var cD=[],cE=/\?/,cF=/(=)\?(?=&|$)|\?\?/,cG=p.now();p.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var a=cD.pop()||p.expando+"_"+cG++;return this[a]=!0,a}}),p.ajaxPrefilter("json jsonp",function(c,d,e){var f,g,h,i=c.data,j=c.url,k=c.jsonp!==!1,l=k&&cF.test(j),m=k&&!l&&typeof i=="string"&&!(c.contentType||"").indexOf("application/x-www-form-urlencoded")&&cF.test(i);if(c.dataTypes[0]==="jsonp"||l||m)return f=c.jsonpCallback=p.isFunction(c.jsonpCallback)?c.jsonpCallback():c.jsonpCallback,g=a[f],l?c.url=j.replace(cF,"$1"+f):m?c.data=i.replace(cF,"$1"+f):k&&(c.url+=(cE.test(j)?"&":"?")+c.jsonp+"="+f),c.converters["script json"]=function(){return h||p.error(f+" was not called"),h[0]},c.dataTypes[0]="json",a[f]=function(){h=arguments},e.always(function(){a[f]=g,c[f]&&(c.jsonpCallback=d.jsonpCallback,cD.push(f)),h&&p.isFunction(g)&&g(h[0]),h=g=b}),"script"}),p.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){return p.globalEval(a),a}}}),p.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),p.ajaxTransport("script",function(a){if(a.crossDomain){var c,d=e.head||e.getElementsByTagName("head")[0]||e.documentElement;return{send:function(f,g){c=e.createElement("script"),c.async="async",a.scriptCharset&&(c.charset=a.scriptCharset),c.src=a.url,c.onload=c.onreadystatechange=function(a,e){if(e||!c.readyState||/loaded|complete/.test(c.readyState))c.onload=c.onreadystatechange=null,d&&c.parentNode&&d.removeChild(c),c=b,e||g(200,"success")},d.insertBefore(c,d.firstChild)},abort:function(){c&&c.onload(0,1)}}}});var cH,cI=a.ActiveXObject?function(){for(var a in cH)cH[a](0,1)}:!1,cJ=0;p.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&cK()||cL()}:cK,function(a){p.extend(p.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(p.ajaxSettings.xhr()),p.support.ajax&&p.ajaxTransport(function(c){if(!c.crossDomain||p.support.cors){var d;return{send:function(e,f){var g,h,i=c.xhr();c.username?i.open(c.type,c.url,c.async,c.username,c.password):i.open(c.type,c.url,c.async);if(c.xhrFields)for(h in c.xhrFields)i[h]=c.xhrFields[h];c.mimeType&&i.overrideMimeType&&i.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(h in e)i.setRequestHeader(h,e[h])}catch(j){}i.send(c.hasContent&&c.data||null),d=function(a,e){var h,j,k,l,m;try{if(d&&(e||i.readyState===4)){d=b,g&&(i.onreadystatechange=p.noop,cI&&delete cH[g]);if(e)i.readyState!==4&&i.abort();else{h=i.status,k=i.getAllResponseHeaders(),l={},m=i.responseXML,m&&m.documentElement&&(l.xml=m);try{l.text=i.responseText}catch(a){}try{j=i.statusText}catch(n){j=""}!h&&c.isLocal&&!c.crossDomain?h=l.text?200:404:h===1223&&(h=204)}}}catch(o){e||f(-1,o)}l&&f(h,j,l,k)},c.async?i.readyState===4?setTimeout(d,0):(g=++cJ,cI&&(cH||(cH={},p(a).unload(cI)),cH[g]=d),i.onreadystatechange=d):d()},abort:function(){d&&d(0,1)}}}});var cM,cN,cO=/^(?:toggle|show|hide)$/,cP=new RegExp("^(?:([-+])=|)("+q+")([a-z%]*)$","i"),cQ=/queueHooks$/,cR=[cX],cS={"*":[function(a,b){var c,d,e,f=this.createTween(a,b),g=cP.exec(b),h=f.cur(),i=+h||0,j=1;if(g){c=+g[2],d=g[3]||(p.cssNumber[a]?"":"px");if(d!=="px"&&i){i=p.css(f.elem,a,!0)||c||1;do e=j=j||".5",i=i/j,p.style(f.elem,a,i+d),j=f.cur()/h;while(j!==1&&j!==e)}f.unit=d,f.start=i,f.end=g[1]?i+(g[1]+1)*c:c}return f}]};p.Animation=p.extend(cV,{tweener:function(a,b){p.isFunction(a)?(b=a,a=["*"]):a=a.split(" ");var c,d=0,e=a.length;for(;d-1,j={},k={},l,m;i?(k=e.position(),l=k.top,m=k.left):(l=parseFloat(g)||0,m=parseFloat(h)||0),p.isFunction(b)&&(b=b.call(a,c,f)),b.top!=null&&(j.top=b.top-f.top+l),b.left!=null&&(j.left=b.left-f.left+m),"using"in b?b.using.call(a,j):e.css(j)}},p.fn.extend({position:function(){if(!this[0])return;var a=this[0],b=this.offsetParent(),c=this.offset(),d=c$.test(b[0].nodeName)?{top:0,left:0}:b.offset();return c.top-=parseFloat(p.css(a,"marginTop"))||0,c.left-=parseFloat(p.css(a,"marginLeft"))||0,d.top+=parseFloat(p.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(p.css(b[0],"borderLeftWidth"))||0,{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||e.body;while(a&&!c$.test(a.nodeName)&&p.css(a,"position")==="static")a=a.offsetParent;return a||e.body})}}),p.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(a,c){var d=/Y/.test(c);p.fn[a]=function(e){return p.access(this,function(a,e,f){var g=c_(a);if(f===b)return g?c in g?g[c]:g.document.documentElement[e]:a[e];g?g.scrollTo(d?p(g).scrollLeft():f,d?f:p(g).scrollTop()):a[e]=f},a,e,arguments.length,null)}}),p.each({Height:"height",Width:"width"},function(a,c){p.each({padding:"inner"+a,content:c,"":"outer"+a},function(d,e){p.fn[e]=function(e,f){var g=arguments.length&&(d||typeof e!="boolean"),h=d||(e===!0||f===!0?"margin":"border");return p.access(this,function(c,d,e){var f;return p.isWindow(c)?c.document.documentElement["client"+a]:c.nodeType===9?(f=c.documentElement,Math.max(c.body["scroll"+a],f["scroll"+a],c.body["offset"+a],f["offset"+a],f["client"+a])):e===b?p.css(c,d,e,h):p.style(c,d,e,h)},c,g?e:b,g)}})}),a.jQuery=a.$=p,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return p})})(window); \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-af.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-af.js deleted file mode 100644 index b8a7cce6c78d494838a4966dd776ca3d46eada7e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-af.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Bladsy'; - $.fn.pagination.defaults.afterPageText = 'Van {pages}'; - $.fn.pagination.defaults.displayMsg = 'Wys (from) tot (to) van (total) items'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Verwerking, wag asseblief ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Die styl'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = "Die veld is verpligtend."; - $.fn.validatebox.defaults.rules.email.message = "Gee 'n geldige e-pos adres."; - $.fn.validatebox.defaults.rules.url.message = "Gee 'n geldige URL nie."; - $.fn.validatebox.defaults.rules.length.message = "Voer 'n waarde tussen {0} en {1}."; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Die veld is verpligtend.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Die veld is verpligtend.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Die veld is verpligtend.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Die veld is verpligtend.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Vandag'; - $.fn.datebox.defaults.closeText = 'Sluit'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Die veld is verpligtend.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ar.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ar.js deleted file mode 100644 index 5abd14ad305c97312546daf0ba348fafdbe816cc..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ar.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'صفحة'; - $.fn.pagination.defaults.afterPageText = 'من {pages}'; - $.fn.pagination.defaults.displayMsg = 'عرض {from} إلى {to} من {total} عنصر'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'معالجة, الرجاء الإنتظار ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'موافق'; - $.messager.defaults.cancel = 'إلغاء'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'هذا الحقل مطلوب.'; - $.fn.validatebox.defaults.rules.email.message = 'الرجاء إدخال بريد إلكتروني صحيح.'; - $.fn.validatebox.defaults.rules.url.message = 'الرجاء إدخال رابط صحيح.'; - $.fn.validatebox.defaults.rules.length.message = 'الرجاء إدخال قيمة بين {0} و {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'الرجاء التأكد من الحقل.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'هذا الحقل مطلوب.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'هذا الحقل مطلوب.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'هذا الحقل مطلوب.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'هذا الحقل مطلوب.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'اليوم'; - $.fn.datebox.defaults.closeText = 'إغلاق'; - $.fn.datebox.defaults.okText = 'موافق'; - $.fn.datebox.defaults.missingMessage = 'هذا الحقل مطلوب.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-bg.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-bg.js deleted file mode 100644 index 6b877375b50a707416a43b3527b12fd1dab044b1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-bg.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Страница'; - $.fn.pagination.defaults.afterPageText = 'от {pages}'; - $.fn.pagination.defaults.displayMsg = 'Показани {from} за {to} от {total} продукти'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Обработка, моля изчакайте ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Добре'; - $.messager.defaults.cancel = 'Задрасквам'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Това поле е задължително.'; - $.fn.validatebox.defaults.rules.email.message = 'Моля, въведете валиден имейл адрес.'; - $.fn.validatebox.defaults.rules.url.message = 'Моля въведете валиден URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Моля, въведете стойност между {0} и {1}.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Това поле е задължително.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Това поле е задължително.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Това поле е задължително.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Това поле е задължително.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Днес'; - $.fn.datebox.defaults.closeText = 'Близо'; - $.fn.datebox.defaults.okText = 'Добре'; - $.fn.datebox.defaults.missingMessage = 'Това поле е задължително.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ca.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ca.js deleted file mode 100644 index d37a579fe0c261943f75a8ca7fae811cb0aef75b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ca.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Pàgina'; - $.fn.pagination.defaults.afterPageText = 'de {pages}'; - $.fn.pagination.defaults.displayMsg = "Veient {from} a {to} de {total} d'articles"; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Elaboració, si us plau esperi ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Cancel'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Aquest camp és obligatori.'; - $.fn.validatebox.defaults.rules.email.message = 'Introduïu una adreça de correu electrònic vàlida.'; - $.fn.validatebox.defaults.rules.url.message = 'Si us plau, introduïu un URL vàlida.'; - $.fn.validatebox.defaults.rules.length.message = 'Si us plau, introduïu un valor entre {0} i {1}.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Aquest camp és obligatori.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Aquest camp és obligatori.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Aquest camp és obligatori.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Aquest camp és obligatori.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Avui'; - $.fn.datebox.defaults.closeText = 'Tancar'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Aquest camp és obligatori.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-cs.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-cs.js deleted file mode 100644 index c0408ec28acbb8d840d4fa9853f4574702a171bb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-cs.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Strana'; - $.fn.pagination.defaults.afterPageText = 'z {pages}'; - $.fn.pagination.defaults.displayMsg = 'Zobrazuji {from} do {to} z {total} položky'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Zpracování, čekejte prosím ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Zrušit'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Toto pole je vyžadováno.'; - $.fn.validatebox.defaults.rules.email.message = 'Zadejte prosím platnou e-mailovou adresu.'; - $.fn.validatebox.defaults.rules.url.message = 'Zadejte prosím platnou adresu URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Prosím, zadejte hodnotu mezi {0} a {1}.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Dnes'; - $.fn.datebox.defaults.closeText = 'Zavřít'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-cz.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-cz.js deleted file mode 100644 index ef23d6b0659396679d6c9f1957a43a3e59fa905f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-cz.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Strana'; - $.fn.pagination.defaults.afterPageText = 'z {pages}'; - $.fn.pagination.defaults.displayMsg = 'Zobrazuji záznam {from} až {to} z {total}.'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Pracuji, čekejte prosím…'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Zrušit'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Toto pole je vyžadováno.'; - $.fn.validatebox.defaults.rules.email.message = 'Zadejte, prosím, platnou e-mailovou adresu.'; - $.fn.validatebox.defaults.rules.url.message = 'Zadejte, prosím, platnou adresu URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Zadejte, prosím, hodnotu mezi {0} a {1}.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['N','P','Ú','S','Č','P','S']; //neděle pondělí úterý středa čtvrtek pátek sobota - $.fn.calendar.defaults.months = ['led', 'únr', 'bře', 'dub', 'kvě', 'čvn', 'čvc', 'srp', 'zář', 'říj', 'lis', 'pro']; //leden únor březen duben květen červen červenec srpen září říjen listopad prosinec -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Dnes'; - $.fn.datebox.defaults.closeText = 'Zavřít'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Toto pole je vyžadováno.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-da.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-da.js deleted file mode 100644 index 1ee1a7ba5e507052cd6521e198d9de9819d9fdba..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-da.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Page'; - $.fn.pagination.defaults.afterPageText = 'af {pages}'; - $.fn.pagination.defaults.displayMsg = 'Viser {from} til {to} af {total} poster'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Behandling, vent venligst ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Annuller'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Dette felt er påkrævet.'; - $.fn.validatebox.defaults.rules.email.message = 'Angiv en gyldig e-mail-adresse.'; - $.fn.validatebox.defaults.rules.url.message = 'Angiv en gyldig webadresse.'; - $.fn.validatebox.defaults.rules.length.message = 'Angiv en værdi mellem {0} og {1}.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Dette felt er påkrævet.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Dette felt er påkrævet.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Dette felt er påkrævet.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Dette felt er påkrævet.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'I dag'; - $.fn.datebox.defaults.closeText = 'Luk'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Dette felt er påkrævet.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-de.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-de.js deleted file mode 100644 index 2d0e9a4c14f79d0ab5b940cbd79ae326500cbfd0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-de.js +++ /dev/null @@ -1,70 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Seite'; - $.fn.pagination.defaults.afterPageText = 'von {pages}'; - $.fn.pagination.defaults.displayMsg = '{from} bis {to} von {total} Datensätzen'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Verarbeitung läuft, bitte warten ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'OK'; - $.messager.defaults.cancel = 'Abbruch'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Dieses Feld wird benötigt.'; - $.fn.validatebox.defaults.rules.email.message = 'Bitte geben Sie eine gültige E-Mail-Adresse ein.'; - $.fn.validatebox.defaults.rules.url.message = 'Bitte geben Sie eine gültige URL ein.'; - $.fn.validatebox.defaults.rules.length.message = 'Bitte geben Sie einen Wert zwischen {0} und {1} ein.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Dieses Feld wird benötigt.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Dieses Feld wird benötigt.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Dieses Feld wird benötigt.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Dieses Feld wird benötigt.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.firstDay = 1; - $.fn.calendar.defaults.weeks = ['S','M','D','M','D','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mär', 'Apr', 'Mai', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dez']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Heute'; - $.fn.datebox.defaults.closeText = 'Schließen'; - $.fn.datebox.defaults.okText = 'OK'; - $.fn.datebox.defaults.missingMessage = 'Dieses Feld wird benötigt.'; - $.fn.datebox.defaults.formatter = function(date){ - var y = date.getFullYear(); - var m = date.getMonth()+1; - var d = date.getDate(); - return (d<10?('0'+d):d)+'.'+(m<10?('0'+m):m)+'.'+y; - }; - $.fn.datebox.defaults.parser = function(s){ - if (!s) return new Date(); - var ss = s.split('.'); - var m = parseInt(ss[1],10); - var d = parseInt(ss[0],10); - var y = parseInt(ss[2],10); - if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ - return new Date(y,m-1,d); - } else { - return new Date(); - } - }; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-el.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-el.js deleted file mode 100644 index f2545719f33588a2a5a8954095b5dafc4b63a6e3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-el.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Σελίδα'; - $.fn.pagination.defaults.afterPageText = 'από {pages}'; - $.fn.pagination.defaults.displayMsg = 'Εμφάνιση {from} εώς {to} από {total} αντικείμενα'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Γίνεται Επεξεργασία, Παρακαλώ Περιμένετε ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Εντάξει'; - $.messager.defaults.cancel = 'Άκυρο'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Το πεδίο είναι υποχρεωτικό.'; - $.fn.validatebox.defaults.rules.email.message = 'Παρακαλώ εισάγετε σωστή Ηλ.Διεύθυνση.'; - $.fn.validatebox.defaults.rules.url.message = 'Παρακαλώ εισάγετε σωστό σύνδεσμο.'; - $.fn.validatebox.defaults.rules.length.message = 'Παρακαλώ εισάγετε τιμή μεταξύ {0} και {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Παρακαλώ διορθώστε αυτό το πεδίο.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Το πεδίο είναι υποχρεωτικό.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Το πεδίο είναι υποχρεωτικό.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Το πεδίο είναι υποχρεωτικό.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Το πεδίο είναι υποχρεωτικό.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['Κυρ','Δευ','Τρι','Τετ','Πεμ','Παρ','Σαβ']; - $.fn.calendar.defaults.months = ['Ιαν', 'Φεβ', 'Μαρ', 'Απρ', 'Μαϊ', 'Ιου', 'Ιου', 'Αυγ', 'Σεπ', 'Οκτ', 'Νοε', 'Δεκ']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Σήμερα'; - $.fn.datebox.defaults.closeText = 'Κλείσιμο'; - $.fn.datebox.defaults.okText = 'Εντάξει'; - $.fn.datebox.defaults.missingMessage = 'Το πεδίο είναι υποχρεωτικό.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-en.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-en.js deleted file mode 100644 index 6528efa21ae993718e17d3ba219517fe257b5a7e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-en.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Page'; - $.fn.pagination.defaults.afterPageText = 'of {pages}'; - $.fn.pagination.defaults.displayMsg = 'Displaying {from} to {to} of {total} items'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Processing, please wait ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Cancel'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'This field is required.'; - $.fn.validatebox.defaults.rules.email.message = 'Please enter a valid email address.'; - $.fn.validatebox.defaults.rules.url.message = 'Please enter a valid URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Please enter a value between {0} and {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Please fix this field.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'This field is required.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'This field is required.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'This field is required.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'This field is required.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Today'; - $.fn.datebox.defaults.closeText = 'Close'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'This field is required.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-es.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-es.js deleted file mode 100644 index d6582e81c27da7914e5a9f7de05284e99f63b4db..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-es.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Página'; - $.fn.pagination.defaults.afterPageText = 'de {pages}'; - $.fn.pagination.defaults.displayMsg = 'Mostrando {from} a {to} de {total} elementos'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Procesando, por favor espere ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Aceptar'; - $.messager.defaults.cancel = 'Cancelar'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Este campo es obligatorio.'; - $.fn.validatebox.defaults.rules.email.message = 'Por favor ingrese una dirección de correo válida.'; - $.fn.validatebox.defaults.rules.url.message = 'Por favor ingrese una URL válida.'; - $.fn.validatebox.defaults.rules.length.message = 'Por favor ingrese un valor entre {0} y {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Por favor corrija este campo.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Este campo es obligatorio.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Este campo es obligatorio.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Este campo es obligatorio.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Este campo es obligatorio.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['Do','Lu','Ma','Mi','Ju','Vi','Sá']; - $.fn.calendar.defaults.months = ['Ene', 'Feb', 'Mar', 'Abr', 'May', 'Jun', 'Jul', 'Ago', 'Sep', 'Oct', 'Nov', 'Dic']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Hoy'; - $.fn.datebox.defaults.closeText = 'Cerrar'; - $.fn.datebox.defaults.okText = 'Aceptar'; - $.fn.datebox.defaults.missingMessage = 'Este campo es obligatorio.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-fr.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-fr.js deleted file mode 100644 index cac005ceecd653beb501951e37daae4afe36bde4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-fr.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Page'; - $.fn.pagination.defaults.afterPageText = 'de {pages}'; - $.fn.pagination.defaults.displayMsg = 'Affichage de {from} et {to} au {total} des articles'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = "Traitement, s'il vous plaît patienter ..."; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Annuler'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Ce champ est obligatoire.'; - $.fn.validatebox.defaults.rules.email.message = "S'il vous plaît entrer une adresse email valide."; - $.fn.validatebox.defaults.rules.url.message = "S'il vous plaît entrer une URL valide."; - $.fn.validatebox.defaults.rules.length.message = "S'il vous plaît entrez une valeur comprise entre {0} et {1}."; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Ce champ est obligatoire.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Ce champ est obligatoire.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Ce champ est obligatoire.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Ce champ est obligatoire.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = "Aujourd'hui"; - $.fn.datebox.defaults.closeText = 'Fermer'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Ce champ est obligatoire.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-it.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-it.js deleted file mode 100644 index b0ca33cf96d220f1dcb40aec66df5fb9aa402d5d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-it.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Pagina'; - $.fn.pagination.defaults.afterPageText = 'di {pages}'; - $.fn.pagination.defaults.displayMsg = 'Visualizzazione {from} a {to} di {total} elementi'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'In lavorazione, attendere ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Annulla'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Questo campo è richiesto.'; - $.fn.validatebox.defaults.rules.email.message = 'Inserisci un indirizzo email valido.'; - $.fn.validatebox.defaults.rules.url.message = 'Inserisci un URL valido.'; - $.fn.validatebox.defaults.rules.length.message = 'Inserisci un valore tra {0} e {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Aggiusta questo campo.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Questo campo è richiesto.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Questo campo è richiesto.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Questo campo è richiesto.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Questo campo è richiesto.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Gen', 'Feb', 'Mar', 'Apr', 'Mag', 'Giu', 'Lug', 'Ago', 'Set', 'Ott', 'Nov', 'Dic']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Oggi'; - $.fn.datebox.defaults.closeText = 'Chiudi'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Questo campo è richiesto.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-jp.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-jp.js deleted file mode 100644 index 2c155f51cb8bd1aa24c58acaf2192301f6454dea..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-jp.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'ページ'; - $.fn.pagination.defaults.afterPageText = '{pages} 中'; - $.fn.pagination.defaults.displayMsg = '全 {total} アイテム中 {from} から {to} を表示中'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = '処理中です。少々お待ちください...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'OK'; - $.messager.defaults.cancel = 'キャンセル'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = '入力は必須です。'; - $.fn.validatebox.defaults.rules.email.message = '正しいメールアドレスを入力してください。'; - $.fn.validatebox.defaults.rules.url.message = '正しいURLを入力してください。'; - $.fn.validatebox.defaults.rules.length.message = '{0} から {1} の範囲の正しい値を入力してください。'; - $.fn.validatebox.defaults.rules.remote.message = 'このフィールドを修正してください。'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = '入力は必須です。'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = '入力は必須です。'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = '入力は必須です。'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = '入力は必須です。'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['日','月','火','水','木','金','土']; - $.fn.calendar.defaults.months = ['1月', '2月', '3月', '4月', '5月', '6月', '7月', '8月', '9月', '10月', '11月', '12月']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = '今日'; - $.fn.datebox.defaults.closeText = '閉じる'; - $.fn.datebox.defaults.okText = 'OK'; - $.fn.datebox.defaults.missingMessage = '入力は必須です。'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-nl.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-nl.js deleted file mode 100644 index 3bc5f9ece2b8de959610d67a799e681876805f10..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-nl.js +++ /dev/null @@ -1,51 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Pagina'; - $.fn.pagination.defaults.afterPageText = 'van {pages}'; - $.fn.pagination.defaults.displayMsg = 'Tonen van {from} tot {to} van de {total} items'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Verwerking, even geduld ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Annuleren'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Dit veld is verplicht.'; - $.fn.validatebox.defaults.rules.email.message = 'Geef een geldig e-mailadres.'; - $.fn.validatebox.defaults.rules.url.message = 'Vul een geldige URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Voer een waarde tussen {0} en {1}.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Dit veld is verplicht.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Dit veld is verplicht.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Dit veld is verplicht.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Dit veld is verplicht.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['S','M','T','W','T','F','S']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Vandaag'; - $.fn.datebox.defaults.closeText = 'Dicht'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Dit veld is verplicht.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-pl.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-pl.js deleted file mode 100644 index 6957f528466cbc8764067eaa2b08733df0db7e75..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-pl.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Strona'; - $.fn.pagination.defaults.afterPageText = 'z {pages}'; - $.fn.pagination.defaults.displayMsg = 'Wyświetlono elementy od {from} do {to} z {total}'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Przetwarzanie, proszę czekać ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Cancel'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'To pole jest wymagane.'; - $.fn.validatebox.defaults.rules.email.message = 'Wprowadź poprawny adres email.'; - $.fn.validatebox.defaults.rules.url.message = 'Wprowadź poprawny adres URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Wprowadź wartość z zakresu od {0} do {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Proszę poprawić to pole.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'To pole jest wymagane.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'To pole jest wymagane.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'To pole jest wymagane.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'To pole jest wymagane.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['N','P','W','Ś','C','P','S']; - $.fn.calendar.defaults.months = ['Sty', 'Lut', 'Mar', 'Kwi', 'Maj', 'Cze', 'Lip', 'Sie', 'Wrz', 'Paź', 'Lis', 'Gru']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Dzisiaj'; - $.fn.datebox.defaults.closeText = 'Zamknij'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'To pole jest wymagane.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-pt_BR.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-pt_BR.js deleted file mode 100644 index 9cd4985d952fca163f4aba2925ed4214420b3ad8..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-pt_BR.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Página'; - $.fn.pagination.defaults.afterPageText = 'de {pages}'; - $.fn.pagination.defaults.displayMsg = 'Mostrando {from} a {to} de {total} itens'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Processando, aguarde ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Cancelar'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Esse campo é requerido.'; - $.fn.validatebox.defaults.rules.email.message = 'Insira um endereço de email válido.'; - $.fn.validatebox.defaults.rules.url.message = 'Insira uma URL válida.'; - $.fn.validatebox.defaults.rules.length.message = 'Insira uma valor entre {0} e {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Corrija esse campo.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Esse campo é requerido.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Esse campo é requerido.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Esse campo é requerido.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Esse campo é requerido.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['D','S','T','Q','Q','S','S']; - $.fn.calendar.defaults.months = ['Jan', 'Fev', 'Mar', 'Abr', 'Mai', 'Jun', 'Jul', 'Ago', 'Set', 'Out', 'Nov', 'Dez']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Hoje'; - $.fn.datebox.defaults.closeText = 'Fechar'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Esse campo é requerido.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ru.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ru.js deleted file mode 100644 index 492964e42a6ba5217ffeaca4d855c5548daf6f4c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-ru.js +++ /dev/null @@ -1,53 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Страница'; - $.fn.pagination.defaults.afterPageText = 'из {pages}'; - $.fn.pagination.defaults.displayMsg = 'Просмотр {from} до {to} из {total} записей'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = 'Обрабатывается, пожалуйста ждите ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Ок'; - $.messager.defaults.cancel = 'Закрыть'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Это поле необходимо.'; - $.fn.validatebox.defaults.rules.email.message = 'Пожалуйста введите корректный e-mail адрес.'; - $.fn.validatebox.defaults.rules.url.message = 'Пожалуйста введите корректный URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Пожалуйста введите зачение между {0} и {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Пожалуйста исправте это поле.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Это поле необходимо.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Это поле необходимо.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Это поле необходимо.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Это поле необходимо.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.firstDay = 1; - $.fn.calendar.defaults.weeks = ['В','П','В','С','Ч','П','С']; - $.fn.calendar.defaults.months = ['Янв', 'Фев', 'Мар', 'Апр', 'Май', 'Июн', 'Июл', 'Авг', 'Сен', 'Окт', 'Ноя', 'Дек']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Сегодня'; - $.fn.datebox.defaults.closeText = 'Закрыть'; - $.fn.datebox.defaults.okText = 'Ок'; - $.fn.datebox.defaults.missingMessage = 'Это поле необходимо.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-sv_SE.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-sv_SE.js deleted file mode 100644 index feb03211d6201e1245f2ce80f18bada4a5b7558b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-sv_SE.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination) { - $.fn.pagination.defaults.beforePageText = 'Sida'; - $.fn.pagination.defaults.afterPageText = 'av {pages}'; - $.fn.pagination.defaults.displayMsg = 'Visar {from} till {to} av {total} poster'; -} -if ($.fn.datagrid) { - $.fn.datagrid.defaults.loadMsg = 'Bearbetar, vänligen vänta ...'; -} -if ($.fn.treegrid && $.fn.datagrid) { - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager) { - $.messager.defaults.ok = 'Ok'; - $.messager.defaults.cancel = 'Avbryt'; -} -if ($.fn.validatebox) { - $.fn.validatebox.defaults.missingMessage = 'Detta fält är obligatoriskt.'; - $.fn.validatebox.defaults.rules.email.message = 'Vänligen ange en korrekt e-post adress.'; - $.fn.validatebox.defaults.rules.url.message = 'Vänligen ange en korrekt URL.'; - $.fn.validatebox.defaults.rules.length.message = 'Vänligen ange ett nummer mellan {0} och {1}.'; - $.fn.validatebox.defaults.rules.remote.message = 'Vänligen åtgärda detta fält.'; -} -if ($.fn.numberbox) { - $.fn.numberbox.defaults.missingMessage = 'Detta fält är obligatoriskt.'; -} -if ($.fn.combobox) { - $.fn.combobox.defaults.missingMessage = 'Detta fält är obligatoriskt.'; -} -if ($.fn.combotree) { - $.fn.combotree.defaults.missingMessage = 'Detta fält är obligatoriskt.'; -} -if ($.fn.combogrid) { - $.fn.combogrid.defaults.missingMessage = 'Detta fält är obligatoriskt.'; -} -if ($.fn.calendar) { - $.fn.calendar.defaults.weeks = ['Sön', 'Mån', 'Tis', 'Ons', 'Tors', 'Fre', 'Lör']; - $.fn.calendar.defaults.months = ['Jan', 'Feb', 'Mar', 'Apr', 'Maj', 'Jun', 'Jul', 'Aug', 'Sep', 'Okt', 'Nov', 'Dec']; -} -if ($.fn.datebox) { - $.fn.datebox.defaults.currentText = 'I dag'; - $.fn.datebox.defaults.closeText = 'Stäng'; - $.fn.datebox.defaults.okText = 'Ok'; - $.fn.datebox.defaults.missingMessage = 'Detta fält är obligatoriskt.'; -} -if ($.fn.datetimebox && $.fn.datebox) { - $.extend($.fn.datetimebox.defaults, { - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-tr.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-tr.js deleted file mode 100644 index d3aa7066434bf3a49193e60a90c30eb7a16a0e10..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-tr.js +++ /dev/null @@ -1,66 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = 'Sayfa'; - $.fn.pagination.defaults.afterPageText = ' / {pages}'; - $.fn.pagination.defaults.displayMsg = '{from} ile {to} arası gösteriliyor, toplam {total} kayıt'; -} -if ($.fn.datagrid){ - $.fn.panel.defaults.loadingMessage = "Yükleniyor..."; -} - -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadingMessage = "Yükleniyor..."; - $.fn.datagrid.defaults.loadMsg = 'İşleminiz Yapılıyor, lütfen bekleyin ...'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = 'Tamam'; - $.messager.defaults.cancel = 'İptal'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = 'Bu alan zorunludur.'; - $.fn.validatebox.defaults.rules.email.message = 'Lütfen geçerli bir email adresi giriniz.'; - $.fn.validatebox.defaults.rules.url.message = 'Lütfen geçerli bir URL giriniz.'; - $.fn.validatebox.defaults.rules.length.message = 'Lütfen {0} ile {1} arasında bir değer giriniz.'; - $.fn.validatebox.defaults.rules.remote.message = 'Lütfen bu alanı düzeltiniz.'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = 'Bu alan zorunludur.'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = 'Bu alan zorunludur.'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = 'Bu alan zorunludur.'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = 'Bu alan zorunludur.'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['Pz','Pt','Sa','Ça','Pe','Cu','Ct']; - $.fn.calendar.defaults.months = ['Oca', 'Şub', 'Mar', 'Nis', 'May', 'Haz', 'Tem', 'Ağu', 'Eyl', 'Eki', 'Kas', 'Ara']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = 'Bugün'; - $.fn.datebox.defaults.closeText = 'Kapat'; - $.fn.datebox.defaults.okText = 'Tamam'; - $.fn.datebox.defaults.missingMessage = 'Bu alan zorunludur.'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); - - $.fn.datebox.defaults.formatter=function(date){ - var y=date.getFullYear(); - var m=date.getMonth()+1; - var d=date.getDate(); - if(m<10){m="0"+m;} - if(d<10){d="0"+d;} - return d+"."+m+"."+y; - }; -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js deleted file mode 100644 index 24a3a18a21f3940a3f24bc896fbaaaeccc262569..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-zh_CN.js +++ /dev/null @@ -1,70 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = '第'; - $.fn.pagination.defaults.afterPageText = '共{pages}页'; - $.fn.pagination.defaults.displayMsg = '显示{from}到{to},共{total}记录'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = '正在处理,请稍待。。。'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = '确定'; - $.messager.defaults.cancel = '取消'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = '必填'; - $.fn.validatebox.defaults.rules.email.message = '请输入有效的电子邮件地址'; - $.fn.validatebox.defaults.rules.url.message = '请输入有效的URL地址'; - $.fn.validatebox.defaults.rules.length.message = '输入内容长度必须介于{0}和{1}之间'; - $.fn.validatebox.defaults.rules.remote.message = '请修正该字段'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = '必填'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = '必填'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = '必填'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = '必填'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六']; - $.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = '今天'; - $.fn.datebox.defaults.closeText = '关闭'; - $.fn.datebox.defaults.okText = '确定'; - $.fn.datebox.defaults.missingMessage = '必填'; - $.fn.datebox.defaults.formatter = function(date){ - var y = date.getFullYear(); - var m = date.getMonth()+1; - var d = date.getDate(); - return y+'-'+(m<10?('0'+m):m)+'-'+(d<10?('0'+d):d); - }; - $.fn.datebox.defaults.parser = function(s){ - if (!s) return new Date(); - var ss = s.split('-'); - var y = parseInt(ss[0],10); - var m = parseInt(ss[1],10); - var d = parseInt(ss[2],10); - if (!isNaN(y) && !isNaN(m) && !isNaN(d)){ - return new Date(y,m-1,d); - } else { - return new Date(); - } - }; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-zh_TW.js b/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-zh_TW.js deleted file mode 100644 index 70ffa76a5addec2eb28cd836e461e94cfc7e366d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/locale/easyui-lang-zh_TW.js +++ /dev/null @@ -1,52 +0,0 @@ -if ($.fn.pagination){ - $.fn.pagination.defaults.beforePageText = '第'; - $.fn.pagination.defaults.afterPageText = '共{pages}頁'; - $.fn.pagination.defaults.displayMsg = '顯示{from}到{to},共{total}記錄'; -} -if ($.fn.datagrid){ - $.fn.datagrid.defaults.loadMsg = '正在處理,請稍待。。。'; -} -if ($.fn.treegrid && $.fn.datagrid){ - $.fn.treegrid.defaults.loadMsg = $.fn.datagrid.defaults.loadMsg; -} -if ($.messager){ - $.messager.defaults.ok = '確定'; - $.messager.defaults.cancel = '取消'; -} -if ($.fn.validatebox){ - $.fn.validatebox.defaults.missingMessage = '該輸入項為必輸項'; - $.fn.validatebox.defaults.rules.email.message = '請輸入有效的電子郵件地址'; - $.fn.validatebox.defaults.rules.url.message = '請輸入有效的URL地址'; - $.fn.validatebox.defaults.rules.length.message = '輸入內容長度必須介於{0}和{1}之間'; - $.fn.validatebox.defaults.rules.remote.message = '請修正此欄位'; -} -if ($.fn.numberbox){ - $.fn.numberbox.defaults.missingMessage = '該輸入項為必輸項'; -} -if ($.fn.combobox){ - $.fn.combobox.defaults.missingMessage = '該輸入項為必輸項'; -} -if ($.fn.combotree){ - $.fn.combotree.defaults.missingMessage = '該輸入項為必輸項'; -} -if ($.fn.combogrid){ - $.fn.combogrid.defaults.missingMessage = '該輸入項為必輸項'; -} -if ($.fn.calendar){ - $.fn.calendar.defaults.weeks = ['日','一','二','三','四','五','六']; - $.fn.calendar.defaults.months = ['一月','二月','三月','四月','五月','六月','七月','八月','九月','十月','十一月','十二月']; -} -if ($.fn.datebox){ - $.fn.datebox.defaults.currentText = '今天'; - $.fn.datebox.defaults.closeText = '關閉'; - $.fn.datebox.defaults.okText = '確定'; - $.fn.datebox.defaults.missingMessage = '該輸入項為必輸項'; -} -if ($.fn.datetimebox && $.fn.datebox){ - $.extend($.fn.datetimebox.defaults,{ - currentText: $.fn.datebox.defaults.currentText, - closeText: $.fn.datebox.defaults.closeText, - okText: $.fn.datebox.defaults.okText, - missingMessage: $.fn.datebox.defaults.missingMessage - }); -} diff --git a/src/main/webapp/js/easyui-1.3.5/outlook.js b/src/main/webapp/js/easyui-1.3.5/outlook.js deleted file mode 100644 index 5b6dd7bf983d3c4f199ccadf7bbea7dddd680805..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/outlook.js +++ /dev/null @@ -1,183 +0,0 @@ -$(function () { - // InitLeftMenu(); - tabClose(); - tabCloseEven(); - - - // $('#tabs').tabs('add',{ - // title:'title', - // content:createFrame('http://www.xjz365.com') - // }).tabs({ - // onSelect: function (title) { - // var currTab = $('#tabs').tabs('getTab', title); - // var iframe = $(currTab.panel('options').content); - - // var src = iframe.attr('src'); - // if(src) - // $('#tabs').tabs('update', { tab: currTab, options: { content: createFrame(src)} }); - - // } - // }); -}) - -//初始化左侧 -function InitLeftMenu() { - $("#nav").accordion({ animate: false }); - - $.each(_menus.menus, function (i, n) { - var menulist = ''; - menulist += ''; - - $('#nav').accordion('add', { - title: n.menuname, - content: menulist, - iconCls: 'icon ' + n.icon - }); - - }); - - $('.easyui-accordion li a').click(function () { - var tabTitle = $(this).children('.nav').text(); - - var url = $(this).attr("rel"); - var menuid = $(this).attr("ref"); - var icon = getIcon(menuid, icon); - - addTab(tabTitle, url, icon); - $('.easyui-accordion li div').removeClass("selected"); - $(this).parent().addClass("selected"); - }).hover(function () { - $(this).parent().addClass("hover"); - }, function () { - $(this).parent().removeClass("hover"); - }); - - //选中第一个 - var panels = $('#nav').accordion('panels'); - var t = panels[0].panel('options').title; - $('#nav').accordion('select', t); -} -//获取左侧导航的图标 -function getIcon(menuid) { - var icon = 'icon '; - $.each(_menus.menus, function (i, n) { - $.each(n.menus, function (j, o) { - if (o.menuid == menuid) { - icon += o.icon; - } - }) - }) - - return icon; -} - -function addTab(subtitle, url, icon) { - if (!$('#tabs').tabs('exists', subtitle)) { - $('#tabs').tabs('add', { - title: subtitle, - content: createFrame(url), - closable: true, - icon: icon - }); - } else { - $('#tabs').tabs('select', subtitle); - $('#mm-tabupdate').click(); - } - tabClose(); -} -function createFrame(url) { - var s = ''; - return s; -} -function tabClose() { - /*双击关闭TAB选项卡*/ - $(".tabs-inner").dblclick(function () { - var subtitle = $(this).children(".tabs-closable").text(); - $('#tabs').tabs('close', subtitle); - }) - /*为选项卡绑定右键*/ - $(".tabs-inner").bind('contextmenu', function (e) { - $('#mm').menu('show', { - left: e.pageX, - top: e.pageY - }); - - var subtitle = $(this).children(".tabs-closable").text(); - - $('#mm').data("currtab", subtitle); - $('#tabs').tabs('select', subtitle); - return false; - }); -} -//绑定右键菜单事件 -function tabCloseEven() { - //刷新 - $('#mm-tabupdate').click(function () { - var currTab = $('#tabs').tabs('getSelected'); - var url = $(currTab.panel('options').content).attr('src'); - $('#tabs').tabs('update', { - tab: currTab, - options: { - content: createFrame(url) - } - }) - }) - //关闭当前 - $('#mm-tabclose').click(function () { - var currtab_title = $('#mm').data("currtab"); - $('#tabs').tabs('close', currtab_title); - }) - //全部关闭 - $('#mm-tabcloseall').click(function () { - $('.tabs-inner span').each(function (i, n) { - var t = $(n).text(); - $('#tabs').tabs('close', t); - }); - }); - //关闭除当前之外的TAB - $('#mm-tabcloseother').click(function () { - $('#mm-tabcloseright').click(); - $('#mm-tabcloseleft').click(); - }); - //关闭当前右侧的TAB - $('#mm-tabcloseright').click(function () { - var nextall = $('.tabs-selected').nextAll(); - if (nextall.length == 0) { - //msgShow('系统提示','后边没有啦~~','error'); - //alert('后边没有啦~~'); - return false; - } - nextall.each(function (i, n) { - var t = $('a:eq(0) span', $(n)).text(); - $('#tabs').tabs('close', t); - }); - return false; - }); - //关闭当前左侧的TAB - $('#mm-tabcloseleft').click(function () { - var prevall = $('.tabs-selected').prevAll(); - if (prevall.length == 0) { - //alert('到头了,前边没有啦~~'); - return false; - } - prevall.each(function (i, n) { - var t = $('a:eq(0) span', $(n)).text(); - $('#tabs').tabs('close', t); - }); - return false; - }); - - //显示版权信息 - $("#mm-version").click(function () { - window.open("https://gitee.com/jishenghua/JSH_ERP"); - }) -} - -//弹出信息窗口 title:标题 msgString:提示信息 msgType:信息类型 [error,info,question,warning] -function msgShow(title, msgString, msgType) { - $.messager.alert(title, msgString, msgType); -} diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.accordion.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.accordion.js deleted file mode 100644 index 15b316f2d5c53d1ae630226a722ac81caf585640..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.accordion.js +++ /dev/null @@ -1,322 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"accordion"); -var _4=_3.options; -var _5=_3.panels; -var cc=$(_2); -_4.fit?$.extend(_4,cc._fit()):cc._fit(false); -if(!isNaN(_4.width)){ -cc._outerWidth(_4.width); -}else{ -cc.css("width",""); -} -var _6=0; -var _7="auto"; -var _8=cc.find(">div.panel>div.accordion-header"); -if(_8.length){ -_6=$(_8[0]).css("height","")._outerHeight(); -} -if(!isNaN(_4.height)){ -cc._outerHeight(_4.height); -_7=cc.height()-_6*_8.length; -}else{ -cc.css("height",""); -} -_9(true,_7-_9(false)+1); -function _9(_a,_b){ -var _c=0; -for(var i=0;i<_5.length;i++){ -var p=_5[i]; -var h=p.panel("header")._outerHeight(_6); -if(p.panel("options").collapsible==_a){ -var _d=isNaN(_b)?undefined:(_b+_6*h.length); -p.panel("resize",{width:cc.width(),height:(_a?_d:undefined)}); -_c+=p.panel("panel").outerHeight()-_6; -} -} -return _c; -}; -}; -function _e(_f,_10,_11,all){ -var _12=$.data(_f,"accordion").panels; -var pp=[]; -for(var i=0;i<_12.length;i++){ -var p=_12[i]; -if(_10){ -if(p.panel("options")[_10]==_11){ -pp.push(p); -} -}else{ -if(p[0]==$(_11)[0]){ -return i; -} -} -} -if(_10){ -return all?pp:(pp.length?pp[0]:null); -}else{ -return -1; -} -}; -function _13(_14){ -return _e(_14,"collapsed",false,true); -}; -function _15(_16){ -var pp=_13(_16); -return pp.length?pp[0]:null; -}; -function _17(_18,_19){ -return _e(_18,null,_19); -}; -function _1a(_1b,_1c){ -var _1d=$.data(_1b,"accordion").panels; -if(typeof _1c=="number"){ -if(_1c<0||_1c>=_1d.length){ -return null; -}else{ -return _1d[_1c]; -} -} -return _e(_1b,"title",_1c); -}; -function _1e(_1f){ -var _20=$.data(_1f,"accordion").options; -var cc=$(_1f); -if(_20.border){ -cc.removeClass("accordion-noborder"); -}else{ -cc.addClass("accordion-noborder"); -} -}; -function _21(_22){ -var _23=$.data(_22,"accordion"); -var cc=$(_22); -cc.addClass("accordion"); -_23.panels=[]; -cc.children("div").each(function(){ -var _24=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -var pp=$(this); -_23.panels.push(pp); -_27(_22,pp,_24); -}); -cc.bind("_resize",function(e,_25){ -var _26=$.data(_22,"accordion").options; -if(_26.fit==true||_25){ -_1(_22); -} -return false; -}); -}; -function _27(_28,pp,_29){ -var _2a=$.data(_28,"accordion").options; -pp.panel($.extend({},{collapsible:true,minimizable:false,maximizable:false,closable:false,doSize:false,collapsed:true,headerCls:"accordion-header",bodyCls:"accordion-body"},_29,{onBeforeExpand:function(){ -if(_29.onBeforeExpand){ -if(_29.onBeforeExpand.call(this)==false){ -return false; -} -} -if(!_2a.multiple){ -var all=$.grep(_13(_28),function(p){ -return p.panel("options").collapsible; -}); -for(var i=0;i").addClass("accordion-collapse accordion-expand").appendTo(_2e); -t.bind("click",function(){ -var _2f=_17(_28,pp); -if(pp.panel("options").collapsed){ -_30(_28,_2f); -}else{ -_35(_28,_2f); -} -return false; -}); -pp.panel("options").collapsible?t.show():t.hide(); -_2d.click(function(){ -$(this).find("a.accordion-collapse:visible").triggerHandler("click"); -return false; -}); -}; -function _30(_31,_32){ -var p=_1a(_31,_32); -if(!p){ -return; -} -_33(_31); -var _34=$.data(_31,"accordion").options; -p.panel("expand",_34.animate); -}; -function _35(_36,_37){ -var p=_1a(_36,_37); -if(!p){ -return; -} -_33(_36); -var _38=$.data(_36,"accordion").options; -p.panel("collapse",_38.animate); -}; -function _39(_3a){ -var _3b=$.data(_3a,"accordion").options; -var p=_e(_3a,"selected",true); -if(p){ -_3c(_17(_3a,p)); -}else{ -_3c(_3b.selected); -} -function _3c(_3d){ -var _3e=_3b.animate; -_3b.animate=false; -_30(_3a,_3d); -_3b.animate=_3e; -}; -}; -function _33(_3f){ -var _40=$.data(_3f,"accordion").panels; -for(var i=0;i<_40.length;i++){ -_40[i].stop(true,true); -} -}; -function add(_41,_42){ -var _43=$.data(_41,"accordion"); -var _44=_43.options; -var _45=_43.panels; -if(_42.selected==undefined){ -_42.selected=true; -} -_33(_41); -var pp=$("
                      ").appendTo(_41); -_45.push(pp); -_27(_41,pp,_42); -_1(_41); -_44.onAdd.call(_41,_42.title,_45.length-1); -if(_42.selected){ -_30(_41,_45.length-1); -} -}; -function _46(_47,_48){ -var _49=$.data(_47,"accordion"); -var _4a=_49.options; -var _4b=_49.panels; -_33(_47); -var _4c=_1a(_47,_48); -var _4d=_4c.panel("options").title; -var _4e=_17(_47,_4c); -if(!_4c){ -return; -} -if(_4a.onBeforeRemove.call(_47,_4d,_4e)==false){ -return; -} -_4b.splice(_4e,1); -_4c.panel("destroy"); -if(_4b.length){ -_1(_47); -var _4f=_15(_47); -if(!_4f){ -_30(_47,0); -} -} -_4a.onRemove.call(_47,_4d,_4e); -}; -$.fn.accordion=function(_50,_51){ -if(typeof _50=="string"){ -return $.fn.accordion.methods[_50](this,_51); -} -_50=_50||{}; -return this.each(function(){ -var _52=$.data(this,"accordion"); -if(_52){ -$.extend(_52.options,_50); -}else{ -$.data(this,"accordion",{options:$.extend({},$.fn.accordion.defaults,$.fn.accordion.parseOptions(this),_50),accordion:$(this).addClass("accordion"),panels:[]}); -_21(this); -} -_1e(this); -_1(this); -_39(this); -}); -}; -$.fn.accordion.methods={options:function(jq){ -return $.data(jq[0],"accordion").options; -},panels:function(jq){ -return $.data(jq[0],"accordion").panels; -},resize:function(jq){ -return jq.each(function(){ -_1(this); -}); -},getSelections:function(jq){ -return _13(jq[0]); -},getSelected:function(jq){ -return _15(jq[0]); -},getPanel:function(jq,_53){ -return _1a(jq[0],_53); -},getPanelIndex:function(jq,_54){ -return _17(jq[0],_54); -},select:function(jq,_55){ -return jq.each(function(){ -_30(this,_55); -}); -},unselect:function(jq,_56){ -return jq.each(function(){ -_35(this,_56); -}); -},add:function(jq,_57){ -return jq.each(function(){ -add(this,_57); -}); -},remove:function(jq,_58){ -return jq.each(function(){ -_46(this,_58); -}); -}}; -$.fn.accordion.parseOptions=function(_59){ -var t=$(_59); -return $.extend({},$.parser.parseOptions(_59,["width","height",{fit:"boolean",border:"boolean",animate:"boolean",multiple:"boolean",selected:"number"}])); -}; -$.fn.accordion.defaults={width:"auto",height:"auto",fit:false,border:true,animate:true,multiple:false,selected:0,onSelect:function(_5a,_5b){ -},onUnselect:function(_5c,_5d){ -},onAdd:function(_5e,_5f){ -},onBeforeRemove:function(_60,_61){ -},onRemove:function(_62,_63){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.calendar.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.calendar.js deleted file mode 100644 index 1f71fe6e838ab7dbb234611dbaa18dffd7982b44..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.calendar.js +++ /dev/null @@ -1,304 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"calendar").options; -var t=$(_2); -_3.fit?$.extend(_3,t._fit()):t._fit(false); -var _4=t.find(".calendar-header"); -t._outerWidth(_3.width); -t._outerHeight(_3.height); -t.find(".calendar-body")._outerHeight(t.height()-_4._outerHeight()); -}; -function _5(_6){ -$(_6).addClass("calendar").html("
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+"Aprial 2010"+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "+""+""+""+"
                      "+"
                      "+"
                      "+"
                      "+"
                      "); -$(_6).find(".calendar-title span").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}).click(function(){ -var _7=$(_6).find(".calendar-menu"); -if(_7.is(":visible")){ -_7.hide(); -}else{ -_14(_6); -} -}); -$(".calendar-prevmonth,.calendar-nextmonth,.calendar-prevyear,.calendar-nextyear",_6).hover(function(){ -$(this).addClass("calendar-nav-hover"); -},function(){ -$(this).removeClass("calendar-nav-hover"); -}); -$(_6).find(".calendar-nextmonth").click(function(){ -_9(_6,1); -}); -$(_6).find(".calendar-prevmonth").click(function(){ -_9(_6,-1); -}); -$(_6).find(".calendar-nextyear").click(function(){ -_f(_6,1); -}); -$(_6).find(".calendar-prevyear").click(function(){ -_f(_6,-1); -}); -$(_6).bind("_resize",function(){ -var _8=$.data(_6,"calendar").options; -if(_8.fit==true){ -_1(_6); -} -return false; -}); -}; -function _9(_a,_b){ -var _c=$.data(_a,"calendar").options; -_c.month+=_b; -if(_c.month>12){ -_c.year++; -_c.month=1; -}else{ -if(_c.month<1){ -_c.year--; -_c.month=12; -} -} -_d(_a); -var _e=$(_a).find(".calendar-menu-month-inner"); -_e.find("td.calendar-selected").removeClass("calendar-selected"); -_e.find("td:eq("+(_c.month-1)+")").addClass("calendar-selected"); -}; -function _f(_10,_11){ -var _12=$.data(_10,"calendar").options; -_12.year+=_11; -_d(_10); -var _13=$(_10).find(".calendar-menu-year"); -_13.val(_12.year); -}; -function _14(_15){ -var _16=$.data(_15,"calendar").options; -$(_15).find(".calendar-menu").show(); -if($(_15).find(".calendar-menu-month-inner").is(":empty")){ -$(_15).find(".calendar-menu-month-inner").empty(); -var t=$("
                      ").appendTo($(_15).find(".calendar-menu-month-inner")); -var idx=0; -for(var i=0;i<3;i++){ -var tr=$("").appendTo(t); -for(var j=0;j<4;j++){ -$("").html(_16.months[idx++]).attr("abbr",idx).appendTo(tr); -} -} -$(_15).find(".calendar-menu-prev,.calendar-menu-next").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}); -$(_15).find(".calendar-menu-next").click(function(){ -var y=$(_15).find(".calendar-menu-year"); -if(!isNaN(y.val())){ -y.val(parseInt(y.val())+1); -} -}); -$(_15).find(".calendar-menu-prev").click(function(){ -var y=$(_15).find(".calendar-menu-year"); -if(!isNaN(y.val())){ -y.val(parseInt(y.val()-1)); -} -}); -$(_15).find(".calendar-menu-year").keypress(function(e){ -if(e.keyCode==13){ -_17(); -} -}); -$(_15).find(".calendar-menu-month").hover(function(){ -$(this).addClass("calendar-menu-hover"); -},function(){ -$(this).removeClass("calendar-menu-hover"); -}).click(function(){ -var _18=$(_15).find(".calendar-menu"); -_18.find(".calendar-selected").removeClass("calendar-selected"); -$(this).addClass("calendar-selected"); -_17(); -}); -} -function _17(){ -var _19=$(_15).find(".calendar-menu"); -var _1a=_19.find(".calendar-menu-year").val(); -var _1b=_19.find(".calendar-selected").attr("abbr"); -if(!isNaN(_1a)){ -_16.year=parseInt(_1a); -_16.month=parseInt(_1b); -_d(_15); -} -_19.hide(); -}; -var _1c=$(_15).find(".calendar-body"); -var _1d=$(_15).find(".calendar-menu"); -var _1e=_1d.find(".calendar-menu-year-inner"); -var _1f=_1d.find(".calendar-menu-month-inner"); -_1e.find("input").val(_16.year).focus(); -_1f.find("td.calendar-selected").removeClass("calendar-selected"); -_1f.find("td:eq("+(_16.month-1)+")").addClass("calendar-selected"); -_1d._outerWidth(_1c._outerWidth()); -_1d._outerHeight(_1c._outerHeight()); -_1f._outerHeight(_1d.height()-_1e._outerHeight()); -}; -function _20(_21,_22,_23){ -var _24=$.data(_21,"calendar").options; -var _25=[]; -var _26=new Date(_22,_23,0).getDate(); -for(var i=1;i<=_26;i++){ -_25.push([_22,_23,i]); -} -var _27=[],_28=[]; -var _29=-1; -while(_25.length>0){ -var _2a=_25.shift(); -_28.push(_2a); -var day=new Date(_2a[0],_2a[1]-1,_2a[2]).getDay(); -if(_29==day){ -day=0; -}else{ -if(day==(_24.firstDay==0?7:_24.firstDay)-1){ -_27.push(_28); -_28=[]; -} -} -_29=day; -} -if(_28.length){ -_27.push(_28); -} -var _2b=_27[0]; -if(_2b.length<7){ -while(_2b.length<7){ -var _2c=_2b[0]; -var _2a=new Date(_2c[0],_2c[1]-1,_2c[2]-1); -_2b.unshift([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); -} -}else{ -var _2c=_2b[0]; -var _28=[]; -for(var i=1;i<=7;i++){ -var _2a=new Date(_2c[0],_2c[1]-1,_2c[2]-i); -_28.unshift([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); -} -_27.unshift(_28); -} -var _2d=_27[_27.length-1]; -while(_2d.length<7){ -var _2e=_2d[_2d.length-1]; -var _2a=new Date(_2e[0],_2e[1]-1,_2e[2]+1); -_2d.push([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); -} -if(_27.length<6){ -var _2e=_2d[_2d.length-1]; -var _28=[]; -for(var i=1;i<=7;i++){ -var _2a=new Date(_2e[0],_2e[1]-1,_2e[2]+i); -_28.push([_2a.getFullYear(),_2a.getMonth()+1,_2a.getDate()]); -} -_27.push(_28); -} -return _27; -}; -function _d(_2f){ -var _30=$.data(_2f,"calendar").options; -$(_2f).find(".calendar-title span").html(_30.months[_30.month-1]+" "+_30.year); -var _31=$(_2f).find("div.calendar-body"); -_31.find(">table").remove(); -var t=$("
                      ").prependTo(_31); -var tr=$("").appendTo(t.find("thead")); -for(var i=_30.firstDay;i<_30.weeks.length;i++){ -tr.append(""+_30.weeks[i]+""); -} -for(var i=0;i<_30.firstDay;i++){ -tr.append(""+_30.weeks[i]+""); -} -var _32=_20(_2f,_30.year,_30.month); -for(var i=0;i<_32.length;i++){ -var _33=_32[i]; -var tr=$("").appendTo(t.find("tbody")); -for(var j=0;j<_33.length;j++){ -var day=_33[j]; -$("").attr("abbr",day[0]+","+day[1]+","+day[2]).html(day[2]).appendTo(tr); -} -} -t.find("td[abbr^=\""+_30.year+","+_30.month+"\"]").removeClass("calendar-other-month"); -var now=new Date(); -var _34=now.getFullYear()+","+(now.getMonth()+1)+","+now.getDate(); -t.find("td[abbr=\""+_34+"\"]").addClass("calendar-today"); -if(_30.current){ -t.find(".calendar-selected").removeClass("calendar-selected"); -var _35=_30.current.getFullYear()+","+(_30.current.getMonth()+1)+","+_30.current.getDate(); -t.find("td[abbr=\""+_35+"\"]").addClass("calendar-selected"); -} -var _36=6-_30.firstDay; -var _37=_36+1; -if(_36>=7){ -_36-=7; -} -if(_37>=7){ -_37-=7; -} -t.find("tr").find("td:eq("+_36+")").addClass("calendar-saturday"); -t.find("tr").find("td:eq("+_37+")").addClass("calendar-sunday"); -t.find("td").hover(function(){ -$(this).addClass("calendar-hover"); -},function(){ -$(this).removeClass("calendar-hover"); -}).click(function(){ -t.find(".calendar-selected").removeClass("calendar-selected"); -$(this).addClass("calendar-selected"); -var _38=$(this).attr("abbr").split(","); -_30.current=new Date(_38[0],parseInt(_38[1])-1,_38[2]); -_30.onSelect.call(_2f,_30.current); -}); -}; -$.fn.calendar=function(_39,_3a){ -if(typeof _39=="string"){ -return $.fn.calendar.methods[_39](this,_3a); -} -_39=_39||{}; -return this.each(function(){ -var _3b=$.data(this,"calendar"); -if(_3b){ -$.extend(_3b.options,_39); -}else{ -_3b=$.data(this,"calendar",{options:$.extend({},$.fn.calendar.defaults,$.fn.calendar.parseOptions(this),_39)}); -_5(this); -} -if(_3b.options.border==false){ -$(this).addClass("calendar-noborder"); -} -_1(this); -_d(this); -$(this).find("div.calendar-menu").hide(); -}); -}; -$.fn.calendar.methods={options:function(jq){ -return $.data(jq[0],"calendar").options; -},resize:function(jq){ -return jq.each(function(){ -_1(this); -}); -},moveTo:function(jq,_3c){ -return jq.each(function(){ -$(this).calendar({year:_3c.getFullYear(),month:_3c.getMonth()+1,current:_3c}); -}); -}}; -$.fn.calendar.parseOptions=function(_3d){ -var t=$(_3d); -return $.extend({},$.parser.parseOptions(_3d,["width","height",{firstDay:"number",fit:"boolean",border:"boolean"}])); -}; -$.fn.calendar.defaults={width:180,height:180,fit:false,border:true,firstDay:0,weeks:["S","M","T","W","T","F","S"],months:["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"],year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date(),onSelect:function(_3e){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combo.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combo.js deleted file mode 100644 index 50cd8780594ca4950a418804792a282a0a4bfff1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combo.js +++ /dev/null @@ -1,453 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2,_3){ -var _4=$.data(_2,"combo"); -var _5=_4.options; -var _6=_4.combo; -var _7=_4.panel; -if(_3){ -_5.width=_3; -} -if(isNaN(_5.width)){ -var c=$(_2).clone(); -c.css("visibility","hidden"); -c.appendTo("body"); -_5.width=c.outerWidth(); -c.remove(); -} -_6.appendTo("body"); -var _8=_6.find("input.combo-text"); -var _9=_6.find(".combo-arrow"); -var _a=_5.hasDownArrow?_9._outerWidth():0; -_6._outerWidth(_5.width)._outerHeight(_5.height); -_8._outerWidth(_6.width()-_a); -_8.css({height:_6.height()+"px",lineHeight:_6.height()+"px"}); -_9._outerHeight(_6.height()); -_7.panel("resize",{width:(_5.panelWidth?_5.panelWidth:_6.outerWidth()),height:_5.panelHeight}); -_6.insertAfter(_2); -}; -function _b(_c){ -$(_c).addClass("combo-f").hide(); -var _d=$(""+""+""+""+"").insertAfter(_c); -var _e=$("
                      ").appendTo("body"); -_e.panel({doSize:false,closed:true,cls:"combo-p",style:{position:"absolute",zIndex:10},onOpen:function(){ -$(this).panel("resize"); -},onClose:function(){ -var _f=$.data(_c,"combo"); -if(_f){ -_f.options.onHidePanel.call(_c); -} -}}); -var _10=$(_c).attr("name"); -if(_10){ -_d.find("input.combo-value").attr("name",_10); -$(_c).removeAttr("name").attr("comboName",_10); -} -return {combo:_d,panel:_e}; -}; -function _11(_12){ -var _13=$.data(_12,"combo"); -var _14=_13.options; -var _15=_13.combo; -if(_14.hasDownArrow){ -_15.find(".combo-arrow").show(); -}else{ -_15.find(".combo-arrow").hide(); -} -_16(_12,_14.disabled); -_17(_12,_14.readonly); -}; -function _18(_19){ -var _1a=$.data(_19,"combo"); -var _1b=_1a.combo.find("input.combo-text"); -_1b.validatebox("destroy"); -_1a.panel.panel("destroy"); -_1a.combo.remove(); -$(_19).remove(); -}; -function _1c(_1d){ -$(_1d).find(".combo-f").each(function(){ -var p=$(this).combo("panel"); -if(p.is(":visible")){ -p.panel("close"); -} -}); -}; -function _1e(_1f){ -var _20=$.data(_1f,"combo"); -var _21=_20.options; -var _22=_20.panel; -var _23=_20.combo; -var _24=_23.find(".combo-text"); -var _25=_23.find(".combo-arrow"); -$(document).unbind(".combo").bind("mousedown.combo",function(e){ -var p=$(e.target).closest("span.combo,div.combo-p"); -if(p.length){ -_1c(p); -return; -} -$("body>div.combo-p>div.combo-panel:visible").panel("close"); -}); -_24.unbind(".combo"); -_25.unbind(".combo"); -if(!_21.disabled&&!_21.readonly){ -_24.bind("click.combo",function(e){ -if(!_21.editable){ -_26.call(this); -}else{ -var p=$(this).closest("div.combo-panel"); -$("div.combo-panel:visible").not(_22).not(p).panel("close"); -} -}).bind("keydown.combo",function(e){ -switch(e.keyCode){ -case 38: -_21.keyHandler.up.call(_1f,e); -break; -case 40: -_21.keyHandler.down.call(_1f,e); -break; -case 37: -_21.keyHandler.left.call(_1f,e); -break; -case 39: -_21.keyHandler.right.call(_1f,e); -break; -case 13: -e.preventDefault(); -_21.keyHandler.enter.call(_1f,e); -return false; -case 9: -case 27: -_27(_1f); -break; -default: -if(_21.editable){ -if(_20.timer){ -clearTimeout(_20.timer); -} -_20.timer=setTimeout(function(){ -var q=_24.val(); -if(_20.previousValue!=q){ -_20.previousValue=q; -$(_1f).combo("showPanel"); -_21.keyHandler.query.call(_1f,_24.val(),e); -$(_1f).combo("validate"); -} -},_21.delay); -} -} -}); -_25.bind("click.combo",function(){ -_26.call(this); -}).bind("mouseenter.combo",function(){ -$(this).addClass("combo-arrow-hover"); -}).bind("mouseleave.combo",function(){ -$(this).removeClass("combo-arrow-hover"); -}); -} -function _26(){ -if(_22.is(":visible")){ -_1c(_22); -_27(_1f); -}else{ -var p=$(this).closest("div.combo-panel"); -$("div.combo-panel:visible").not(_22).not(p).panel("close"); -$(_1f).combo("showPanel"); -} -_24.focus(); -}; -}; -function _28(_29){ -var _2a=$.data(_29,"combo").options; -var _2b=$.data(_29,"combo").combo; -var _2c=$.data(_29,"combo").panel; -if($.fn.window){ -_2c.panel("panel").css("z-index",$.fn.window.defaults.zIndex++); -} -_2c.panel("move",{left:_2b.offset().left,top:_2d()}); -if(_2c.panel("options").closed){ -_2c.panel("open"); -_2a.onShowPanel.call(_29); -} -(function(){ -if(_2c.is(":visible")){ -_2c.panel("move",{left:_2e(),top:_2d()}); -setTimeout(arguments.callee,200); -} -})(); -function _2e(){ -var _2f=_2b.offset().left; -if(_2f+_2c._outerWidth()>$(window)._outerWidth()+$(document).scrollLeft()){ -_2f=$(window)._outerWidth()+$(document).scrollLeft()-_2c._outerWidth(); -} -if(_2f<0){ -_2f=0; -} -return _2f; -}; -function _2d(){ -var top=_2b.offset().top+_2b._outerHeight(); -if(top+_2c._outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=_2b.offset().top-_2c._outerHeight(); -} -if(top<$(document).scrollTop()){ -top=_2b.offset().top+_2b._outerHeight(); -} -return top; -}; -}; -function _27(_30){ -var _31=$.data(_30,"combo").panel; -_31.panel("close"); -}; -function _32(_33){ -var _34=$.data(_33,"combo").options; -var _35=$(_33).combo("textbox"); -_35.validatebox($.extend({},_34,{deltaX:(_34.hasDownArrow?_34.deltaX:(_34.deltaX>0?1:-1))})); -}; -function _16(_36,_37){ -var _38=$.data(_36,"combo"); -var _39=_38.options; -var _3a=_38.combo; -if(_37){ -_39.disabled=true; -$(_36).attr("disabled",true); -_3a.find(".combo-value").attr("disabled",true); -_3a.find(".combo-text").attr("disabled",true); -}else{ -_39.disabled=false; -$(_36).removeAttr("disabled"); -_3a.find(".combo-value").removeAttr("disabled"); -_3a.find(".combo-text").removeAttr("disabled"); -} -}; -function _17(_3b,_3c){ -var _3d=$.data(_3b,"combo"); -var _3e=_3d.options; -_3e.readonly=_3c==undefined?true:_3c; -var _3f=_3e.readonly?true:(!_3e.editable); -_3d.combo.find(".combo-text").attr("readonly",_3f).css("cursor",_3f?"pointer":""); -}; -function _40(_41){ -var _42=$.data(_41,"combo"); -var _43=_42.options; -var _44=_42.combo; -if(_43.multiple){ -_44.find("input.combo-value").remove(); -}else{ -_44.find("input.combo-value").val(""); -} -_44.find("input.combo-text").val(""); -}; -function _45(_46){ -var _47=$.data(_46,"combo").combo; -return _47.find("input.combo-text").val(); -}; -function _48(_49,_4a){ -var _4b=$.data(_49,"combo"); -var _4c=_4b.combo.find("input.combo-text"); -if(_4c.val()!=_4a){ -_4c.val(_4a); -$(_49).combo("validate"); -_4b.previousValue=_4a; -} -}; -function _4d(_4e){ -var _4f=[]; -var _50=$.data(_4e,"combo").combo; -_50.find("input.combo-value").each(function(){ -_4f.push($(this).val()); -}); -return _4f; -}; -function _51(_52,_53){ -var _54=$.data(_52,"combo").options; -var _55=_4d(_52); -var _56=$.data(_52,"combo").combo; -_56.find("input.combo-value").remove(); -var _57=$(_52).attr("comboName"); -for(var i=0;i<_53.length;i++){ -var _58=$("").appendTo(_56); -if(_57){ -_58.attr("name",_57); -} -_58.val(_53[i]); -} -var tmp=[]; -for(var i=0;i<_55.length;i++){ -tmp[i]=_55[i]; -} -var aa=[]; -for(var i=0;i<_53.length;i++){ -for(var j=0;j_10.height()){ -var h=_10.scrollTop()+_11.position().top+_11.outerHeight()-_10.height(); -_10.scrollTop(h); -} -} -} -}; -function nav(_12,dir){ -var _13=$.data(_12,"combobox").options; -var _14=$(_12).combobox("panel"); -var _15=_14.children("div.combobox-item-hover"); -if(!_15.length){ -_15=_14.children("div.combobox-item-selected"); -} -_15.removeClass("combobox-item-hover"); -var _16="div.combobox-item:visible:not(.combobox-item-disabled):first"; -var _17="div.combobox-item:visible:not(.combobox-item-disabled):last"; -if(!_15.length){ -_15=_14.children(dir=="next"?_16:_17); -}else{ -if(dir=="next"){ -_15=_15.nextAll(_16); -if(!_15.length){ -_15=_14.children(_16); -} -}else{ -_15=_15.prevAll(_16); -if(!_15.length){ -_15=_14.children(_17); -} -} -} -if(_15.length){ -_15.addClass("combobox-item-hover"); -var row=_1(_12,_15.attr("id"),"domId"); -if(row){ -_d(_12,row[_13.valueField]); -if(_13.selectOnNavigation){ -_18(_12,row[_13.valueField]); -} -} -} -}; -function _18(_19,_1a){ -var _1b=$.data(_19,"combobox").options; -var _1c=$(_19).combo("getValues"); -if($.inArray(_1a+"",_1c)==-1){ -if(_1b.multiple){ -_1c.push(_1a); -}else{ -_1c=[_1a]; -} -_1d(_19,_1c); -_1b.onSelect.call(_19,_1(_19,_1a)); -} -}; -function _1e(_1f,_20){ -var _21=$.data(_1f,"combobox").options; -var _22=$(_1f).combo("getValues"); -var _23=$.inArray(_20+"",_22); -if(_23>=0){ -_22.splice(_23,1); -_1d(_1f,_22); -_21.onUnselect.call(_1f,_1(_1f,_20)); -} -}; -function _1d(_24,_25,_26){ -var _27=$.data(_24,"combobox").options; -var _28=$(_24).combo("panel"); -_28.find("div.combobox-item-selected").removeClass("combobox-item-selected"); -var vv=[],ss=[]; -for(var i=0;i<_25.length;i++){ -var v=_25[i]; -var s=v; -var row=_1(_24,v); -if(row){ -s=row[_27.textField]; -$("#"+row.domId).addClass("combobox-item-selected"); -} -vv.push(v); -ss.push(s); -} -$(_24).combo("setValues",vv); -if(!_26){ -$(_24).combo("setText",ss.join(_27.separator)); -} -}; -var _29=1; -function _2a(_2b,_2c,_2d){ -var _2e=$.data(_2b,"combobox"); -var _2f=_2e.options; -_2e.data=_2f.loadFilter.call(_2b,_2c); -_2e.groups=[]; -_2c=_2e.data; -var _30=$(_2b).combobox("getValues"); -var dd=[]; -var _31=undefined; -for(var i=0;i<_2c.length;i++){ -var row=_2c[i]; -var v=row[_2f.valueField]+""; -var s=row[_2f.textField]; -var g=row[_2f.groupField]; -if(g){ -if(_31!=g){ -_31=g; -var _32={value:g,domId:("_easyui_combobox_"+_29++)}; -_2e.groups.push(_32); -dd.push("
                      "); -dd.push(_2f.groupFormatter?_2f.groupFormatter.call(_2b,g):g); -dd.push("
                      "); -} -}else{ -_31=undefined; -} -var cls="combobox-item"+(row.disabled?" combobox-item-disabled":"")+(g?" combobox-gitem":""); -row.domId="_easyui_combobox_"+_29++; -dd.push("
                      "); -dd.push(_2f.formatter?_2f.formatter.call(_2b,row):s); -dd.push("
                      "); -if(row["selected"]&&$.inArray(v,_30)==-1){ -_30.push(v); -} -} -$(_2b).combo("panel").html(dd.join("")); -if(_2f.multiple){ -_1d(_2b,_30,_2d); -}else{ -_1d(_2b,_30.length?[_30[_30.length-1]]:[],_2d); -} -_2f.onLoadSuccess.call(_2b,_2c); -}; -function _33(_34,url,_35,_36){ -var _37=$.data(_34,"combobox").options; -if(url){ -_37.url=url; -} -_35=_35||{}; -if(_37.onBeforeLoad.call(_34,_35)==false){ -return; -} -_37.loader.call(_34,_35,function(_38){ -_2a(_34,_38,_36); -},function(){ -_37.onLoadError.apply(this,arguments); -}); -}; -function _39(_3a,q){ -var _3b=$.data(_3a,"combobox"); -var _3c=_3b.options; -if(_3c.multiple&&!q){ -_1d(_3a,[],true); -}else{ -_1d(_3a,[q],true); -} -if(_3c.mode=="remote"){ -_33(_3a,null,{q:q},true); -}else{ -var _3d=$(_3a).combo("panel"); -_3d.find("div.combobox-item,div.combobox-group").hide(); -var _3e=_3b.data; -var _3f=undefined; -for(var i=0;i<_3e.length;i++){ -var row=_3e[i]; -if(_3c.filter.call(_3a,q,row)){ -var v=row[_3c.valueField]; -var s=row[_3c.textField]; -var g=row[_3c.groupField]; -var _40=$("#"+row.domId).show(); -if(s.toLowerCase()==q.toLowerCase()){ -_1d(_3a,[v]); -_40.addClass("combobox-item-selected"); -} -if(_3c.groupField&&_3f!=g){ -var _41=_1(_3a,g,"value",true); -if(_41){ -$("#"+_41.domId).show(); -} -_3f=g; -} -} -} -} -}; -function _42(_43){ -var t=$(_43); -var _44=t.combobox("options"); -var _45=t.combobox("panel"); -var _46=_45.children("div.combobox-item-hover"); -if(!_46.length){ -_46=_45.children("div.combobox-item-selected"); -} -if(!_46.length){ -return; -} -var row=_1(_43,_46.attr("id"),"domId"); -if(!row){ -return; -} -var _47=row[_44.valueField]; -if(_44.multiple){ -if(_46.hasClass("combobox-item-selected")){ -t.combobox("unselect",_47); -}else{ -t.combobox("select",_47); -} -}else{ -t.combobox("select",_47); -t.combobox("hidePanel"); -} -var vv=[]; -var _48=t.combobox("getValues"); -for(var i=0;i<_48.length;i++){ -if(_1(_43,_48[i])){ -vv.push(_48[i]); -} -} -t.combobox("setValues",vv); -}; -function _49(_4a){ -var _4b=$.data(_4a,"combobox").options; -$(_4a).addClass("combobox-f"); -$(_4a).combo($.extend({},_4b,{onShowPanel:function(){ -$(_4a).combo("panel").find("div.combobox-item,div.combobox-group").show(); -_d(_4a,$(_4a).combobox("getValue")); -_4b.onShowPanel.call(_4a); -}})); -$(_4a).combo("panel").unbind().bind("mouseover",function(e){ -$(this).children("div.combobox-item-hover").removeClass("combobox-item-hover"); -var _4c=$(e.target).closest("div.combobox-item"); -if(!_4c.hasClass("combobox-item-disabled")){ -_4c.addClass("combobox-item-hover"); -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -$(e.target).closest("div.combobox-item").removeClass("combobox-item-hover"); -e.stopPropagation(); -}).bind("click",function(e){ -var _4d=$(e.target).closest("div.combobox-item"); -if(!_4d.length||_4d.hasClass("combobox-item-disabled")){ -return; -} -var row=_1(_4a,_4d.attr("id"),"domId"); -if(!row){ -return; -} -var _4e=row[_4b.valueField]; -if(_4b.multiple){ -if(_4d.hasClass("combobox-item-selected")){ -_1e(_4a,_4e); -}else{ -_18(_4a,_4e); -} -}else{ -_18(_4a,_4e); -$(_4a).combo("hidePanel"); -} -e.stopPropagation(); -}); -}; -$.fn.combobox=function(_4f,_50){ -if(typeof _4f=="string"){ -var _51=$.fn.combobox.methods[_4f]; -if(_51){ -return _51(this,_50); -}else{ -return this.combo(_4f,_50); -} -} -_4f=_4f||{}; -return this.each(function(){ -var _52=$.data(this,"combobox"); -if(_52){ -$.extend(_52.options,_4f); -_49(this); -}else{ -_52=$.data(this,"combobox",{options:$.extend({},$.fn.combobox.defaults,$.fn.combobox.parseOptions(this),_4f),data:[]}); -_49(this); -var _53=$.fn.combobox.parseData(this); -if(_53.length){ -_2a(this,_53); -} -} -if(_52.options.data){ -_2a(this,_52.options.data); -} -_33(this); -}); -}; -$.fn.combobox.methods={options:function(jq){ -var _54=jq.combo("options"); -return $.extend($.data(jq[0],"combobox").options,{originalValue:_54.originalValue,disabled:_54.disabled,readonly:_54.readonly}); -},getData:function(jq){ -return $.data(jq[0],"combobox").data; -},setValues:function(jq,_55){ -return jq.each(function(){ -_1d(this,_55); -}); -},setValue:function(jq,_56){ -return jq.each(function(){ -_1d(this,[_56]); -}); -},clear:function(jq){ -return jq.each(function(){ -$(this).combo("clear"); -var _57=$(this).combo("panel"); -_57.find("div.combobox-item-selected").removeClass("combobox-item-selected"); -}); -},reset:function(jq){ -return jq.each(function(){ -var _58=$(this).combobox("options"); -if(_58.multiple){ -$(this).combobox("setValues",_58.originalValue); -}else{ -$(this).combobox("setValue",_58.originalValue); -} -}); -},loadData:function(jq,_59){ -return jq.each(function(){ -_2a(this,_59); -}); -},reload:function(jq,url){ -return jq.each(function(){ -_33(this,url); -}); -},select:function(jq,_5a){ -return jq.each(function(){ -_18(this,_5a); -}); -},unselect:function(jq,_5b){ -return jq.each(function(){ -_1e(this,_5b); -}); -}}; -$.fn.combobox.parseOptions=function(_5c){ -var t=$(_5c); -return $.extend({},$.fn.combo.parseOptions(_5c),$.parser.parseOptions(_5c,["valueField","textField","groupField","mode","method","url"])); -}; -$.fn.combobox.parseData=function(_5d){ -var _5e=[]; -var _5f=$(_5d).combobox("options"); -$(_5d).children().each(function(){ -if(this.tagName.toLowerCase()=="optgroup"){ -var _60=$(this).attr("label"); -$(this).children().each(function(){ -_61(this,_60); -}); -}else{ -_61(this); -} -}); -return _5e; -function _61(el,_62){ -var t=$(el); -var row={}; -row[_5f.valueField]=t.attr("value")!=undefined?t.attr("value"):t.html(); -row[_5f.textField]=t.html(); -row["selected"]=t.is(":selected"); -row["disabled"]=t.is(":disabled"); -if(_62){ -_5f.groupField=_5f.groupField||"group"; -row[_5f.groupField]=_62; -} -_5e.push(row); -}; -}; -$.fn.combobox.defaults=$.extend({},$.fn.combo.defaults,{valueField:"value",textField:"text",groupField:null,groupFormatter:function(_63){ -return _63; -},mode:"local",method:"post",url:null,data:null,keyHandler:{up:function(e){ -nav(this,"prev"); -e.preventDefault(); -},down:function(e){ -nav(this,"next"); -e.preventDefault(); -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_42(this); -},query:function(q,e){ -_39(this,q); -}},filter:function(q,row){ -var _64=$(this).combobox("options"); -return row[_64.textField].toLowerCase().indexOf(q.toLowerCase())==0; -},formatter:function(row){ -var _65=$(this).combobox("options"); -return row[_65.textField]; -},loader:function(_66,_67,_68){ -var _69=$(this).combobox("options"); -if(!_69.url){ -return false; -} -$.ajax({type:_69.method,url:_69.url,data:_66,dataType:"json",success:function(_6a){ -_67(_6a); -},error:function(){ -_68.apply(this,arguments); -}}); -},loadFilter:function(_6b){ -return _6b; -},onBeforeLoad:function(_6c){ -},onLoadSuccess:function(){ -},onLoadError:function(){ -},onSelect:function(_6d){ -},onUnselect:function(_6e){ -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combogrid.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combogrid.js deleted file mode 100644 index 2129077459ce02261b6bfcd7b5add657f6fa2223..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combogrid.js +++ /dev/null @@ -1,253 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"combogrid"); -var _4=_3.options; -var _5=_3.grid; -$(_2).addClass("combogrid-f").combo(_4); -var _6=$(_2).combo("panel"); -if(!_5){ -_5=$("
                      ").appendTo(_6); -_3.grid=_5; -} -_5.datagrid($.extend({},_4,{border:false,fit:true,singleSelect:(!_4.multiple),onLoadSuccess:function(_7){ -var _8=$(_2).combo("getValues"); -var _9=_4.onSelect; -_4.onSelect=function(){ -}; -_1a(_2,_8,_3.remainText); -_4.onSelect=_9; -_4.onLoadSuccess.apply(_2,arguments); -},onClickRow:_a,onSelect:function(_b,_c){ -_d(); -_4.onSelect.call(this,_b,_c); -},onUnselect:function(_e,_f){ -_d(); -_4.onUnselect.call(this,_e,_f); -},onSelectAll:function(_10){ -_d(); -_4.onSelectAll.call(this,_10); -},onUnselectAll:function(_11){ -if(_4.multiple){ -_d(); -} -_4.onUnselectAll.call(this,_11); -}})); -function _a(_12,row){ -_3.remainText=false; -_d(); -if(!_4.multiple){ -$(_2).combo("hidePanel"); -} -_4.onClickRow.call(this,_12,row); -}; -function _d(){ -var _13=_5.datagrid("getSelections"); -var vv=[],ss=[]; -for(var i=0;i<_13.length;i++){ -vv.push(_13[i][_4.idField]); -ss.push(_13[i][_4.textField]); -} -if(!_4.multiple){ -$(_2).combo("setValues",(vv.length?vv:[""])); -}else{ -$(_2).combo("setValues",vv); -} -if(!_3.remainText){ -$(_2).combo("setText",ss.join(_4.separator)); -} -}; -}; -function nav(_14,dir){ -var _15=$.data(_14,"combogrid"); -var _16=_15.options; -var _17=_15.grid; -var _18=_17.datagrid("getRows").length; -if(!_18){ -return; -} -var tr=_16.finder.getTr(_17[0],null,"highlight"); -if(!tr.length){ -tr=_16.finder.getTr(_17[0],null,"selected"); -} -var _19; -if(!tr.length){ -_19=(dir=="next"?0:_18-1); -}else{ -var _19=parseInt(tr.attr("datagrid-row-index")); -_19+=(dir=="next"?1:-1); -if(_19<0){ -_19=_18-1; -} -if(_19>=_18){ -_19=0; -} -} -_17.datagrid("highlightRow",_19); -if(_16.selectOnNavigation){ -_15.remainText=false; -_17.datagrid("selectRow",_19); -} -}; -function _1a(_1b,_1c,_1d){ -var _1e=$.data(_1b,"combogrid"); -var _1f=_1e.options; -var _20=_1e.grid; -var _21=_20.datagrid("getRows"); -var ss=[]; -var _22=$(_1b).combo("getValues"); -var _23=$(_1b).combo("options"); -var _24=_23.onChange; -_23.onChange=function(){ -}; -_20.datagrid("clearSelections"); -for(var i=0;i<_1c.length;i++){ -var _25=_20.datagrid("getRowIndex",_1c[i]); -if(_25>=0){ -_20.datagrid("selectRow",_25); -ss.push(_21[_25][_1f.textField]); -}else{ -ss.push(_1c[i]); -} -} -$(_1b).combo("setValues",_22); -_23.onChange=_24; -$(_1b).combo("setValues",_1c); -if(!_1d){ -var s=ss.join(_1f.separator); -if($(_1b).combo("getText")!=s){ -$(_1b).combo("setText",s); -} -} -}; -function _26(_27,q){ -var _28=$.data(_27,"combogrid"); -var _29=_28.options; -var _2a=_28.grid; -_28.remainText=true; -if(_29.multiple&&!q){ -_1a(_27,[],true); -}else{ -_1a(_27,[q],true); -} -if(_29.mode=="remote"){ -_2a.datagrid("clearSelections"); -_2a.datagrid("load",$.extend({},_29.queryParams,{q:q})); -}else{ -if(!q){ -return; -} -var _2b=_2a.datagrid("getRows"); -for(var i=0;i<_2b.length;i++){ -if(_29.filter.call(_27,q,_2b[i])){ -_2a.datagrid("clearSelections"); -_2a.datagrid("selectRow",i); -return; -} -} -} -}; -function _2c(_2d){ -var _2e=$.data(_2d,"combogrid"); -var _2f=_2e.options; -var _30=_2e.grid; -var tr=_2f.finder.getTr(_30[0],null,"highlight"); -if(!tr.length){ -tr=_2f.finder.getTr(_30[0],null,"selected"); -} -if(!tr.length){ -return; -} -_2e.remainText=false; -var _31=parseInt(tr.attr("datagrid-row-index")); -if(_2f.multiple){ -if(tr.hasClass("datagrid-row-selected")){ -_30.datagrid("unselectRow",_31); -}else{ -_30.datagrid("selectRow",_31); -} -}else{ -_30.datagrid("selectRow",_31); -$(_2d).combogrid("hidePanel"); -} -}; -$.fn.combogrid=function(_32,_33){ -if(typeof _32=="string"){ -var _34=$.fn.combogrid.methods[_32]; -if(_34){ -return _34(this,_33); -}else{ -return this.combo(_32,_33); -} -} -_32=_32||{}; -return this.each(function(){ -var _35=$.data(this,"combogrid"); -if(_35){ -$.extend(_35.options,_32); -}else{ -_35=$.data(this,"combogrid",{options:$.extend({},$.fn.combogrid.defaults,$.fn.combogrid.parseOptions(this),_32)}); -} -_1(this); -}); -}; -$.fn.combogrid.methods={options:function(jq){ -var _36=jq.combo("options"); -return $.extend($.data(jq[0],"combogrid").options,{originalValue:_36.originalValue,disabled:_36.disabled,readonly:_36.readonly}); -},grid:function(jq){ -return $.data(jq[0],"combogrid").grid; -},setValues:function(jq,_37){ -return jq.each(function(){ -_1a(this,_37); -}); -},setValue:function(jq,_38){ -return jq.each(function(){ -_1a(this,[_38]); -}); -},clear:function(jq){ -return jq.each(function(){ -$(this).combogrid("grid").datagrid("clearSelections"); -$(this).combo("clear"); -}); -},reset:function(jq){ -return jq.each(function(){ -var _39=$(this).combogrid("options"); -if(_39.multiple){ -$(this).combogrid("setValues",_39.originalValue); -}else{ -$(this).combogrid("setValue",_39.originalValue); -} -}); -}}; -$.fn.combogrid.parseOptions=function(_3a){ -var t=$(_3a); -return $.extend({},$.fn.combo.parseOptions(_3a),$.fn.datagrid.parseOptions(_3a),$.parser.parseOptions(_3a,["idField","textField","mode"])); -}; -$.fn.combogrid.defaults=$.extend({},$.fn.combo.defaults,$.fn.datagrid.defaults,{loadMsg:null,idField:null,textField:null,mode:"local",keyHandler:{up:function(e){ -nav(this,"prev"); -e.preventDefault(); -},down:function(e){ -nav(this,"next"); -e.preventDefault(); -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_2c(this); -},query:function(q,e){ -_26(this,q); -}},filter:function(q,row){ -var _3b=$(this).combogrid("options"); -return row[_3b.textField].indexOf(q)==0; -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combotree.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combotree.js deleted file mode 100644 index c31225ad6db030afc21adfff4095d0bd3b90569d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.combotree.js +++ /dev/null @@ -1,162 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"combotree").options; -var _4=$.data(_2,"combotree").tree; -$(_2).addClass("combotree-f"); -$(_2).combo(_3); -var _5=$(_2).combo("panel"); -if(!_4){ -_4=$("
                        ").appendTo(_5); -$.data(_2,"combotree").tree=_4; -} -_4.tree($.extend({},_3,{checkbox:_3.multiple,onLoadSuccess:function(_6,_7){ -var _8=$(_2).combotree("getValues"); -if(_3.multiple){ -var _9=_4.tree("getChecked"); -for(var i=0;i<_9.length;i++){ -var id=_9[i].id; -(function(){ -for(var i=0;i<_8.length;i++){ -if(id==_8[i]){ -return; -} -} -_8.push(id); -})(); -} -} -$(_2).combotree("setValues",_8); -_3.onLoadSuccess.call(this,_6,_7); -},onClick:function(_a){ -_d(_2); -$(_2).combo("hidePanel"); -_3.onClick.call(this,_a); -},onCheck:function(_b,_c){ -_d(_2); -_3.onCheck.call(this,_b,_c); -}})); -}; -function _d(_e){ -var _f=$.data(_e,"combotree").options; -var _10=$.data(_e,"combotree").tree; -var vv=[],ss=[]; -if(_f.multiple){ -var _11=_10.tree("getChecked"); -for(var i=0;i<_11.length;i++){ -vv.push(_11[i].id); -ss.push(_11[i].text); -} -}else{ -var _12=_10.tree("getSelected"); -if(_12){ -vv.push(_12.id); -ss.push(_12.text); -} -} -$(_e).combo("setValues",vv).combo("setText",ss.join(_f.separator)); -}; -function _13(_14,_15){ -var _16=$.data(_14,"combotree").options; -var _17=$.data(_14,"combotree").tree; -_17.find("span.tree-checkbox").addClass("tree-checkbox0").removeClass("tree-checkbox1 tree-checkbox2"); -var vv=[],ss=[]; -for(var i=0;i<_15.length;i++){ -var v=_15[i]; -var s=v; -var _18=_17.tree("find",v); -if(_18){ -s=_18.text; -_17.tree("check",_18.target); -_17.tree("select",_18.target); -} -vv.push(v); -ss.push(s); -} -$(_14).combo("setValues",vv).combo("setText",ss.join(_16.separator)); -}; -$.fn.combotree=function(_19,_1a){ -if(typeof _19=="string"){ -var _1b=$.fn.combotree.methods[_19]; -if(_1b){ -return _1b(this,_1a); -}else{ -return this.combo(_19,_1a); -} -} -_19=_19||{}; -return this.each(function(){ -var _1c=$.data(this,"combotree"); -if(_1c){ -$.extend(_1c.options,_19); -}else{ -$.data(this,"combotree",{options:$.extend({},$.fn.combotree.defaults,$.fn.combotree.parseOptions(this),_19)}); -} -_1(this); -}); -}; -$.fn.combotree.methods={options:function(jq){ -var _1d=jq.combo("options"); -return $.extend($.data(jq[0],"combotree").options,{originalValue:_1d.originalValue,disabled:_1d.disabled,readonly:_1d.readonly}); -},tree:function(jq){ -return $.data(jq[0],"combotree").tree; -},loadData:function(jq,_1e){ -return jq.each(function(){ -var _1f=$.data(this,"combotree").options; -_1f.data=_1e; -var _20=$.data(this,"combotree").tree; -_20.tree("loadData",_1e); -}); -},reload:function(jq,url){ -return jq.each(function(){ -var _21=$.data(this,"combotree").options; -var _22=$.data(this,"combotree").tree; -if(url){ -_21.url=url; -} -_22.tree({url:_21.url}); -}); -},setValues:function(jq,_23){ -return jq.each(function(){ -_13(this,_23); -}); -},setValue:function(jq,_24){ -return jq.each(function(){ -_13(this,[_24]); -}); -},clear:function(jq){ -return jq.each(function(){ -var _25=$.data(this,"combotree").tree; -_25.find("div.tree-node-selected").removeClass("tree-node-selected"); -var cc=_25.tree("getChecked"); -for(var i=0;i"]; -for(var i=0;i<_c.length;i++){ -_b.cache[_c[i][0]]={width:_c[i][1]}; -} -var _d=0; -for(var s in _b.cache){ -var _e=_b.cache[s]; -_e.index=_d++; -ss.push(s+"{width:"+_e.width+"}"); -} -ss.push(""); -$(ss.join("\n")).appendTo(cc); -setTimeout(function(){ -cc.children("style:not(:last)").remove(); -},0); -},getRule:function(_f){ -var _10=cc.children("style:last")[0]; -var _11=_10.styleSheet?_10.styleSheet:(_10.sheet||document.styleSheets[document.styleSheets.length-1]); -var _12=_11.cssRules||_11.rules; -return _12[_f]; -},set:function(_13,_14){ -var _15=_b.cache[_13]; -if(_15){ -_15.width=_14; -var _16=this.getRule(_15.index); -if(_16){ -_16.style["width"]=_14; -} -} -},remove:function(_17){ -var tmp=[]; -for(var s in _b.cache){ -if(s.indexOf(_17)==-1){ -tmp.push([s,_b.cache[s].width]); -} -} -_b.cache={}; -this.add(tmp); -},dirty:function(_18){ -if(_18){ -_b.dirty.push(_18); -} -},clean:function(){ -for(var i=0;i<_b.dirty.length;i++){ -this.remove(_b.dirty[i]); -} -_b.dirty=[]; -}}; -}; -function _19(_1a,_1b){ -var _1c=$.data(_1a,"datagrid").options; -var _1d=$.data(_1a,"datagrid").panel; -if(_1b){ -if(_1b.width){ -_1c.width=_1b.width; -} -if(_1b.height){ -_1c.height=_1b.height; -} -} -if(_1c.fit==true){ -var p=_1d.panel("panel").parent(); -_1c.width=p.width(); -_1c.height=p.height(); -} -_1d.panel("resize",{width:_1c.width,height:_1c.height}); -}; -function _1e(_1f){ -var _20=$.data(_1f,"datagrid").options; -var dc=$.data(_1f,"datagrid").dc; -var _21=$.data(_1f,"datagrid").panel; -var _22=_21.width(); -var _23=_21.height(); -var _24=dc.view; -var _25=dc.view1; -var _26=dc.view2; -var _27=_25.children("div.datagrid-header"); -var _28=_26.children("div.datagrid-header"); -var _29=_27.find("table"); -var _2a=_28.find("table"); -_24.width(_22); -var _2b=_27.children("div.datagrid-header-inner").show(); -_25.width(_2b.find("table").width()); -if(!_20.showHeader){ -_2b.hide(); -} -_26.width(_22-_25._outerWidth()); -_25.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_25.width()); -_26.children("div.datagrid-header,div.datagrid-body,div.datagrid-footer").width(_26.width()); -var hh; -_27.css("height",""); -_28.css("height",""); -_29.css("height",""); -_2a.css("height",""); -hh=Math.max(_29.height(),_2a.height()); -_29.height(hh); -_2a.height(hh); -_27.add(_28)._outerHeight(hh); -if(_20.height!="auto"){ -var _2c=_23-_26.children("div.datagrid-header")._outerHeight()-_26.children("div.datagrid-footer")._outerHeight()-_21.children("div.datagrid-toolbar")._outerHeight(); -_21.children("div.datagrid-pager").each(function(){ -_2c-=$(this)._outerHeight(); -}); -dc.body1.add(dc.body2).children("table.datagrid-btable-frozen").css({position:"absolute",top:dc.header2._outerHeight()}); -var _2d=dc.body2.children("table.datagrid-btable-frozen")._outerHeight(); -_25.add(_26).children("div.datagrid-body").css({marginTop:_2d,height:(_2c-_2d)}); -} -_24.height(_26.height()); -}; -function _2e(_2f,_30,_31){ -var _32=$.data(_2f,"datagrid").data.rows; -var _33=$.data(_2f,"datagrid").options; -var dc=$.data(_2f,"datagrid").dc; -if(!dc.body1.is(":empty")&&(!_33.nowrap||_33.autoRowHeight||_31)){ -if(_30!=undefined){ -var tr1=_33.finder.getTr(_2f,_30,"body",1); -var tr2=_33.finder.getTr(_2f,_30,"body",2); -_34(tr1,tr2); -}else{ -var tr1=_33.finder.getTr(_2f,0,"allbody",1); -var tr2=_33.finder.getTr(_2f,0,"allbody",2); -_34(tr1,tr2); -if(_33.showFooter){ -var tr1=_33.finder.getTr(_2f,0,"allfooter",1); -var tr2=_33.finder.getTr(_2f,0,"allfooter",2); -_34(tr1,tr2); -} -} -} -_1e(_2f); -if(_33.height=="auto"){ -var _35=dc.body1.parent(); -var _36=dc.body2; -var _37=_38(_36); -var _39=_37.height; -if(_37.width>_36.width()){ -_39+=18; -} -_35.height(_39); -_36.height(_39); -dc.view.height(dc.view2.height()); -} -dc.body2.triggerHandler("scroll"); -function _34(_3a,_3b){ -for(var i=0;i<_3b.length;i++){ -var tr1=$(_3a[i]); -var tr2=$(_3b[i]); -tr1.css("height",""); -tr2.css("height",""); -var _3c=Math.max(tr1.height(),tr2.height()); -tr1.css("height",_3c); -tr2.css("height",_3c); -} -}; -function _38(cc){ -var _3d=0; -var _3e=0; -$(cc).children().each(function(){ -var c=$(this); -if(c.is(":visible")){ -_3e+=c._outerHeight(); -if(_3d"); -} -_44(true); -_44(false); -_1e(_40); -function _44(_45){ -var _46=_45?1:2; -var tr=_43.finder.getTr(_40,_41,"body",_46); -(_45?dc.body1:dc.body2).children("table.datagrid-btable-frozen").append(tr); -}; -}; -function _47(_48,_49){ -function _4a(){ -var _4b=[]; -var _4c=[]; -$(_48).children("thead").each(function(){ -var opt=$.parser.parseOptions(this,[{frozen:"boolean"}]); -$(this).find("tr").each(function(){ -var _4d=[]; -$(this).find("th").each(function(){ -var th=$(this); -var col=$.extend({},$.parser.parseOptions(this,["field","align","halign","order",{sortable:"boolean",checkbox:"boolean",resizable:"boolean",fixed:"boolean"},{rowspan:"number",colspan:"number",width:"number"}]),{title:(th.html()||undefined),hidden:(th.attr("hidden")?true:undefined),formatter:(th.attr("formatter")?eval(th.attr("formatter")):undefined),styler:(th.attr("styler")?eval(th.attr("styler")):undefined),sorter:(th.attr("sorter")?eval(th.attr("sorter")):undefined)}); -if(th.attr("editor")){ -var s=$.trim(th.attr("editor")); -if(s.substr(0,1)=="{"){ -col.editor=eval("("+s+")"); -}else{ -col.editor=s; -} -} -_4d.push(col); -}); -opt.frozen?_4b.push(_4d):_4c.push(_4d); -}); -}); -return [_4b,_4c]; -}; -var _4e=$("
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+""+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+"
                        "+""+"
                        "+"
                        "+"
                        "+"
                        ").insertAfter(_48); -_4e.panel({doSize:false}); -_4e.panel("panel").addClass("datagrid").bind("_resize",function(e,_4f){ -var _50=$.data(_48,"datagrid").options; -if(_50.fit==true||_4f){ -_19(_48); -setTimeout(function(){ -if($.data(_48,"datagrid")){ -_51(_48); -} -},0); -} -return false; -}); -$(_48).hide().appendTo(_4e.children("div.datagrid-view")); -var cc=_4a(); -var _52=_4e.children("div.datagrid-view"); -var _53=_52.children("div.datagrid-view1"); -var _54=_52.children("div.datagrid-view2"); -var _55=_4e.closest("div.datagrid-view"); -if(!_55.length){ -_55=_52; -} -var ss=_9(_55); -return {panel:_4e,frozenColumns:cc[0],columns:cc[1],dc:{view:_52,view1:_53,view2:_54,header1:_53.children("div.datagrid-header").children("div.datagrid-header-inner"),header2:_54.children("div.datagrid-header").children("div.datagrid-header-inner"),body1:_53.children("div.datagrid-body").children("div.datagrid-body-inner"),body2:_54.children("div.datagrid-body"),footer1:_53.children("div.datagrid-footer").children("div.datagrid-footer-inner"),footer2:_54.children("div.datagrid-footer").children("div.datagrid-footer-inner")},ss:ss}; -}; -function _56(_57){ -var _58=$.data(_57,"datagrid"); -var _59=_58.options; -var dc=_58.dc; -var _5a=_58.panel; -_5a.panel($.extend({},_59,{id:null,doSize:false,onResize:function(_5b,_5c){ -setTimeout(function(){ -if($.data(_57,"datagrid")){ -_1e(_57); -_8d(_57); -_59.onResize.call(_5a,_5b,_5c); -} -},0); -},onExpand:function(){ -_2e(_57); -_59.onExpand.call(_5a); -}})); -_58.rowIdPrefix="datagrid-row-r"+(++_1); -_58.cellClassPrefix="datagrid-cell-c"+_1; -_5d(dc.header1,_59.frozenColumns,true); -_5d(dc.header2,_59.columns,false); -_5e(); -dc.header1.add(dc.header2).css("display",_59.showHeader?"block":"none"); -dc.footer1.add(dc.footer2).css("display",_59.showFooter?"block":"none"); -if(_59.toolbar){ -if($.isArray(_59.toolbar)){ -$("div.datagrid-toolbar",_5a).remove(); -var tb=$("
                        ").prependTo(_5a); -var tr=tb.find("tr"); -for(var i=0;i<_59.toolbar.length;i++){ -var btn=_59.toolbar[i]; -if(btn=="-"){ -$("
                        ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var _5f=$("").appendTo(td); -_5f[0].onclick=eval(btn.handler||function(){ -}); -_5f.linkbutton($.extend({},btn,{plain:true})); -} -} -}else{ -$(_59.toolbar).addClass("datagrid-toolbar").prependTo(_5a); -$(_59.toolbar).show(); -} -}else{ -$("div.datagrid-toolbar",_5a).remove(); -} -$("div.datagrid-pager",_5a).remove(); -if(_59.pagination){ -var _60=$("
                        "); -if(_59.pagePosition=="bottom"){ -_60.appendTo(_5a); -}else{ -if(_59.pagePosition=="top"){ -_60.addClass("datagrid-pager-top").prependTo(_5a); -}else{ -var _61=$("
                        ").prependTo(_5a); -_60.appendTo(_5a); -_60=_60.add(_61); -} -} -_60.pagination({total:(_59.pageNumber*_59.pageSize),pageNumber:_59.pageNumber,pageSize:_59.pageSize,pageList:_59.pageList,onSelectPage:function(_62,_63){ -_59.pageNumber=_62; -_59.pageSize=_63; -_60.pagination("refresh",{pageNumber:_62,pageSize:_63}); -_16b(_57); -}}); -_59.pageSize=_60.pagination("options").pageSize; -} -function _5d(_64,_65,_66){ -if(!_65){ -return; -} -$(_64).show(); -$(_64).empty(); -var _67=[]; -var _68=[]; -if(_59.sortName){ -_67=_59.sortName.split(","); -_68=_59.sortOrder.split(","); -} -var t=$("
                        ").appendTo(_64); -for(var i=0;i<_65.length;i++){ -var tr=$("").appendTo($("tbody",t)); -var _69=_65[i]; -for(var j=0;j<_69.length;j++){ -var col=_69[j]; -var _6a=""; -if(col.rowspan){ -_6a+="rowspan=\""+col.rowspan+"\" "; -} -if(col.colspan){ -_6a+="colspan=\""+col.colspan+"\" "; -} -var td=$("").appendTo(tr); -if(col.checkbox){ -td.attr("field",col.field); -$("
                        ").html("").appendTo(td); -}else{ -if(col.field){ -td.attr("field",col.field); -td.append("
                        "); -$("span",td).html(col.title); -$("span.datagrid-sort-icon",td).html(" "); -var _6b=td.find("div.datagrid-cell"); -var pos=_2(_67,col.field); -if(pos>=0){ -_6b.addClass("datagrid-sort-"+_68[pos]); -} -if(col.resizable==false){ -_6b.attr("resizable","false"); -} -if(col.width){ -_6b._outerWidth(col.width); -col.boxWidth=parseInt(_6b[0].style.width); -}else{ -col.auto=true; -} -_6b.css("text-align",(col.halign||col.align||"")); -col.cellClass=_58.cellClassPrefix+"-"+col.field.replace(/[\.|\s]/g,"-"); -_6b.addClass(col.cellClass).css("width",""); -}else{ -$("
                        ").html(col.title).appendTo(td); -} -} -if(col.hidden){ -td.hide(); -} -} -} -if(_66&&_59.rownumbers){ -var td=$("
                        "); -if($("tr",t).length==0){ -td.wrap("").parent().appendTo($("tbody",t)); -}else{ -td.prependTo($("tr:first",t)); -} -} -}; -function _5e(){ -var _6c=[]; -var _6d=_6e(_57,true).concat(_6e(_57)); -for(var i=0;i<_6d.length;i++){ -var col=_6f(_57,_6d[i]); -if(col&&!col.checkbox){ -_6c.push(["."+col.cellClass,col.boxWidth?col.boxWidth+"px":"auto"]); -} -} -_58.ss.add(_6c); -_58.ss.dirty(_58.cellSelectorPrefix); -_58.cellSelectorPrefix="."+_58.cellClassPrefix; -}; -}; -function _70(_71){ -var _72=$.data(_71,"datagrid"); -var _73=_72.panel; -var _74=_72.options; -var dc=_72.dc; -var _75=dc.header1.add(dc.header2); -_75.find("input[type=checkbox]").unbind(".datagrid").bind("click.datagrid",function(e){ -if(_74.singleSelect&&_74.selectOnCheck){ -return false; -} -if($(this).is(":checked")){ -_106(_71); -}else{ -_10c(_71); -} -e.stopPropagation(); -}); -var _76=_75.find("div.datagrid-cell"); -_76.closest("td").unbind(".datagrid").bind("mouseenter.datagrid",function(){ -if(_72.resizing){ -return; -} -$(this).addClass("datagrid-header-over"); -}).bind("mouseleave.datagrid",function(){ -$(this).removeClass("datagrid-header-over"); -}).bind("contextmenu.datagrid",function(e){ -var _77=$(this).attr("field"); -_74.onHeaderContextMenu.call(_71,e,_77); -}); -_76.unbind(".datagrid").bind("click.datagrid",function(e){ -var p1=$(this).offset().left+5; -var p2=$(this).offset().left+$(this)._outerWidth()-5; -if(e.pageXp1){ -var _78=$(this).parent().attr("field"); -var col=_6f(_71,_78); -if(!col.sortable||_72.resizing){ -return; -} -var _79=[]; -var _7a=[]; -if(_74.sortName){ -_79=_74.sortName.split(","); -_7a=_74.sortOrder.split(","); -} -var pos=_2(_79,_78); -var _7b=col.order||"asc"; -if(pos>=0){ -$(this).removeClass("datagrid-sort-asc datagrid-sort-desc"); -var _7c=_7a[pos]=="asc"?"desc":"asc"; -if(_74.multiSort&&_7c==_7b){ -_79.splice(pos,1); -_7a.splice(pos,1); -}else{ -_7a[pos]=_7c; -$(this).addClass("datagrid-sort-"+_7c); -} -}else{ -if(_74.multiSort){ -_79.push(_78); -_7a.push(_7b); -}else{ -_79=[_78]; -_7a=[_7b]; -_76.removeClass("datagrid-sort-asc datagrid-sort-desc"); -} -$(this).addClass("datagrid-sort-"+_7b); -} -_74.sortName=_79.join(","); -_74.sortOrder=_7a.join(","); -if(_74.remoteSort){ -_16b(_71); -}else{ -var _7d=$.data(_71,"datagrid").data; -_c6(_71,_7d); -} -_74.onSortColumn.call(_71,_74.sortName,_74.sortOrder); -} -}).bind("dblclick.datagrid",function(e){ -var p1=$(this).offset().left+5; -var p2=$(this).offset().left+$(this)._outerWidth()-5; -var _7e=_74.resizeHandle=="right"?(e.pageX>p2):(_74.resizeHandle=="left"?(e.pageXp2)); -if(_7e){ -var _7f=$(this).parent().attr("field"); -var col=_6f(_71,_7f); -if(col.resizable==false){ -return; -} -$(_71).datagrid("autoSizeColumn",_7f); -col.auto=false; -} -}); -var _80=_74.resizeHandle=="right"?"e":(_74.resizeHandle=="left"?"w":"e,w"); -_76.each(function(){ -$(this).resizable({handles:_80,disabled:($(this).attr("resizable")?$(this).attr("resizable")=="false":false),minWidth:25,onStartResize:function(e){ -_72.resizing=true; -_75.css("cursor",$("body").css("cursor")); -if(!_72.proxy){ -_72.proxy=$("
                        ").appendTo(dc.view); -} -_72.proxy.css({left:e.pageX-$(_73).offset().left-1,display:"none"}); -setTimeout(function(){ -if(_72.proxy){ -_72.proxy.show(); -} -},500); -},onResize:function(e){ -_72.proxy.css({left:e.pageX-$(_73).offset().left-1,display:"block"}); -return false; -},onStopResize:function(e){ -_75.css("cursor",""); -$(this).css("height",""); -$(this)._outerWidth($(this)._outerWidth()); -var _81=$(this).parent().attr("field"); -var col=_6f(_71,_81); -col.width=$(this)._outerWidth(); -col.boxWidth=parseInt(this.style.width); -col.auto=undefined; -$(this).css("width",""); -_51(_71,_81); -_72.proxy.remove(); -_72.proxy=null; -if($(this).parents("div:first.datagrid-header").parent().hasClass("datagrid-view1")){ -_1e(_71); -} -_8d(_71); -_74.onResizeColumn.call(_71,_81,col.width); -setTimeout(function(){ -_72.resizing=false; -},0); -}}); -}); -dc.body1.add(dc.body2).unbind().bind("mouseover",function(e){ -if(_72.resizing){ -return; -} -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_82(tr)){ -return; -} -var _83=_84(tr); -_eb(_71,_83); -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_82(tr)){ -return; -} -var _85=_84(tr); -_74.finder.getTr(_71,_85).removeClass("datagrid-row-over"); -e.stopPropagation(); -}).bind("click",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!_82(tr)){ -return; -} -var _86=_84(tr); -if(tt.parent().hasClass("datagrid-cell-check")){ -if(_74.singleSelect&&_74.selectOnCheck){ -if(!_74.checkOnSelect){ -_10c(_71,true); -} -_f8(_71,_86); -}else{ -if(tt.is(":checked")){ -_f8(_71,_86); -}else{ -_100(_71,_86); -} -} -}else{ -var row=_74.finder.getRow(_71,_86); -var td=tt.closest("td[field]",tr); -if(td.length){ -var _87=td.attr("field"); -_74.onClickCell.call(_71,_86,_87,row[_87]); -} -if(_74.singleSelect==true){ -_f0(_71,_86); -}else{ -if(tr.hasClass("datagrid-row-selected")){ -_f9(_71,_86); -}else{ -_f0(_71,_86); -} -} -_74.onClickRow.call(_71,_86,row); -} -e.stopPropagation(); -}).bind("dblclick",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!_82(tr)){ -return; -} -var _88=_84(tr); -var row=_74.finder.getRow(_71,_88); -var td=tt.closest("td[field]",tr); -if(td.length){ -var _89=td.attr("field"); -_74.onDblClickCell.call(_71,_88,_89,row[_89]); -} -_74.onDblClickRow.call(_71,_88,row); -e.stopPropagation(); -}).bind("contextmenu",function(e){ -var tr=$(e.target).closest("tr.datagrid-row"); -if(!_82(tr)){ -return; -} -var _8a=_84(tr); -var row=_74.finder.getRow(_71,_8a); -_74.onRowContextMenu.call(_71,e,_8a,row); -e.stopPropagation(); -}); -dc.body2.bind("scroll",function(){ -var b1=dc.view1.children("div.datagrid-body"); -b1.scrollTop($(this).scrollTop()); -var c1=dc.body1.children(":first"); -var c2=dc.body2.children(":first"); -if(c1.length&&c2.length){ -var _8b=c1.offset().top; -var _8c=c2.offset().top; -if(_8b!=_8c){ -b1.scrollTop(b1.scrollTop()+_8b-_8c); -} -} -dc.view2.children("div.datagrid-header,div.datagrid-footer")._scrollLeft($(this)._scrollLeft()); -dc.body2.children("table.datagrid-btable-frozen").css("left",-$(this)._scrollLeft()); -}); -function _84(tr){ -if(tr.attr("datagrid-row-index")){ -return parseInt(tr.attr("datagrid-row-index")); -}else{ -return tr.attr("node-id"); -} -}; -function _82(tr){ -return tr.length&&tr.parent().length; -}; -}; -function _8d(_8e){ -var _8f=$.data(_8e,"datagrid"); -var _90=_8f.options; -var dc=_8f.dc; -dc.body2.css("overflow-x",_90.fitColumns?"hidden":""); -if(!_90.fitColumns){ -return; -} -if(!_8f.leftWidth){ -_8f.leftWidth=0; -} -var _91=dc.view2.children("div.datagrid-header"); -var _92=0; -var _93; -var _94=_6e(_8e,false); -for(var i=0;i<_94.length;i++){ -var col=_6f(_8e,_94[i]); -if(_95(col)){ -_92+=col.width; -_93=col; -} -} -if(!_92){ -return; -} -if(_93){ -_96(_93,-_8f.leftWidth); -} -var _97=_91.children("div.datagrid-header-inner").show(); -var _98=_91.width()-_91.find("table").width()-_90.scrollbarSize+_8f.leftWidth; -var _99=_98/_92; -if(!_90.showHeader){ -_97.hide(); -} -for(var i=0;i<_94.length;i++){ -var col=_6f(_8e,_94[i]); -if(_95(col)){ -var _9a=parseInt(col.width*_99); -_96(col,_9a); -_98-=_9a; -} -} -_8f.leftWidth=_98; -if(_93){ -_96(_93,_8f.leftWidth); -} -_51(_8e); -function _96(col,_9b){ -col.width+=_9b; -col.boxWidth+=_9b; -}; -function _95(col){ -if(!col.hidden&&!col.checkbox&&!col.auto&&!col.fixed){ -return true; -} -}; -}; -function _9c(_9d,_9e){ -var _9f=$.data(_9d,"datagrid"); -var _a0=_9f.options; -var dc=_9f.dc; -var tmp=$("
                        ").appendTo("body"); -if(_9e){ -_19(_9e); -if(_a0.fitColumns){ -_1e(_9d); -_8d(_9d); -} -}else{ -var _a1=false; -var _a2=_6e(_9d,true).concat(_6e(_9d,false)); -for(var i=0;i<_a2.length;i++){ -var _9e=_a2[i]; -var col=_6f(_9d,_9e); -if(col.auto){ -_19(_9e); -_a1=true; -} -} -if(_a1&&_a0.fitColumns){ -_1e(_9d); -_8d(_9d); -} -} -tmp.remove(); -function _19(_a3){ -var _a4=dc.view.find("div.datagrid-header td[field=\""+_a3+"\"] div.datagrid-cell"); -_a4.css("width",""); -var col=$(_9d).datagrid("getColumnOption",_a3); -col.width=undefined; -col.boxWidth=undefined; -col.auto=true; -$(_9d).datagrid("fixColumnSize",_a3); -var _a5=Math.max(_a6("header"),_a6("allbody"),_a6("allfooter")); -_a4._outerWidth(_a5); -col.width=_a5; -col.boxWidth=parseInt(_a4[0].style.width); -_a4.css("width",""); -$(_9d).datagrid("fixColumnSize",_a3); -_a0.onResizeColumn.call(_9d,_a3,col.width); -function _a6(_a7){ -var _a8=0; -if(_a7=="header"){ -_a8=_a9(_a4); -}else{ -_a0.finder.getTr(_9d,0,_a7).find("td[field=\""+_a3+"\"] div.datagrid-cell").each(function(){ -var w=_a9($(this)); -if(_a8b?1:-1); -}; -r=_cd(r1[sn],r2[sn])*(so=="asc"?1:-1); -if(r!=0){ -return r; -} -} -return r; -}); -} -if(_ca.view.onBeforeRender){ -_ca.view.onBeforeRender.call(_ca.view,_c7,_c8.rows); -} -_ca.view.render.call(_ca.view,_c7,dc.body2,false); -_ca.view.render.call(_ca.view,_c7,dc.body1,true); -if(_ca.showFooter){ -_ca.view.renderFooter.call(_ca.view,_c7,dc.footer2,false); -_ca.view.renderFooter.call(_ca.view,_c7,dc.footer1,true); -} -if(_ca.view.onAfterRender){ -_ca.view.onAfterRender.call(_ca.view,_c7); -} -_c9.ss.clean(); -_ca.onLoadSuccess.call(_c7,_c8); -var _ce=$(_c7).datagrid("getPager"); -if(_ce.length){ -var _cf=_ce.pagination("options"); -if(_cf.total!=_c8.total){ -_ce.pagination("refresh",{total:_c8.total}); -if(_ca.pageNumber!=_cf.pageNumber){ -_ca.pageNumber=_cf.pageNumber; -_16b(_c7); -} -} -} -_2e(_c7); -dc.body2.triggerHandler("scroll"); -_d0(); -$(_c7).datagrid("autoSizeColumn"); -function _d0(){ -if(_ca.idField){ -for(var i=0;i<_c8.rows.length;i++){ -var row=_c8.rows[i]; -if(_d1(_c9.selectedRows,row)){ -_ca.finder.getTr(_c7,i).addClass("datagrid-row-selected"); -} -if(_d1(_c9.checkedRows,row)){ -_ca.finder.getTr(_c7,i).find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -} -} -function _d1(a,r){ -for(var i=0;i_e9.height()-18){ -_e9.scrollTop(_e9.scrollTop()+top+tr._outerHeight()-_e9.height()+18); -} -} -} -}; -function _eb(_ec,_ed){ -var _ee=$.data(_ec,"datagrid"); -var _ef=_ee.options; -_ef.finder.getTr(_ec,_ee.highlightIndex).removeClass("datagrid-row-over"); -_ef.finder.getTr(_ec,_ed).addClass("datagrid-row-over"); -_ee.highlightIndex=_ed; -}; -function _f0(_f1,_f2,_f3){ -var _f4=$.data(_f1,"datagrid"); -var dc=_f4.dc; -var _f5=_f4.options; -var _f6=_f4.selectedRows; -if(_f5.singleSelect){ -_f7(_f1); -_f6.splice(0,_f6.length); -} -if(!_f3&&_f5.checkOnSelect){ -_f8(_f1,_f2,true); -} -var row=_f5.finder.getRow(_f1,_f2); -if(_f5.idField){ -_7(_f6,_f5.idField,row); -} -_f5.finder.getTr(_f1,_f2).addClass("datagrid-row-selected"); -_f5.onSelect.call(_f1,_f2,row); -_e3(_f1,_f2); -}; -function _f9(_fa,_fb,_fc){ -var _fd=$.data(_fa,"datagrid"); -var dc=_fd.dc; -var _fe=_fd.options; -var _ff=$.data(_fa,"datagrid").selectedRows; -if(!_fc&&_fe.checkOnSelect){ -_100(_fa,_fb,true); -} -_fe.finder.getTr(_fa,_fb).removeClass("datagrid-row-selected"); -var row=_fe.finder.getRow(_fa,_fb); -if(_fe.idField){ -_4(_ff,_fe.idField,row[_fe.idField]); -} -_fe.onUnselect.call(_fa,_fb,row); -}; -function _101(_102,_103){ -var _104=$.data(_102,"datagrid"); -var opts=_104.options; -var rows=_104.data.rows; -var _105=$.data(_102,"datagrid").selectedRows; -if(!_103&&opts.checkOnSelect){ -_106(_102,true); -} -opts.finder.getTr(_102,"","allbody").addClass("datagrid-row-selected"); -if(opts.idField){ -for(var _107=0;_107"); -cell.children("table").bind("click dblclick contextmenu",function(e){ -e.stopPropagation(); -}); -$.data(cell[0],"datagrid.editor",{actions:_13c,target:_13c.init(cell.find("td"),_13b),field:_139,type:_13a,oldHtml:_13d}); -} -} -}); -_2e(_137,_138,true); -}; -function _12e(_13f,_140){ -var opts=$.data(_13f,"datagrid").options; -var tr=opts.finder.getTr(_13f,_140); -tr.children("td").each(function(){ -var cell=$(this).find("div.datagrid-editable"); -if(cell.length){ -var ed=$.data(cell[0],"datagrid.editor"); -if(ed.actions.destroy){ -ed.actions.destroy(ed.target); -} -cell.html(ed.oldHtml); -$.removeData(cell[0],"datagrid.editor"); -cell.removeClass("datagrid-editable"); -cell.css("width",""); -} -}); -}; -function _123(_141,_142){ -var tr=$.data(_141,"datagrid").options.finder.getTr(_141,_142); -if(!tr.hasClass("datagrid-row-editing")){ -return true; -} -var vbox=tr.find(".validatebox-text"); -vbox.validatebox("validate"); -vbox.trigger("mouseleave"); -var _143=tr.find(".validatebox-invalid"); -return _143.length==0; -}; -function _144(_145,_146){ -var _147=$.data(_145,"datagrid").insertedRows; -var _148=$.data(_145,"datagrid").deletedRows; -var _149=$.data(_145,"datagrid").updatedRows; -if(!_146){ -var rows=[]; -rows=rows.concat(_147); -rows=rows.concat(_148); -rows=rows.concat(_149); -return rows; -}else{ -if(_146=="inserted"){ -return _147; -}else{ -if(_146=="deleted"){ -return _148; -}else{ -if(_146=="updated"){ -return _149; -} -} -} -} -return []; -}; -function _14a(_14b,_14c){ -var _14d=$.data(_14b,"datagrid"); -var opts=_14d.options; -var data=_14d.data; -var _14e=_14d.insertedRows; -var _14f=_14d.deletedRows; -$(_14b).datagrid("cancelEdit",_14c); -var row=data.rows[_14c]; -if(_2(_14e,row)>=0){ -_4(_14e,row); -}else{ -_14f.push(row); -} -_4(_14d.selectedRows,opts.idField,data.rows[_14c][opts.idField]); -_4(_14d.checkedRows,opts.idField,data.rows[_14c][opts.idField]); -opts.view.deleteRow.call(opts.view,_14b,_14c); -if(opts.height=="auto"){ -_2e(_14b); -} -$(_14b).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _150(_151,_152){ -var data=$.data(_151,"datagrid").data; -var view=$.data(_151,"datagrid").options.view; -var _153=$.data(_151,"datagrid").insertedRows; -view.insertRow.call(view,_151,_152.index,_152.row); -_153.push(_152.row); -$(_151).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _154(_155,row){ -var data=$.data(_155,"datagrid").data; -var view=$.data(_155,"datagrid").options.view; -var _156=$.data(_155,"datagrid").insertedRows; -view.insertRow.call(view,_155,null,row); -_156.push(row); -$(_155).datagrid("getPager").pagination("refresh",{total:data.total}); -}; -function _157(_158){ -var _159=$.data(_158,"datagrid"); -var data=_159.data; -var rows=data.rows; -var _15a=[]; -for(var i=0;i=0){ -(_167=="s"?_f0:_f8)(_15e,_168,true); -} -} -}; -for(var i=0;i0){ -_c6(this,data); -_157(this); -} -} -_19(this); -_16b(this); -_70(this); -}); -}; -var _179={text:{init:function(_17a,_17b){ -var _17c=$("").appendTo(_17a); -return _17c; -},getValue:function(_17d){ -return $(_17d).val(); -},setValue:function(_17e,_17f){ -$(_17e).val(_17f); -},resize:function(_180,_181){ -$(_180)._outerWidth(_181)._outerHeight(22); -}},textarea:{init:function(_182,_183){ -var _184=$("").appendTo(_182); -return _184; -},getValue:function(_185){ -return $(_185).val(); -},setValue:function(_186,_187){ -$(_186).val(_187); -},resize:function(_188,_189){ -$(_188)._outerWidth(_189); -}},checkbox:{init:function(_18a,_18b){ -var _18c=$("").appendTo(_18a); -_18c.val(_18b.on); -_18c.attr("offval",_18b.off); -return _18c; -},getValue:function(_18d){ -if($(_18d).is(":checked")){ -return $(_18d).val(); -}else{ -return $(_18d).attr("offval"); -} -},setValue:function(_18e,_18f){ -var _190=false; -if($(_18e).val()==_18f){ -_190=true; -} -$(_18e)._propAttr("checked",_190); -}},numberbox:{init:function(_191,_192){ -var _193=$("").appendTo(_191); -_193.numberbox(_192); -return _193; -},destroy:function(_194){ -$(_194).numberbox("destroy"); -},getValue:function(_195){ -$(_195).blur(); -return $(_195).numberbox("getValue"); -},setValue:function(_196,_197){ -$(_196).numberbox("setValue",_197); -},resize:function(_198,_199){ -$(_198)._outerWidth(_199)._outerHeight(22); -}},validatebox:{init:function(_19a,_19b){ -var _19c=$("").appendTo(_19a); -_19c.validatebox(_19b); -return _19c; -},destroy:function(_19d){ -$(_19d).validatebox("destroy"); -},getValue:function(_19e){ -return $(_19e).val(); -},setValue:function(_19f,_1a0){ -$(_19f).val(_1a0); -},resize:function(_1a1,_1a2){ -$(_1a1)._outerWidth(_1a2)._outerHeight(22); -}},datebox:{init:function(_1a3,_1a4){ -var _1a5=$("").appendTo(_1a3); -_1a5.datebox(_1a4); -return _1a5; -},destroy:function(_1a6){ -$(_1a6).datebox("destroy"); -},getValue:function(_1a7){ -return $(_1a7).datebox("getValue"); -},setValue:function(_1a8,_1a9){ -$(_1a8).datebox("setValue",_1a9); -},resize:function(_1aa,_1ab){ -$(_1aa).datebox("resize",_1ab); -}},combobox:{init:function(_1ac,_1ad){ -var _1ae=$("").appendTo(_1ac); -_1ae.combobox(_1ad||{}); -return _1ae; -},destroy:function(_1af){ -$(_1af).combobox("destroy"); -},getValue:function(_1b0){ -var opts=$(_1b0).combobox("options"); -if(opts.multiple){ -return $(_1b0).combobox("getValues").join(opts.separator); -}else{ -return $(_1b0).combobox("getValue"); -} -},setValue:function(_1b1,_1b2){ -var opts=$(_1b1).combobox("options"); -if(opts.multiple){ -if(_1b2){ -$(_1b1).combobox("setValues",_1b2.split(opts.separator)); -}else{ -$(_1b1).combobox("clear"); -} -}else{ -$(_1b1).combobox("setValue",_1b2); -} -},resize:function(_1b3,_1b4){ -$(_1b3).combobox("resize",_1b4); -}},combotree:{init:function(_1b5,_1b6){ -var _1b7=$("").appendTo(_1b5); -_1b7.combotree(_1b6); -return _1b7; -},destroy:function(_1b8){ -$(_1b8).combotree("destroy"); -},getValue:function(_1b9){ -return $(_1b9).combotree("getValue"); -},setValue:function(_1ba,_1bb){ -$(_1ba).combotree("setValue",_1bb); -},resize:function(_1bc,_1bd){ -$(_1bc).combotree("resize",_1bd); -}}}; -$.fn.datagrid.methods={options:function(jq){ -var _1be=$.data(jq[0],"datagrid").options; -var _1bf=$.data(jq[0],"datagrid").panel.panel("options"); -var opts=$.extend(_1be,{width:_1bf.width,height:_1bf.height,closed:_1bf.closed,collapsed:_1bf.collapsed,minimized:_1bf.minimized,maximized:_1bf.maximized}); -return opts; -},getPanel:function(jq){ -return $.data(jq[0],"datagrid").panel; -},getPager:function(jq){ -return $.data(jq[0],"datagrid").panel.children("div.datagrid-pager"); -},getColumnFields:function(jq,_1c0){ -return _6e(jq[0],_1c0); -},getColumnOption:function(jq,_1c1){ -return _6f(jq[0],_1c1); -},resize:function(jq,_1c2){ -return jq.each(function(){ -_19(this,_1c2); -}); -},load:function(jq,_1c3){ -return jq.each(function(){ -var opts=$(this).datagrid("options"); -opts.pageNumber=1; -var _1c4=$(this).datagrid("getPager"); -_1c4.pagination("refresh",{pageNumber:1}); -_16b(this,_1c3); -}); -},reload:function(jq,_1c5){ -return jq.each(function(){ -_16b(this,_1c5); -}); -},reloadFooter:function(jq,_1c6){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -var dc=$.data(this,"datagrid").dc; -if(_1c6){ -$.data(this,"datagrid").footer=_1c6; -} -if(opts.showFooter){ -opts.view.renderFooter.call(opts.view,this,dc.footer2,false); -opts.view.renderFooter.call(opts.view,this,dc.footer1,true); -if(opts.view.onAfterRender){ -opts.view.onAfterRender.call(opts.view,this); -} -$(this).datagrid("fixRowHeight"); -} -}); -},loading:function(jq){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -$(this).datagrid("getPager").pagination("loading"); -if(opts.loadMsg){ -var _1c7=$(this).datagrid("getPanel"); -if(!_1c7.children("div.datagrid-mask").length){ -$("
                        ").appendTo(_1c7); -var msg=$("
                        ").html(opts.loadMsg).appendTo(_1c7); -msg._outerHeight(40); -msg.css({marginLeft:(-msg.outerWidth()/2),lineHeight:(msg.height()+"px")}); -} -} -}); -},loaded:function(jq){ -return jq.each(function(){ -$(this).datagrid("getPager").pagination("loaded"); -var _1c8=$(this).datagrid("getPanel"); -_1c8.children("div.datagrid-mask-msg").remove(); -_1c8.children("div.datagrid-mask").remove(); -}); -},fitColumns:function(jq){ -return jq.each(function(){ -_8d(this); -}); -},fixColumnSize:function(jq,_1c9){ -return jq.each(function(){ -_51(this,_1c9); -}); -},fixRowHeight:function(jq,_1ca){ -return jq.each(function(){ -_2e(this,_1ca); -}); -},freezeRow:function(jq,_1cb){ -return jq.each(function(){ -_3f(this,_1cb); -}); -},autoSizeColumn:function(jq,_1cc){ -return jq.each(function(){ -_9c(this,_1cc); -}); -},loadData:function(jq,data){ -return jq.each(function(){ -_c6(this,data); -_157(this); -}); -},getData:function(jq){ -return $.data(jq[0],"datagrid").data; -},getRows:function(jq){ -return $.data(jq[0],"datagrid").data.rows; -},getFooterRows:function(jq){ -return $.data(jq[0],"datagrid").footer; -},getRowIndex:function(jq,id){ -return _d2(jq[0],id); -},getChecked:function(jq){ -return _de(jq[0]); -},getSelected:function(jq){ -var rows=_d7(jq[0]); -return rows.length>0?rows[0]:null; -},getSelections:function(jq){ -return _d7(jq[0]); -},clearSelections:function(jq){ -return jq.each(function(){ -var _1cd=$.data(this,"datagrid").selectedRows; -_1cd.splice(0,_1cd.length); -_f7(this); -}); -},clearChecked:function(jq){ -return jq.each(function(){ -var _1ce=$.data(this,"datagrid").checkedRows; -_1ce.splice(0,_1ce.length); -_10c(this); -}); -},scrollTo:function(jq,_1cf){ -return jq.each(function(){ -_e3(this,_1cf); -}); -},highlightRow:function(jq,_1d0){ -return jq.each(function(){ -_eb(this,_1d0); -_e3(this,_1d0); -}); -},selectAll:function(jq){ -return jq.each(function(){ -_101(this); -}); -},unselectAll:function(jq){ -return jq.each(function(){ -_f7(this); -}); -},selectRow:function(jq,_1d1){ -return jq.each(function(){ -_f0(this,_1d1); -}); -},selectRecord:function(jq,id){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -if(opts.idField){ -var _1d2=_d2(this,id); -if(_1d2>=0){ -$(this).datagrid("selectRow",_1d2); -} -} -}); -},unselectRow:function(jq,_1d3){ -return jq.each(function(){ -_f9(this,_1d3); -}); -},checkRow:function(jq,_1d4){ -return jq.each(function(){ -_f8(this,_1d4); -}); -},uncheckRow:function(jq,_1d5){ -return jq.each(function(){ -_100(this,_1d5); -}); -},checkAll:function(jq){ -return jq.each(function(){ -_106(this); -}); -},uncheckAll:function(jq){ -return jq.each(function(){ -_10c(this); -}); -},beginEdit:function(jq,_1d6){ -return jq.each(function(){ -_11e(this,_1d6); -}); -},endEdit:function(jq,_1d7){ -return jq.each(function(){ -_124(this,_1d7,false); -}); -},cancelEdit:function(jq,_1d8){ -return jq.each(function(){ -_124(this,_1d8,true); -}); -},getEditors:function(jq,_1d9){ -return _12f(jq[0],_1d9); -},getEditor:function(jq,_1da){ -return _133(jq[0],_1da); -},refreshRow:function(jq,_1db){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -opts.view.refreshRow.call(opts.view,this,_1db); -}); -},validateRow:function(jq,_1dc){ -return _123(jq[0],_1dc); -},updateRow:function(jq,_1dd){ -return jq.each(function(){ -var opts=$.data(this,"datagrid").options; -opts.view.updateRow.call(opts.view,this,_1dd.index,_1dd.row); -}); -},appendRow:function(jq,row){ -return jq.each(function(){ -_154(this,row); -}); -},insertRow:function(jq,_1de){ -return jq.each(function(){ -_150(this,_1de); -}); -},deleteRow:function(jq,_1df){ -return jq.each(function(){ -_14a(this,_1df); -}); -},getChanges:function(jq,_1e0){ -return _144(jq[0],_1e0); -},acceptChanges:function(jq){ -return jq.each(function(){ -_15b(this); -}); -},rejectChanges:function(jq){ -return jq.each(function(){ -_15d(this); -}); -},mergeCells:function(jq,_1e1){ -return jq.each(function(){ -_171(this,_1e1); -}); -},showColumn:function(jq,_1e2){ -return jq.each(function(){ -var _1e3=$(this).datagrid("getPanel"); -_1e3.find("td[field=\""+_1e2+"\"]").show(); -$(this).datagrid("getColumnOption",_1e2).hidden=false; -$(this).datagrid("fitColumns"); -}); -},hideColumn:function(jq,_1e4){ -return jq.each(function(){ -var _1e5=$(this).datagrid("getPanel"); -_1e5.find("td[field=\""+_1e4+"\"]").hide(); -$(this).datagrid("getColumnOption",_1e4).hidden=true; -$(this).datagrid("fitColumns"); -}); -}}; -$.fn.datagrid.parseOptions=function(_1e6){ -var t=$(_1e6); -return $.extend({},$.fn.panel.parseOptions(_1e6),$.parser.parseOptions(_1e6,["url","toolbar","idField","sortName","sortOrder","pagePosition","resizeHandle",{fitColumns:"boolean",autoRowHeight:"boolean",striped:"boolean",nowrap:"boolean"},{rownumbers:"boolean",singleSelect:"boolean",checkOnSelect:"boolean",selectOnCheck:"boolean"},{pagination:"boolean",pageSize:"number",pageNumber:"number"},{multiSort:"boolean",remoteSort:"boolean",showHeader:"boolean",showFooter:"boolean"},{scrollbarSize:"number"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined),loadMsg:(t.attr("loadMsg")!=undefined?t.attr("loadMsg"):undefined),rowStyler:(t.attr("rowStyler")?eval(t.attr("rowStyler")):undefined)}); -}; -$.fn.datagrid.parseData=function(_1e7){ -var t=$(_1e7); -var data={total:0,rows:[]}; -var _1e8=t.datagrid("getColumnFields",true).concat(t.datagrid("getColumnFields",false)); -t.find("tbody tr").each(function(){ -data.total++; -var row={}; -$.extend(row,$.parser.parseOptions(this,["iconCls","state"])); -for(var i=0;i<_1e8.length;i++){ -row[_1e8[i]]=$(this).find("td:eq("+i+")").html(); -} -data.rows.push(row); -}); -return data; -}; -var _1e9={render:function(_1ea,_1eb,_1ec){ -var _1ed=$.data(_1ea,"datagrid"); -var opts=_1ed.options; -var rows=_1ed.data.rows; -var _1ee=$(_1ea).datagrid("getColumnFields",_1ec); -if(_1ec){ -if(!(opts.rownumbers||(opts.frozenColumns&&opts.frozenColumns.length))){ -return; -} -} -var _1ef=[""]; -for(var i=0;i"); -_1ef.push(this.renderRow.call(this,_1ea,_1ee,_1ec,i,rows[i])); -_1ef.push(""); -} -_1ef.push("
                        "); -$(_1eb).html(_1ef.join("")); -},renderFooter:function(_1f4,_1f5,_1f6){ -var opts=$.data(_1f4,"datagrid").options; -var rows=$.data(_1f4,"datagrid").footer||[]; -var _1f7=$(_1f4).datagrid("getColumnFields",_1f6); -var _1f8=[""]; -for(var i=0;i"); -_1f8.push(this.renderRow.call(this,_1f4,_1f7,_1f6,i,rows[i])); -_1f8.push(""); -} -_1f8.push("
                        "); -$(_1f5).html(_1f8.join("")); -},renderRow:function(_1f9,_1fa,_1fb,_1fc,_1fd){ -var opts=$.data(_1f9,"datagrid").options; -var cc=[]; -if(_1fb&&opts.rownumbers){ -var _1fe=_1fc+1; -if(opts.pagination){ -_1fe+=(opts.pageNumber-1)*opts.pageSize; -} -cc.push("
                        "+_1fe+"
                        "); -} -for(var i=0;i<_1fa.length;i++){ -var _1ff=_1fa[i]; -var col=$(_1f9).datagrid("getColumnOption",_1ff); -if(col){ -var _200=_1fd[_1ff]; -var css=col.styler?(col.styler(_200,_1fd,_1fc)||""):""; -var _201=""; -var _202=""; -if(typeof css=="string"){ -_202=css; -}else{ -if(cc){ -_201=css["class"]||""; -_202=css["style"]||""; -} -} -var cls=_201?"class=\""+_201+"\"":""; -var _203=col.hidden?"style=\"display:none;"+_202+"\"":(_202?"style=\""+_202+"\"":""); -cc.push(""); -if(col.checkbox){ -var _203=""; -}else{ -var _203=_202; -if(col.align){ -_203+=";text-align:"+col.align+";"; -} -if(!opts.nowrap){ -_203+=";white-space:normal;height:auto;"; -}else{ -if(opts.autoRowHeight){ -_203+=";height:auto;"; -} -} -} -cc.push("
                        "); -if(col.checkbox){ -cc.push(""); -}else{ -if(col.formatter){ -cc.push(col.formatter(_200,_1fd,_1fc)); -}else{ -cc.push(_200); -} -} -cc.push("
                        "); -cc.push(""); -} -} -return cc.join(""); -},refreshRow:function(_204,_205){ -this.updateRow.call(this,_204,_205,{}); -},updateRow:function(_206,_207,row){ -var opts=$.data(_206,"datagrid").options; -var rows=$(_206).datagrid("getRows"); -$.extend(rows[_207],row); -var css=opts.rowStyler?opts.rowStyler.call(_206,_207,rows[_207]):""; -var _208=""; -var _209=""; -if(typeof css=="string"){ -_209=css; -}else{ -if(css){ -_208=css["class"]||""; -_209=css["style"]||""; -} -} -var _208="datagrid-row "+(_207%2&&opts.striped?"datagrid-row-alt ":" ")+_208; -function _20a(_20b){ -var _20c=$(_206).datagrid("getColumnFields",_20b); -var tr=opts.finder.getTr(_206,_207,"body",(_20b?1:2)); -var _20d=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); -tr.html(this.renderRow.call(this,_206,_20c,_20b,_207,rows[_207])); -tr.attr("style",_209).attr("class",tr.hasClass("datagrid-row-selected")?_208+" datagrid-row-selected":_208); -if(_20d){ -tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -}; -_20a.call(this,true); -_20a.call(this,false); -$(_206).datagrid("fixRowHeight",_207); -},insertRow:function(_20e,_20f,row){ -var _210=$.data(_20e,"datagrid"); -var opts=_210.options; -var dc=_210.dc; -var data=_210.data; -if(_20f==undefined||_20f==null){ -_20f=data.rows.length; -} -if(_20f>data.rows.length){ -_20f=data.rows.length; -} -function _211(_212){ -var _213=_212?1:2; -for(var i=data.rows.length-1;i>=_20f;i--){ -var tr=opts.finder.getTr(_20e,i,"body",_213); -tr.attr("datagrid-row-index",i+1); -tr.attr("id",_210.rowIdPrefix+"-"+_213+"-"+(i+1)); -if(_212&&opts.rownumbers){ -var _214=i+2; -if(opts.pagination){ -_214+=(opts.pageNumber-1)*opts.pageSize; -} -tr.find("div.datagrid-cell-rownumber").html(_214); -} -if(opts.striped){ -tr.removeClass("datagrid-row-alt").addClass((i+1)%2?"datagrid-row-alt":""); -} -} -}; -function _215(_216){ -var _217=_216?1:2; -var _218=$(_20e).datagrid("getColumnFields",_216); -var _219=_210.rowIdPrefix+"-"+_217+"-"+_20f; -var tr=""; -if(_20f>=data.rows.length){ -if(data.rows.length){ -opts.finder.getTr(_20e,"","last",_217).after(tr); -}else{ -var cc=_216?dc.body1:dc.body2; -cc.html(""+tr+"
                        "); -} -}else{ -opts.finder.getTr(_20e,_20f+1,"body",_217).before(tr); -} -}; -_211.call(this,true); -_211.call(this,false); -_215.call(this,true); -_215.call(this,false); -data.total+=1; -data.rows.splice(_20f,0,row); -this.refreshRow.call(this,_20e,_20f); -},deleteRow:function(_21a,_21b){ -var _21c=$.data(_21a,"datagrid"); -var opts=_21c.options; -var data=_21c.data; -function _21d(_21e){ -var _21f=_21e?1:2; -for(var i=_21b+1;itable>tbody>tr[datagrid-row-index="+_22a+"]"); -} -return tr; -}else{ -if(type=="footer"){ -return (_22b==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index="+_22a+"]"); -}else{ -if(type=="selected"){ -return (_22b==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-selected"); -}else{ -if(type=="highlight"){ -return (_22b==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-over"); -}else{ -if(type=="checked"){ -return (_22b==1?dc.body1:dc.body2).find(">table>tbody>tr.datagrid-row-checked"); -}else{ -if(type=="last"){ -return (_22b==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]:last"); -}else{ -if(type=="allbody"){ -return (_22b==1?dc.body1:dc.body2).find(">table>tbody>tr[datagrid-row-index]"); -}else{ -if(type=="allfooter"){ -return (_22b==1?dc.footer1:dc.footer2).find(">table>tbody>tr[datagrid-row-index]"); -} -} -} -} -} -} -} -} -} -},getRow:function(_22d,p){ -var _22e=(typeof p=="object")?p.attr("datagrid-row-index"):p; -return $.data(_22d,"datagrid").data.rows[parseInt(_22e)]; -}},view:_1e9,onBeforeLoad:function(_22f){ -},onLoadSuccess:function(){ -},onLoadError:function(){ -},onClickRow:function(_230,_231){ -},onDblClickRow:function(_232,_233){ -},onClickCell:function(_234,_235,_236){ -},onDblClickCell:function(_237,_238,_239){ -},onSortColumn:function(sort,_23a){ -},onResizeColumn:function(_23b,_23c){ -},onSelect:function(_23d,_23e){ -},onUnselect:function(_23f,_240){ -},onSelectAll:function(rows){ -},onUnselectAll:function(rows){ -},onCheck:function(_241,_242){ -},onUncheck:function(_243,_244){ -},onCheckAll:function(rows){ -},onUncheckAll:function(rows){ -},onBeforeEdit:function(_245,_246){ -},onAfterEdit:function(_247,_248,_249){ -},onCancelEdit:function(_24a,_24b){ -},onHeaderContextMenu:function(e,_24c){ -},onRowContextMenu:function(e,_24d,_24e){ -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.datebox.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.datebox.js deleted file mode 100644 index 9112d206c2f32aeda93ee2c34db86dfc73f2feaf..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.datebox.js +++ /dev/null @@ -1,157 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"datebox"); -var _4=_3.options; -$(_2).addClass("datebox-f").combo($.extend({},_4,{onShowPanel:function(){ -_5(); -_10(_2,$(_2).datebox("getText")); -_4.onShowPanel.call(_2); -}})); -$(_2).combo("textbox").parent().addClass("datebox"); -if(!_3.calendar){ -_6(); -} -function _6(){ -var _7=$(_2).combo("panel").css("overflow","hidden"); -var cc=$("
                        ").appendTo(_7); -if(_4.sharedCalendar){ -_3.calendar=$(_4.sharedCalendar).appendTo(cc); -if(!_3.calendar.hasClass("calendar")){ -_3.calendar.calendar(); -} -}else{ -_3.calendar=$("
                        ").appendTo(cc).calendar(); -} -$.extend(_3.calendar.calendar("options"),{fit:true,border:false,onSelect:function(_8){ -var _9=$(this.target).datebox("options"); -_10(this.target,_9.formatter(_8)); -$(this.target).combo("hidePanel"); -_9.onSelect.call(_2,_8); -}}); -_10(_2,_4.value); -var _a=$("
                        ").appendTo(_7); -var tr=_a.find("tr"); -for(var i=0;i<_4.buttons.length;i++){ -var td=$("").appendTo(tr); -var _b=_4.buttons[i]; -var t=$("").html($.isFunction(_b.text)?_b.text(_2):_b.text).appendTo(td); -t.bind("click",{target:_2,handler:_b.handler},function(e){ -e.data.handler.call(this,e.data.target); -}); -} -tr.find("td").css("width",(100/_4.buttons.length)+"%"); -}; -function _5(){ -var _c=$(_2).combo("panel"); -var cc=_c.children("div.datebox-calendar-inner"); -_c.children()._outerWidth(_c.width()); -_3.calendar.appendTo(cc); -_3.calendar[0].target=_2; -if(_4.panelHeight!="auto"){ -var _d=_c.height(); -_c.children().not(cc).each(function(){ -_d-=$(this).outerHeight(); -}); -cc._outerHeight(_d); -} -_3.calendar.calendar("resize"); -}; -}; -function _e(_f,q){ -_10(_f,q); -}; -function _11(_12){ -var _13=$.data(_12,"datebox"); -var _14=_13.options; -var _15=_14.formatter(_13.calendar.calendar("options").current); -_10(_12,_15); -$(_12).combo("hidePanel"); -}; -function _10(_16,_17){ -var _18=$.data(_16,"datebox"); -var _19=_18.options; -$(_16).combo("setValue",_17).combo("setText",_17); -_18.calendar.calendar("moveTo",_19.parser(_17)); -}; -$.fn.datebox=function(_1a,_1b){ -if(typeof _1a=="string"){ -var _1c=$.fn.datebox.methods[_1a]; -if(_1c){ -return _1c(this,_1b); -}else{ -return this.combo(_1a,_1b); -} -} -_1a=_1a||{}; -return this.each(function(){ -var _1d=$.data(this,"datebox"); -if(_1d){ -$.extend(_1d.options,_1a); -}else{ -$.data(this,"datebox",{options:$.extend({},$.fn.datebox.defaults,$.fn.datebox.parseOptions(this),_1a)}); -} -_1(this); -}); -}; -$.fn.datebox.methods={options:function(jq){ -var _1e=jq.combo("options"); -return $.extend($.data(jq[0],"datebox").options,{originalValue:_1e.originalValue,disabled:_1e.disabled,readonly:_1e.readonly}); -},calendar:function(jq){ -return $.data(jq[0],"datebox").calendar; -},setValue:function(jq,_1f){ -return jq.each(function(){ -_10(this,_1f); -}); -},reset:function(jq){ -return jq.each(function(){ -var _20=$(this).datebox("options"); -$(this).datebox("setValue",_20.originalValue); -}); -}}; -$.fn.datebox.parseOptions=function(_21){ -return $.extend({},$.fn.combo.parseOptions(_21),$.parser.parseOptions(_21,["sharedCalendar"])); -}; -$.fn.datebox.defaults=$.extend({},$.fn.combo.defaults,{panelWidth:180,panelHeight:"auto",sharedCalendar:null,keyHandler:{up:function(e){ -},down:function(e){ -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_11(this); -},query:function(q,e){ -_e(this,q); -}},currentText:"Today",closeText:"Close",okText:"Ok",buttons:[{text:function(_22){ -return $(_22).datebox("options").currentText; -},handler:function(_23){ -$(_23).datebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); -_11(_23); -}},{text:function(_24){ -return $(_24).datebox("options").closeText; -},handler:function(_25){ -$(this).closest("div.combo-panel").panel("close"); -}}],formatter:function(_26){ -var y=_26.getFullYear(); -var m=_26.getMonth()+1; -var d=_26.getDate(); -return m+"/"+d+"/"+y; -},parser:function(s){ -var t=Date.parse(s); -if(!isNaN(t)){ -return new Date(t); -}else{ -return new Date(); -} -},onSelect:function(_27){ -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.datetimebox.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.datetimebox.js deleted file mode 100644 index 6b232edb7937eb275cd6e88564874f5453a3c892..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.datetimebox.js +++ /dev/null @@ -1,166 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"datetimebox"); -var _4=_3.options; -$(_2).datebox($.extend({},_4,{onShowPanel:function(){ -var _5=$(_2).datetimebox("getValue"); -_8(_2,_5,true); -_4.onShowPanel.call(_2); -},formatter:$.fn.datebox.defaults.formatter,parser:$.fn.datebox.defaults.parser})); -$(_2).removeClass("datebox-f").addClass("datetimebox-f"); -$(_2).datebox("calendar").calendar({onSelect:function(_6){ -_4.onSelect.call(_2,_6); -}}); -var _7=$(_2).datebox("panel"); -if(!_3.spinner){ -var p=$("
                        ").insertAfter(_7.children("div.datebox-calendar-inner")); -_3.spinner=p.children("input"); -} -_3.spinner.timespinner({showSeconds:_4.showSeconds,separator:_4.timeSeparator}).unbind(".datetimebox").bind("mousedown.datetimebox",function(e){ -e.stopPropagation(); -}); -_8(_2,_4.value); -}; -function _9(_a){ -var c=$(_a).datetimebox("calendar"); -var t=$(_a).datetimebox("spinner"); -var _b=c.calendar("options").current; -return new Date(_b.getFullYear(),_b.getMonth(),_b.getDate(),t.timespinner("getHours"),t.timespinner("getMinutes"),t.timespinner("getSeconds")); -}; -function _c(_d,q){ -_8(_d,q,true); -}; -function _e(_f){ -var _10=$.data(_f,"datetimebox").options; -var _11=_9(_f); -_8(_f,_10.formatter.call(_f,_11)); -$(_f).combo("hidePanel"); -}; -function _8(_12,_13,_14){ -var _15=$.data(_12,"datetimebox").options; -$(_12).combo("setValue",_13); -if(!_14){ -if(_13){ -var _16=_15.parser.call(_12,_13); -$(_12).combo("setValue",_15.formatter.call(_12,_16)); -$(_12).combo("setText",_15.formatter.call(_12,_16)); -}else{ -$(_12).combo("setText",_13); -} -} -var _16=_15.parser.call(_12,_13); -$(_12).datetimebox("calendar").calendar("moveTo",_16); -$(_12).datetimebox("spinner").timespinner("setValue",_17(_16)); -function _17(_18){ -function _19(_1a){ -return (_1a<10?"0":"")+_1a; -}; -var tt=[_19(_18.getHours()),_19(_18.getMinutes())]; -if(_15.showSeconds){ -tt.push(_19(_18.getSeconds())); -} -return tt.join($(_12).datetimebox("spinner").timespinner("options").separator); -}; -}; -$.fn.datetimebox=function(_1b,_1c){ -if(typeof _1b=="string"){ -var _1d=$.fn.datetimebox.methods[_1b]; -if(_1d){ -return _1d(this,_1c); -}else{ -return this.datebox(_1b,_1c); -} -} -_1b=_1b||{}; -return this.each(function(){ -var _1e=$.data(this,"datetimebox"); -if(_1e){ -$.extend(_1e.options,_1b); -}else{ -$.data(this,"datetimebox",{options:$.extend({},$.fn.datetimebox.defaults,$.fn.datetimebox.parseOptions(this),_1b)}); -} -_1(this); -}); -}; -$.fn.datetimebox.methods={options:function(jq){ -var _1f=jq.datebox("options"); -return $.extend($.data(jq[0],"datetimebox").options,{originalValue:_1f.originalValue,disabled:_1f.disabled,readonly:_1f.readonly}); -},spinner:function(jq){ -return $.data(jq[0],"datetimebox").spinner; -},setValue:function(jq,_20){ -return jq.each(function(){ -_8(this,_20); -}); -},reset:function(jq){ -return jq.each(function(){ -var _21=$(this).datetimebox("options"); -$(this).datetimebox("setValue",_21.originalValue); -}); -}}; -$.fn.datetimebox.parseOptions=function(_22){ -var t=$(_22); -return $.extend({},$.fn.datebox.parseOptions(_22),$.parser.parseOptions(_22,["timeSeparator",{showSeconds:"boolean"}])); -}; -$.fn.datetimebox.defaults=$.extend({},$.fn.datebox.defaults,{showSeconds:true,timeSeparator:":",keyHandler:{up:function(e){ -},down:function(e){ -},left:function(e){ -},right:function(e){ -},enter:function(e){ -_e(this); -},query:function(q,e){ -_c(this,q); -}},buttons:[{text:function(_23){ -return $(_23).datetimebox("options").currentText; -},handler:function(_24){ -$(_24).datetimebox("calendar").calendar({year:new Date().getFullYear(),month:new Date().getMonth()+1,current:new Date()}); -_e(_24); -}},{text:function(_25){ -return $(_25).datetimebox("options").okText; -},handler:function(_26){ -_e(_26); -}},{text:function(_27){ -return $(_27).datetimebox("options").closeText; -},handler:function(_28){ -$(this).closest("div.combo-panel").panel("close"); -}}],formatter:function(_29){ -var h=_29.getHours(); -var M=_29.getMinutes(); -var s=_29.getSeconds(); -function _2a(_2b){ -return (_2b<10?"0":"")+_2b; -}; -var _2c=$(this).datetimebox("spinner").timespinner("options").separator; -var r=$.fn.datebox.defaults.formatter(_29)+" "+_2a(h)+_2c+_2a(M); -if($(this).datetimebox("options").showSeconds){ -r+=_2c+_2a(s); -} -return r; -},parser:function(s){ -if($.trim(s)==""){ -return new Date(); -} -var dt=s.split(" "); -var d=$.fn.datebox.defaults.parser(dt[0]); -if(dt.length<2){ -return d; -} -var _2d=$(this).datetimebox("spinner").timespinner("options").separator; -var tt=dt[1].split(_2d); -var _2e=parseInt(tt[0],10)||0; -var _2f=parseInt(tt[1],10)||0; -var _30=parseInt(tt[2],10)||0; -return new Date(d.getFullYear(),d.getMonth(),d.getDate(),_2e,_2f,_30); -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.dialog.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.dialog.js deleted file mode 100644 index b88dec41570a850e72114795ba0a88418c9c5bba..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.dialog.js +++ /dev/null @@ -1,141 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var cp=document.createElement("div"); -while(_2.firstChild){ -cp.appendChild(_2.firstChild); -} -_2.appendChild(cp); -var _3=$(cp); -_3.attr("style",$(_2).attr("style")); -$(_2).removeAttr("style").css("overflow","hidden"); -_3.panel({border:false,doSize:false,bodyCls:"dialog-content"}); -return _3; -}; -function _4(_5){ -var _6=$.data(_5,"dialog").options; -var _7=$.data(_5,"dialog").contentPanel; -if(_6.toolbar){ -if($.isArray(_6.toolbar)){ -$(_5).find("div.dialog-toolbar").remove(); -var _8=$("
                        ").prependTo(_5); -var tr=_8.find("tr"); -for(var i=0;i<_6.toolbar.length;i++){ -var _9=_6.toolbar[i]; -if(_9=="-"){ -$("
                        ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var _a=$("").appendTo(td); -_a[0].onclick=eval(_9.handler||function(){ -}); -_a.linkbutton($.extend({},_9,{plain:true})); -} -} -}else{ -$(_6.toolbar).addClass("dialog-toolbar").prependTo(_5); -$(_6.toolbar).show(); -} -}else{ -$(_5).find("div.dialog-toolbar").remove(); -} -if(_6.buttons){ -if($.isArray(_6.buttons)){ -$(_5).find("div.dialog-button").remove(); -var _b=$("
                        ").appendTo(_5); -for(var i=0;i<_6.buttons.length;i++){ -var p=_6.buttons[i]; -var _c=$("").appendTo(_b); -if(p.handler){ -_c[0].onclick=p.handler; -} -_c.linkbutton(p); -} -}else{ -$(_6.buttons).addClass("dialog-button").appendTo(_5); -$(_6.buttons).show(); -} -}else{ -$(_5).find("div.dialog-button").remove(); -} -var _d=_6.href; -var _e=_6.content; -_6.href=null; -_6.content=null; -_7.panel({closed:_6.closed,cache:_6.cache,href:_d,content:_e,onLoad:function(){ -if(_6.height=="auto"){ -$(_5).window("resize"); -} -_6.onLoad.apply(_5,arguments); -}}); -$(_5).window($.extend({},_6,{onOpen:function(){ -if(_7.panel("options").closed){ -_7.panel("open"); -} -if(_6.onOpen){ -_6.onOpen.call(_5); -} -},onResize:function(_f,_10){ -var _11=$(_5); -_7.panel("panel").show(); -_7.panel("resize",{width:_11.width(),height:(_10=="auto")?"auto":_11.height()-_11.children("div.dialog-toolbar")._outerHeight()-_11.children("div.dialog-button")._outerHeight()}); -if(_6.onResize){ -_6.onResize.call(_5,_f,_10); -} -}})); -_6.href=_d; -_6.content=_e; -}; -function _12(_13,_14){ -var _15=$.data(_13,"dialog").contentPanel; -_15.panel("refresh",_14); -}; -$.fn.dialog=function(_16,_17){ -if(typeof _16=="string"){ -var _18=$.fn.dialog.methods[_16]; -if(_18){ -return _18(this,_17); -}else{ -return this.window(_16,_17); -} -} -_16=_16||{}; -return this.each(function(){ -var _19=$.data(this,"dialog"); -if(_19){ -$.extend(_19.options,_16); -}else{ -$.data(this,"dialog",{options:$.extend({},$.fn.dialog.defaults,$.fn.dialog.parseOptions(this),_16),contentPanel:_1(this)}); -} -_4(this); -}); -}; -$.fn.dialog.methods={options:function(jq){ -var _1a=$.data(jq[0],"dialog").options; -var _1b=jq.panel("options"); -$.extend(_1a,{closed:_1b.closed,collapsed:_1b.collapsed,minimized:_1b.minimized,maximized:_1b.maximized}); -var _1c=$.data(jq[0],"dialog").contentPanel; -return _1a; -},dialog:function(jq){ -return jq.window("window"); -},refresh:function(jq,_1d){ -return jq.each(function(){ -_12(this,_1d); -}); -}}; -$.fn.dialog.parseOptions=function(_1e){ -return $.extend({},$.fn.window.parseOptions(_1e),$.parser.parseOptions(_1e,["toolbar","buttons"])); -}; -$.fn.dialog.defaults=$.extend({},$.fn.window.defaults,{title:"New Dialog",collapsible:false,minimizable:false,maximizable:false,resizable:false,toolbar:null,buttons:null}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.draggable.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.draggable.js deleted file mode 100644 index b5b094cb2eb8bfa5f12286e66e20c8f8cf0dc4e7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.draggable.js +++ /dev/null @@ -1,285 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(e){ -var _2=$.data(e.data.target,"draggable"); -var _3=_2.options; -var _4=_2.proxy; -var _5=e.data; -var _6=_5.startLeft+e.pageX-_5.startX; -var _7=_5.startTop+e.pageY-_5.startY; -if(_4){ -if(_4.parent()[0]==document.body){ -if(_3.deltaX!=null&&_3.deltaX!=undefined){ -_6=e.pageX+_3.deltaX; -}else{ -_6=e.pageX-e.data.offsetWidth; -} -if(_3.deltaY!=null&&_3.deltaY!=undefined){ -_7=e.pageY+_3.deltaY; -}else{ -_7=e.pageY-e.data.offsetHeight; -} -}else{ -if(_3.deltaX!=null&&_3.deltaX!=undefined){ -_6+=e.data.offsetWidth+_3.deltaX; -} -if(_3.deltaY!=null&&_3.deltaY!=undefined){ -_7+=e.data.offsetHeight+_3.deltaY; -} -} -} -if(e.data.parent!=document.body){ -_6+=$(e.data.parent).scrollLeft(); -_7+=$(e.data.parent).scrollTop(); -} -if(_3.axis=="h"){ -_5.left=_6; -}else{ -if(_3.axis=="v"){ -_5.top=_7; -}else{ -_5.left=_6; -_5.top=_7; -} -} -}; -function _8(e){ -var _9=$.data(e.data.target,"draggable"); -var _a=_9.options; -var _b=_9.proxy; -if(!_b){ -_b=$(e.data.target); -} -_b.css({left:e.data.left,top:e.data.top}); -$("body").css("cursor",_a.cursor); -}; -function _c(e){ -$.fn.draggable.isDragging=true; -var _d=$.data(e.data.target,"draggable"); -var _e=_d.options; -var _f=$(".droppable").filter(function(){ -return e.data.target!=this; -}).filter(function(){ -var _10=$.data(this,"droppable").options.accept; -if(_10){ -return $(_10).filter(function(){ -return this==e.data.target; -}).length>0; -}else{ -return true; -} -}); -_d.droppables=_f; -var _11=_d.proxy; -if(!_11){ -if(_e.proxy){ -if(_e.proxy=="clone"){ -_11=$(e.data.target).clone().insertAfter(e.data.target); -}else{ -_11=_e.proxy.call(e.data.target,e.data.target); -} -_d.proxy=_11; -}else{ -_11=$(e.data.target); -} -} -_11.css("position","absolute"); -_1(e); -_8(e); -_e.onStartDrag.call(e.data.target,e); -return false; -}; -function _12(e){ -var _13=$.data(e.data.target,"draggable"); -_1(e); -if(_13.options.onDrag.call(e.data.target,e)!=false){ -_8(e); -} -var _14=e.data.target; -_13.droppables.each(function(){ -var _15=$(this); -if(_15.droppable("options").disabled){ -return; -} -var p2=_15.offset(); -if(e.pageX>p2.left&&e.pageXp2.top&&e.pageYp2.left&&e.pageXp2.top&&e.pageY_2a.options.edge; -}; -}); -}; -$.fn.draggable.methods={options:function(jq){ -return $.data(jq[0],"draggable").options; -},proxy:function(jq){ -return $.data(jq[0],"draggable").proxy; -},enable:function(jq){ -return jq.each(function(){ -$(this).draggable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).draggable({disabled:true}); -}); -}}; -$.fn.draggable.parseOptions=function(_2f){ -var t=$(_2f); -return $.extend({},$.parser.parseOptions(_2f,["cursor","handle","axis",{"revert":"boolean","deltaX":"number","deltaY":"number","edge":"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.draggable.defaults={proxy:null,revert:false,cursor:"move",deltaX:null,deltaY:null,handle:null,disabled:false,edge:0,axis:null,onBeforeDrag:function(e){ -},onStartDrag:function(e){ -},onDrag:function(e){ -},onStopDrag:function(e){ -}}; -$.fn.draggable.isDragging=false; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.droppable.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.droppable.js deleted file mode 100644 index 77438d695a1a290213775aacfdf20255b1988ecd..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.droppable.js +++ /dev/null @@ -1,64 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("droppable"); -$(_2).bind("_dragenter",function(e,_3){ -$.data(_2,"droppable").options.onDragEnter.apply(_2,[e,_3]); -}); -$(_2).bind("_dragleave",function(e,_4){ -$.data(_2,"droppable").options.onDragLeave.apply(_2,[e,_4]); -}); -$(_2).bind("_dragover",function(e,_5){ -$.data(_2,"droppable").options.onDragOver.apply(_2,[e,_5]); -}); -$(_2).bind("_drop",function(e,_6){ -$.data(_2,"droppable").options.onDrop.apply(_2,[e,_6]); -}); -}; -$.fn.droppable=function(_7,_8){ -if(typeof _7=="string"){ -return $.fn.droppable.methods[_7](this,_8); -} -_7=_7||{}; -return this.each(function(){ -var _9=$.data(this,"droppable"); -if(_9){ -$.extend(_9.options,_7); -}else{ -_1(this); -$.data(this,"droppable",{options:$.extend({},$.fn.droppable.defaults,$.fn.droppable.parseOptions(this),_7)}); -} -}); -}; -$.fn.droppable.methods={options:function(jq){ -return $.data(jq[0],"droppable").options; -},enable:function(jq){ -return jq.each(function(){ -$(this).droppable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).droppable({disabled:true}); -}); -}}; -$.fn.droppable.parseOptions=function(_a){ -var t=$(_a); -return $.extend({},$.parser.parseOptions(_a,["accept"]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.droppable.defaults={accept:null,disabled:false,onDragEnter:function(e,_b){ -},onDragOver:function(e,_c){ -},onDragLeave:function(e,_d){ -},onDrop:function(e,_e){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.form.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.form.js deleted file mode 100644 index 65957645cec53092c7a27bcacd826b3349e4915d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.form.js +++ /dev/null @@ -1,292 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2,_3){ -_3=_3||{}; -var _4={}; -if(_3.onSubmit){ -if(_3.onSubmit.call(_2,_4)==false){ -return; -} -} -var _5=$(_2); -if(_3.url){ -_5.attr("action",_3.url); -} -var _6="easyui_frame_"+(new Date().getTime()); -var _7=$("").attr("src",window.ActiveXObject?"javascript:false":"about:blank").css({position:"absolute",top:-1000,left:-1000}); -var t=_5.attr("target"),a=_5.attr("action"); -_5.attr("target",_6); -var _8=$(); -try{ -_7.appendTo("body"); -_7.bind("load",cb); -for(var n in _4){ -var f=$("").val(_4[n]).appendTo(_5); -_8=_8.add(f); -} -_9(); -_5[0].submit(); -} -finally{ -_5.attr("action",a); -t?_5.attr("target",t):_5.removeAttr("target"); -_8.remove(); -} -function _9(){ -var f=$("#"+_6); -if(!f.length){ -return; -} -try{ -var s=f.contents()[0].readyState; -if(s&&s.toLowerCase()=="uninitialized"){ -setTimeout(_9,100); -} -} -catch(e){ -cb(); -} -}; -var _a=10; -function cb(){ -var _b=$("#"+_6); -if(!_b.length){ -return; -} -_b.unbind(); -var _c=""; -try{ -var _d=_b.contents().find("body"); -_c=_d.html(); -if(_c==""){ -if(--_a){ -setTimeout(cb,100); -return; -} -} -var ta=_d.find(">textarea"); -if(ta.length){ -_c=ta.val(); -}else{ -var _e=_d.find(">pre"); -if(_e.length){ -_c=_e.html(); -} -} -} -catch(e){ -} -if(_3.success){ -_3.success(_c); -} -setTimeout(function(){ -_b.unbind(); -_b.remove(); -},100); -}; -}; -function _f(_10,_11){ -if(!$.data(_10,"form")){ -$.data(_10,"form",{options:$.extend({},$.fn.form.defaults)}); -} -var _12=$.data(_10,"form").options; -if(typeof _11=="string"){ -var _13={}; -if(_12.onBeforeLoad.call(_10,_13)==false){ -return; -} -$.ajax({url:_11,data:_13,dataType:"json",success:function(_14){ -_15(_14); -},error:function(){ -_12.onLoadError.apply(_10,arguments); -}}); -}else{ -_15(_11); -} -function _15(_16){ -var _17=$(_10); -for(var _18 in _16){ -var val=_16[_18]; -var rr=_19(_18,val); -if(!rr.length){ -var _1a=_1b(_18,val); -if(!_1a){ -$("input[name=\""+_18+"\"]",_17).val(val); -$("textarea[name=\""+_18+"\"]",_17).val(val); -$("select[name=\""+_18+"\"]",_17).val(val); -} -} -_1c(_18,val); -} -_12.onLoadSuccess.call(_10,_16); -_28(_10); -}; -function _19(_1d,val){ -var rr=$(_10).find("input[name=\""+_1d+"\"][type=radio], input[name=\""+_1d+"\"][type=checkbox]"); -rr._propAttr("checked",false); -rr.each(function(){ -var f=$(this); -if(f.val()==String(val)||$.inArray(f.val(),$.isArray(val)?val:[val])>=0){ -f._propAttr("checked",true); -} -}); -return rr; -}; -function _1b(_1e,val){ -var _1f=0; -var pp=["numberbox","slider"]; -for(var i=0;i=0){ -_1b(_16,_18,this); -} -}); -}; -cc.children("form").length?_17(cc.children("form")):_17(cc); -cc.append("
                        "); -cc.bind("_resize",function(e,_19){ -var _1a=$.data(_16,"layout").options; -if(_1a.fit==true||_19){ -_2(_16); -} -return false; -}); -}; -function _1b(_1c,_1d,el){ -_1d.region=_1d.region||"center"; -var _1e=$.data(_1c,"layout").panels; -var cc=$(_1c); -var dir=_1d.region; -if(_1e[dir].length){ -return; -} -var pp=$(el); -if(!pp.length){ -pp=$("
                        ").appendTo(cc); -} -var _1f=$.extend({},$.fn.layout.paneldefaults,{width:(pp.length?parseInt(pp[0].style.width)||pp.outerWidth():"auto"),height:(pp.length?parseInt(pp[0].style.height)||pp.outerHeight():"auto"),doSize:false,collapsible:true,cls:("layout-panel layout-panel-"+dir),bodyCls:"layout-body",onOpen:function(){ -var _20=$(this).panel("header").children("div.panel-tool"); -_20.children("a.panel-tool-collapse").hide(); -var _21={north:"up",south:"down",east:"right",west:"left"}; -if(!_21[dir]){ -return; -} -var _22="layout-button-"+_21[dir]; -var t=_20.children("a."+_22); -if(!t.length){ -t=$("").addClass(_22).appendTo(_20); -t.bind("click",{dir:dir},function(e){ -_2f(_1c,e.data.dir); -return false; -}); -} -$(this).panel("options").collapsible?t.show():t.hide(); -}},_1d); -pp.panel(_1f); -_1e[dir]=pp; -if(pp.panel("options").split){ -var _23=pp.panel("panel"); -_23.addClass("layout-split-"+dir); -var _24=""; -if(dir=="north"){ -_24="s"; -} -if(dir=="south"){ -_24="n"; -} -if(dir=="east"){ -_24="w"; -} -if(dir=="west"){ -_24="e"; -} -_23.resizable($.extend({},{handles:_24,onStartResize:function(e){ -_1=true; -if(dir=="north"||dir=="south"){ -var _25=$(">div.layout-split-proxy-v",_1c); -}else{ -var _25=$(">div.layout-split-proxy-h",_1c); -} -var top=0,_26=0,_27=0,_28=0; -var pos={display:"block"}; -if(dir=="north"){ -pos.top=parseInt(_23.css("top"))+_23.outerHeight()-_25.height(); -pos.left=parseInt(_23.css("left")); -pos.width=_23.outerWidth(); -pos.height=_25.height(); -}else{ -if(dir=="south"){ -pos.top=parseInt(_23.css("top")); -pos.left=parseInt(_23.css("left")); -pos.width=_23.outerWidth(); -pos.height=_25.height(); -}else{ -if(dir=="east"){ -pos.top=parseInt(_23.css("top"))||0; -pos.left=parseInt(_23.css("left"))||0; -pos.width=_25.width(); -pos.height=_23.outerHeight(); -}else{ -if(dir=="west"){ -pos.top=parseInt(_23.css("top"))||0; -pos.left=_23.outerWidth()-_25.width(); -pos.width=_25.width(); -pos.height=_23.outerHeight(); -} -} -} -} -_25.css(pos); -$("
                        ").css({left:0,top:0,width:cc.width(),height:cc.height()}).appendTo(cc); -},onResize:function(e){ -if(dir=="north"||dir=="south"){ -var _29=$(">div.layout-split-proxy-v",_1c); -_29.css("top",e.pageY-$(_1c).offset().top-_29.height()/2); -}else{ -var _29=$(">div.layout-split-proxy-h",_1c); -_29.css("left",e.pageX-$(_1c).offset().left-_29.width()/2); -} -return false; -},onStopResize:function(e){ -cc.children("div.layout-split-proxy-v,div.layout-split-proxy-h").hide(); -pp.panel("resize",e.data); -_2(_1c); -_1=false; -cc.find(">div.layout-mask").remove(); -}},_1d)); -} -}; -function _2a(_2b,_2c){ -var _2d=$.data(_2b,"layout").panels; -if(_2d[_2c].length){ -_2d[_2c].panel("destroy"); -_2d[_2c]=$(); -var _2e="expand"+_2c.substring(0,1).toUpperCase()+_2c.substring(1); -if(_2d[_2e]){ -_2d[_2e].panel("destroy"); -_2d[_2e]=undefined; -} -} -}; -function _2f(_30,_31,_32){ -if(_32==undefined){ -_32="normal"; -} -var _33=$.data(_30,"layout").panels; -var p=_33[_31]; -var _34=p.panel("options"); -if(_34.onBeforeCollapse.call(p)==false){ -return; -} -var _35="expand"+_31.substring(0,1).toUpperCase()+_31.substring(1); -if(!_33[_35]){ -_33[_35]=_36(_31); -_33[_35].panel("panel").bind("click",function(){ -var _37=_38(); -p.panel("expand",false).panel("open").panel("resize",_37.collapse); -p.panel("panel").animate(_37.expand,function(){ -$(this).unbind(".layout").bind("mouseleave.layout",{region:_31},function(e){ -if(_1==true){ -return; -} -_2f(_30,e.data.region); -}); -}); -return false; -}); -} -var _39=_38(); -if(!_9(_33[_35])){ -_33.center.panel("resize",_39.resizeC); -} -p.panel("panel").animate(_39.collapse,_32,function(){ -p.panel("collapse",false).panel("close"); -_33[_35].panel("open").panel("resize",_39.expandP); -$(this).unbind(".layout"); -}); -function _36(dir){ -var _3a; -if(dir=="east"){ -_3a="layout-button-left"; -}else{ -if(dir=="west"){ -_3a="layout-button-right"; -}else{ -if(dir=="north"){ -_3a="layout-button-down"; -}else{ -if(dir=="south"){ -_3a="layout-button-up"; -} -} -} -} -var p=$("
                        ").appendTo(_30); -p.panel($.extend({},$.fn.layout.paneldefaults,{cls:("layout-expand layout-expand-"+dir),title:" ",closed:true,doSize:false,tools:[{iconCls:_3a,handler:function(){ -_3c(_30,_31); -return false; -}}]})); -p.panel("panel").hover(function(){ -$(this).addClass("layout-expand-over"); -},function(){ -$(this).removeClass("layout-expand-over"); -}); -return p; -}; -function _38(){ -var cc=$(_30); -var _3b=_33.center.panel("options"); -if(_31=="east"){ -var ww=_3b.width+_34.width-28; -if(_34.split||!_34.border){ -ww++; -} -return {resizeC:{width:ww},expand:{left:cc.width()-_34.width},expandP:{top:_3b.top,left:cc.width()-28,width:28,height:_3b.height},collapse:{left:cc.width(),top:_3b.top,height:_3b.height}}; -}else{ -if(_31=="west"){ -var ww=_3b.width+_34.width-28; -if(_34.split||!_34.border){ -ww++; -} -return {resizeC:{width:ww,left:28-1},expand:{left:0},expandP:{left:0,top:_3b.top,width:28,height:_3b.height},collapse:{left:-_34.width,top:_3b.top,height:_3b.height}}; -}else{ -if(_31=="north"){ -var hh=_3b.height; -if(!_9(_33.expandNorth)){ -hh+=_34.height-28+((_34.split||!_34.border)?1:0); -} -_33.east.add(_33.west).add(_33.expandEast).add(_33.expandWest).panel("resize",{top:28-1,height:hh}); -return {resizeC:{top:28-1,height:hh},expand:{top:0},expandP:{top:0,left:0,width:cc.width(),height:28},collapse:{top:-_34.height,width:cc.width()}}; -}else{ -if(_31=="south"){ -var hh=_3b.height; -if(!_9(_33.expandSouth)){ -hh+=_34.height-28+((_34.split||!_34.border)?1:0); -} -_33.east.add(_33.west).add(_33.expandEast).add(_33.expandWest).panel("resize",{height:hh}); -return {resizeC:{height:hh},expand:{top:cc.height()-_34.height},expandP:{top:cc.height()-28,left:0,width:cc.width(),height:28},collapse:{top:cc.height(),width:cc.width()}}; -} -} -} -} -}; -}; -function _3c(_3d,_3e){ -var _3f=$.data(_3d,"layout").panels; -var p=_3f[_3e]; -var _40=p.panel("options"); -if(_40.onBeforeExpand.call(p)==false){ -return; -} -var _41=_42(); -var _43="expand"+_3e.substring(0,1).toUpperCase()+_3e.substring(1); -if(_3f[_43]){ -_3f[_43].panel("close"); -p.panel("panel").stop(true,true); -p.panel("expand",false).panel("open").panel("resize",_41.collapse); -p.panel("panel").animate(_41.expand,function(){ -_2(_3d); -}); -} -function _42(){ -var cc=$(_3d); -var _44=_3f.center.panel("options"); -if(_3e=="east"&&_3f.expandEast){ -return {collapse:{left:cc.width(),top:_44.top,height:_44.height},expand:{left:cc.width()-_3f["east"].panel("options").width}}; -}else{ -if(_3e=="west"&&_3f.expandWest){ -return {collapse:{left:-_3f["west"].panel("options").width,top:_44.top,height:_44.height},expand:{left:0}}; -}else{ -if(_3e=="north"&&_3f.expandNorth){ -return {collapse:{top:-_3f["north"].panel("options").height,width:cc.width()},expand:{top:0}}; -}else{ -if(_3e=="south"&&_3f.expandSouth){ -return {collapse:{top:cc.height(),width:cc.width()},expand:{top:cc.height()-_3f["south"].panel("options").height}}; -} -} -} -} -}; -}; -function _9(pp){ -if(!pp){ -return false; -} -if(pp.length){ -return pp.panel("panel").is(":visible"); -}else{ -return false; -} -}; -function _45(_46){ -var _47=$.data(_46,"layout").panels; -if(_47.east.length&&_47.east.panel("options").collapsed){ -_2f(_46,"east",0); -} -if(_47.west.length&&_47.west.panel("options").collapsed){ -_2f(_46,"west",0); -} -if(_47.north.length&&_47.north.panel("options").collapsed){ -_2f(_46,"north",0); -} -if(_47.south.length&&_47.south.panel("options").collapsed){ -_2f(_46,"south",0); -} -}; -$.fn.layout=function(_48,_49){ -if(typeof _48=="string"){ -return $.fn.layout.methods[_48](this,_49); -} -_48=_48||{}; -return this.each(function(){ -var _4a=$.data(this,"layout"); -if(_4a){ -$.extend(_4a.options,_48); -}else{ -var _4b=$.extend({},$.fn.layout.defaults,$.fn.layout.parseOptions(this),_48); -$.data(this,"layout",{options:_4b,panels:{center:$(),north:$(),south:$(),east:$(),west:$()}}); -_15(this); -} -_2(this); -_45(this); -}); -}; -$.fn.layout.methods={resize:function(jq){ -return jq.each(function(){ -_2(this); -}); -},panel:function(jq,_4c){ -return $.data(jq[0],"layout").panels[_4c]; -},collapse:function(jq,_4d){ -return jq.each(function(){ -_2f(this,_4d); -}); -},expand:function(jq,_4e){ -return jq.each(function(){ -_3c(this,_4e); -}); -},add:function(jq,_4f){ -return jq.each(function(){ -_1b(this,_4f); -_2(this); -if($(this).layout("panel",_4f.region).panel("options").collapsed){ -_2f(this,_4f.region,0); -} -}); -},remove:function(jq,_50){ -return jq.each(function(){ -_2a(this,_50); -_2(this); -}); -}}; -$.fn.layout.parseOptions=function(_51){ -return $.extend({},$.parser.parseOptions(_51,[{fit:"boolean"}])); -}; -$.fn.layout.defaults={fit:false}; -$.fn.layout.parsePanelOptions=function(_52){ -var t=$(_52); -return $.extend({},$.fn.panel.parseOptions(_52),$.parser.parseOptions(_52,["region",{split:"boolean",minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number"}])); -}; -$.fn.layout.paneldefaults=$.extend({},$.fn.panel.defaults,{region:null,split:false,minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.linkbutton.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.linkbutton.js deleted file mode 100644 index eb43f94944bbc429dc9abb3fb84f3c6ba3af9411..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.linkbutton.js +++ /dev/null @@ -1,144 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"linkbutton").options; -var t=$(_2); -t.addClass("l-btn").removeClass("l-btn-plain l-btn-selected l-btn-plain-selected"); -if(_3.plain){ -t.addClass("l-btn-plain"); -} -if(_3.selected){ -t.addClass(_3.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -} -t.attr("group",_3.group||""); -t.attr("id",_3.id||""); -t.html(""+""+""); -if(_3.text){ -t.find(".l-btn-text").html(_3.text); -if(_3.iconCls){ -t.find(".l-btn-text").addClass(_3.iconCls).addClass(_3.iconAlign=="left"?"l-btn-icon-left":"l-btn-icon-right"); -} -}else{ -t.find(".l-btn-text").html(" "); -if(_3.iconCls){ -t.find(".l-btn-empty").addClass(_3.iconCls); -} -} -t.unbind(".linkbutton").bind("focus.linkbutton",function(){ -if(!_3.disabled){ -$(this).find(".l-btn-text").addClass("l-btn-focus"); -} -}).bind("blur.linkbutton",function(){ -$(this).find(".l-btn-text").removeClass("l-btn-focus"); -}); -if(_3.toggle&&!_3.disabled){ -t.bind("click.linkbutton",function(){ -if(_3.selected){ -$(this).linkbutton("unselect"); -}else{ -$(this).linkbutton("select"); -} -}); -} -_4(_2,_3.selected); -_5(_2,_3.disabled); -}; -function _4(_6,_7){ -var _8=$.data(_6,"linkbutton").options; -if(_7){ -if(_8.group){ -$("a.l-btn[group=\""+_8.group+"\"]").each(function(){ -var o=$(this).linkbutton("options"); -if(o.toggle){ -$(this).removeClass("l-btn-selected l-btn-plain-selected"); -o.selected=false; -} -}); -} -$(_6).addClass(_8.plain?"l-btn-selected l-btn-plain-selected":"l-btn-selected"); -_8.selected=true; -}else{ -if(!_8.group){ -$(_6).removeClass("l-btn-selected l-btn-plain-selected"); -_8.selected=false; -} -} -}; -function _5(_9,_a){ -var _b=$.data(_9,"linkbutton"); -var _c=_b.options; -$(_9).removeClass("l-btn-disabled l-btn-plain-disabled"); -if(_a){ -_c.disabled=true; -var _d=$(_9).attr("href"); -if(_d){ -_b.href=_d; -$(_9).attr("href","javascript:void(0)"); -} -if(_9.onclick){ -_b.onclick=_9.onclick; -_9.onclick=null; -} -_c.plain?$(_9).addClass("l-btn-disabled l-btn-plain-disabled"):$(_9).addClass("l-btn-disabled"); -}else{ -_c.disabled=false; -if(_b.href){ -$(_9).attr("href",_b.href); -} -if(_b.onclick){ -_9.onclick=_b.onclick; -} -} -}; -$.fn.linkbutton=function(_e,_f){ -if(typeof _e=="string"){ -return $.fn.linkbutton.methods[_e](this,_f); -} -_e=_e||{}; -return this.each(function(){ -var _10=$.data(this,"linkbutton"); -if(_10){ -$.extend(_10.options,_e); -}else{ -$.data(this,"linkbutton",{options:$.extend({},$.fn.linkbutton.defaults,$.fn.linkbutton.parseOptions(this),_e)}); -$(this).removeAttr("disabled"); -} -_1(this); -}); -}; -$.fn.linkbutton.methods={options:function(jq){ -return $.data(jq[0],"linkbutton").options; -},enable:function(jq){ -return jq.each(function(){ -_5(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_5(this,true); -}); -},select:function(jq){ -return jq.each(function(){ -_4(this,true); -}); -},unselect:function(jq){ -return jq.each(function(){ -_4(this,false); -}); -}}; -$.fn.linkbutton.parseOptions=function(_11){ -var t=$(_11); -return $.extend({},$.parser.parseOptions(_11,["id","iconCls","iconAlign","group",{plain:"boolean",toggle:"boolean",selected:"boolean"}]),{disabled:(t.attr("disabled")?true:undefined),text:$.trim(t.html()),iconCls:(t.attr("icon")||t.attr("iconCls"))}); -}; -$.fn.linkbutton.defaults={id:null,disabled:false,toggle:false,selected:false,group:null,plain:false,text:"",iconCls:null,iconAlign:"left"}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.menu.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.menu.js deleted file mode 100644 index 6b337f9bd01516f955f406986bc1de0b31058266..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.menu.js +++ /dev/null @@ -1,427 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -$(_2).appendTo("body"); -$(_2).addClass("menu-top"); -$(document).unbind(".menu").bind("mousedown.menu",function(e){ -var _3=$("body>div.menu:visible"); -var m=$(e.target).closest("div.menu",_3); -if(m.length){ -return; -} -$("body>div.menu-top:visible").menu("hide"); -}); -var _4=_5($(_2)); -for(var i=0;i<_4.length;i++){ -_6(_4[i]); -} -function _5(_7){ -var _8=[]; -_7.addClass("menu"); -_8.push(_7); -if(!_7.hasClass("menu-content")){ -_7.children("div").each(function(){ -var _9=$(this).children("div"); -if(_9.length){ -_9.insertAfter(_2); -this.submenu=_9; -var mm=_5(_9); -_8=_8.concat(mm); -} -}); -} -return _8; -}; -function _6(_a){ -var _b=$.parser.parseOptions(_a[0],["width"]).width; -if(_a.hasClass("menu-content")){ -_a[0].originalWidth=_b||_a._outerWidth(); -}else{ -_a[0].originalWidth=_b||0; -_a.children("div").each(function(){ -var _c=$(this); -var _d=$.extend({},$.parser.parseOptions(this,["name","iconCls","href",{separator:"boolean"}]),{disabled:(_c.attr("disabled")?true:undefined)}); -if(_d.separator){ -_c.addClass("menu-sep"); -} -if(!_c.hasClass("menu-sep")){ -_c[0].itemName=_d.name||""; -_c[0].itemHref=_d.href||""; -var _e=_c.addClass("menu-item").html(); -_c.empty().append($("
                        ").html(_e)); -if(_d.iconCls){ -$("
                        ").addClass(_d.iconCls).appendTo(_c); -} -if(_d.disabled){ -_f(_2,_c[0],true); -} -if(_c[0].submenu){ -$("
                        ").appendTo(_c); -} -_10(_2,_c); -} -}); -$("
                        ").prependTo(_a); -} -_11(_2,_a); -_a.hide(); -_12(_2,_a); -}; -}; -function _11(_13,_14){ -var _15=$.data(_13,"menu").options; -var _16=_14.attr("style"); -_14.css({display:"block",left:-10000,height:"auto",overflow:"hidden"}); -var _17=0; -_14.find("div.menu-text").each(function(){ -if(_17<$(this)._outerWidth()){ -_17=$(this)._outerWidth(); -} -$(this).closest("div.menu-item")._outerHeight($(this)._outerHeight()+2); -}); -_17+=65; -_14._outerWidth(Math.max((_14[0].originalWidth||0),_17,_15.minWidth)); -_14.children("div.menu-line")._outerHeight(_14.outerHeight()); -_14.attr("style",_16); -}; -function _12(_18,_19){ -var _1a=$.data(_18,"menu"); -_19.unbind(".menu").bind("mouseenter.menu",function(){ -if(_1a.timer){ -clearTimeout(_1a.timer); -_1a.timer=null; -} -}).bind("mouseleave.menu",function(){ -if(_1a.options.hideOnUnhover){ -_1a.timer=setTimeout(function(){ -_1b(_18); -},100); -} -}); -}; -function _10(_1c,_1d){ -if(!_1d.hasClass("menu-item")){ -return; -} -_1d.unbind(".menu"); -_1d.bind("click.menu",function(){ -if($(this).hasClass("menu-item-disabled")){ -return; -} -if(!this.submenu){ -_1b(_1c); -var _1e=$(this).attr("href"); -if(_1e){ -location.href=_1e; -} -} -var _1f=$(_1c).menu("getItem",this); -$.data(_1c,"menu").options.onClick.call(_1c,_1f); -}).bind("mouseenter.menu",function(e){ -_1d.siblings().each(function(){ -if(this.submenu){ -_22(this.submenu); -} -$(this).removeClass("menu-active"); -}); -_1d.addClass("menu-active"); -if($(this).hasClass("menu-item-disabled")){ -_1d.addClass("menu-active-disabled"); -return; -} -var _20=_1d[0].submenu; -if(_20){ -$(_1c).menu("show",{menu:_20,parent:_1d}); -} -}).bind("mouseleave.menu",function(e){ -_1d.removeClass("menu-active menu-active-disabled"); -var _21=_1d[0].submenu; -if(_21){ -if(e.pageX>=parseInt(_21.css("left"))){ -_1d.addClass("menu-active"); -}else{ -_22(_21); -} -}else{ -_1d.removeClass("menu-active"); -} -}); -}; -function _1b(_23){ -var _24=$.data(_23,"menu"); -if(_24){ -if($(_23).is(":visible")){ -_22($(_23)); -_24.options.onHide.call(_23); -} -} -return false; -}; -function _25(_26,_27){ -var _28,top; -_27=_27||{}; -var _29=$(_27.menu||_26); -if(_29.hasClass("menu-top")){ -var _2a=$.data(_26,"menu").options; -$.extend(_2a,_27); -_28=_2a.left; -top=_2a.top; -if(_2a.alignTo){ -var at=$(_2a.alignTo); -_28=at.offset().left; -top=at.offset().top+at._outerHeight(); -} -if(_28+_29.outerWidth()>$(window)._outerWidth()+$(document)._scrollLeft()){ -_28=$(window)._outerWidth()+$(document).scrollLeft()-_29.outerWidth()-5; -} -if(top+_29.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-_29.outerHeight()-5; -} -}else{ -var _2b=_27.parent; -_28=_2b.offset().left+_2b.outerWidth()-2; -if(_28+_29.outerWidth()+5>$(window)._outerWidth()+$(document).scrollLeft()){ -_28=_2b.offset().left-_29.outerWidth()+2; -} -var top=_2b.offset().top-3; -if(top+_29.outerHeight()>$(window)._outerHeight()+$(document).scrollTop()){ -top=$(window)._outerHeight()+$(document).scrollTop()-_29.outerHeight()-5; -} -} -_29.css({left:_28,top:top}); -_29.show(0,function(){ -if(!_29[0].shadow){ -_29[0].shadow=$("
                        ").insertAfter(_29); -} -_29[0].shadow.css({display:"block",zIndex:$.fn.menu.defaults.zIndex++,left:_29.css("left"),top:_29.css("top"),width:_29.outerWidth(),height:_29.outerHeight()}); -_29.css("z-index",$.fn.menu.defaults.zIndex++); -if(_29.hasClass("menu-top")){ -$.data(_29[0],"menu").options.onShow.call(_29[0]); -} -}); -}; -function _22(_2c){ -if(!_2c){ -return; -} -_2d(_2c); -_2c.find("div.menu-item").each(function(){ -if(this.submenu){ -_22(this.submenu); -} -$(this).removeClass("menu-active"); -}); -function _2d(m){ -m.stop(true,true); -if(m[0].shadow){ -m[0].shadow.hide(); -} -m.hide(); -}; -}; -function _2e(_2f,_30){ -var _31=null; -var tmp=$("
                        "); -function _32(_33){ -_33.children("div.menu-item").each(function(){ -var _34=$(_2f).menu("getItem",this); -var s=tmp.empty().html(_34.text).text(); -if(_30==$.trim(s)){ -_31=_34; -}else{ -if(this.submenu&&!_31){ -_32(this.submenu); -} -} -}); -}; -_32($(_2f)); -tmp.remove(); -return _31; -}; -function _f(_35,_36,_37){ -var t=$(_36); -if(!t.hasClass("menu-item")){ -return; -} -if(_37){ -t.addClass("menu-item-disabled"); -if(_36.onclick){ -_36.onclick1=_36.onclick; -_36.onclick=null; -} -}else{ -t.removeClass("menu-item-disabled"); -if(_36.onclick1){ -_36.onclick=_36.onclick1; -_36.onclick1=null; -} -} -}; -function _38(_39,_3a){ -var _3b=$(_39); -if(_3a.parent){ -if(!_3a.parent.submenu){ -var _3c=$("
                        ").appendTo("body"); -_3c.hide(); -_3a.parent.submenu=_3c; -$("
                        ").appendTo(_3a.parent); -} -_3b=_3a.parent.submenu; -} -if(_3a.separator){ -var _3d=$("
                        ").appendTo(_3b); -}else{ -var _3d=$("
                        ").appendTo(_3b); -$("
                        ").html(_3a.text).appendTo(_3d); -} -if(_3a.iconCls){ -$("
                        ").addClass(_3a.iconCls).appendTo(_3d); -} -if(_3a.id){ -_3d.attr("id",_3a.id); -} -if(_3a.name){ -_3d[0].itemName=_3a.name; -} -if(_3a.href){ -_3d[0].itemHref=_3a.href; -} -if(_3a.onclick){ -if(typeof _3a.onclick=="string"){ -_3d.attr("onclick",_3a.onclick); -}else{ -_3d[0].onclick=eval(_3a.onclick); -} -} -if(_3a.handler){ -_3d[0].onclick=eval(_3a.handler); -} -if(_3a.disabled){ -_f(_39,_3d[0],true); -} -_10(_39,_3d); -_12(_39,_3b); -_11(_39,_3b); -}; -function _3e(_3f,_40){ -function _41(el){ -if(el.submenu){ -el.submenu.children("div.menu-item").each(function(){ -_41(this); -}); -var _42=el.submenu[0].shadow; -if(_42){ -_42.remove(); -} -el.submenu.remove(); -} -$(el).remove(); -}; -_41(_40); -}; -function _43(_44){ -$(_44).children("div.menu-item").each(function(){ -_3e(_44,this); -}); -if(_44.shadow){ -_44.shadow.remove(); -} -$(_44).remove(); -}; -$.fn.menu=function(_45,_46){ -if(typeof _45=="string"){ -return $.fn.menu.methods[_45](this,_46); -} -_45=_45||{}; -return this.each(function(){ -var _47=$.data(this,"menu"); -if(_47){ -$.extend(_47.options,_45); -}else{ -_47=$.data(this,"menu",{options:$.extend({},$.fn.menu.defaults,$.fn.menu.parseOptions(this),_45)}); -_1(this); -} -$(this).css({left:_47.options.left,top:_47.options.top}); -}); -}; -$.fn.menu.methods={options:function(jq){ -return $.data(jq[0],"menu").options; -},show:function(jq,pos){ -return jq.each(function(){ -_25(this,pos); -}); -},hide:function(jq){ -return jq.each(function(){ -_1b(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_43(this); -}); -},setText:function(jq,_48){ -return jq.each(function(){ -$(_48.target).children("div.menu-text").html(_48.text); -}); -},setIcon:function(jq,_49){ -return jq.each(function(){ -var _4a=$(this).menu("getItem",_49.target); -if(_4a.iconCls){ -$(_4a.target).children("div.menu-icon").removeClass(_4a.iconCls).addClass(_49.iconCls); -}else{ -$("
                        ").addClass(_49.iconCls).appendTo(_49.target); -} -}); -},getItem:function(jq,_4b){ -var t=$(_4b); -var _4c={target:_4b,id:t.attr("id"),text:$.trim(t.children("div.menu-text").html()),disabled:t.hasClass("menu-item-disabled"),name:_4b.itemName,href:_4b.itemHref,onclick:_4b.onclick}; -var _4d=t.children("div.menu-icon"); -if(_4d.length){ -var cc=[]; -var aa=_4d.attr("class").split(" "); -for(var i=0;i "})); -if(_3.menu){ -$(_3.menu).menu(); -var _5=$(_3.menu).menu("options"); -var _6=_5.onShow; -var _7=_5.onHide; -$.extend(_5,{onShow:function(){ -var _8=$(this).menu("options"); -var _9=$(_8.alignTo); -var _a=_9.menubutton("options"); -_9.addClass((_a.plain==true)?_a.cls.btn2:_a.cls.btn1); -_6.call(this); -},onHide:function(){ -var _b=$(this).menu("options"); -var _c=$(_b.alignTo); -var _d=_c.menubutton("options"); -_c.removeClass((_d.plain==true)?_d.cls.btn2:_d.cls.btn1); -_7.call(this); -}}); -} -_e(_2,_3.disabled); -}; -function _e(_f,_10){ -var _11=$.data(_f,"menubutton").options; -_11.disabled=_10; -var btn=$(_f); -var t=btn.find("."+_11.cls.trigger); -if(!t.length){ -t=btn; -} -t.unbind(".menubutton"); -if(_10){ -btn.linkbutton("disable"); -}else{ -btn.linkbutton("enable"); -var _12=null; -t.bind("click.menubutton",function(){ -_13(_f); -return false; -}).bind("mouseenter.menubutton",function(){ -_12=setTimeout(function(){ -_13(_f); -},_11.duration); -return false; -}).bind("mouseleave.menubutton",function(){ -if(_12){ -clearTimeout(_12); -} -}); -} -}; -function _13(_14){ -var _15=$.data(_14,"menubutton").options; -if(_15.disabled||!_15.menu){ -return; -} -$("body>div.menu-top").menu("hide"); -var btn=$(_14); -var mm=$(_15.menu); -if(mm.length){ -mm.menu("options").alignTo=btn; -mm.menu("show",{alignTo:btn}); -} -btn.blur(); -}; -$.fn.menubutton=function(_16,_17){ -if(typeof _16=="string"){ -var _18=$.fn.menubutton.methods[_16]; -if(_18){ -return _18(this,_17); -}else{ -return this.linkbutton(_16,_17); -} -} -_16=_16||{}; -return this.each(function(){ -var _19=$.data(this,"menubutton"); -if(_19){ -$.extend(_19.options,_16); -}else{ -$.data(this,"menubutton",{options:$.extend({},$.fn.menubutton.defaults,$.fn.menubutton.parseOptions(this),_16)}); -$(this).removeAttr("disabled"); -} -_1(this); -}); -}; -$.fn.menubutton.methods={options:function(jq){ -var _1a=jq.linkbutton("options"); -var _1b=$.data(jq[0],"menubutton").options; -_1b.toggle=_1a.toggle; -_1b.selected=_1a.selected; -return _1b; -},enable:function(jq){ -return jq.each(function(){ -_e(this,false); -}); -},disable:function(jq){ -return jq.each(function(){ -_e(this,true); -}); -},destroy:function(jq){ -return jq.each(function(){ -var _1c=$(this).menubutton("options"); -if(_1c.menu){ -$(_1c.menu).menu("destroy"); -} -$(this).remove(); -}); -}}; -$.fn.menubutton.parseOptions=function(_1d){ -var t=$(_1d); -return $.extend({},$.fn.linkbutton.parseOptions(_1d),$.parser.parseOptions(_1d,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.menubutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"m-btn-active",btn2:"m-btn-plain-active",arrow:"m-btn-downarrow",trigger:"m-btn"}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.messager.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.messager.js deleted file mode 100644 index cac658127428e8cb8f6e061f1167d3c122062cb1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.messager.js +++ /dev/null @@ -1,217 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(el,_2,_3,_4){ -var _5=$(el).window("window"); -if(!_5){ -return; -} -switch(_2){ -case null: -_5.show(); -break; -case "slide": -_5.slideDown(_3); -break; -case "fade": -_5.fadeIn(_3); -break; -case "show": -_5.show(_3); -break; -} -var _6=null; -if(_4>0){ -_6=setTimeout(function(){ -_7(el,_2,_3); -},_4); -} -_5.hover(function(){ -if(_6){ -clearTimeout(_6); -} -},function(){ -if(_4>0){ -_6=setTimeout(function(){ -_7(el,_2,_3); -},_4); -} -}); -}; -function _7(el,_8,_9){ -if(el.locked==true){ -return; -} -el.locked=true; -var _a=$(el).window("window"); -if(!_a){ -return; -} -switch(_8){ -case null: -_a.hide(); -break; -case "slide": -_a.slideUp(_9); -break; -case "fade": -_a.fadeOut(_9); -break; -case "show": -_a.hide(_9); -break; -} -setTimeout(function(){ -$(el).window("destroy"); -},_9); -}; -function _b(_c){ -var _d=$.extend({},$.fn.window.defaults,{collapsible:false,minimizable:false,maximizable:false,shadow:false,draggable:false,resizable:false,closed:true,style:{left:"",top:"",right:0,zIndex:$.fn.window.defaults.zIndex++,bottom:-document.body.scrollTop-document.documentElement.scrollTop},onBeforeOpen:function(){ -_1(this,_d.showType,_d.showSpeed,_d.timeout); -return false; -},onBeforeClose:function(){ -_7(this,_d.showType,_d.showSpeed); -return false; -}},{title:"",width:250,height:100,showType:"slide",showSpeed:600,msg:"",timeout:4000},_c); -_d.style.zIndex=$.fn.window.defaults.zIndex++; -var _e=$("
                        ").html(_d.msg).appendTo("body"); -_e.window(_d); -_e.window("window").css(_d.style); -_e.window("open"); -return _e; -}; -function _f(_10,_11,_12){ -var win=$("
                        ").appendTo("body"); -win.append(_11); -if(_12){ -var tb=$("
                        ").appendTo(win); -for(var _13 in _12){ -$("").attr("href","javascript:void(0)").text(_13).css("margin-left",10).bind("click",eval(_12[_13])).appendTo(tb).linkbutton(); -} -} -win.window({title:_10,noheader:(_10?false:true),width:300,height:"auto",modal:true,collapsible:false,minimizable:false,maximizable:false,resizable:false,onClose:function(){ -setTimeout(function(){ -win.window("destroy"); -},100); -}}); -win.window("window").addClass("messager-window"); -win.children("div.messager-button").children("a:first").focus(); -return win; -}; -$.messager={show:function(_14){ -return _b(_14); -},alert:function(_15,msg,_16,fn){ -var _17="
                        "+msg+"
                        "; -switch(_16){ -case "error": -_17="
                        "+_17; -break; -case "info": -_17="
                        "+_17; -break; -case "question": -_17="
                        "+_17; -break; -case "warning": -_17="
                        "+_17; -break; -} -_17+="
                        "; -var _18={}; -_18[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_f(_15,_17,_18); -return win; -},confirm:function(_19,msg,fn){ -var _1a="
                        "+"
                        "+msg+"
                        "+"
                        "; -var _1b={}; -_1b[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn(true); -return false; -} -}; -_1b[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(false); -return false; -} -}; -var win=_f(_19,_1a,_1b); -return win; -},prompt:function(_1c,msg,fn){ -var _1d="
                        "+"
                        "+msg+"
                        "+"
                        "+"
                        "+"
                        "; -var _1e={}; -_1e[$.messager.defaults.ok]=function(){ -win.window("close"); -if(fn){ -fn($(".messager-input",win).val()); -return false; -} -}; -_1e[$.messager.defaults.cancel]=function(){ -win.window("close"); -if(fn){ -fn(); -return false; -} -}; -var win=_f(_1c,_1d,_1e); -win.children("input.messager-input").focus(); -return win; -},progress:function(_1f){ -var _20={bar:function(){ -return $("body>div.messager-window").find("div.messager-p-bar"); -},close:function(){ -var win=$("body>div.messager-window>div.messager-body:has(div.messager-progress)"); -if(win.length){ -win.window("close"); -} -}}; -if(typeof _1f=="string"){ -var _21=_20[_1f]; -return _21(); -} -var _22=$.extend({title:"",msg:"",text:undefined,interval:300},_1f||{}); -var _23="
                        "; -var win=_f(_22.title,_23,null); -win.find("div.messager-p-msg").html(_22.msg); -var bar=win.find("div.messager-p-bar"); -bar.progressbar({text:_22.text}); -win.window({closable:false,onClose:function(){ -if(this.timer){ -clearInterval(this.timer); -} -$(this).window("destroy"); -}}); -if(_22.interval){ -win[0].timer=setInterval(function(){ -var v=bar.progressbar("getValue"); -v+=10; -if(v>100){ -v=0; -} -bar.progressbar("setValue",v); -},_22.interval); -} -return win; -}}; -$.messager.defaults={ok:"Ok",cancel:"Cancel"}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.numberbox.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.numberbox.js deleted file mode 100644 index edc303856b9274ad3b0f99794f9a30111d8c88fc..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.numberbox.js +++ /dev/null @@ -1,224 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("numberbox-f"); -var v=$("").insertAfter(_2); -var _3=$(_2).attr("name"); -if(_3){ -v.attr("name",_3); -$(_2).removeAttr("name").attr("numberboxName",_3); -} -return v; -}; -function _4(_5){ -var _6=$.data(_5,"numberbox").options; -var fn=_6.onChange; -_6.onChange=function(){ -}; -_7(_5,_6.parser.call(_5,_6.value)); -_6.onChange=fn; -_6.originalValue=_8(_5); -}; -function _8(_9){ -return $.data(_9,"numberbox").field.val(); -}; -function _7(_a,_b){ -var _c=$.data(_a,"numberbox"); -var _d=_c.options; -var _e=_8(_a); -_b=_d.parser.call(_a,_b); -_d.value=_b; -_c.field.val(_b); -$(_a).val(_d.formatter.call(_a,_b)); -if(_e!=_b){ -_d.onChange.call(_a,_b,_e); -} -}; -function _f(_10){ -var _11=$.data(_10,"numberbox").options; -$(_10).unbind(".numberbox").bind("keypress.numberbox",function(e){ -return _11.filter.call(_10,e); -}).bind("blur.numberbox",function(){ -_7(_10,$(this).val()); -$(this).val(_11.formatter.call(_10,_8(_10))); -}).bind("focus.numberbox",function(){ -var vv=_8(_10); -if(vv!=_11.parser.call(_10,$(this).val())){ -$(this).val(_11.formatter.call(_10,vv)); -} -}); -}; -function _12(_13){ -if($.fn.validatebox){ -var _14=$.data(_13,"numberbox").options; -$(_13).validatebox(_14); -} -}; -function _15(_16,_17){ -var _18=$.data(_16,"numberbox").options; -if(_17){ -_18.disabled=true; -$(_16).attr("disabled",true); -}else{ -_18.disabled=false; -$(_16).removeAttr("disabled"); -} -}; -$.fn.numberbox=function(_19,_1a){ -if(typeof _19=="string"){ -var _1b=$.fn.numberbox.methods[_19]; -if(_1b){ -return _1b(this,_1a); -}else{ -return this.validatebox(_19,_1a); -} -} -_19=_19||{}; -return this.each(function(){ -var _1c=$.data(this,"numberbox"); -if(_1c){ -$.extend(_1c.options,_19); -}else{ -_1c=$.data(this,"numberbox",{options:$.extend({},$.fn.numberbox.defaults,$.fn.numberbox.parseOptions(this),_19),field:_1(this)}); -$(this).removeAttr("disabled"); -$(this).css({imeMode:"disabled"}); -} -_15(this,_1c.options.disabled); -_f(this); -_12(this); -_4(this); -}); -}; -$.fn.numberbox.methods={options:function(jq){ -return $.data(jq[0],"numberbox").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"numberbox").field.remove(); -$(this).validatebox("destroy"); -$(this).remove(); -}); -},disable:function(jq){ -return jq.each(function(){ -_15(this,true); -}); -},enable:function(jq){ -return jq.each(function(){ -_15(this,false); -}); -},fix:function(jq){ -return jq.each(function(){ -_7(this,$(this).val()); -}); -},setValue:function(jq,_1d){ -return jq.each(function(){ -_7(this,_1d); -}); -},getValue:function(jq){ -return _8(jq[0]); -},clear:function(jq){ -return jq.each(function(){ -var _1e=$.data(this,"numberbox"); -_1e.field.val(""); -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var _1f=$(this).numberbox("options"); -$(this).numberbox("setValue",_1f.originalValue); -}); -}}; -$.fn.numberbox.parseOptions=function(_20){ -var t=$(_20); -return $.extend({},$.fn.validatebox.parseOptions(_20),$.parser.parseOptions(_20,["decimalSeparator","groupSeparator","suffix",{min:"number",max:"number",precision:"number"}]),{prefix:(t.attr("prefix")?t.attr("prefix"):undefined),disabled:(t.attr("disabled")?true:undefined),value:(t.val()||undefined)}); -}; -$.fn.numberbox.defaults=$.extend({},$.fn.validatebox.defaults,{disabled:false,value:"",min:null,max:null,precision:0,decimalSeparator:".",groupSeparator:"",prefix:"",suffix:"",filter:function(e){ -var _21=$(this).numberbox("options"); -if(e.which==45){ -return ($(this).val().indexOf("-")==-1?true:false); -} -var c=String.fromCharCode(e.which); -if(c==_21.decimalSeparator){ -return ($(this).val().indexOf(c)==-1?true:false); -}else{ -if(c==_21.groupSeparator){ -return true; -}else{ -if((e.which>=48&&e.which<=57&&e.ctrlKey==false&&e.shiftKey==false)||e.which==0||e.which==8){ -return true; -}else{ -if(e.ctrlKey==true&&(e.which==99||e.which==118)){ -return true; -}else{ -return false; -} -} -} -} -},formatter:function(_22){ -if(!_22){ -return _22; -} -_22=_22+""; -var _23=$(this).numberbox("options"); -var s1=_22,s2=""; -var _24=_22.indexOf("."); -if(_24>=0){ -s1=_22.substring(0,_24); -s2=_22.substring(_24+1,_22.length); -} -if(_23.groupSeparator){ -var p=/(\d+)(\d{3})/; -while(p.test(s1)){ -s1=s1.replace(p,"$1"+_23.groupSeparator+"$2"); -} -} -if(s2){ -return _23.prefix+s1+_23.decimalSeparator+s2+_23.suffix; -}else{ -return _23.prefix+s1+_23.suffix; -} -},parser:function(s){ -s=s+""; -var _25=$(this).numberbox("options"); -if(parseFloat(s)!=s){ -if(_25.prefix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(_25.prefix),"g"),"")); -} -if(_25.suffix){ -s=$.trim(s.replace(new RegExp("\\"+$.trim(_25.suffix),"g"),"")); -} -if(_25.groupSeparator){ -s=$.trim(s.replace(new RegExp("\\"+_25.groupSeparator,"g"),"")); -} -if(_25.decimalSeparator){ -s=$.trim(s.replace(new RegExp("\\"+_25.decimalSeparator,"g"),".")); -} -s=s.replace(/\s/g,""); -} -var val=parseFloat(s).toFixed(_25.precision); -if(isNaN(val)){ -val=""; -}else{ -if(typeof (_25.min)=="number"&&val<_25.min){ -val=_25.min.toFixed(_25.precision); -}else{ -if(typeof (_25.max)=="number"&&val>_25.max){ -val=_25.max.toFixed(_25.precision); -} -} -} -return val; -},onChange:function(_26,_27){ -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.numberspinner.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.numberspinner.js deleted file mode 100644 index 5856610f5ad331eb92bffc3b320955dd12b23f0c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.numberspinner.js +++ /dev/null @@ -1,75 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("numberspinner-f"); -var _3=$.data(_2,"numberspinner").options; -$(_2).spinner(_3).numberbox(_3); -}; -function _4(_5,_6){ -var _7=$.data(_5,"numberspinner").options; -var v=parseFloat($(_5).numberbox("getValue")||_7.value)||0; -if(_6==true){ -v-=_7.increment; -}else{ -v+=_7.increment; -} -$(_5).numberbox("setValue",v); -}; -$.fn.numberspinner=function(_8,_9){ -if(typeof _8=="string"){ -var _a=$.fn.numberspinner.methods[_8]; -if(_a){ -return _a(this,_9); -}else{ -return this.spinner(_8,_9); -} -} -_8=_8||{}; -return this.each(function(){ -var _b=$.data(this,"numberspinner"); -if(_b){ -$.extend(_b.options,_8); -}else{ -$.data(this,"numberspinner",{options:$.extend({},$.fn.numberspinner.defaults,$.fn.numberspinner.parseOptions(this),_8)}); -} -_1(this); -}); -}; -$.fn.numberspinner.methods={options:function(jq){ -var _c=$.data(jq[0],"numberspinner").options; -return $.extend(_c,{value:jq.numberbox("getValue"),originalValue:jq.numberbox("options").originalValue}); -},setValue:function(jq,_d){ -return jq.each(function(){ -$(this).numberbox("setValue",_d); -}); -},getValue:function(jq){ -return jq.numberbox("getValue"); -},clear:function(jq){ -return jq.each(function(){ -$(this).spinner("clear"); -$(this).numberbox("clear"); -}); -},reset:function(jq){ -return jq.each(function(){ -var _e=$(this).numberspinner("options"); -$(this).numberspinner("setValue",_e.originalValue); -}); -}}; -$.fn.numberspinner.parseOptions=function(_f){ -return $.extend({},$.fn.spinner.parseOptions(_f),$.fn.numberbox.parseOptions(_f),{}); -}; -$.fn.numberspinner.defaults=$.extend({},$.fn.spinner.defaults,$.fn.numberbox.defaults,{spin:function(_10){ -_4(this,_10); -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.pagination.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.pagination.js deleted file mode 100644 index fa20f58ab565eb1890c23366f8b39a6ebdc98914..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.pagination.js +++ /dev/null @@ -1,284 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"pagination"); -var _4=_3.options; -var bb=_3.bb={}; -var _5=$(_2).addClass("pagination").html("
                        "); -var tr=_5.find("tr"); -var aa=$.extend([],_4.layout); -if(!_4.showPageList){ -_6(aa,"list"); -} -if(!_4.showRefresh){ -_6(aa,"refresh"); -} -if(aa[0]=="sep"){ -aa.shift(); -} -if(aa[aa.length-1]=="sep"){ -aa.pop(); -} -for(var _7=0;_7"); -ps.bind("change",function(){ -_4.pageSize=parseInt($(this).val()); -_4.onChangePageSize.call(_2,_4.pageSize); -_10(_2,_4.pageNumber); -}); -for(var i=0;i<_4.pageList.length;i++){ -$("").text(_4.pageList[i]).appendTo(ps); -} -$("").append(ps).appendTo(tr); -}else{ -if(_8=="sep"){ -$("
                        ").appendTo(tr); -}else{ -if(_8=="first"){ -bb.first=_9("first"); -}else{ -if(_8=="prev"){ -bb.prev=_9("prev"); -}else{ -if(_8=="next"){ -bb.next=_9("next"); -}else{ -if(_8=="last"){ -bb.last=_9("last"); -}else{ -if(_8=="manual"){ -$("").html(_4.beforePageText).appendTo(tr).wrap(""); -bb.num=$("").appendTo(tr).wrap(""); -bb.num.unbind(".pagination").bind("keydown.pagination",function(e){ -if(e.keyCode==13){ -var _a=parseInt($(this).val())||1; -_10(_2,_a); -return false; -} -}); -bb.after=$("").appendTo(tr).wrap(""); -}else{ -if(_8=="refresh"){ -bb.refresh=_9("refresh"); -}else{ -if(_8=="links"){ -$("").appendTo(tr); -} -} -} -} -} -} -} -} -} -} -if(_4.buttons){ -$("
                        ").appendTo(tr); -if($.isArray(_4.buttons)){ -for(var i=0;i<_4.buttons.length;i++){ -var _b=_4.buttons[i]; -if(_b=="-"){ -$("
                        ").appendTo(tr); -}else{ -var td=$("").appendTo(tr); -var a=$("").appendTo(td); -a[0].onclick=eval(_b.handler||function(){ -}); -a.linkbutton($.extend({},_b,{plain:true})); -} -} -}else{ -var td=$("").appendTo(tr); -$(_4.buttons).appendTo(td).show(); -} -} -$("
                        ").appendTo(_5); -$("
                        ").appendTo(_5); -function _9(_c){ -var _d=_4.nav[_c]; -var a=$("").appendTo(tr); -a.wrap(""); -a.linkbutton({iconCls:_d.iconCls,plain:true}).unbind(".pagination").bind("click.pagination",function(){ -_d.handler.call(_2); -}); -return a; -}; -function _6(aa,_e){ -var _f=$.inArray(_e,aa); -if(_f>=0){ -aa.splice(_f,1); -} -return aa; -}; -}; -function _10(_11,_12){ -var _13=$.data(_11,"pagination").options; -_14(_11,{pageNumber:_12}); -_13.onSelectPage.call(_11,_13.pageNumber,_13.pageSize); -}; -function _14(_15,_16){ -var _17=$.data(_15,"pagination"); -var _18=_17.options; -var bb=_17.bb; -$.extend(_18,_16||{}); -var ps=$(_15).find("select.pagination-page-list"); -if(ps.length){ -ps.val(_18.pageSize+""); -_18.pageSize=parseInt(ps.val()); -} -var _19=Math.ceil(_18.total/_18.pageSize)||1; -if(_18.pageNumber<1){ -_18.pageNumber=1; -} -if(_18.pageNumber>_19){ -_18.pageNumber=_19; -} -if(bb.num){ -bb.num.val(_18.pageNumber); -} -if(bb.after){ -bb.after.html(_18.afterPageText.replace(/{pages}/,_19)); -} -var td=$(_15).find("td.pagination-links"); -if(td.length){ -td.empty(); -var _1a=_18.pageNumber-Math.floor(_18.links/2); -if(_1a<1){ -_1a=1; -} -var _1b=_1a+_18.links-1; -if(_1b>_19){ -_1b=_19; -} -_1a=_1b-_18.links+1; -if(_1a<1){ -_1a=1; -} -for(var i=_1a;i<=_1b;i++){ -var a=$("").appendTo(td); -a.linkbutton({plain:true,text:i}); -if(i==_18.pageNumber){ -a.linkbutton("select"); -}else{ -a.unbind(".pagination").bind("click.pagination",{pageNumber:i},function(e){ -_10(_15,e.data.pageNumber); -}); -} -} -} -var _1c=_18.displayMsg; -_1c=_1c.replace(/{from}/,_18.total==0?0:_18.pageSize*(_18.pageNumber-1)+1); -_1c=_1c.replace(/{to}/,Math.min(_18.pageSize*(_18.pageNumber),_18.total)); -_1c=_1c.replace(/{total}/,_18.total); -$(_15).find("div.pagination-info").html(_1c); -if(bb.first){ -bb.first.linkbutton({disabled:(_18.pageNumber==1)}); -} -if(bb.prev){ -bb.prev.linkbutton({disabled:(_18.pageNumber==1)}); -} -if(bb.next){ -bb.next.linkbutton({disabled:(_18.pageNumber==_19)}); -} -if(bb.last){ -bb.last.linkbutton({disabled:(_18.pageNumber==_19)}); -} -_1d(_15,_18.loading); -}; -function _1d(_1e,_1f){ -var _20=$.data(_1e,"pagination"); -var _21=_20.options; -_21.loading=_1f; -if(_21.showRefresh&&_20.bb.refresh){ -_20.bb.refresh.linkbutton({iconCls:(_21.loading?"pagination-loading":"pagination-load")}); -} -}; -$.fn.pagination=function(_22,_23){ -if(typeof _22=="string"){ -return $.fn.pagination.methods[_22](this,_23); -} -_22=_22||{}; -return this.each(function(){ -var _24; -var _25=$.data(this,"pagination"); -if(_25){ -_24=$.extend(_25.options,_22); -}else{ -_24=$.extend({},$.fn.pagination.defaults,$.fn.pagination.parseOptions(this),_22); -$.data(this,"pagination",{options:_24}); -} -_1(this); -_14(this); -}); -}; -$.fn.pagination.methods={options:function(jq){ -return $.data(jq[0],"pagination").options; -},loading:function(jq){ -return jq.each(function(){ -_1d(this,true); -}); -},loaded:function(jq){ -return jq.each(function(){ -_1d(this,false); -}); -},refresh:function(jq,_26){ -return jq.each(function(){ -_14(this,_26); -}); -},select:function(jq,_27){ -return jq.each(function(){ -_10(this,_27); -}); -}}; -$.fn.pagination.parseOptions=function(_28){ -var t=$(_28); -return $.extend({},$.parser.parseOptions(_28,[{total:"number",pageSize:"number",pageNumber:"number",links:"number"},{loading:"boolean",showPageList:"boolean",showRefresh:"boolean"}]),{pageList:(t.attr("pageList")?eval(t.attr("pageList")):undefined)}); -}; -$.fn.pagination.defaults={total:1,pageSize:10,pageNumber:1,pageList:[10,20,30,50],loading:false,buttons:null,showPageList:true,showRefresh:true,links:10,layout:["list","sep","first","prev","sep","manual","sep","next","last","sep","refresh"],onSelectPage:function(_29,_2a){ -},onBeforeRefresh:function(_2b,_2c){ -},onRefresh:function(_2d,_2e){ -},onChangePageSize:function(_2f){ -},beforePageText:"Page",afterPageText:"of {pages}",displayMsg:"Displaying {from} to {to} of {total} items",nav:{first:{iconCls:"pagination-first",handler:function(){ -var _30=$(this).pagination("options"); -if(_30.pageNumber>1){ -$(this).pagination("select",1); -} -}},prev:{iconCls:"pagination-prev",handler:function(){ -var _31=$(this).pagination("options"); -if(_31.pageNumber>1){ -$(this).pagination("select",_31.pageNumber-1); -} -}},next:{iconCls:"pagination-next",handler:function(){ -var _32=$(this).pagination("options"); -var _33=Math.ceil(_32.total/_32.pageSize); -if(_32.pageNumber<_33){ -$(this).pagination("select",_32.pageNumber+1); -} -}},last:{iconCls:"pagination-last",handler:function(){ -var _34=$(this).pagination("options"); -var _35=Math.ceil(_34.total/_34.pageSize); -if(_34.pageNumber<_35){ -$(this).pagination("select",_35); -} -}},refresh:{iconCls:"pagination-refresh",handler:function(){ -var _36=$(this).pagination("options"); -if(_36.onBeforeRefresh.call(this,_36.pageNumber,_36.pageSize)!=false){ -$(this).pagination("select",_36.pageNumber); -_36.onRefresh.call(this,_36.pageNumber,_36.pageSize); -} -}}}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.panel.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.panel.js deleted file mode 100644 index 0956a0bb06db206233e00536bdeb637cae91a41f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.panel.js +++ /dev/null @@ -1,520 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -$.fn._remove=function(){ -return this.each(function(){ -$(this).remove(); -try{ -this.outerHTML=""; -} -catch(err){ -} -}); -}; -function _1(_2){ -_2._remove(); -}; -function _3(_4,_5){ -var _6=$.data(_4,"panel").options; -var _7=$.data(_4,"panel").panel; -var _8=_7.children("div.panel-header"); -var _9=_7.children("div.panel-body"); -if(_5){ -$.extend(_6,{width:_5.width,height:_5.height,left:_5.left,top:_5.top}); -} -_6.fit?$.extend(_6,_7._fit()):_7._fit(false); -_7.css({left:_6.left,top:_6.top}); -if(!isNaN(_6.width)){ -_7._outerWidth(_6.width); -}else{ -_7.width("auto"); -} -_8.add(_9)._outerWidth(_7.width()); -if(!isNaN(_6.height)){ -_7._outerHeight(_6.height); -_9._outerHeight(_7.height()-_8._outerHeight()); -}else{ -_9.height("auto"); -} -_7.css("height",""); -_6.onResize.apply(_4,[_6.width,_6.height]); -$(_4).find(">div,>form>div").triggerHandler("_resize"); -}; -function _a(_b,_c){ -var _d=$.data(_b,"panel").options; -var _e=$.data(_b,"panel").panel; -if(_c){ -if(_c.left!=null){ -_d.left=_c.left; -} -if(_c.top!=null){ -_d.top=_c.top; -} -} -_e.css({left:_d.left,top:_d.top}); -_d.onMove.apply(_b,[_d.left,_d.top]); -}; -function _f(_10){ -$(_10).addClass("panel-body"); -var _11=$("
                        ").insertBefore(_10); -_11[0].appendChild(_10); -_11.bind("_resize",function(){ -var _12=$.data(_10,"panel").options; -if(_12.fit==true){ -_3(_10); -} -return false; -}); -return _11; -}; -function _13(_14){ -var _15=$.data(_14,"panel").options; -var _16=$.data(_14,"panel").panel; -if(_15.tools&&typeof _15.tools=="string"){ -_16.find(">div.panel-header>div.panel-tool .panel-tool-a").appendTo(_15.tools); -} -_1(_16.children("div.panel-header")); -if(_15.title&&!_15.noheader){ -var _17=$("
                        "+_15.title+"
                        ").prependTo(_16); -if(_15.iconCls){ -_17.find(".panel-title").addClass("panel-with-icon"); -$("
                        ").addClass(_15.iconCls).appendTo(_17); -} -var _18=$("
                        ").appendTo(_17); -_18.bind("click",function(e){ -e.stopPropagation(); -}); -if(_15.tools){ -if($.isArray(_15.tools)){ -for(var i=0;i<_15.tools.length;i++){ -var t=$("").addClass(_15.tools[i].iconCls).appendTo(_18); -if(_15.tools[i].handler){ -t.bind("click",eval(_15.tools[i].handler)); -} -} -}else{ -$(_15.tools).children().each(function(){ -$(this).addClass($(this).attr("iconCls")).addClass("panel-tool-a").appendTo(_18); -}); -} -} -if(_15.collapsible){ -$("").appendTo(_18).bind("click",function(){ -if(_15.collapsed==true){ -_3c(_14,true); -}else{ -_2c(_14,true); -} -return false; -}); -} -if(_15.minimizable){ -$("").appendTo(_18).bind("click",function(){ -_47(_14); -return false; -}); -} -if(_15.maximizable){ -$("").appendTo(_18).bind("click",function(){ -if(_15.maximized==true){ -_4b(_14); -}else{ -_2b(_14); -} -return false; -}); -} -if(_15.closable){ -$("").appendTo(_18).bind("click",function(){ -_19(_14); -return false; -}); -} -_16.children("div.panel-body").removeClass("panel-body-noheader"); -}else{ -_16.children("div.panel-body").addClass("panel-body-noheader"); -} -}; -function _1a(_1b){ -var _1c=$.data(_1b,"panel"); -var _1d=_1c.options; -if(_1d.href){ -if(!_1c.isLoaded||!_1d.cache){ -if(_1d.onBeforeLoad.call(_1b)==false){ -return; -} -_1c.isLoaded=false; -_1e(_1b); -if(_1d.loadingMessage){ -$(_1b).html($("
                        ").html(_1d.loadingMessage)); -} -$.ajax({url:_1d.href,cache:false,dataType:"html",success:function(_1f){ -_20(_1d.extractor.call(_1b,_1f)); -_1d.onLoad.apply(_1b,arguments); -_1c.isLoaded=true; -}}); -} -}else{ -if(_1d.content){ -if(!_1c.isLoaded){ -_1e(_1b); -_20(_1d.content); -_1c.isLoaded=true; -} -} -} -function _20(_21){ -$(_1b).html(_21); -if($.parser){ -$.parser.parse($(_1b)); -} -}; -}; -function _1e(_22){ -var t=$(_22); -t.find(".combo-f").each(function(){ -$(this).combo("destroy"); -}); -t.find(".m-btn").each(function(){ -$(this).menubutton("destroy"); -}); -t.find(".s-btn").each(function(){ -$(this).splitbutton("destroy"); -}); -t.find(".tooltip-f").each(function(){ -$(this).tooltip("destroy"); -}); -}; -function _23(_24){ -$(_24).find("div.panel:visible,div.accordion:visible,div.tabs-container:visible,div.layout:visible").each(function(){ -$(this).triggerHandler("_resize",[true]); -}); -}; -function _25(_26,_27){ -var _28=$.data(_26,"panel").options; -var _29=$.data(_26,"panel").panel; -if(_27!=true){ -if(_28.onBeforeOpen.call(_26)==false){ -return; -} -} -_29.show(); -_28.closed=false; -_28.minimized=false; -var _2a=_29.children("div.panel-header").find("a.panel-tool-restore"); -if(_2a.length){ -_28.maximized=true; -} -_28.onOpen.call(_26); -if(_28.maximized==true){ -_28.maximized=false; -_2b(_26); -} -if(_28.collapsed==true){ -_28.collapsed=false; -_2c(_26); -} -if(!_28.collapsed){ -_1a(_26); -_23(_26); -} -}; -function _19(_2d,_2e){ -var _2f=$.data(_2d,"panel").options; -var _30=$.data(_2d,"panel").panel; -if(_2e!=true){ -if(_2f.onBeforeClose.call(_2d)==false){ -return; -} -} -_30._fit(false); -_30.hide(); -_2f.closed=true; -_2f.onClose.call(_2d); -}; -function _31(_32,_33){ -var _34=$.data(_32,"panel").options; -var _35=$.data(_32,"panel").panel; -if(_33!=true){ -if(_34.onBeforeDestroy.call(_32)==false){ -return; -} -} -_1e(_32); -_1(_35); -_34.onDestroy.call(_32); -}; -function _2c(_36,_37){ -var _38=$.data(_36,"panel").options; -var _39=$.data(_36,"panel").panel; -var _3a=_39.children("div.panel-body"); -var _3b=_39.children("div.panel-header").find("a.panel-tool-collapse"); -if(_38.collapsed==true){ -return; -} -_3a.stop(true,true); -if(_38.onBeforeCollapse.call(_36)==false){ -return; -} -_3b.addClass("panel-tool-expand"); -if(_37==true){ -_3a.slideUp("normal",function(){ -_38.collapsed=true; -_38.onCollapse.call(_36); -}); -}else{ -_3a.hide(); -_38.collapsed=true; -_38.onCollapse.call(_36); -} -}; -function _3c(_3d,_3e){ -var _3f=$.data(_3d,"panel").options; -var _40=$.data(_3d,"panel").panel; -var _41=_40.children("div.panel-body"); -var _42=_40.children("div.panel-header").find("a.panel-tool-collapse"); -if(_3f.collapsed==false){ -return; -} -_41.stop(true,true); -if(_3f.onBeforeExpand.call(_3d)==false){ -return; -} -_42.removeClass("panel-tool-expand"); -if(_3e==true){ -_41.slideDown("normal",function(){ -_3f.collapsed=false; -_3f.onExpand.call(_3d); -_1a(_3d); -_23(_3d); -}); -}else{ -_41.show(); -_3f.collapsed=false; -_3f.onExpand.call(_3d); -_1a(_3d); -_23(_3d); -} -}; -function _2b(_43){ -var _44=$.data(_43,"panel").options; -var _45=$.data(_43,"panel").panel; -var _46=_45.children("div.panel-header").find("a.panel-tool-max"); -if(_44.maximized==true){ -return; -} -_46.addClass("panel-tool-restore"); -if(!$.data(_43,"panel").original){ -$.data(_43,"panel").original={width:_44.width,height:_44.height,left:_44.left,top:_44.top,fit:_44.fit}; -} -_44.left=0; -_44.top=0; -_44.fit=true; -_3(_43); -_44.minimized=false; -_44.maximized=true; -_44.onMaximize.call(_43); -}; -function _47(_48){ -var _49=$.data(_48,"panel").options; -var _4a=$.data(_48,"panel").panel; -_4a._fit(false); -_4a.hide(); -_49.minimized=true; -_49.maximized=false; -_49.onMinimize.call(_48); -}; -function _4b(_4c){ -var _4d=$.data(_4c,"panel").options; -var _4e=$.data(_4c,"panel").panel; -var _4f=_4e.children("div.panel-header").find("a.panel-tool-max"); -if(_4d.maximized==false){ -return; -} -_4e.show(); -_4f.removeClass("panel-tool-restore"); -$.extend(_4d,$.data(_4c,"panel").original); -_3(_4c); -_4d.minimized=false; -_4d.maximized=false; -$.data(_4c,"panel").original=null; -_4d.onRestore.call(_4c); -}; -function _50(_51){ -var _52=$.data(_51,"panel").options; -var _53=$.data(_51,"panel").panel; -var _54=$(_51).panel("header"); -var _55=$(_51).panel("body"); -_53.css(_52.style); -_53.addClass(_52.cls); -if(_52.border){ -_54.removeClass("panel-header-noborder"); -_55.removeClass("panel-body-noborder"); -}else{ -_54.addClass("panel-header-noborder"); -_55.addClass("panel-body-noborder"); -} -_54.addClass(_52.headerCls); -_55.addClass(_52.bodyCls); -if(_52.id){ -$(_51).attr("id",_52.id); -}else{ -$(_51).attr("id",""); -} -}; -function _56(_57,_58){ -$.data(_57,"panel").options.title=_58; -$(_57).panel("header").find("div.panel-title").html(_58); -}; -var TO=false; -var _59=true; -$(window).unbind(".panel").bind("resize.panel",function(){ -if(!_59){ -return; -} -if(TO!==false){ -clearTimeout(TO); -} -TO=setTimeout(function(){ -_59=false; -var _5a=$("body.layout"); -if(_5a.length){ -_5a.layout("resize"); -}else{ -$("body").children("div.panel,div.accordion,div.tabs-container,div.layout").triggerHandler("_resize"); -} -_59=true; -TO=false; -},200); -}); -$.fn.panel=function(_5b,_5c){ -if(typeof _5b=="string"){ -return $.fn.panel.methods[_5b](this,_5c); -} -_5b=_5b||{}; -return this.each(function(){ -var _5d=$.data(this,"panel"); -var _5e; -if(_5d){ -_5e=$.extend(_5d.options,_5b); -_5d.isLoaded=false; -}else{ -_5e=$.extend({},$.fn.panel.defaults,$.fn.panel.parseOptions(this),_5b); -$(this).attr("title",""); -_5d=$.data(this,"panel",{options:_5e,panel:_f(this),isLoaded:false}); -} -_13(this); -_50(this); -if(_5e.doSize==true){ -_5d.panel.css("display","block"); -_3(this); -} -if(_5e.closed==true||_5e.minimized==true){ -_5d.panel.hide(); -}else{ -_25(this); -} -}); -}; -$.fn.panel.methods={options:function(jq){ -return $.data(jq[0],"panel").options; -},panel:function(jq){ -return $.data(jq[0],"panel").panel; -},header:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-header"); -},body:function(jq){ -return $.data(jq[0],"panel").panel.find(">div.panel-body"); -},setTitle:function(jq,_5f){ -return jq.each(function(){ -_56(this,_5f); -}); -},open:function(jq,_60){ -return jq.each(function(){ -_25(this,_60); -}); -},close:function(jq,_61){ -return jq.each(function(){ -_19(this,_61); -}); -},destroy:function(jq,_62){ -return jq.each(function(){ -_31(this,_62); -}); -},refresh:function(jq,_63){ -return jq.each(function(){ -$.data(this,"panel").isLoaded=false; -if(_63){ -$.data(this,"panel").options.href=_63; -} -_1a(this); -}); -},resize:function(jq,_64){ -return jq.each(function(){ -_3(this,_64); -}); -},move:function(jq,_65){ -return jq.each(function(){ -_a(this,_65); -}); -},maximize:function(jq){ -return jq.each(function(){ -_2b(this); -}); -},minimize:function(jq){ -return jq.each(function(){ -_47(this); -}); -},restore:function(jq){ -return jq.each(function(){ -_4b(this); -}); -},collapse:function(jq,_66){ -return jq.each(function(){ -_2c(this,_66); -}); -},expand:function(jq,_67){ -return jq.each(function(){ -_3c(this,_67); -}); -}}; -$.fn.panel.parseOptions=function(_68){ -var t=$(_68); -return $.extend({},$.parser.parseOptions(_68,["id","width","height","left","top","title","iconCls","cls","headerCls","bodyCls","tools","href",{cache:"boolean",fit:"boolean",border:"boolean",noheader:"boolean"},{collapsible:"boolean",minimizable:"boolean",maximizable:"boolean"},{closable:"boolean",collapsed:"boolean",minimized:"boolean",maximized:"boolean",closed:"boolean"}]),{loadingMessage:(t.attr("loadingMessage")!=undefined?t.attr("loadingMessage"):undefined)}); -}; -$.fn.panel.defaults={id:null,title:null,iconCls:null,width:"auto",height:"auto",left:null,top:null,cls:null,headerCls:null,bodyCls:null,style:{},href:null,cache:true,fit:false,border:true,doSize:true,noheader:false,content:null,collapsible:false,minimizable:false,maximizable:false,closable:false,collapsed:false,minimized:false,maximized:false,closed:false,tools:null,href:null,loadingMessage:"Loading...",extractor:function(_69){ -var _6a=/]*>((.|[\n\r])*)<\/body>/im; -var _6b=_6a.exec(_69); -if(_6b){ -return _6b[1]; -}else{ -return _69; -} -},onBeforeLoad:function(){ -},onLoad:function(){ -},onBeforeOpen:function(){ -},onOpen:function(){ -},onBeforeClose:function(){ -},onClose:function(){ -},onBeforeDestroy:function(){ -},onDestroy:function(){ -},onResize:function(_6c,_6d){ -},onMove:function(_6e,top){ -},onMaximize:function(){ -},onRestore:function(){ -},onMinimize:function(){ -},onBeforeCollapse:function(){ -},onBeforeExpand:function(){ -},onCollapse:function(){ -},onExpand:function(){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.parser.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.parser.js deleted file mode 100644 index 298a0fff2d237d33b259f81bf0d60f05295e74b3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.parser.js +++ /dev/null @@ -1,218 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -$.parser={auto:true,onComplete:function(_1){ -},plugins:["draggable","droppable","resizable","pagination","tooltip","linkbutton","menu","menubutton","splitbutton","progressbar","tree","combobox","combotree","combogrid","numberbox","validatebox","searchbox","numberspinner","timespinner","calendar","datebox","datetimebox","slider","layout","panel","datagrid","propertygrid","treegrid","tabs","accordion","window","dialog"],parse:function(_2){ -var aa=[]; -for(var i=0;i<$.parser.plugins.length;i++){ -var _3=$.parser.plugins[i]; -var r=$(".easyui-"+_3,_2); -if(r.length){ -if(r[_3]){ -r[_3](); -}else{ -aa.push({name:_3,jq:r}); -} -} -} -if(aa.length&&window.easyloader){ -var _4=[]; -for(var i=0;i
                        ").appendTo("body"); -d.width(100); -$._boxModel=parseInt(d.width())==100; -d.remove(); -if(!window.easyloader&&$.parser.auto){ -$.parser.parse(); -} -}); -$.fn._outerWidth=function(_c){ -if(_c==undefined){ -if(this[0]==window){ -return this.width()||document.body.clientWidth; -} -return this.outerWidth()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).width(_c-($(this).outerWidth()-$(this).width())); -}else{ -$(this).width(_c); -} -}); -}; -$.fn._outerHeight=function(_d){ -if(_d==undefined){ -if(this[0]==window){ -return this.height()||document.body.clientHeight; -} -return this.outerHeight()||0; -} -return this.each(function(){ -if($._boxModel){ -$(this).height(_d-($(this).outerHeight()-$(this).height())); -}else{ -$(this).height(_d); -} -}); -}; -$.fn._scrollLeft=function(_e){ -if(_e==undefined){ -return this.scrollLeft(); -}else{ -return this.each(function(){ -$(this).scrollLeft(_e); -}); -} -}; -$.fn._propAttr=$.fn.prop||$.fn.attr; -$.fn._fit=function(_f){ -_f=_f==undefined?true:_f; -var t=this[0]; -var p=(t.tagName=="BODY"?t:this.parent()[0]); -var _10=p.fcount||0; -if(_f){ -if(!t.fitted){ -t.fitted=true; -p.fcount=_10+1; -$(p).addClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").addClass("panel-fit"); -} -} -}else{ -if(t.fitted){ -t.fitted=false; -p.fcount=_10-1; -if(p.fcount==0){ -$(p).removeClass("panel-noscroll"); -if(p.tagName=="BODY"){ -$("html").removeClass("panel-fit"); -} -} -} -} -return {width:$(p).width(),height:$(p).height()}; -}; -})(jQuery); -(function($){ -var _11=null; -var _12=null; -var _13=false; -function _14(e){ -if(e.touches.length!=1){ -return; -} -if(!_13){ -_13=true; -dblClickTimer=setTimeout(function(){ -_13=false; -},500); -}else{ -clearTimeout(dblClickTimer); -_13=false; -_15(e,"dblclick"); -} -_11=setTimeout(function(){ -_15(e,"contextmenu",3); -},1000); -_15(e,"mousedown"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _16(e){ -if(e.touches.length!=1){ -return; -} -if(_11){ -clearTimeout(_11); -} -_15(e,"mousemove"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _17(e){ -if(_11){ -clearTimeout(_11); -} -_15(e,"mouseup"); -if($.fn.draggable.isDragging||$.fn.resizable.isResizing){ -e.preventDefault(); -} -}; -function _15(e,_18,_19){ -var _1a=new $.Event(_18); -_1a.pageX=e.changedTouches[0].pageX; -_1a.pageY=e.changedTouches[0].pageY; -_1a.which=_19||1; -$(e.target).trigger(_1a); -}; -if(document.addEventListener){ -document.addEventListener("touchstart",_14,true); -document.addEventListener("touchmove",_16,true); -document.addEventListener("touchend",_17,true); -} -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.progressbar.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.progressbar.js deleted file mode 100644 index 68f25b917eb61e10a0aef7a086dc58100f63cf27..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.progressbar.js +++ /dev/null @@ -1,80 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("progressbar"); -$(_2).html("
                        "); -return $(_2); -}; -function _3(_4,_5){ -var _6=$.data(_4,"progressbar").options; -var _7=$.data(_4,"progressbar").bar; -if(_5){ -_6.width=_5; -} -_7._outerWidth(_6.width)._outerHeight(_6.height); -_7.find("div.progressbar-text").width(_7.width()); -_7.find("div.progressbar-text,div.progressbar-value").css({height:_7.height()+"px",lineHeight:_7.height()+"px"}); -}; -$.fn.progressbar=function(_8,_9){ -if(typeof _8=="string"){ -var _a=$.fn.progressbar.methods[_8]; -if(_a){ -return _a(this,_9); -} -} -_8=_8||{}; -return this.each(function(){ -var _b=$.data(this,"progressbar"); -if(_b){ -$.extend(_b.options,_8); -}else{ -_b=$.data(this,"progressbar",{options:$.extend({},$.fn.progressbar.defaults,$.fn.progressbar.parseOptions(this),_8),bar:_1(this)}); -} -$(this).progressbar("setValue",_b.options.value); -_3(this); -}); -}; -$.fn.progressbar.methods={options:function(jq){ -return $.data(jq[0],"progressbar").options; -},resize:function(jq,_c){ -return jq.each(function(){ -_3(this,_c); -}); -},getValue:function(jq){ -return $.data(jq[0],"progressbar").options.value; -},setValue:function(jq,_d){ -if(_d<0){ -_d=0; -} -if(_d>100){ -_d=100; -} -return jq.each(function(){ -var _e=$.data(this,"progressbar").options; -var _f=_e.text.replace(/{value}/,_d); -var _10=_e.value; -_e.value=_d; -$(this).find("div.progressbar-value").width(_d+"%"); -$(this).find("div.progressbar-text").html(_f); -if(_10!=_d){ -_e.onChange.call(this,_d,_10); -} -}); -}}; -$.fn.progressbar.parseOptions=function(_11){ -return $.extend({},$.parser.parseOptions(_11,["width","height","text",{value:"number"}])); -}; -$.fn.progressbar.defaults={width:"auto",height:22,value:0,text:"{value}%",onChange:function(_12,_13){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.propertygrid.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.propertygrid.js deleted file mode 100644 index 3f700374e7deb8bfff2f825045b65f9828196414..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.propertygrid.js +++ /dev/null @@ -1,237 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -var _1; -function _2(_3){ -var _4=$.data(_3,"propertygrid"); -var _5=$.data(_3,"propertygrid").options; -$(_3).datagrid($.extend({},_5,{cls:"propertygrid",view:(_5.showGroup?_5.groupView:_5.view),onClickRow:function(_6,_7){ -if(_1!=this){ -_a(_1); -_1=this; -} -if(_5.editIndex!=_6&&_7.editor){ -var _8=$(this).datagrid("getColumnOption","value"); -_8.editor=_7.editor; -_a(_1); -$(this).datagrid("beginEdit",_6); -$(this).datagrid("getEditors",_6)[0].target.focus(); -_5.editIndex=_6; -} -_5.onClickRow.call(_3,_6,_7); -},loadFilter:function(_9){ -_a(this); -return _5.loadFilter.call(this,_9); -}})); -$(document).unbind(".propertygrid").bind("mousedown.propertygrid",function(e){ -var p=$(e.target).closest("div.datagrid-view,div.combo-panel"); -if(p.length){ -return; -} -_a(_1); -_1=undefined; -}); -}; -function _a(_b){ -var t=$(_b); -if(!t.length){ -return; -} -var _c=$.data(_b,"propertygrid").options; -var _d=_c.editIndex; -if(_d==undefined){ -return; -} -var ed=t.datagrid("getEditors",_d)[0]; -if(ed){ -ed.target.blur(); -if(t.datagrid("validateRow",_d)){ -t.datagrid("endEdit",_d); -}else{ -t.datagrid("cancelEdit",_d); -} -} -_c.editIndex=undefined; -}; -$.fn.propertygrid=function(_e,_f){ -if(typeof _e=="string"){ -var _10=$.fn.propertygrid.methods[_e]; -if(_10){ -return _10(this,_f); -}else{ -return this.datagrid(_e,_f); -} -} -_e=_e||{}; -return this.each(function(){ -var _11=$.data(this,"propertygrid"); -if(_11){ -$.extend(_11.options,_e); -}else{ -var _12=$.extend({},$.fn.propertygrid.defaults,$.fn.propertygrid.parseOptions(this),_e); -_12.frozenColumns=$.extend(true,[],_12.frozenColumns); -_12.columns=$.extend(true,[],_12.columns); -$.data(this,"propertygrid",{options:_12}); -} -_2(this); -}); -}; -$.fn.propertygrid.methods={options:function(jq){ -return $.data(jq[0],"propertygrid").options; -}}; -$.fn.propertygrid.parseOptions=function(_13){ -return $.extend({},$.fn.datagrid.parseOptions(_13),$.parser.parseOptions(_13,[{showGroup:"boolean"}])); -}; -var _14=$.extend({},$.fn.datagrid.defaults.view,{render:function(_15,_16,_17){ -var _18=[]; -var _19=this.groups; -for(var i=0;i<_19.length;i++){ -_18.push(this.renderGroup.call(this,_15,i,_19[i],_17)); -} -$(_16).html(_18.join("")); -},renderGroup:function(_1a,_1b,_1c,_1d){ -var _1e=$.data(_1a,"datagrid"); -var _1f=_1e.options; -var _20=$(_1a).datagrid("getColumnFields",_1d); -var _21=[]; -_21.push("
                        "); -_21.push(""); -_21.push(""); -if((_1d&&(_1f.rownumbers||_1f.frozenColumns.length))||(!_1d&&!(_1f.rownumbers||_1f.frozenColumns.length))){ -_21.push(""); -} -_21.push(""); -_21.push(""); -_21.push("
                         "); -if(!_1d){ -_21.push(""); -_21.push(_1f.groupFormatter.call(_1a,_1c.value,_1c.rows)); -_21.push(""); -} -_21.push("
                        "); -_21.push("
                        "); -_21.push(""); -var _22=_1c.startIndex; -for(var j=0;j<_1c.rows.length;j++){ -var css=_1f.rowStyler?_1f.rowStyler.call(_1a,_22,_1c.rows[j]):""; -var _23=""; -var _24=""; -if(typeof css=="string"){ -_24=css; -}else{ -if(css){ -_23=css["class"]||""; -_24=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_22%2&&_1f.striped?"datagrid-row-alt ":" ")+_23+"\""; -var _25=_24?"style=\""+_24+"\"":""; -var _26=_1e.rowIdPrefix+"-"+(_1d?1:2)+"-"+_22; -_21.push(""); -_21.push(this.renderRow.call(this,_1a,_20,_1d,_22,_1c.rows[j])); -_21.push(""); -_22++; -} -_21.push("
                        "); -return _21.join(""); -},bindEvents:function(_27){ -var _28=$.data(_27,"datagrid"); -var dc=_28.dc; -var _29=dc.body1.add(dc.body2); -var _2a=($.data(_29[0],"events")||$._data(_29[0],"events")).click[0].handler; -_29.unbind("click").bind("click",function(e){ -var tt=$(e.target); -var _2b=tt.closest("span.datagrid-row-expander"); -if(_2b.length){ -var _2c=_2b.closest("div.datagrid-group").attr("group-index"); -if(_2b.hasClass("datagrid-row-collapse")){ -$(_27).datagrid("collapseGroup",_2c); -}else{ -$(_27).datagrid("expandGroup",_2c); -} -}else{ -_2a(e); -} -e.stopPropagation(); -}); -},onBeforeRender:function(_2d,_2e){ -var _2f=$.data(_2d,"datagrid"); -var _30=_2f.options; -_31(); -var _32=[]; -for(var i=0;i<_2e.length;i++){ -var row=_2e[i]; -var _33=_34(row[_30.groupField]); -if(!_33){ -_33={value:row[_30.groupField],rows:[row]}; -_32.push(_33); -}else{ -_33.rows.push(row); -} -} -var _35=0; -var _36=[]; -for(var i=0;i<_32.length;i++){ -var _33=_32[i]; -_33.startIndex=_35; -_35+=_33.rows.length; -_36=_36.concat(_33.rows); -} -_2f.data.rows=_36; -this.groups=_32; -var _37=this; -setTimeout(function(){ -_37.bindEvents(_2d); -},0); -function _34(_38){ -for(var i=0;i<_32.length;i++){ -var _39=_32[i]; -if(_39.value==_38){ -return _39; -} -} -return null; -}; -function _31(){ -if(!$("#datagrid-group-style").length){ -$("head").append(""); -} -}; -}}); -$.extend($.fn.datagrid.methods,{expandGroup:function(jq,_3a){ -return jq.each(function(){ -var _3b=$.data(this,"datagrid").dc.view; -var _3c=_3b.find(_3a!=undefined?"div.datagrid-group[group-index=\""+_3a+"\"]":"div.datagrid-group"); -var _3d=_3c.find("span.datagrid-row-expander"); -if(_3d.hasClass("datagrid-row-expand")){ -_3d.removeClass("datagrid-row-expand").addClass("datagrid-row-collapse"); -_3c.next("table").show(); -} -$(this).datagrid("fixRowHeight"); -}); -},collapseGroup:function(jq,_3e){ -return jq.each(function(){ -var _3f=$.data(this,"datagrid").dc.view; -var _40=_3f.find(_3e!=undefined?"div.datagrid-group[group-index=\""+_3e+"\"]":"div.datagrid-group"); -var _41=_40.find("span.datagrid-row-expander"); -if(_41.hasClass("datagrid-row-collapse")){ -_41.removeClass("datagrid-row-collapse").addClass("datagrid-row-expand"); -_40.next("table").hide(); -} -$(this).datagrid("fixRowHeight"); -}); -}}); -$.fn.propertygrid.defaults=$.extend({},$.fn.datagrid.defaults,{singleSelect:true,remoteSort:false,fitColumns:true,loadMsg:"",frozenColumns:[[{field:"f",width:16,resizable:false}]],columns:[[{field:"name",title:"Name",width:100,sortable:true},{field:"value",title:"Value",width:100,resizable:false}]],showGroup:false,groupView:_14,groupField:"group",groupFormatter:function(_42,_43){ -return _42; -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.resizable.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.resizable.js deleted file mode 100644 index 2b4634e3ec677ddd4ec067437fa613fea22bfbb1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.resizable.js +++ /dev/null @@ -1,172 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -$.fn.resizable=function(_1,_2){ -if(typeof _1=="string"){ -return $.fn.resizable.methods[_1](this,_2); -} -function _3(e){ -var _4=e.data; -var _5=$.data(_4.target,"resizable").options; -if(_4.dir.indexOf("e")!=-1){ -var _6=_4.startWidth+e.pageX-_4.startX; -_6=Math.min(Math.max(_6,_5.minWidth),_5.maxWidth); -_4.width=_6; -} -if(_4.dir.indexOf("s")!=-1){ -var _7=_4.startHeight+e.pageY-_4.startY; -_7=Math.min(Math.max(_7,_5.minHeight),_5.maxHeight); -_4.height=_7; -} -if(_4.dir.indexOf("w")!=-1){ -var _6=_4.startWidth-e.pageX+_4.startX; -_6=Math.min(Math.max(_6,_5.minWidth),_5.maxWidth); -_4.width=_6; -_4.left=_4.startLeft+_4.startWidth-_4.width; -} -if(_4.dir.indexOf("n")!=-1){ -var _7=_4.startHeight-e.pageY+_4.startY; -_7=Math.min(Math.max(_7,_5.minHeight),_5.maxHeight); -_4.height=_7; -_4.top=_4.startTop+_4.startHeight-_4.height; -} -}; -function _8(e){ -var _9=e.data; -var t=$(_9.target); -t.css({left:_9.left,top:_9.top}); -if(t.outerWidth()!=_9.width){ -t._outerWidth(_9.width); -} -if(t.outerHeight()!=_9.height){ -t._outerHeight(_9.height); -} -}; -function _a(e){ -$.fn.resizable.isResizing=true; -$.data(e.data.target,"resizable").options.onStartResize.call(e.data.target,e); -return false; -}; -function _b(e){ -_3(e); -if($.data(e.data.target,"resizable").options.onResize.call(e.data.target,e)!=false){ -_8(e); -} -return false; -}; -function _c(e){ -$.fn.resizable.isResizing=false; -_3(e,true); -_8(e); -$.data(e.data.target,"resizable").options.onStopResize.call(e.data.target,e); -$(document).unbind(".resizable"); -$("body").css("cursor",""); -return false; -}; -return this.each(function(){ -var _d=null; -var _e=$.data(this,"resizable"); -if(_e){ -$(this).unbind(".resizable"); -_d=$.extend(_e.options,_1||{}); -}else{ -_d=$.extend({},$.fn.resizable.defaults,$.fn.resizable.parseOptions(this),_1||{}); -$.data(this,"resizable",{options:_d}); -} -if(_d.disabled==true){ -return; -} -$(this).bind("mousemove.resizable",{target:this},function(e){ -if($.fn.resizable.isResizing){ -return; -} -var _f=_10(e); -if(_f==""){ -$(e.data.target).css("cursor",""); -}else{ -$(e.data.target).css("cursor",_f+"-resize"); -} -}).bind("mouseleave.resizable",{target:this},function(e){ -$(e.data.target).css("cursor",""); -}).bind("mousedown.resizable",{target:this},function(e){ -var dir=_10(e); -if(dir==""){ -return; -} -function _11(css){ -var val=parseInt($(e.data.target).css(css)); -if(isNaN(val)){ -return 0; -}else{ -return val; -} -}; -var _12={target:e.data.target,dir:dir,startLeft:_11("left"),startTop:_11("top"),left:_11("left"),top:_11("top"),startX:e.pageX,startY:e.pageY,startWidth:$(e.data.target).outerWidth(),startHeight:$(e.data.target).outerHeight(),width:$(e.data.target).outerWidth(),height:$(e.data.target).outerHeight(),deltaWidth:$(e.data.target).outerWidth()-$(e.data.target).width(),deltaHeight:$(e.data.target).outerHeight()-$(e.data.target).height()}; -$(document).bind("mousedown.resizable",_12,_a); -$(document).bind("mousemove.resizable",_12,_b); -$(document).bind("mouseup.resizable",_12,_c); -$("body").css("cursor",dir+"-resize"); -}); -function _10(e){ -var tt=$(e.data.target); -var dir=""; -var _13=tt.offset(); -var _14=tt.outerWidth(); -var _15=tt.outerHeight(); -var _16=_d.edge; -if(e.pageY>_13.top&&e.pageY<_13.top+_16){ -dir+="n"; -}else{ -if(e.pageY<_13.top+_15&&e.pageY>_13.top+_15-_16){ -dir+="s"; -} -} -if(e.pageX>_13.left&&e.pageX<_13.left+_16){ -dir+="w"; -}else{ -if(e.pageX<_13.left+_14&&e.pageX>_13.left+_14-_16){ -dir+="e"; -} -} -var _17=_d.handles.split(","); -for(var i=0;i<_17.length;i++){ -var _18=_17[i].replace(/(^\s*)|(\s*$)/g,""); -if(_18=="all"||_18==dir){ -return dir; -} -} -return ""; -}; -}); -}; -$.fn.resizable.methods={options:function(jq){ -return $.data(jq[0],"resizable").options; -},enable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:false}); -}); -},disable:function(jq){ -return jq.each(function(){ -$(this).resizable({disabled:true}); -}); -}}; -$.fn.resizable.parseOptions=function(_19){ -var t=$(_19); -return $.extend({},$.parser.parseOptions(_19,["handles",{minWidth:"number",minHeight:"number",maxWidth:"number",maxHeight:"number",edge:"number"}]),{disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.resizable.defaults={disabled:false,handles:"n, e, s, w, ne, se, sw, nw, all",minWidth:10,minHeight:10,maxWidth:10000,maxHeight:10000,edge:5,onStartResize:function(e){ -},onResize:function(e){ -},onStopResize:function(e){ -}}; -$.fn.resizable.isResizing=false; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.searchbox.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.searchbox.js deleted file mode 100644 index 92bd8df4347abbc0e1dc56ca204dc6b968a59659..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.searchbox.js +++ /dev/null @@ -1,184 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -$(_2).addClass("searchbox-f").hide(); -var _3=$("").insertAfter(_2); -var _4=$("").appendTo(_3); -$("").appendTo(_3); -var _5=$(_2).attr("name"); -if(_5){ -_4.attr("name",_5); -$(_2).removeAttr("name").attr("searchboxName",_5); -} -return _3; -}; -function _6(_7,_8){ -var _9=$.data(_7,"searchbox").options; -var sb=$.data(_7,"searchbox").searchbox; -if(_8){ -_9.width=_8; -} -sb.appendTo("body"); -if(isNaN(_9.width)){ -_9.width=sb._outerWidth(); -} -var _a=sb.find("span.searchbox-button"); -var _b=sb.find("a.searchbox-menu"); -var _c=sb.find("input.searchbox-text"); -sb._outerWidth(_9.width)._outerHeight(_9.height); -_c._outerWidth(sb.width()-_b._outerWidth()-_a._outerWidth()); -_c.css({height:sb.height()+"px",lineHeight:sb.height()+"px"}); -_b._outerHeight(sb.height()); -_a._outerHeight(sb.height()); -var _d=_b.find("span.l-btn-left"); -_d._outerHeight(sb.height()); -_d.find("span.l-btn-text,span.m-btn-downarrow").css({height:_d.height()+"px",lineHeight:_d.height()+"px"}); -sb.insertAfter(_7); -}; -function _e(_f){ -var _10=$.data(_f,"searchbox"); -var _11=_10.options; -if(_11.menu){ -_10.menu=$(_11.menu).menu({onClick:function(_12){ -_13(_12); -}}); -var _14=_10.menu.children("div.menu-item:first"); -_10.menu.children("div.menu-item").each(function(){ -var _15=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -if(_15.selected){ -_14=$(this); -return false; -} -}); -_14.triggerHandler("click"); -}else{ -_10.searchbox.find("a.searchbox-menu").remove(); -_10.menu=null; -} -function _13(_16){ -_10.searchbox.find("a.searchbox-menu").remove(); -var mb=$("").html(_16.text); -mb.prependTo(_10.searchbox).menubutton({menu:_10.menu,iconCls:_16.iconCls}); -_10.searchbox.find("input.searchbox-text").attr("name",_16.name||_16.text); -_6(_f); -}; -}; -function _17(_18){ -var _19=$.data(_18,"searchbox"); -var _1a=_19.options; -var _1b=_19.searchbox.find("input.searchbox-text"); -var _1c=_19.searchbox.find(".searchbox-button"); -_1b.unbind(".searchbox").bind("blur.searchbox",function(e){ -_1a.value=$(this).val(); -if(_1a.value==""){ -$(this).val(_1a.prompt); -$(this).addClass("searchbox-prompt"); -}else{ -$(this).removeClass("searchbox-prompt"); -} -}).bind("focus.searchbox",function(e){ -if($(this).val()!=_1a.value){ -$(this).val(_1a.value); -} -$(this).removeClass("searchbox-prompt"); -}).bind("keydown.searchbox",function(e){ -if(e.keyCode==13){ -e.preventDefault(); -_1a.value=$(this).val(); -_1a.searcher.call(_18,_1a.value,_1b._propAttr("name")); -return false; -} -}); -_1c.unbind(".searchbox").bind("click.searchbox",function(){ -_1a.searcher.call(_18,_1a.value,_1b._propAttr("name")); -}).bind("mouseenter.searchbox",function(){ -$(this).addClass("searchbox-button-hover"); -}).bind("mouseleave.searchbox",function(){ -$(this).removeClass("searchbox-button-hover"); -}); -}; -function _1d(_1e){ -var _1f=$.data(_1e,"searchbox"); -var _20=_1f.options; -var _21=_1f.searchbox.find("input.searchbox-text"); -if(_20.value==""){ -_21.val(_20.prompt); -_21.addClass("searchbox-prompt"); -}else{ -_21.val(_20.value); -_21.removeClass("searchbox-prompt"); -} -}; -$.fn.searchbox=function(_22,_23){ -if(typeof _22=="string"){ -return $.fn.searchbox.methods[_22](this,_23); -} -_22=_22||{}; -return this.each(function(){ -var _24=$.data(this,"searchbox"); -if(_24){ -$.extend(_24.options,_22); -}else{ -_24=$.data(this,"searchbox",{options:$.extend({},$.fn.searchbox.defaults,$.fn.searchbox.parseOptions(this),_22),searchbox:_1(this)}); -} -_e(this); -_1d(this); -_17(this); -_6(this); -}); -}; -$.fn.searchbox.methods={options:function(jq){ -return $.data(jq[0],"searchbox").options; -},menu:function(jq){ -return $.data(jq[0],"searchbox").menu; -},textbox:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text"); -},getValue:function(jq){ -return $.data(jq[0],"searchbox").options.value; -},setValue:function(jq,_25){ -return jq.each(function(){ -$(this).searchbox("options").value=_25; -$(this).searchbox("textbox").val(_25); -$(this).searchbox("textbox").blur(); -}); -},getName:function(jq){ -return $.data(jq[0],"searchbox").searchbox.find("input.searchbox-text").attr("name"); -},selectName:function(jq,_26){ -return jq.each(function(){ -var _27=$.data(this,"searchbox").menu; -if(_27){ -_27.children("div.menu-item[name=\""+_26+"\"]").triggerHandler("click"); -} -}); -},destroy:function(jq){ -return jq.each(function(){ -var _28=$(this).searchbox("menu"); -if(_28){ -_28.menu("destroy"); -} -$.data(this,"searchbox").searchbox.remove(); -$(this).remove(); -}); -},resize:function(jq,_29){ -return jq.each(function(){ -_6(this,_29); -}); -}}; -$.fn.searchbox.parseOptions=function(_2a){ -var t=$(_2a); -return $.extend({},$.parser.parseOptions(_2a,["width","height","prompt","menu"]),{value:t.val(),searcher:(t.attr("searcher")?eval(t.attr("searcher")):undefined)}); -}; -$.fn.searchbox.defaults={width:"auto",height:22,prompt:"",value:"",menu:null,searcher:function(_2b,_2c){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.slider.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.slider.js deleted file mode 100644 index 1959bdb883527fccdb31765b307c9d60ae88753e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.slider.js +++ /dev/null @@ -1,280 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$("
                        "+"
                        "+""+""+"
                        "+"
                        "+"
                        "+"
                        "+""+"
                        ").insertAfter(_2); -var t=$(_2); -t.addClass("slider-f").hide(); -var _4=t.attr("name"); -if(_4){ -_3.find("input.slider-value").attr("name",_4); -t.removeAttr("name").attr("sliderName",_4); -} -return _3; -}; -function _5(_6,_7){ -var _8=$.data(_6,"slider"); -var _9=_8.options; -var _a=_8.slider; -if(_7){ -if(_7.width){ -_9.width=_7.width; -} -if(_7.height){ -_9.height=_7.height; -} -} -if(_9.mode=="h"){ -_a.css("height",""); -_a.children("div").css("height",""); -if(!isNaN(_9.width)){ -_a.width(_9.width); -} -}else{ -_a.css("width",""); -_a.children("div").css("width",""); -if(!isNaN(_9.height)){ -_a.height(_9.height); -_a.find("div.slider-rule").height(_9.height); -_a.find("div.slider-rulelabel").height(_9.height); -_a.find("div.slider-inner")._outerHeight(_9.height); -} -} -_b(_6); -}; -function _c(_d){ -var _e=$.data(_d,"slider"); -var _f=_e.options; -var _10=_e.slider; -var aa=_f.mode=="h"?_f.rule:_f.rule.slice(0).reverse(); -if(_f.reversed){ -aa=aa.slice(0).reverse(); -} -_11(aa); -function _11(aa){ -var _12=_10.find("div.slider-rule"); -var _13=_10.find("div.slider-rulelabel"); -_12.empty(); -_13.empty(); -for(var i=0;i").appendTo(_12); -_15.css((_f.mode=="h"?"left":"top"),_14); -if(aa[i]!="|"){ -_15=$("").appendTo(_13); -_15.html(aa[i]); -if(_f.mode=="h"){ -_15.css({left:_14,marginLeft:-Math.round(_15.outerWidth()/2)}); -}else{ -_15.css({top:_14,marginTop:-Math.round(_15.outerHeight()/2)}); -} -} -} -}; -}; -function _16(_17){ -var _18=$.data(_17,"slider"); -var _19=_18.options; -var _1a=_18.slider; -_1a.removeClass("slider-h slider-v slider-disabled"); -_1a.addClass(_19.mode=="h"?"slider-h":"slider-v"); -_1a.addClass(_19.disabled?"slider-disabled":""); -_1a.find("a.slider-handle").draggable({axis:_19.mode,cursor:"pointer",disabled:_19.disabled,onDrag:function(e){ -var _1b=e.data.left; -var _1c=_1a.width(); -if(_19.mode!="h"){ -_1b=e.data.top; -_1c=_1a.height(); -} -if(_1b<0||_1b>_1c){ -return false; -}else{ -var _1d=_32(_17,_1b); -_1e(_1d); -return false; -} -},onBeforeDrag:function(){ -_18.isDragging=true; -},onStartDrag:function(){ -_19.onSlideStart.call(_17,_19.value); -},onStopDrag:function(e){ -var _1f=_32(_17,(_19.mode=="h"?e.data.left:e.data.top)); -_1e(_1f); -_19.onSlideEnd.call(_17,_19.value); -_19.onComplete.call(_17,_19.value); -_18.isDragging=false; -}}); -_1a.find("div.slider-inner").unbind(".slider").bind("mousedown.slider",function(e){ -if(_18.isDragging){ -return; -} -var pos=$(this).offset(); -var _20=_32(_17,(_19.mode=="h"?(e.pageX-pos.left):(e.pageY-pos.top))); -_1e(_20); -_19.onComplete.call(_17,_19.value); -}); -function _1e(_21){ -var s=Math.abs(_21%_19.step); -if(s<_19.step/2){ -_21-=s; -}else{ -_21=_21-s+_19.step; -} -_22(_17,_21); -}; -}; -function _22(_23,_24){ -var _25=$.data(_23,"slider"); -var _26=_25.options; -var _27=_25.slider; -var _28=_26.value; -if(_24<_26.min){ -_24=_26.min; -} -if(_24>_26.max){ -_24=_26.max; -} -_26.value=_24; -$(_23).val(_24); -_27.find("input.slider-value").val(_24); -var pos=_29(_23,_24); -var tip=_27.find(".slider-tip"); -if(_26.showTip){ -tip.show(); -tip.html(_26.tipFormatter.call(_23,_26.value)); -}else{ -tip.hide(); -} -if(_26.mode=="h"){ -var _2a="left:"+pos+"px;"; -_27.find(".slider-handle").attr("style",_2a); -tip.attr("style",_2a+"margin-left:"+(-Math.round(tip.outerWidth()/2))+"px"); -}else{ -var _2a="top:"+pos+"px;"; -_27.find(".slider-handle").attr("style",_2a); -tip.attr("style",_2a+"margin-left:"+(-Math.round(tip.outerWidth()))+"px"); -} -if(_28!=_24){ -_26.onChange.call(_23,_24,_28); -} -}; -function _b(_2b){ -var _2c=$.data(_2b,"slider").options; -var fn=_2c.onChange; -_2c.onChange=function(){ -}; -_22(_2b,_2c.value); -_2c.onChange=fn; -}; -function _29(_2d,_2e){ -var _2f=$.data(_2d,"slider"); -var _30=_2f.options; -var _31=_2f.slider; -if(_30.mode=="h"){ -var pos=(_2e-_30.min)/(_30.max-_30.min)*_31.width(); -if(_30.reversed){ -pos=_31.width()-pos; -} -}else{ -var pos=_31.height()-(_2e-_30.min)/(_30.max-_30.min)*_31.height(); -if(_30.reversed){ -pos=_31.height()-pos; -} -} -return pos.toFixed(0); -}; -function _32(_33,pos){ -var _34=$.data(_33,"slider"); -var _35=_34.options; -var _36=_34.slider; -if(_35.mode=="h"){ -var _37=_35.min+(_35.max-_35.min)*(pos/_36.width()); -}else{ -var _37=_35.min+(_35.max-_35.min)*((_36.height()-pos)/_36.height()); -} -return _35.reversed?_35.max-_37.toFixed(0):_37.toFixed(0); -}; -$.fn.slider=function(_38,_39){ -if(typeof _38=="string"){ -return $.fn.slider.methods[_38](this,_39); -} -_38=_38||{}; -return this.each(function(){ -var _3a=$.data(this,"slider"); -if(_3a){ -$.extend(_3a.options,_38); -}else{ -_3a=$.data(this,"slider",{options:$.extend({},$.fn.slider.defaults,$.fn.slider.parseOptions(this),_38),slider:_1(this)}); -$(this).removeAttr("disabled"); -} -var _3b=_3a.options; -_3b.min=parseFloat(_3b.min); -_3b.max=parseFloat(_3b.max); -_3b.value=parseFloat(_3b.value); -_3b.step=parseFloat(_3b.step); -_3b.originalValue=_3b.value; -_16(this); -_c(this); -_5(this); -}); -}; -$.fn.slider.methods={options:function(jq){ -return $.data(jq[0],"slider").options; -},destroy:function(jq){ -return jq.each(function(){ -$.data(this,"slider").slider.remove(); -$(this).remove(); -}); -},resize:function(jq,_3c){ -return jq.each(function(){ -_5(this,_3c); -}); -},getValue:function(jq){ -return jq.slider("options").value; -},setValue:function(jq,_3d){ -return jq.each(function(){ -_22(this,_3d); -}); -},clear:function(jq){ -return jq.each(function(){ -var _3e=$(this).slider("options"); -_22(this,_3e.min); -}); -},reset:function(jq){ -return jq.each(function(){ -var _3f=$(this).slider("options"); -_22(this,_3f.originalValue); -}); -},enable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=false; -_16(this); -}); -},disable:function(jq){ -return jq.each(function(){ -$.data(this,"slider").options.disabled=true; -_16(this); -}); -}}; -$.fn.slider.parseOptions=function(_40){ -var t=$(_40); -return $.extend({},$.parser.parseOptions(_40,["width","height","mode",{reversed:"boolean",showTip:"boolean",min:"number",max:"number",step:"number"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined),rule:(t.attr("rule")?eval(t.attr("rule")):undefined)}); -}; -$.fn.slider.defaults={width:"auto",height:"auto",mode:"h",reversed:false,showTip:false,disabled:false,value:0,min:0,max:100,step:1,rule:[],tipFormatter:function(_41){ -return _41; -},onChange:function(_42,_43){ -},onSlideStart:function(_44){ -},onSlideEnd:function(_45){ -},onComplete:function(_46){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.spinner.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.spinner.js deleted file mode 100644 index 47839f5467cd85f07aaac9696c88e53b7f1c44e8..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.spinner.js +++ /dev/null @@ -1,152 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$(""+""+""+""+""+"").insertAfter(_2); -$(_2).addClass("spinner-text spinner-f").prependTo(_3); -return _3; -}; -function _4(_5,_6){ -var _7=$.data(_5,"spinner").options; -var _8=$.data(_5,"spinner").spinner; -if(_6){ -_7.width=_6; -} -var _9=$("
                        ").insertBefore(_8); -_8.appendTo("body"); -if(isNaN(_7.width)){ -_7.width=$(_5).outerWidth(); -} -var _a=_8.find(".spinner-arrow"); -_8._outerWidth(_7.width)._outerHeight(_7.height); -$(_5)._outerWidth(_8.width()-_a.outerWidth()); -$(_5).css({height:_8.height()+"px",lineHeight:_8.height()+"px"}); -_a._outerHeight(_8.height()); -_a.find("span")._outerHeight(_a.height()/2); -_8.insertAfter(_9); -_9.remove(); -}; -function _b(_c){ -var _d=$.data(_c,"spinner").options; -var _e=$.data(_c,"spinner").spinner; -_e.find(".spinner-arrow-up,.spinner-arrow-down").unbind(".spinner"); -if(!_d.disabled){ -_e.find(".spinner-arrow-up").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -_d.spin.call(_c,false); -_d.onSpinUp.call(_c); -$(_c).validatebox("validate"); -}); -_e.find(".spinner-arrow-down").bind("mouseenter.spinner",function(){ -$(this).addClass("spinner-arrow-hover"); -}).bind("mouseleave.spinner",function(){ -$(this).removeClass("spinner-arrow-hover"); -}).bind("click.spinner",function(){ -_d.spin.call(_c,true); -_d.onSpinDown.call(_c); -$(_c).validatebox("validate"); -}); -} -}; -function _f(_10,_11){ -var _12=$.data(_10,"spinner").options; -if(_11){ -_12.disabled=true; -$(_10).attr("disabled",true); -}else{ -_12.disabled=false; -$(_10).removeAttr("disabled"); -} -}; -$.fn.spinner=function(_13,_14){ -if(typeof _13=="string"){ -var _15=$.fn.spinner.methods[_13]; -if(_15){ -return _15(this,_14); -}else{ -return this.validatebox(_13,_14); -} -} -_13=_13||{}; -return this.each(function(){ -var _16=$.data(this,"spinner"); -if(_16){ -$.extend(_16.options,_13); -}else{ -_16=$.data(this,"spinner",{options:$.extend({},$.fn.spinner.defaults,$.fn.spinner.parseOptions(this),_13),spinner:_1(this)}); -$(this).removeAttr("disabled"); -} -_16.options.originalValue=_16.options.value; -$(this).val(_16.options.value); -$(this).attr("readonly",!_16.options.editable); -_f(this,_16.options.disabled); -_4(this); -$(this).validatebox(_16.options); -_b(this); -}); -}; -$.fn.spinner.methods={options:function(jq){ -var _17=$.data(jq[0],"spinner").options; -return $.extend(_17,{value:jq.val()}); -},destroy:function(jq){ -return jq.each(function(){ -var _18=$.data(this,"spinner").spinner; -$(this).validatebox("destroy"); -_18.remove(); -}); -},resize:function(jq,_19){ -return jq.each(function(){ -_4(this,_19); -}); -},enable:function(jq){ -return jq.each(function(){ -_f(this,false); -_b(this); -}); -},disable:function(jq){ -return jq.each(function(){ -_f(this,true); -_b(this); -}); -},getValue:function(jq){ -return jq.val(); -},setValue:function(jq,_1a){ -return jq.each(function(){ -var _1b=$.data(this,"spinner").options; -_1b.value=_1a; -$(this).val(_1a); -}); -},clear:function(jq){ -return jq.each(function(){ -var _1c=$.data(this,"spinner").options; -_1c.value=""; -$(this).val(""); -}); -},reset:function(jq){ -return jq.each(function(){ -var _1d=$(this).spinner("options"); -$(this).spinner("setValue",_1d.originalValue); -}); -}}; -$.fn.spinner.parseOptions=function(_1e){ -var t=$(_1e); -return $.extend({},$.fn.validatebox.parseOptions(_1e),$.parser.parseOptions(_1e,["width","height","min","max",{increment:"number",editable:"boolean"}]),{value:(t.val()||undefined),disabled:(t.attr("disabled")?true:undefined)}); -}; -$.fn.spinner.defaults=$.extend({},$.fn.validatebox.defaults,{width:"auto",height:22,deltaX:19,value:"",min:null,max:null,increment:1,editable:true,disabled:false,spin:function(_1f){ -},onSpinUp:function(){ -},onSpinDown:function(){ -}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.splitbutton.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.splitbutton.js deleted file mode 100644 index 8138b1a426d6b2a80f5ee0767209a52d6e1a6d33..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.splitbutton.js +++ /dev/null @@ -1,50 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"splitbutton").options; -$(_2).menubutton(_3); -}; -$.fn.splitbutton=function(_4,_5){ -if(typeof _4=="string"){ -var _6=$.fn.splitbutton.methods[_4]; -if(_6){ -return _6(this,_5); -}else{ -return this.menubutton(_4,_5); -} -} -_4=_4||{}; -return this.each(function(){ -var _7=$.data(this,"splitbutton"); -if(_7){ -$.extend(_7.options,_4); -}else{ -$.data(this,"splitbutton",{options:$.extend({},$.fn.splitbutton.defaults,$.fn.splitbutton.parseOptions(this),_4)}); -$(this).removeAttr("disabled"); -} -_1(this); -}); -}; -$.fn.splitbutton.methods={options:function(jq){ -var _8=jq.menubutton("options"); -var _9=$.data(jq[0],"splitbutton").options; -$.extend(_9,{disabled:_8.disabled,toggle:_8.toggle,selected:_8.selected}); -return _9; -}}; -$.fn.splitbutton.parseOptions=function(_a){ -var t=$(_a); -return $.extend({},$.fn.linkbutton.parseOptions(_a),$.parser.parseOptions(_a,["menu",{plain:"boolean",duration:"number"}])); -}; -$.fn.splitbutton.defaults=$.extend({},$.fn.linkbutton.defaults,{plain:true,menu:null,duration:100,cls:{btn1:"s-btn-active",btn2:"s-btn-plain-active",arrow:"s-btn-downarrow",trigger:"s-btn-downarrow"}}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.tabs.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.tabs.js deleted file mode 100644 index 87b742b63b56a785318f79d2f70103bf70bae400..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.tabs.js +++ /dev/null @@ -1,609 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"tabs").options; -if(_3.tabPosition=="left"||_3.tabPosition=="right"||!_3.showHeader){ -return; -} -var _4=$(_2).children("div.tabs-header"); -var _5=_4.children("div.tabs-tool"); -var _6=_4.children("div.tabs-scroller-left"); -var _7=_4.children("div.tabs-scroller-right"); -var _8=_4.children("div.tabs-wrap"); -var _9=_4.outerHeight(); -if(_3.plain){ -_9-=_9-_4.height(); -} -_5._outerHeight(_9); -var _a=0; -$("ul.tabs li",_4).each(function(){ -_a+=$(this).outerWidth(true); -}); -var _b=_4.width()-_5._outerWidth(); -if(_a>_b){ -_6.add(_7).show()._outerHeight(_9); -if(_3.toolPosition=="left"){ -_5.css({left:_6.outerWidth(),right:""}); -_8.css({marginLeft:_6.outerWidth()+_5._outerWidth(),marginRight:_7._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); -}else{ -_5.css({left:"",right:_7.outerWidth()}); -_8.css({marginLeft:_6.outerWidth(),marginRight:_7.outerWidth()+_5._outerWidth(),width:_b-_6.outerWidth()-_7.outerWidth()}); -} -}else{ -_6.add(_7).hide(); -if(_3.toolPosition=="left"){ -_5.css({left:0,right:""}); -_8.css({marginLeft:_5._outerWidth(),marginRight:0,width:_b}); -}else{ -_5.css({left:"",right:0}); -_8.css({marginLeft:0,marginRight:_5._outerWidth(),width:_b}); -} -} -}; -function _c(_d){ -var _e=$.data(_d,"tabs").options; -var _f=$(_d).children("div.tabs-header"); -if(_e.tools){ -if(typeof _e.tools=="string"){ -$(_e.tools).addClass("tabs-tool").appendTo(_f); -$(_e.tools).show(); -}else{ -_f.children("div.tabs-tool").remove(); -var _10=$("
                        ").appendTo(_f); -var tr=_10.find("tr"); -for(var i=0;i<_e.tools.length;i++){ -var td=$("").appendTo(tr); -var _11=$("").appendTo(td); -_11[0].onclick=eval(_e.tools[i].handler||function(){ -}); -_11.linkbutton($.extend({},_e.tools[i],{plain:true})); -} -} -}else{ -_f.children("div.tabs-tool").remove(); -} -}; -function _12(_13){ -var _14=$.data(_13,"tabs"); -var _15=_14.options; -var cc=$(_13); -_15.fit?$.extend(_15,cc._fit()):cc._fit(false); -cc.width(_15.width).height(_15.height); -var _16=$(_13).children("div.tabs-header"); -var _17=$(_13).children("div.tabs-panels"); -var _18=_16.find("div.tabs-wrap"); -var ul=_18.find(".tabs"); -for(var i=0;i<_14.tabs.length;i++){ -var _19=_14.tabs[i].panel("options"); -var p_t=_19.tab.find("a.tabs-inner"); -var _1a=parseInt(_19.tabWidth||_15.tabWidth)||undefined; -if(_1a){ -p_t._outerWidth(_1a); -}else{ -p_t.css("width",""); -} -p_t._outerHeight(_15.tabHeight); -p_t.css("lineHeight",p_t.height()+"px"); -} -if(_15.tabPosition=="left"||_15.tabPosition=="right"){ -_16._outerWidth(_15.showHeader?_15.headerWidth:0); -_17._outerWidth(cc.width()-_16.outerWidth()); -_16.add(_17)._outerHeight(_15.height); -_18._outerWidth(_16.width()); -ul._outerWidth(_18.width()).css("height",""); -}else{ -var lrt=_16.children("div.tabs-scroller-left,div.tabs-scroller-right,div.tabs-tool"); -_16._outerWidth(_15.width).css("height",""); -if(_15.showHeader){ -_16.css("background-color",""); -_18.css("height",""); -lrt.show(); -}else{ -_16.css("background-color","transparent"); -_16._outerHeight(0); -_18._outerHeight(0); -lrt.hide(); -} -ul._outerHeight(_15.tabHeight).css("width",""); -_1(_13); -var _1b=_15.height; -if(!isNaN(_1b)){ -_17._outerHeight(_1b-_16.outerHeight()); -}else{ -_17.height("auto"); -} -var _1a=_15.width; -if(!isNaN(_1a)){ -_17._outerWidth(_1a); -}else{ -_17.width("auto"); -} -} -}; -function _1c(_1d){ -var _1e=$.data(_1d,"tabs").options; -var tab=_1f(_1d); -if(tab){ -var _20=$(_1d).children("div.tabs-panels"); -var _21=_1e.width=="auto"?"auto":_20.width(); -var _22=_1e.height=="auto"?"auto":_20.height(); -tab.panel("resize",{width:_21,height:_22}); -} -}; -function _23(_24){ -var _25=$.data(_24,"tabs").tabs; -var cc=$(_24); -cc.addClass("tabs-container"); -var pp=$("
                        ").insertBefore(cc); -cc.children("div").each(function(){ -pp[0].appendChild(this); -}); -cc[0].appendChild(pp[0]); -$("
                        "+"
                        "+"
                        "+"
                        "+"
                          "+"
                          "+"
                          ").prependTo(_24); -cc.children("div.tabs-panels").children("div").each(function(i){ -var _26=$.extend({},$.parser.parseOptions(this),{selected:($(this).attr("selected")?true:undefined)}); -var pp=$(this); -_25.push(pp); -_36(_24,pp,_26); -}); -cc.children("div.tabs-header").find(".tabs-scroller-left, .tabs-scroller-right").hover(function(){ -$(this).addClass("tabs-scroller-over"); -},function(){ -$(this).removeClass("tabs-scroller-over"); -}); -cc.bind("_resize",function(e,_27){ -var _28=$.data(_24,"tabs").options; -if(_28.fit==true||_27){ -_12(_24); -_1c(_24); -} -return false; -}); -}; -function _29(_2a){ -var _2b=$.data(_2a,"tabs"); -var _2c=_2b.options; -$(_2a).children("div.tabs-header").unbind().bind("click",function(e){ -if($(e.target).hasClass("tabs-scroller-left")){ -$(_2a).tabs("scrollBy",-_2c.scrollIncrement); -}else{ -if($(e.target).hasClass("tabs-scroller-right")){ -$(_2a).tabs("scrollBy",_2c.scrollIncrement); -}else{ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -var a=$(e.target).closest("a.tabs-close"); -if(a.length){ -_4c(_2a,_2d(li)); -}else{ -if(li.length){ -var _2e=_2d(li); -var _2f=_2b.tabs[_2e].panel("options"); -if(_2f.collapsible){ -_2f.closed?_41(_2a,_2e):_6b(_2a,_2e); -}else{ -_41(_2a,_2e); -} -} -} -} -} -}).bind("contextmenu",function(e){ -var li=$(e.target).closest("li"); -if(li.hasClass("tabs-disabled")){ -return; -} -if(li.length){ -_2c.onContextMenu.call(_2a,e,li.find("span.tabs-title").html(),_2d(li)); -} -}); -function _2d(li){ -var _30=0; -li.parent().children("li").each(function(i){ -if(li[0]==this){ -_30=i; -return false; -} -}); -return _30; -}; -}; -function _31(_32){ -var _33=$.data(_32,"tabs").options; -var _34=$(_32).children("div.tabs-header"); -var _35=$(_32).children("div.tabs-panels"); -_34.removeClass("tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right"); -_35.removeClass("tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right"); -if(_33.tabPosition=="top"){ -_34.insertBefore(_35); -}else{ -if(_33.tabPosition=="bottom"){ -_34.insertAfter(_35); -_34.addClass("tabs-header-bottom"); -_35.addClass("tabs-panels-top"); -}else{ -if(_33.tabPosition=="left"){ -_34.addClass("tabs-header-left"); -_35.addClass("tabs-panels-right"); -}else{ -if(_33.tabPosition=="right"){ -_34.addClass("tabs-header-right"); -_35.addClass("tabs-panels-left"); -} -} -} -} -if(_33.plain==true){ -_34.addClass("tabs-header-plain"); -}else{ -_34.removeClass("tabs-header-plain"); -} -if(_33.border==true){ -_34.removeClass("tabs-header-noborder"); -_35.removeClass("tabs-panels-noborder"); -}else{ -_34.addClass("tabs-header-noborder"); -_35.addClass("tabs-panels-noborder"); -} -}; -function _36(_37,pp,_38){ -var _39=$.data(_37,"tabs"); -_38=_38||{}; -pp.panel($.extend({},_38,{border:false,noheader:true,closed:true,doSize:false,iconCls:(_38.icon?_38.icon:undefined),onLoad:function(){ -if(_38.onLoad){ -_38.onLoad.call(this,arguments); -} -_39.options.onLoad.call(_37,$(this)); -}})); -var _3a=pp.panel("options"); -var _3b=$(_37).children("div.tabs-header").find("ul.tabs"); -_3a.tab=$("
                        • ").appendTo(_3b); -_3a.tab.append(""+""+""+""); -$(_37).tabs("update",{tab:pp,options:_3a}); -}; -function _3c(_3d,_3e){ -var _3f=$.data(_3d,"tabs").options; -var _40=$.data(_3d,"tabs").tabs; -if(_3e.selected==undefined){ -_3e.selected=true; -} -var pp=$("
                          ").appendTo($(_3d).children("div.tabs-panels")); -_40.push(pp); -_36(_3d,pp,_3e); -_3f.onAdd.call(_3d,_3e.title,_40.length-1); -_12(_3d); -if(_3e.selected){ -_41(_3d,_40.length-1); -} -}; -function _42(_43,_44){ -var _45=$.data(_43,"tabs").selectHis; -var pp=_44.tab; -var _46=pp.panel("options").title; -pp.panel($.extend({},_44.options,{iconCls:(_44.options.icon?_44.options.icon:undefined)})); -var _47=pp.panel("options"); -var tab=_47.tab; -var _48=tab.find("span.tabs-title"); -var _49=tab.find("span.tabs-icon"); -_48.html(_47.title); -_49.attr("class","tabs-icon"); -tab.find("a.tabs-close").remove(); -if(_47.closable){ -_48.addClass("tabs-closable"); -$("").appendTo(tab); -}else{ -_48.removeClass("tabs-closable"); -} -if(_47.iconCls){ -_48.addClass("tabs-with-icon"); -_49.addClass(_47.iconCls); -}else{ -_48.removeClass("tabs-with-icon"); -} -if(_46!=_47.title){ -for(var i=0;i<_45.length;i++){ -if(_45[i]==_46){ -_45[i]=_47.title; -} -} -} -tab.find("span.tabs-p-tool").remove(); -if(_47.tools){ -var _4a=$("").insertAfter(tab.find("a.tabs-inner")); -if($.isArray(_47.tools)){ -for(var i=0;i<_47.tools.length;i++){ -var t=$("").appendTo(_4a); -t.addClass(_47.tools[i].iconCls); -if(_47.tools[i].handler){ -t.bind("click",{handler:_47.tools[i].handler},function(e){ -if($(this).parents("li").hasClass("tabs-disabled")){ -return; -} -e.data.handler.call(this); -}); -} -} -}else{ -$(_47.tools).children().appendTo(_4a); -} -var pr=_4a.children().length*12; -if(_47.closable){ -pr+=8; -}else{ -pr-=3; -_4a.css("right","5px"); -} -_48.css("padding-right",pr+"px"); -} -_12(_43); -$.data(_43,"tabs").options.onUpdate.call(_43,_47.title,_4b(_43,pp)); -}; -function _4c(_4d,_4e){ -var _4f=$.data(_4d,"tabs").options; -var _50=$.data(_4d,"tabs").tabs; -var _51=$.data(_4d,"tabs").selectHis; -if(!_52(_4d,_4e)){ -return; -} -var tab=_53(_4d,_4e); -var _54=tab.panel("options").title; -var _55=_4b(_4d,tab); -if(_4f.onBeforeClose.call(_4d,_54,_55)==false){ -return; -} -var tab=_53(_4d,_4e,true); -tab.panel("options").tab.remove(); -tab.panel("destroy"); -_4f.onClose.call(_4d,_54,_55); -_12(_4d); -for(var i=0;i<_51.length;i++){ -if(_51[i]==_54){ -_51.splice(i,1); -i--; -} -} -var _56=_51.pop(); -if(_56){ -_41(_4d,_56); -}else{ -if(_50.length){ -_41(_4d,0); -} -} -}; -function _53(_57,_58,_59){ -var _5a=$.data(_57,"tabs").tabs; -if(typeof _58=="number"){ -if(_58<0||_58>=_5a.length){ -return null; -}else{ -var tab=_5a[_58]; -if(_59){ -_5a.splice(_58,1); -} -return tab; -} -} -for(var i=0;i<_5a.length;i++){ -var tab=_5a[i]; -if(tab.panel("options").title==_58){ -if(_59){ -_5a.splice(i,1); -} -return tab; -} -} -return null; -}; -function _4b(_5b,tab){ -var _5c=$.data(_5b,"tabs").tabs; -for(var i=0;i<_5c.length;i++){ -if(_5c[i][0]==$(tab)[0]){ -return i; -} -} -return -1; -}; -function _1f(_5d){ -var _5e=$.data(_5d,"tabs").tabs; -for(var i=0;i<_5e.length;i++){ -var tab=_5e[i]; -if(tab.panel("options").closed==false){ -return tab; -} -} -return null; -}; -function _5f(_60){ -var _61=$.data(_60,"tabs"); -var _62=_61.tabs; -for(var i=0;i<_62.length;i++){ -if(_62[i].panel("options").selected){ -_41(_60,i); -return; -} -} -_41(_60,_61.options.selected); -}; -function _41(_63,_64){ -var _65=$.data(_63,"tabs"); -var _66=_65.options; -var _67=_65.tabs; -var _68=_65.selectHis; -if(_67.length==0){ -return; -} -var _69=_53(_63,_64); -if(!_69){ -return; -} -var _6a=_1f(_63); -if(_6a){ -if(_69[0]==_6a[0]){ -return; -} -_6b(_63,_4b(_63,_6a)); -if(!_6a.panel("options").closed){ -return; -} -} -_69.panel("open"); -var _6c=_69.panel("options").title; -_68.push(_6c); -var tab=_69.panel("options").tab; -tab.addClass("tabs-selected"); -var _6d=$(_63).find(">div.tabs-header>div.tabs-wrap"); -var _6e=tab.position().left; -var _6f=_6e+tab.outerWidth(); -if(_6e<0||_6f>_6d.width()){ -var _70=_6e-(_6d.width()-tab.width())/2; -$(_63).tabs("scrollBy",_70); -}else{ -$(_63).tabs("scrollBy",0); -} -_1c(_63); -_66.onSelect.call(_63,_6c,_4b(_63,_69)); -}; -function _6b(_71,_72){ -var _73=$.data(_71,"tabs"); -var p=_53(_71,_72); -if(p){ -var _74=p.panel("options"); -if(!_74.closed){ -p.panel("close"); -if(_74.closed){ -_74.tab.removeClass("tabs-selected"); -_73.options.onUnselect.call(_71,_74.title,_4b(_71,p)); -} -} -} -}; -function _52(_75,_76){ -return _53(_75,_76)!=null; -}; -function _77(_78,_79){ -var _7a=$.data(_78,"tabs").options; -_7a.showHeader=_79; -$(_78).tabs("resize"); -}; -$.fn.tabs=function(_7b,_7c){ -if(typeof _7b=="string"){ -return $.fn.tabs.methods[_7b](this,_7c); -} -_7b=_7b||{}; -return this.each(function(){ -var _7d=$.data(this,"tabs"); -var _7e; -if(_7d){ -_7e=$.extend(_7d.options,_7b); -_7d.options=_7e; -}else{ -$.data(this,"tabs",{options:$.extend({},$.fn.tabs.defaults,$.fn.tabs.parseOptions(this),_7b),tabs:[],selectHis:[]}); -_23(this); -} -_c(this); -_31(this); -_12(this); -_29(this); -_5f(this); -}); -}; -$.fn.tabs.methods={options:function(jq){ -var cc=jq[0]; -var _7f=$.data(cc,"tabs").options; -var s=_1f(cc); -_7f.selected=s?_4b(cc,s):-1; -return _7f; -},tabs:function(jq){ -return $.data(jq[0],"tabs").tabs; -},resize:function(jq){ -return jq.each(function(){ -_12(this); -_1c(this); -}); -},add:function(jq,_80){ -return jq.each(function(){ -_3c(this,_80); -}); -},close:function(jq,_81){ -return jq.each(function(){ -_4c(this,_81); -}); -},getTab:function(jq,_82){ -return _53(jq[0],_82); -},getTabIndex:function(jq,tab){ -return _4b(jq[0],tab); -},getSelected:function(jq){ -return _1f(jq[0]); -},select:function(jq,_83){ -return jq.each(function(){ -_41(this,_83); -}); -},unselect:function(jq,_84){ -return jq.each(function(){ -_6b(this,_84); -}); -},exists:function(jq,_85){ -return _52(jq[0],_85); -},update:function(jq,_86){ -return jq.each(function(){ -_42(this,_86); -}); -},enableTab:function(jq,_87){ -return jq.each(function(){ -$(this).tabs("getTab",_87).panel("options").tab.removeClass("tabs-disabled"); -}); -},disableTab:function(jq,_88){ -return jq.each(function(){ -$(this).tabs("getTab",_88).panel("options").tab.addClass("tabs-disabled"); -}); -},showHeader:function(jq){ -return jq.each(function(){ -_77(this,true); -}); -},hideHeader:function(jq){ -return jq.each(function(){ -_77(this,false); -}); -},scrollBy:function(jq,_89){ -return jq.each(function(){ -var _8a=$(this).tabs("options"); -var _8b=$(this).find(">div.tabs-header>div.tabs-wrap"); -var pos=Math.min(_8b._scrollLeft()+_89,_8c()); -_8b.animate({scrollLeft:pos},_8a.scrollDuration); -function _8c(){ -var w=0; -var ul=_8b.children("ul"); -ul.children("li").each(function(){ -w+=$(this).outerWidth(true); -}); -return w-_8b.width()+(ul.outerWidth()-ul.width()); -}; -}); -}}; -$.fn.tabs.parseOptions=function(_8d){ -return $.extend({},$.parser.parseOptions(_8d,["width","height","tools","toolPosition","tabPosition",{fit:"boolean",border:"boolean",plain:"boolean",headerWidth:"number",tabWidth:"number",tabHeight:"number",selected:"number",showHeader:"boolean"}])); -}; -$.fn.tabs.defaults={width:"auto",height:"auto",headerWidth:150,tabWidth:"auto",tabHeight:27,selected:0,showHeader:true,plain:false,fit:false,border:true,tools:null,toolPosition:"right",tabPosition:"top",scrollIncrement:100,scrollDuration:400,onLoad:function(_8e){ -},onSelect:function(_8f,_90){ -},onUnselect:function(_91,_92){ -},onBeforeClose:function(_93,_94){ -},onClose:function(_95,_96){ -},onAdd:function(_97,_98){ -},onUpdate:function(_99,_9a){ -},onContextMenu:function(e,_9b,_9c){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.timespinner.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.timespinner.js deleted file mode 100644 index bcc79156d5ed96e5baf6dd0e5352c86ffaef15cd..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.timespinner.js +++ /dev/null @@ -1,187 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"timespinner").options; -$(_2).addClass("timespinner-f"); -$(_2).spinner(_3); -$(_2).unbind(".timespinner"); -$(_2).bind("click.timespinner",function(){ -var _4=0; -if(this.selectionStart!=null){ -_4=this.selectionStart; -}else{ -if(this.createTextRange){ -var _5=_2.createTextRange(); -var s=document.selection.createRange(); -s.setEndPoint("StartToStart",_5); -_4=s.text.length; -} -} -if(_4>=0&&_4<=2){ -_3.highlight=0; -}else{ -if(_4>=3&&_4<=5){ -_3.highlight=1; -}else{ -if(_4>=6&&_4<=8){ -_3.highlight=2; -} -} -} -_7(_2); -}).bind("blur.timespinner",function(){ -_6(_2); -}); -}; -function _7(_8){ -var _9=$.data(_8,"timespinner").options; -var _a=0,_b=0; -if(_9.highlight==0){ -_a=0; -_b=2; -}else{ -if(_9.highlight==1){ -_a=3; -_b=5; -}else{ -if(_9.highlight==2){ -_a=6; -_b=8; -} -} -} -if(_8.selectionStart!=null){ -_8.setSelectionRange(_a,_b); -}else{ -if(_8.createTextRange){ -var _c=_8.createTextRange(); -_c.collapse(); -_c.moveEnd("character",_b); -_c.moveStart("character",_a); -_c.select(); -} -} -$(_8).focus(); -}; -function _d(_e,_f){ -var _10=$.data(_e,"timespinner").options; -if(!_f){ -return null; -} -var vv=_f.split(_10.separator); -for(var i=0;i_14){ -_14=_15; -} -if(_16&&_16<_14){ -_14=_16; -} -var tt=[_17(_14.getHours()),_17(_14.getMinutes())]; -if(_12.showSeconds){ -tt.push(_17(_14.getSeconds())); -} -var val=tt.join(_12.separator); -_12.value=val; -$(_11).val(val); -function _17(_18){ -return (_18<10?"0":"")+_18; -}; -}; -function _19(_1a,_1b){ -var _1c=$.data(_1a,"timespinner").options; -var val=$(_1a).val(); -if(val==""){ -val=[0,0,0].join(_1c.separator); -} -var vv=val.split(_1c.separator); -for(var i=0;i"+"
                          "+"
                          "+"
                          "+"
                          ").appendTo("body"); -_12.tip=tip; -_14(_11); -} -tip.removeClass("tooltip-top tooltip-bottom tooltip-left tooltip-right").addClass("tooltip-"+_13.position); -_7(_11); -_12.showTimer=setTimeout(function(){ -_6(_11); -tip.show(); -_13.onShow.call(_11,e); -var _15=tip.children(".tooltip-arrow-outer"); -var _16=tip.children(".tooltip-arrow"); -var bc="border-"+_13.position+"-color"; -_15.add(_16).css({borderTopColor:"",borderBottomColor:"",borderLeftColor:"",borderRightColor:""}); -_15.css(bc,tip.css(bc)); -_16.css(bc,tip.css("backgroundColor")); -},_13.showDelay); -}; -function _17(_18,e){ -var _19=$.data(_18,"tooltip"); -if(_19&&_19.tip){ -_7(_18); -_19.hideTimer=setTimeout(function(){ -_19.tip.hide(); -_19.options.onHide.call(_18,e); -},_19.options.hideDelay); -} -}; -function _14(_1a,_1b){ -var _1c=$.data(_1a,"tooltip"); -var _1d=_1c.options; -if(_1b){ -_1d.content=_1b; -} -if(!_1c.tip){ -return; -} -var cc=typeof _1d.content=="function"?_1d.content.call(_1a):_1d.content; -_1c.tip.children(".tooltip-content").html(cc); -_1d.onUpdate.call(_1a,cc); -}; -function _1e(_1f){ -var _20=$.data(_1f,"tooltip"); -if(_20){ -_7(_1f); -var _21=_20.options; -if(_20.tip){ -_20.tip.remove(); -} -if(_21._title){ -$(_1f).attr("title",_21._title); -} -$.removeData(_1f,"tooltip"); -$(_1f).unbind(".tooltip").removeClass("tooltip-f"); -_21.onDestroy.call(_1f); -} -}; -$.fn.tooltip=function(_22,_23){ -if(typeof _22=="string"){ -return $.fn.tooltip.methods[_22](this,_23); -} -_22=_22||{}; -return this.each(function(){ -var _24=$.data(this,"tooltip"); -if(_24){ -$.extend(_24.options,_22); -}else{ -$.data(this,"tooltip",{options:$.extend({},$.fn.tooltip.defaults,$.fn.tooltip.parseOptions(this),_22)}); -_1(this); -} -_3(this); -_14(this); -}); -}; -$.fn.tooltip.methods={options:function(jq){ -return $.data(jq[0],"tooltip").options; -},tip:function(jq){ -return $.data(jq[0],"tooltip").tip; -},arrow:function(jq){ -return jq.tooltip("tip").children(".tooltip-arrow-outer,.tooltip-arrow"); -},show:function(jq,e){ -return jq.each(function(){ -_10(this,e); -}); -},hide:function(jq,e){ -return jq.each(function(){ -_17(this,e); -}); -},update:function(jq,_25){ -return jq.each(function(){ -_14(this,_25); -}); -},reposition:function(jq){ -return jq.each(function(){ -_6(this); -}); -},destroy:function(jq){ -return jq.each(function(){ -_1e(this); -}); -}}; -$.fn.tooltip.parseOptions=function(_26){ -var t=$(_26); -var _27=$.extend({},$.parser.parseOptions(_26,["position","showEvent","hideEvent","content",{deltaX:"number",deltaY:"number",showDelay:"number",hideDelay:"number"}]),{_title:t.attr("title")}); -t.attr("title",""); -if(!_27.content){ -_27.content=_27._title; -} -return _27; -}; -$.fn.tooltip.defaults={position:"bottom",content:null,trackMouse:false,deltaX:0,deltaY:0,showEvent:"mouseenter",hideEvent:"mouseleave",showDelay:200,hideDelay:100,onShow:function(e){ -},onHide:function(e){ -},onUpdate:function(_28){ -},onPosition:function(_29,top){ -},onDestroy:function(){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.tree.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.tree.js deleted file mode 100644 index be50c7d5f98761b5528fa41bf65621227b543135..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.tree.js +++ /dev/null @@ -1,1155 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$(_2); -_3.addClass("tree"); -return _3; -}; -function _4(_5){ -var _6=$.data(_5,"tree").options; -$(_5).unbind().bind("mouseover",function(e){ -var tt=$(e.target); -var _7=tt.closest("div.tree-node"); -if(!_7.length){ -return; -} -_7.addClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.addClass("tree-expanded-hover"); -}else{ -tt.addClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var _8=tt.closest("div.tree-node"); -if(!_8.length){ -return; -} -_8.removeClass("tree-node-hover"); -if(tt.hasClass("tree-hit")){ -if(tt.hasClass("tree-expanded")){ -tt.removeClass("tree-expanded-hover"); -}else{ -tt.removeClass("tree-collapsed-hover"); -} -} -e.stopPropagation(); -}).bind("click",function(e){ -var tt=$(e.target); -var _9=tt.closest("div.tree-node"); -if(!_9.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_7e(_5,_9[0]); -return false; -}else{ -if(tt.hasClass("tree-checkbox")){ -_32(_5,_9[0],!tt.hasClass("tree-checkbox1")); -return false; -}else{ -_d6(_5,_9[0]); -_6.onClick.call(_5,_c(_5,_9[0])); -} -} -e.stopPropagation(); -}).bind("dblclick",function(e){ -var _a=$(e.target).closest("div.tree-node"); -if(!_a.length){ -return; -} -_d6(_5,_a[0]); -_6.onDblClick.call(_5,_c(_5,_a[0])); -e.stopPropagation(); -}).bind("contextmenu",function(e){ -var _b=$(e.target).closest("div.tree-node"); -if(!_b.length){ -return; -} -_6.onContextMenu.call(_5,e,_c(_5,_b[0])); -e.stopPropagation(); -}); -}; -function _d(_e){ -var _f=$.data(_e,"tree").options; -_f.dnd=false; -var _10=$(_e).find("div.tree-node"); -_10.draggable("disable"); -_10.css("cursor","pointer"); -}; -function _11(_12){ -var _13=$.data(_12,"tree"); -var _14=_13.options; -var _15=_13.tree; -_13.disabledNodes=[]; -_14.dnd=true; -_15.find("div.tree-node").draggable({disabled:false,revert:true,cursor:"pointer",proxy:function(_16){ -var p=$("
                          ").appendTo("body"); -p.html(" "+$(_16).find(".tree-title").html()); -p.hide(); -return p; -},deltaX:15,deltaY:15,onBeforeDrag:function(e){ -if(_14.onBeforeDrag.call(_12,_c(_12,this))==false){ -return false; -} -if($(e.target).hasClass("tree-hit")||$(e.target).hasClass("tree-checkbox")){ -return false; -} -if(e.which!=1){ -return false; -} -$(this).next("ul").find("div.tree-node").droppable({accept:"no-accept"}); -var _17=$(this).find("span.tree-indent"); -if(_17.length){ -e.data.offsetWidth-=_17.length*_17.width(); -} -},onStartDrag:function(){ -$(this).draggable("proxy").css({left:-10000,top:-10000}); -_14.onStartDrag.call(_12,_c(_12,this)); -var _18=_c(_12,this); -if(_18.id==undefined){ -_18.id="easyui_tree_node_id_temp"; -_54(_12,_18); -} -_13.draggingNodeId=_18.id; -},onDrag:function(e){ -var x1=e.pageX,y1=e.pageY,x2=e.data.startX,y2=e.data.startY; -var d=Math.sqrt((x1-x2)*(x1-x2)+(y1-y2)*(y1-y2)); -if(d>3){ -$(this).draggable("proxy").show(); -} -this.pageY=e.pageY; -},onStopDrag:function(){ -$(this).next("ul").find("div.tree-node").droppable({accept:"div.tree-node"}); -for(var i=0;i<_13.disabledNodes.length;i++){ -$(_13.disabledNodes[i]).droppable("enable"); -} -_13.disabledNodes=[]; -var _19=_c9(_12,_13.draggingNodeId); -if(_19&&_19.id=="easyui_tree_node_id_temp"){ -_19.id=""; -_54(_12,_19); -} -_14.onStopDrag.call(_12,_19); -}}).droppable({accept:"div.tree-node",onDragEnter:function(e,_1a){ -if(_14.onDragEnter.call(_12,this,_c(_12,_1a))==false){ -_1b(_1a,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_13.disabledNodes.push(this); -} -},onDragOver:function(e,_1c){ -if($(this).droppable("options").disabled){ -return; -} -var _1d=_1c.pageY; -var top=$(this).offset().top; -var _1e=top+$(this).outerHeight(); -_1b(_1c,true); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -if(_1d>top+(_1e-top)/2){ -if(_1e-_1d<5){ -$(this).addClass("tree-node-bottom"); -}else{ -$(this).addClass("tree-node-append"); -} -}else{ -if(_1d-top<5){ -$(this).addClass("tree-node-top"); -}else{ -$(this).addClass("tree-node-append"); -} -} -if(_14.onDragOver.call(_12,this,_c(_12,_1c))==false){ -_1b(_1c,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -$(this).droppable("disable"); -_13.disabledNodes.push(this); -} -},onDragLeave:function(e,_1f){ -_1b(_1f,false); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -_14.onDragLeave.call(_12,this,_c(_12,_1f)); -},onDrop:function(e,_20){ -var _21=this; -var _22,_23; -if($(this).hasClass("tree-node-append")){ -_22=_24; -_23="append"; -}else{ -_22=_25; -_23=$(this).hasClass("tree-node-top")?"top":"bottom"; -} -if(_14.onBeforeDrop.call(_12,_21,_c2(_12,_20),_23)==false){ -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -return; -} -_22(_20,_21,_23); -$(this).removeClass("tree-node-append tree-node-top tree-node-bottom"); -}}); -function _1b(_26,_27){ -var _28=$(_26).draggable("proxy").find("span.tree-dnd-icon"); -_28.removeClass("tree-dnd-yes tree-dnd-no").addClass(_27?"tree-dnd-yes":"tree-dnd-no"); -}; -function _24(_29,_2a){ -if(_c(_12,_2a).state=="closed"){ -_72(_12,_2a,function(){ -_2b(); -}); -}else{ -_2b(); -} -function _2b(){ -var _2c=$(_12).tree("pop",_29); -$(_12).tree("append",{parent:_2a,data:[_2c]}); -_14.onDrop.call(_12,_2a,_2c,"append"); -}; -}; -function _25(_2d,_2e,_2f){ -var _30={}; -if(_2f=="top"){ -_30.before=_2e; -}else{ -_30.after=_2e; -} -var _31=$(_12).tree("pop",_2d); -_30.data=_31; -$(_12).tree("insert",_30); -_14.onDrop.call(_12,_2e,_31,_2f); -}; -}; -function _32(_33,_34,_35){ -var _36=$.data(_33,"tree").options; -if(!_36.checkbox){ -return; -} -var _37=_c(_33,_34); -if(_36.onBeforeCheck.call(_33,_37,_35)==false){ -return; -} -var _38=$(_34); -var ck=_38.find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_35){ -ck.addClass("tree-checkbox1"); -}else{ -ck.addClass("tree-checkbox0"); -} -if(_36.cascadeCheck){ -_39(_38); -_3a(_38); -} -_36.onCheck.call(_33,_37,_35); -function _3a(_3b){ -var _3c=_3b.next().find(".tree-checkbox"); -_3c.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_3b.find(".tree-checkbox").hasClass("tree-checkbox1")){ -_3c.addClass("tree-checkbox1"); -}else{ -_3c.addClass("tree-checkbox0"); -} -}; -function _39(_3d){ -var _3e=_89(_33,_3d[0]); -if(_3e){ -var ck=$(_3e.target).find(".tree-checkbox"); -ck.removeClass("tree-checkbox0 tree-checkbox1 tree-checkbox2"); -if(_3f(_3d)){ -ck.addClass("tree-checkbox1"); -}else{ -if(_40(_3d)){ -ck.addClass("tree-checkbox0"); -}else{ -ck.addClass("tree-checkbox2"); -} -} -_39($(_3e.target)); -} -function _3f(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox0")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox1")){ -b=false; -} -}); -return b; -}; -function _40(n){ -var ck=n.find(".tree-checkbox"); -if(ck.hasClass("tree-checkbox1")||ck.hasClass("tree-checkbox2")){ -return false; -} -var b=true; -n.parent().siblings().each(function(){ -if(!$(this).children("div.tree-node").children(".tree-checkbox").hasClass("tree-checkbox0")){ -b=false; -} -}); -return b; -}; -}; -}; -function _41(_42,_43){ -var _44=$.data(_42,"tree").options; -if(!_44.checkbox){ -return; -} -var _45=$(_43); -if(_46(_42,_43)){ -var ck=_45.find(".tree-checkbox"); -if(ck.length){ -if(ck.hasClass("tree-checkbox1")){ -_32(_42,_43,true); -}else{ -_32(_42,_43,false); -} -}else{ -if(_44.onlyLeafCheck){ -$("").insertBefore(_45.find(".tree-title")); -} -} -}else{ -var ck=_45.find(".tree-checkbox"); -if(_44.onlyLeafCheck){ -ck.remove(); -}else{ -if(ck.hasClass("tree-checkbox1")){ -_32(_42,_43,true); -}else{ -if(ck.hasClass("tree-checkbox2")){ -var _47=true; -var _48=true; -var _49=_4a(_42,_43); -for(var i=0;i<_49.length;i++){ -if(_49[i].checked){ -_48=false; -}else{ -_47=false; -} -} -if(_47){ -_32(_42,_43,true); -} -if(_48){ -_32(_42,_43,false); -} -} -} -} -} -}; -function _4b(_4c,ul,_4d,_4e){ -var _4f=$.data(_4c,"tree"); -var _50=_4f.options; -var _51=$(ul).prevAll("div.tree-node:first"); -_4d=_50.loadFilter.call(_4c,_4d,_51[0]); -var _52=_53(_4c,"domId",_51.attr("id")); -if(!_4e){ -_52?_52.children=_4d:_4f.data=_4d; -$(ul).empty(); -}else{ -if(_52){ -_52.children?_52.children=_52.children.concat(_4d):_52.children=_4d; -}else{ -_4f.data=_4f.data.concat(_4d); -} -} -_50.view.render.call(_50.view,_4c,ul,_4d); -if(_50.dnd){ -_11(_4c); -} -if(_52){ -_54(_4c,_52); -} -var _55=[]; -var _56=[]; -for(var i=0;i<_4d.length;i++){ -var _57=_4d[i]; -if(!_57.checked){ -_55.push(_57); -} -} -_58(_4d,function(_59){ -if(_59.checked){ -_56.push(_59); -} -}); -if(_55.length){ -_32(_4c,$("#"+_55[0].domId)[0],false); -} -for(var i=0;i<_56.length;i++){ -_32(_4c,$("#"+_56[i].domId)[0],true); -} -setTimeout(function(){ -_5a(_4c,_4c); -},0); -_50.onLoadSuccess.call(_4c,_52,_4d); -}; -function _5a(_5b,ul,_5c){ -var _5d=$.data(_5b,"tree").options; -if(_5d.lines){ -$(_5b).addClass("tree-lines"); -}else{ -$(_5b).removeClass("tree-lines"); -return; -} -if(!_5c){ -_5c=true; -$(_5b).find("span.tree-indent").removeClass("tree-line tree-join tree-joinbottom"); -$(_5b).find("div.tree-node").removeClass("tree-node-last tree-root-first tree-root-one"); -var _5e=$(_5b).tree("getRoots"); -if(_5e.length>1){ -$(_5e[0].target).addClass("tree-root-first"); -}else{ -if(_5e.length==1){ -$(_5e[0].target).addClass("tree-root-one"); -} -} -} -$(ul).children("li").each(function(){ -var _5f=$(this).children("div.tree-node"); -var ul=_5f.next("ul"); -if(ul.length){ -if($(this).next().length){ -_60(_5f); -} -_5a(_5b,ul,_5c); -}else{ -_61(_5f); -} -}); -var _62=$(ul).children("li:last").children("div.tree-node").addClass("tree-node-last"); -_62.children("span.tree-join").removeClass("tree-join").addClass("tree-joinbottom"); -function _61(_63,_64){ -var _65=_63.find("span.tree-icon"); -_65.prev("span.tree-indent").addClass("tree-join"); -}; -function _60(_66){ -var _67=_66.find("span.tree-indent, span.tree-hit").length; -_66.next().find("div.tree-node").each(function(){ -$(this).children("span:eq("+(_67-1)+")").addClass("tree-line"); -}); -}; -}; -function _68(_69,ul,_6a,_6b){ -var _6c=$.data(_69,"tree").options; -_6a=_6a||{}; -var _6d=null; -if(_69!=ul){ -var _6e=$(ul).prev(); -_6d=_c(_69,_6e[0]); -} -if(_6c.onBeforeLoad.call(_69,_6d,_6a)==false){ -return; -} -var _6f=$(ul).prev().children("span.tree-folder"); -_6f.addClass("tree-loading"); -var _70=_6c.loader.call(_69,_6a,function(_71){ -_6f.removeClass("tree-loading"); -_4b(_69,ul,_71); -if(_6b){ -_6b(); -} -},function(){ -_6f.removeClass("tree-loading"); -_6c.onLoadError.apply(_69,arguments); -if(_6b){ -_6b(); -} -}); -if(_70==false){ -_6f.removeClass("tree-loading"); -} -}; -function _72(_73,_74,_75){ -var _76=$.data(_73,"tree").options; -var hit=$(_74).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -return; -} -var _77=_c(_73,_74); -if(_76.onBeforeExpand.call(_73,_77)==false){ -return; -} -hit.removeClass("tree-collapsed tree-collapsed-hover").addClass("tree-expanded"); -hit.next().addClass("tree-folder-open"); -var ul=$(_74).next(); -if(ul.length){ -if(_76.animate){ -ul.slideDown("normal",function(){ -_77.state="open"; -_76.onExpand.call(_73,_77); -if(_75){ -_75(); -} -}); -}else{ -ul.css("display","block"); -_77.state="open"; -_76.onExpand.call(_73,_77); -if(_75){ -_75(); -} -} -}else{ -var _78=$("
                            ").insertAfter(_74); -_68(_73,_78[0],{id:_77.id},function(){ -if(_78.is(":empty")){ -_78.remove(); -} -if(_76.animate){ -_78.slideDown("normal",function(){ -_77.state="open"; -_76.onExpand.call(_73,_77); -if(_75){ -_75(); -} -}); -}else{ -_78.css("display","block"); -_77.state="open"; -_76.onExpand.call(_73,_77); -if(_75){ -_75(); -} -} -}); -} -}; -function _79(_7a,_7b){ -var _7c=$.data(_7a,"tree").options; -var hit=$(_7b).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-collapsed")){ -return; -} -var _7d=_c(_7a,_7b); -if(_7c.onBeforeCollapse.call(_7a,_7d)==false){ -return; -} -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -hit.next().removeClass("tree-folder-open"); -var ul=$(_7b).next(); -if(_7c.animate){ -ul.slideUp("normal",function(){ -_7d.state="closed"; -_7c.onCollapse.call(_7a,_7d); -}); -}else{ -ul.css("display","none"); -_7d.state="closed"; -_7c.onCollapse.call(_7a,_7d); -} -}; -function _7e(_7f,_80){ -var hit=$(_80).children("span.tree-hit"); -if(hit.length==0){ -return; -} -if(hit.hasClass("tree-expanded")){ -_79(_7f,_80); -}else{ -_72(_7f,_80); -} -}; -function _81(_82,_83){ -var _84=_4a(_82,_83); -if(_83){ -_84.unshift(_c(_82,_83)); -} -for(var i=0;i<_84.length;i++){ -_72(_82,_84[i].target); -} -}; -function _85(_86,_87){ -var _88=[]; -var p=_89(_86,_87); -while(p){ -_88.unshift(p); -p=_89(_86,p.target); -} -for(var i=0;i<_88.length;i++){ -_72(_86,_88[i].target); -} -}; -function _8a(_8b,_8c){ -var c=$(_8b).parent(); -while(c[0].tagName!="BODY"&&c.css("overflow-y")!="auto"){ -c=c.parent(); -} -var n=$(_8c); -var _8d=n.offset().top; -if(c[0].tagName!="BODY"){ -var _8e=c.offset().top; -if(_8d<_8e){ -c.scrollTop(c.scrollTop()+_8d-_8e); -}else{ -if(_8d+n.outerHeight()>_8e+c.outerHeight()-18){ -c.scrollTop(c.scrollTop()+_8d+n.outerHeight()-_8e-c.outerHeight()+18); -} -} -}else{ -c.scrollTop(_8d); -} -}; -function _8f(_90,_91){ -var _92=_4a(_90,_91); -if(_91){ -_92.unshift(_c(_90,_91)); -} -for(var i=0;i<_92.length;i++){ -_79(_90,_92[i].target); -} -}; -function _93(_94,_95){ -var _96=$(_95.parent); -var _97=_95.data; -if(!_97){ -return; -} -_97=$.isArray(_97)?_97:[_97]; -if(!_97.length){ -return; -} -var ul; -if(_96.length==0){ -ul=$(_94); -}else{ -if(_46(_94,_96[0])){ -var _98=_96.find("span.tree-icon"); -_98.removeClass("tree-file").addClass("tree-folder tree-folder-open"); -var hit=$("").insertBefore(_98); -if(hit.prev().length){ -hit.prev().remove(); -} -} -ul=_96.next(); -if(!ul.length){ -ul=$("
                              ").insertAfter(_96); -} -} -_4b(_94,ul[0],_97,true); -_41(_94,ul.prev()); -}; -function _99(_9a,_9b){ -var ref=_9b.before||_9b.after; -var _9c=_89(_9a,ref); -var _9d=_9b.data; -if(!_9d){ -return; -} -_9d=$.isArray(_9d)?_9d:[_9d]; -if(!_9d.length){ -return; -} -_93(_9a,{parent:(_9c?_9c.target:null),data:_9d}); -var li=$(); -for(var i=0;i<_9d.length;i++){ -li=li.add($("#"+_9d[i].domId).parent()); -} -if(_9b.before){ -li.insertBefore($(ref).parent()); -}else{ -li.insertAfter($(ref).parent()); -} -}; -function _9e(_9f,_a0){ -var _a1=del(_a0); -$(_a0).parent().remove(); -if(_a1){ -if(!_a1.children||!_a1.children.length){ -var _a2=$(_a1.target); -_a2.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); -_a2.find(".tree-hit").remove(); -$("").prependTo(_a2); -_a2.next().remove(); -} -_54(_9f,_a1); -_41(_9f,_a1.target); -} -_5a(_9f,_9f); -function del(_a3){ -var id=$(_a3).attr("id"); -var _a4=_89(_9f,_a3); -var cc=_a4?_a4.children:$.data(_9f,"tree").data; -for(var i=0;i=0;i--){ -_d4.unshift(_d5.children[i]); -} -} -} -}; -function _d6(_d7,_d8){ -var _d9=$.data(_d7,"tree").options; -var _da=_c(_d7,_d8); -if(_d9.onBeforeSelect.call(_d7,_da)==false){ -return; -} -$(_d7).find("div.tree-node-selected").removeClass("tree-node-selected"); -$(_d8).addClass("tree-node-selected"); -_d9.onSelect.call(_d7,_da); -}; -function _46(_db,_dc){ -return $(_dc).children("span.tree-hit").length==0; -}; -function _dd(_de,_df){ -var _e0=$.data(_de,"tree").options; -var _e1=_c(_de,_df); -if(_e0.onBeforeEdit.call(_de,_e1)==false){ -return; -} -$(_df).css("position","relative"); -var nt=$(_df).find(".tree-title"); -var _e2=nt.outerWidth(); -nt.empty(); -var _e3=$("").appendTo(nt); -_e3.val(_e1.text).focus(); -_e3.width(_e2+20); -_e3.height(document.compatMode=="CSS1Compat"?(18-(_e3.outerHeight()-_e3.height())):18); -_e3.bind("click",function(e){ -return false; -}).bind("mousedown",function(e){ -e.stopPropagation(); -}).bind("mousemove",function(e){ -e.stopPropagation(); -}).bind("keydown",function(e){ -if(e.keyCode==13){ -_e4(_de,_df); -return false; -}else{ -if(e.keyCode==27){ -_ea(_de,_df); -return false; -} -} -}).bind("blur",function(e){ -e.stopPropagation(); -_e4(_de,_df); -}); -}; -function _e4(_e5,_e6){ -var _e7=$.data(_e5,"tree").options; -$(_e6).css("position",""); -var _e8=$(_e6).find("input.tree-editor"); -var val=_e8.val(); -_e8.remove(); -var _e9=_c(_e5,_e6); -_e9.text=val; -_54(_e5,_e9); -_e7.onAfterEdit.call(_e5,_e9); -}; -function _ea(_eb,_ec){ -var _ed=$.data(_eb,"tree").options; -$(_ec).css("position",""); -$(_ec).find("input.tree-editor").remove(); -var _ee=_c(_eb,_ec); -_54(_eb,_ee); -_ed.onCancelEdit.call(_eb,_ee); -}; -$.fn.tree=function(_ef,_f0){ -if(typeof _ef=="string"){ -return $.fn.tree.methods[_ef](this,_f0); -} -var _ef=_ef||{}; -return this.each(function(){ -var _f1=$.data(this,"tree"); -var _f2; -if(_f1){ -_f2=$.extend(_f1.options,_ef); -_f1.options=_f2; -}else{ -_f2=$.extend({},$.fn.tree.defaults,$.fn.tree.parseOptions(this),_ef); -$.data(this,"tree",{options:_f2,tree:_1(this),data:[]}); -var _f3=$.fn.tree.parseData(this); -if(_f3.length){ -_4b(this,this,_f3); -} -} -_4(this); -if(_f2.data){ -_4b(this,this,_f2.data); -} -_68(this,this); -}); -}; -$.fn.tree.methods={options:function(jq){ -return $.data(jq[0],"tree").options; -},loadData:function(jq,_f4){ -return jq.each(function(){ -_4b(this,this,_f4); -}); -},getNode:function(jq,_f5){ -return _c(jq[0],_f5); -},getData:function(jq,_f6){ -return _c2(jq[0],_f6); -},reload:function(jq,_f7){ -return jq.each(function(){ -if(_f7){ -var _f8=$(_f7); -var hit=_f8.children("span.tree-hit"); -hit.removeClass("tree-expanded tree-expanded-hover").addClass("tree-collapsed"); -_f8.next().remove(); -_72(this,_f7); -}else{ -$(this).empty(); -_68(this,this); -} -}); -},getRoot:function(jq){ -return _ab(jq[0]); -},getRoots:function(jq){ -return _ae(jq[0]); -},getParent:function(jq,_f9){ -return _89(jq[0],_f9); -},getChildren:function(jq,_fa){ -return _4a(jq[0],_fa); -},getChecked:function(jq,_fb){ -return _b9(jq[0],_fb); -},getSelected:function(jq){ -return _bf(jq[0]); -},isLeaf:function(jq,_fc){ -return _46(jq[0],_fc); -},find:function(jq,id){ -return _c9(jq[0],id); -},select:function(jq,_fd){ -return jq.each(function(){ -_d6(this,_fd); -}); -},check:function(jq,_fe){ -return jq.each(function(){ -_32(this,_fe,true); -}); -},uncheck:function(jq,_ff){ -return jq.each(function(){ -_32(this,_ff,false); -}); -},collapse:function(jq,_100){ -return jq.each(function(){ -_79(this,_100); -}); -},expand:function(jq,_101){ -return jq.each(function(){ -_72(this,_101); -}); -},collapseAll:function(jq,_102){ -return jq.each(function(){ -_8f(this,_102); -}); -},expandAll:function(jq,_103){ -return jq.each(function(){ -_81(this,_103); -}); -},expandTo:function(jq,_104){ -return jq.each(function(){ -_85(this,_104); -}); -},scrollTo:function(jq,_105){ -return jq.each(function(){ -_8a(this,_105); -}); -},toggle:function(jq,_106){ -return jq.each(function(){ -_7e(this,_106); -}); -},append:function(jq,_107){ -return jq.each(function(){ -_93(this,_107); -}); -},insert:function(jq,_108){ -return jq.each(function(){ -_99(this,_108); -}); -},remove:function(jq,_109){ -return jq.each(function(){ -_9e(this,_109); -}); -},pop:function(jq,_10a){ -var node=jq.tree("getData",_10a); -jq.tree("remove",_10a); -return node; -},update:function(jq,_10b){ -return jq.each(function(){ -_54(this,_10b); -}); -},enableDnd:function(jq){ -return jq.each(function(){ -_11(this); -}); -},disableDnd:function(jq){ -return jq.each(function(){ -_d(this); -}); -},beginEdit:function(jq,_10c){ -return jq.each(function(){ -_dd(this,_10c); -}); -},endEdit:function(jq,_10d){ -return jq.each(function(){ -_e4(this,_10d); -}); -},cancelEdit:function(jq,_10e){ -return jq.each(function(){ -_ea(this,_10e); -}); -}}; -$.fn.tree.parseOptions=function(_10f){ -var t=$(_10f); -return $.extend({},$.parser.parseOptions(_10f,["url","method",{checkbox:"boolean",cascadeCheck:"boolean",onlyLeafCheck:"boolean"},{animate:"boolean",lines:"boolean",dnd:"boolean"}])); -}; -$.fn.tree.parseData=function(_110){ -var data=[]; -_111(data,$(_110)); -return data; -function _111(aa,tree){ -tree.children("li").each(function(){ -var node=$(this); -var item=$.extend({},$.parser.parseOptions(this,["id","iconCls","state"]),{checked:(node.attr("checked")?true:undefined)}); -item.text=node.children("span").html(); -if(!item.text){ -item.text=node.html(); -} -var _112=node.children("ul"); -if(_112.length){ -item.children=[]; -_111(item.children,_112); -} -aa.push(item); -}); -}; -}; -var _113=1; -var _114={render:function(_115,ul,data){ -var opts=$.data(_115,"tree").options; -var _116=$(ul).prev("div.tree-node").find("span.tree-indent, span.tree-hit").length; -var cc=_117(_116,data); -$(ul).append(cc.join("")); -function _117(_118,_119){ -var cc=[]; -for(var i=0;i<_119.length;i++){ -var item=_119[i]; -if(item.state!="open"&&item.state!="closed"){ -item.state="open"; -} -item.domId="_easyui_tree_"+_113++; -cc.push("
                            • "); -cc.push("
                              "); -for(var j=0;j<_118;j++){ -cc.push(""); -} -if(item.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(item.children&&item.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -} -} -if(opts.checkbox){ -if((!opts.onlyLeafCheck)||(opts.onlyLeafCheck&&(!item.children||!item.children.length))){ -cc.push(""); -} -} -cc.push(""+opts.formatter.call(_115,item)+""); -cc.push("
                              "); -if(item.children&&item.children.length){ -var tmp=_117(_118+1,item.children); -cc.push("
                                "); -cc=cc.concat(tmp); -cc.push("
                              "); -} -cc.push("
                            • "); -} -return cc; -}; -}}; -$.fn.tree.defaults={url:null,method:"post",animate:false,checkbox:false,cascadeCheck:true,onlyLeafCheck:false,lines:false,dnd:false,data:null,formatter:function(node){ -return node.text; -},loader:function(_11a,_11b,_11c){ -var opts=$(this).tree("options"); -if(!opts.url){ -return false; -} -$.ajax({type:opts.method,url:opts.url,data:_11a,dataType:"json",success:function(data){ -_11b(data); -},error:function(){ -_11c.apply(this,arguments); -}}); -},loadFilter:function(data,_11d){ -return data; -},view:_114,onBeforeLoad:function(node,_11e){ -},onLoadSuccess:function(node,data){ -},onLoadError:function(){ -},onClick:function(node){ -},onDblClick:function(node){ -},onBeforeExpand:function(node){ -},onExpand:function(node){ -},onBeforeCollapse:function(node){ -},onCollapse:function(node){ -},onBeforeCheck:function(node,_11f){ -},onCheck:function(node,_120){ -},onBeforeSelect:function(node){ -},onSelect:function(node){ -},onContextMenu:function(e,node){ -},onBeforeDrag:function(node){ -},onStartDrag:function(node){ -},onStopDrag:function(node){ -},onDragEnter:function(_121,_122){ -},onDragOver:function(_123,_124){ -},onDragLeave:function(_125,_126){ -},onBeforeDrop:function(_127,_128,_129){ -},onDrop:function(_12a,_12b,_12c){ -},onBeforeEdit:function(node){ -},onAfterEdit:function(node){ -},onCancelEdit:function(node){ -}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.treegrid.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.treegrid.js deleted file mode 100644 index 541e54c3ad7169f39cae684fabc1a9e0d7224758..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.treegrid.js +++ /dev/null @@ -1,1100 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2){ -var _3=$.data(_2,"treegrid"); -var _4=_3.options; -$(_2).datagrid($.extend({},_4,{url:null,data:null,loader:function(){ -return false; -},onBeforeLoad:function(){ -return false; -},onLoadSuccess:function(){ -},onResizeColumn:function(_5,_6){ -_20(_2); -_4.onResizeColumn.call(_2,_5,_6); -},onSortColumn:function(_7,_8){ -_4.sortName=_7; -_4.sortOrder=_8; -if(_4.remoteSort){ -_1f(_2); -}else{ -var _9=$(_2).treegrid("getData"); -_39(_2,0,_9); -} -_4.onSortColumn.call(_2,_7,_8); -},onBeforeEdit:function(_a,_b){ -if(_4.onBeforeEdit.call(_2,_b)==false){ -return false; -} -},onAfterEdit:function(_c,_d,_e){ -_4.onAfterEdit.call(_2,_d,_e); -},onCancelEdit:function(_f,row){ -_4.onCancelEdit.call(_2,row); -},onSelect:function(_10){ -_4.onSelect.call(_2,_41(_2,_10)); -},onUnselect:function(_11){ -_4.onUnselect.call(_2,_41(_2,_11)); -},onSelectAll:function(){ -_4.onSelectAll.call(_2,$.data(_2,"treegrid").data); -},onUnselectAll:function(){ -_4.onUnselectAll.call(_2,$.data(_2,"treegrid").data); -},onCheck:function(_12){ -_4.onCheck.call(_2,_41(_2,_12)); -},onUncheck:function(_13){ -_4.onUncheck.call(_2,_41(_2,_13)); -},onCheckAll:function(){ -_4.onCheckAll.call(_2,$.data(_2,"treegrid").data); -},onUncheckAll:function(){ -_4.onUncheckAll.call(_2,$.data(_2,"treegrid").data); -},onClickRow:function(_14){ -_4.onClickRow.call(_2,_41(_2,_14)); -},onDblClickRow:function(_15){ -_4.onDblClickRow.call(_2,_41(_2,_15)); -},onClickCell:function(_16,_17){ -_4.onClickCell.call(_2,_17,_41(_2,_16)); -},onDblClickCell:function(_18,_19){ -_4.onDblClickCell.call(_2,_19,_41(_2,_18)); -},onRowContextMenu:function(e,_1a){ -_4.onContextMenu.call(_2,e,_41(_2,_1a)); -}})); -if(!_4.columns){ -var _1b=$.data(_2,"datagrid").options; -_4.columns=_1b.columns; -_4.frozenColumns=_1b.frozenColumns; -} -_3.dc=$.data(_2,"datagrid").dc; -if(_4.pagination){ -var _1c=$(_2).datagrid("getPager"); -_1c.pagination({pageNumber:_4.pageNumber,pageSize:_4.pageSize,pageList:_4.pageList,onSelectPage:function(_1d,_1e){ -_4.pageNumber=_1d; -_4.pageSize=_1e; -_1f(_2); -}}); -_4.pageSize=_1c.pagination("options").pageSize; -} -}; -function _20(_21,_22){ -var _23=$.data(_21,"datagrid").options; -var dc=$.data(_21,"datagrid").dc; -if(!dc.body1.is(":empty")&&(!_23.nowrap||_23.autoRowHeight)){ -if(_22!=undefined){ -var _24=_25(_21,_22); -for(var i=0;i<_24.length;i++){ -_26(_24[i][_23.idField]); -} -} -} -$(_21).datagrid("fixRowHeight",_22); -function _26(_27){ -var tr1=_23.finder.getTr(_21,_27,"body",1); -var tr2=_23.finder.getTr(_21,_27,"body",2); -tr1.css("height",""); -tr2.css("height",""); -var _28=Math.max(tr1.height(),tr2.height()); -tr1.css("height",_28); -tr2.css("height",_28); -}; -}; -function _29(_2a){ -var dc=$.data(_2a,"datagrid").dc; -var _2b=$.data(_2a,"treegrid").options; -if(!_2b.rownumbers){ -return; -} -dc.body1.find("div.datagrid-cell-rownumber").each(function(i){ -$(this).html(i+1); -}); -}; -function _2c(_2d){ -var dc=$.data(_2d,"datagrid").dc; -var _2e=dc.body1.add(dc.body2); -var _2f=($.data(_2e[0],"events")||$._data(_2e[0],"events")).click[0].handler; -dc.body1.add(dc.body2).bind("mouseover",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.addClass("tree-expanded-hover"):tt.addClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).bind("mouseout",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -tt.hasClass("tree-expanded")?tt.removeClass("tree-expanded-hover"):tt.removeClass("tree-collapsed-hover"); -} -e.stopPropagation(); -}).unbind("click").bind("click",function(e){ -var tt=$(e.target); -var tr=tt.closest("tr.datagrid-row"); -if(!tr.length){ -return; -} -if(tt.hasClass("tree-hit")){ -_30(_2d,tr.attr("node-id")); -}else{ -_2f(e); -} -e.stopPropagation(); -}); -}; -function _31(_32,_33){ -var _34=$.data(_32,"treegrid").options; -var tr1=_34.finder.getTr(_32,_33,"body",1); -var tr2=_34.finder.getTr(_32,_33,"body",2); -var _35=$(_32).datagrid("getColumnFields",true).length+(_34.rownumbers?1:0); -var _36=$(_32).datagrid("getColumnFields",false).length; -_37(tr1,_35); -_37(tr2,_36); -function _37(tr,_38){ -$(""+""+"
                              "+""+"").insertAfter(tr); -}; -}; -function _39(_3a,_3b,_3c,_3d){ -var _3e=$.data(_3a,"treegrid"); -var _3f=_3e.options; -var dc=_3e.dc; -_3c=_3f.loadFilter.call(_3a,_3c,_3b); -var _40=_41(_3a,_3b); -if(_40){ -var _42=_3f.finder.getTr(_3a,_3b,"body",1); -var _43=_3f.finder.getTr(_3a,_3b,"body",2); -var cc1=_42.next("tr.treegrid-tr-tree").children("td").children("div"); -var cc2=_43.next("tr.treegrid-tr-tree").children("td").children("div"); -if(!_3d){ -_40.children=[]; -} -}else{ -var cc1=dc.body1; -var cc2=dc.body2; -if(!_3d){ -_3e.data=[]; -} -} -if(!_3d){ -cc1.empty(); -cc2.empty(); -} -if(_3f.view.onBeforeRender){ -_3f.view.onBeforeRender.call(_3f.view,_3a,_3b,_3c); -} -_3f.view.render.call(_3f.view,_3a,cc1,true); -_3f.view.render.call(_3f.view,_3a,cc2,false); -if(_3f.showFooter){ -_3f.view.renderFooter.call(_3f.view,_3a,dc.footer1,true); -_3f.view.renderFooter.call(_3f.view,_3a,dc.footer2,false); -} -if(_3f.view.onAfterRender){ -_3f.view.onAfterRender.call(_3f.view,_3a); -} -_3f.onLoadSuccess.call(_3a,_40,_3c); -if(!_3b&&_3f.pagination){ -var _44=$.data(_3a,"treegrid").total; -var _45=$(_3a).datagrid("getPager"); -if(_45.pagination("options").total!=_44){ -_45.pagination({total:_44}); -} -} -_20(_3a); -_29(_3a); -$(_3a).treegrid("autoSizeColumn"); -}; -function _1f(_46,_47,_48,_49,_4a){ -var _4b=$.data(_46,"treegrid").options; -var _4c=$(_46).datagrid("getPanel").find("div.datagrid-body"); -if(_48){ -_4b.queryParams=_48; -} -var _4d=$.extend({},_4b.queryParams); -if(_4b.pagination){ -$.extend(_4d,{page:_4b.pageNumber,rows:_4b.pageSize}); -} -if(_4b.sortName){ -$.extend(_4d,{sort:_4b.sortName,order:_4b.sortOrder}); -} -var row=_41(_46,_47); -if(_4b.onBeforeLoad.call(_46,row,_4d)==false){ -return; -} -var _4e=_4c.find("tr[node-id=\""+_47+"\"] span.tree-folder"); -_4e.addClass("tree-loading"); -$(_46).treegrid("loading"); -var _4f=_4b.loader.call(_46,_4d,function(_50){ -_4e.removeClass("tree-loading"); -$(_46).treegrid("loaded"); -_39(_46,_47,_50,_49); -if(_4a){ -_4a(); -} -},function(){ -_4e.removeClass("tree-loading"); -$(_46).treegrid("loaded"); -_4b.onLoadError.apply(_46,arguments); -if(_4a){ -_4a(); -} -}); -if(_4f==false){ -_4e.removeClass("tree-loading"); -$(_46).treegrid("loaded"); -} -}; -function _51(_52){ -var _53=_54(_52); -if(_53.length){ -return _53[0]; -}else{ -return null; -} -}; -function _54(_55){ -return $.data(_55,"treegrid").data; -}; -function _56(_57,_58){ -var row=_41(_57,_58); -if(row._parentId){ -return _41(_57,row._parentId); -}else{ -return null; -} -}; -function _25(_59,_5a){ -var _5b=$.data(_59,"treegrid").options; -var _5c=$(_59).datagrid("getPanel").find("div.datagrid-view2 div.datagrid-body"); -var _5d=[]; -if(_5a){ -_5e(_5a); -}else{ -var _5f=_54(_59); -for(var i=0;i<_5f.length;i++){ -_5d.push(_5f[i]); -_5e(_5f[i][_5b.idField]); -} -} -function _5e(_60){ -var _61=_41(_59,_60); -if(_61&&_61.children){ -for(var i=0,len=_61.children.length;i").insertBefore(_96); -if(hit.prev().length){ -hit.prev().remove(); -} -} -} -_39(_92,_93.parent,_93.data,true); -}; -function _97(_98,_99){ -var ref=_99.before||_99.after; -var _9a=$.data(_98,"treegrid").options; -var _9b=_56(_98,ref); -_91(_98,{parent:(_9b?_9b[_9a.idField]:null),data:[_99.data]}); -_9c(true); -_9c(false); -_29(_98); -function _9c(_9d){ -var _9e=_9d?1:2; -var tr=_9a.finder.getTr(_98,_99.data[_9a.idField],"body",_9e); -var _9f=tr.closest("table.datagrid-btable"); -tr=tr.parent().children(); -var _a0=_9a.finder.getTr(_98,ref,"body",_9e); -if(_99.before){ -tr.insertBefore(_a0); -}else{ -var sub=_a0.next("tr.treegrid-tr-tree"); -tr.insertAfter(sub.length?sub:_a0); -} -_9f.remove(); -}; -}; -function _a1(_a2,_a3){ -var _a4=$.data(_a2,"treegrid").options; -var tr=_a4.finder.getTr(_a2,_a3); -tr.next("tr.treegrid-tr-tree").remove(); -tr.remove(); -var _a5=del(_a3); -if(_a5){ -if(_a5.children.length==0){ -tr=_a4.finder.getTr(_a2,_a5[_a4.idField]); -tr.next("tr.treegrid-tr-tree").remove(); -var _a6=tr.children("td[field=\""+_a4.treeField+"\"]").children("div.datagrid-cell"); -_a6.find(".tree-icon").removeClass("tree-folder").addClass("tree-file"); -_a6.find(".tree-hit").remove(); -$("").prependTo(_a6); -} -} -_29(_a2); -function del(id){ -var cc; -var _a7=_56(_a2,_a3); -if(_a7){ -cc=_a7.children; -}else{ -cc=$(_a2).treegrid("getData"); -} -for(var i=0;i"]; -for(var i=0;i<_c9.length;i++){ -var row=_c9[i]; -if(row.state!="open"&&row.state!="closed"){ -row.state="open"; -} -var css=_c0.rowStyler?_c0.rowStyler.call(_bd,row):""; -var _cb=""; -var _cc=""; -if(typeof css=="string"){ -_cc=css; -}else{ -if(css){ -_cb=css["class"]||""; -_cc=css["style"]||""; -} -} -var cls="class=\"datagrid-row "+(_c3++%2&&_c0.striped?"datagrid-row-alt ":" ")+_cb+"\""; -var _cd=_cc?"style=\""+_cc+"\"":""; -var _ce=_c2+"-"+(_c7?1:2)+"-"+row[_c0.idField]; -_ca.push(""); -_ca=_ca.concat(_c4.renderRow.call(_c4,_bd,_c1,_c7,_c8,row)); -_ca.push(""); -if(row.children&&row.children.length){ -var tt=_c6(_c7,_c8+1,row.children); -var v=row.state=="closed"?"none":"block"; -_ca.push("
                              "); -_ca=_ca.concat(tt); -_ca.push("
                              "); -} -} -_ca.push(""); -return _ca; -}; -},renderFooter:function(_cf,_d0,_d1){ -var _d2=$.data(_cf,"treegrid").options; -var _d3=$.data(_cf,"treegrid").footer||[]; -var _d4=$(_cf).datagrid("getColumnFields",_d1); -var _d5=[""]; -for(var i=0;i<_d3.length;i++){ -var row=_d3[i]; -row[_d2.idField]=row[_d2.idField]||("foot-row-id"+i); -_d5.push(""); -_d5.push(this.renderRow.call(this,_cf,_d4,_d1,0,row)); -_d5.push(""); -} -_d5.push("
                              "); -$(_d0).html(_d5.join("")); -},renderRow:function(_d6,_d7,_d8,_d9,row){ -var _da=$.data(_d6,"treegrid").options; -var cc=[]; -if(_d8&&_da.rownumbers){ -cc.push("
                              0
                              "); -} -for(var i=0;i<_d7.length;i++){ -var _db=_d7[i]; -var col=$(_d6).datagrid("getColumnOption",_db); -if(col){ -var css=col.styler?(col.styler(row[_db],row)||""):""; -var _dc=""; -var _dd=""; -if(typeof css=="string"){ -_dd=css; -}else{ -if(cc){ -_dc=css["class"]||""; -_dd=css["style"]||""; -} -} -var cls=_dc?"class=\""+_dc+"\"":""; -var _de=col.hidden?"style=\"display:none;"+_dd+"\"":(_dd?"style=\""+_dd+"\"":""); -cc.push(""); -if(col.checkbox){ -var _de=""; -}else{ -var _de=_dd; -if(col.align){ -_de+=";text-align:"+col.align+";"; -} -if(!_da.nowrap){ -_de+=";white-space:normal;height:auto;"; -}else{ -if(_da.autoRowHeight){ -_de+=";height:auto;"; -} -} -} -cc.push("
                              "); -if(col.checkbox){ -if(row.checked){ -cc.push(""); -}else{ -var val=null; -if(col.formatter){ -val=col.formatter(row[_db],row); -}else{ -val=row[_db]; -} -if(_db==_da.treeField){ -for(var j=0;j<_d9;j++){ -cc.push(""); -} -if(row.state=="closed"){ -cc.push(""); -cc.push(""); -}else{ -if(row.children&&row.children.length){ -cc.push(""); -cc.push(""); -}else{ -cc.push(""); -cc.push(""); -} -} -cc.push(""+val+""); -}else{ -cc.push(val); -} -} -cc.push("
                              "); -cc.push(""); -} -} -return cc.join(""); -},refreshRow:function(_df,id){ -this.updateRow.call(this,_df,id,{}); -},updateRow:function(_e0,id,row){ -var _e1=$.data(_e0,"treegrid").options; -var _e2=$(_e0).treegrid("find",id); -$.extend(_e2,row); -var _e3=$(_e0).treegrid("getLevel",id)-1; -var _e4=_e1.rowStyler?_e1.rowStyler.call(_e0,_e2):""; -function _e5(_e6){ -var _e7=$(_e0).treegrid("getColumnFields",_e6); -var tr=_e1.finder.getTr(_e0,id,"body",(_e6?1:2)); -var _e8=tr.find("div.datagrid-cell-rownumber").html(); -var _e9=tr.find("div.datagrid-cell-check input[type=checkbox]").is(":checked"); -tr.html(this.renderRow(_e0,_e7,_e6,_e3,_e2)); -tr.attr("style",_e4||""); -tr.find("div.datagrid-cell-rownumber").html(_e8); -if(_e9){ -tr.find("div.datagrid-cell-check input[type=checkbox]")._propAttr("checked",true); -} -}; -_e5.call(this,true); -_e5.call(this,false); -$(_e0).treegrid("fixRowHeight",id); -},onBeforeRender:function(_ea,_eb,_ec){ -if($.isArray(_eb)){ -_ec={total:_eb.length,rows:_eb}; -_eb=null; -} -if(!_ec){ -return false; -} -var _ed=$.data(_ea,"treegrid"); -var _ee=_ed.options; -if(_ec.length==undefined){ -if(_ec.footer){ -_ed.footer=_ec.footer; -} -if(_ec.total){ -_ed.total=_ec.total; -} -_ec=this.transfer(_ea,_eb,_ec.rows); -}else{ -function _ef(_f0,_f1){ -for(var i=0;i<_f0.length;i++){ -var row=_f0[i]; -row._parentId=_f1; -if(row.children&&row.children.length){ -_ef(row.children,row[_ee.idField]); -} -} -}; -_ef(_ec,_eb); -} -var _f2=_41(_ea,_eb); -if(_f2){ -if(_f2.children){ -_f2.children=_f2.children.concat(_ec); -}else{ -_f2.children=_ec; -} -}else{ -_ed.data=_ed.data.concat(_ec); -} -this.sort(_ea,_ec); -this.treeNodes=_ec; -this.treeLevel=$(_ea).treegrid("getLevel",_eb); -},sort:function(_f3,_f4){ -var _f5=$.data(_f3,"treegrid").options; -if(!_f5.remoteSort&&_f5.sortName){ -var _f6=_f5.sortName.split(","); -var _f7=_f5.sortOrder.split(","); -_f8(_f4); -} -function _f8(_f9){ -_f9.sort(function(r1,r2){ -var r=0; -for(var i=0;i<_f6.length;i++){ -var sn=_f6[i]; -var so=_f7[i]; -var col=$(_f3).treegrid("getColumnOption",sn); -var _fa=col.sorter||function(a,b){ -return a==b?0:(a>b?1:-1); -}; -r=_fa(r1[sn],r2[sn])*(so=="asc"?1:-1); -if(r!=0){ -return r; -} -} -return r; -}); -for(var i=0;i<_f9.length;i++){ -var _fb=_f9[i].children; -if(_fb&&_fb.length){ -_f8(_fb); -} -} -}; -},transfer:function(_fc,_fd,_fe){ -var _ff=$.data(_fc,"treegrid").options; -var rows=[]; -for(var i=0;i<_fe.length;i++){ -rows.push(_fe[i]); -} -var _100=[]; -for(var i=0;i=_2b[0]&&len<=_2b[1]; -},message:"Please enter a value between {0} and {1}."},remote:{validator:function(_2c,_2d){ -var _2e={}; -_2e[_2d[1]]=_2c; -var _2f=$.ajax({url:_2d[0],dataType:"json",data:_2e,async:false,cache:false,type:"post"}).responseText; -return _2f=="true"; -},message:"Please fix this field."}}}; -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.window.js b/src/main/webapp/js/easyui-1.3.5/plugins/jquery.window.js deleted file mode 100644 index e3db1e169b825483e9558be0cc7bc6f3868fbb03..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/plugins/jquery.window.js +++ /dev/null @@ -1,277 +0,0 @@ -/** - * jQuery EasyUI 1.3.5 - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ -function _1(_2,_3){ -var _4=$.data(_2,"window").options; -if(_3){ -$.extend(_4,_3); -} -$(_2).panel("resize",_4); -}; -function _5(_6,_7){ -var _8=$.data(_6,"window"); -if(_7){ -if(_7.left!=null){ -_8.options.left=_7.left; -} -if(_7.top!=null){ -_8.options.top=_7.top; -} -} -$(_6).panel("move",_8.options); -if(_8.shadow){ -_8.shadow.css({left:_8.options.left,top:_8.options.top}); -} -}; -function _9(_a,_b){ -var _c=$.data(_a,"window"); -var _d=_c.options; -var _e=_d.width; -if(isNaN(_e)){ -_e=_c.window._outerWidth(); -} -if(_d.inline){ -var _f=_c.window.parent(); -_d.left=(_f.width()-_e)/2+_f.scrollLeft(); -}else{ -_d.left=($(window)._outerWidth()-_e)/2+$(document).scrollLeft(); -} -if(_b){ -_5(_a); -} -}; -function _10(_11,_12){ -var _13=$.data(_11,"window"); -var _14=_13.options; -var _15=_14.height; -if(isNaN(_15)){ -_15=_13.window._outerHeight(); -} -if(_14.inline){ -var _16=_13.window.parent(); -_14.top=(_16.height()-_15)/2+_16.scrollTop(); -}else{ -_14.top=($(window)._outerHeight()-_15)/2+$(document).scrollTop(); -} -if(_12){ -_5(_11); -} -}; -function _17(_18){ -var _19=$.data(_18,"window"); -var win=$(_18).panel($.extend({},_19.options,{border:false,doSize:true,closed:true,cls:"window",headerCls:"window-header",bodyCls:"window-body "+(_19.options.noheader?"window-body-noheader":""),onBeforeDestroy:function(){ -if(_19.options.onBeforeDestroy.call(_18)==false){ -return false; -} -if(_19.shadow){ -_19.shadow.remove(); -} -if(_19.mask){ -_19.mask.remove(); -} -},onClose:function(){ -if(_19.shadow){ -_19.shadow.hide(); -} -if(_19.mask){ -_19.mask.hide(); -} -_19.options.onClose.call(_18); -},onOpen:function(){ -if(_19.mask){ -_19.mask.css({display:"block",zIndex:$.fn.window.defaults.zIndex++}); -} -if(_19.shadow){ -_19.shadow.css({display:"block",zIndex:$.fn.window.defaults.zIndex++,left:_19.options.left,top:_19.options.top,width:_19.window._outerWidth(),height:_19.window._outerHeight()}); -} -_19.window.css("z-index",$.fn.window.defaults.zIndex++); -_19.options.onOpen.call(_18); -},onResize:function(_1a,_1b){ -var _1c=$(this).panel("options"); -$.extend(_19.options,{width:_1c.width,height:_1c.height,left:_1c.left,top:_1c.top}); -if(_19.shadow){ -_19.shadow.css({left:_19.options.left,top:_19.options.top,width:_19.window._outerWidth(),height:_19.window._outerHeight()}); -} -_19.options.onResize.call(_18,_1a,_1b); -},onMinimize:function(){ -if(_19.shadow){ -_19.shadow.hide(); -} -if(_19.mask){ -_19.mask.hide(); -} -_19.options.onMinimize.call(_18); -},onBeforeCollapse:function(){ -if(_19.options.onBeforeCollapse.call(_18)==false){ -return false; -} -if(_19.shadow){ -_19.shadow.hide(); -} -},onExpand:function(){ -if(_19.shadow){ -_19.shadow.show(); -} -_19.options.onExpand.call(_18); -}})); -_19.window=win.panel("panel"); -if(_19.mask){ -_19.mask.remove(); -} -if(_19.options.modal==true){ -_19.mask=$("
                              ").insertAfter(_19.window); -_19.mask.css({width:(_19.options.inline?_19.mask.parent().width():_1d().width),height:(_19.options.inline?_19.mask.parent().height():_1d().height),display:"none"}); -} -if(_19.shadow){ -_19.shadow.remove(); -} -if(_19.options.shadow==true){ -_19.shadow=$("
                              ").insertAfter(_19.window); -_19.shadow.css({display:"none"}); -} -if(_19.options.left==null){ -_9(_18); -} -if(_19.options.top==null){ -_10(_18); -} -_5(_18); -if(_19.options.closed==false){ -win.window("open"); -} -}; -function _1e(_1f){ -var _20=$.data(_1f,"window"); -_20.window.draggable({handle:">div.panel-header>div.panel-title",disabled:_20.options.draggable==false,onStartDrag:function(e){ -if(_20.mask){ -_20.mask.css("z-index",$.fn.window.defaults.zIndex++); -} -if(_20.shadow){ -_20.shadow.css("z-index",$.fn.window.defaults.zIndex++); -} -_20.window.css("z-index",$.fn.window.defaults.zIndex++); -if(!_20.proxy){ -_20.proxy=$("
                              ").insertAfter(_20.window); -} -_20.proxy.css({display:"none",zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_20.proxy._outerWidth(_20.window._outerWidth()); -_20.proxy._outerHeight(_20.window._outerHeight()); -setTimeout(function(){ -if(_20.proxy){ -_20.proxy.show(); -} -},500); -},onDrag:function(e){ -_20.proxy.css({display:"block",left:e.data.left,top:e.data.top}); -return false; -},onStopDrag:function(e){ -_20.options.left=e.data.left; -_20.options.top=e.data.top; -$(_1f).window("move"); -_20.proxy.remove(); -_20.proxy=null; -}}); -_20.window.resizable({disabled:_20.options.resizable==false,onStartResize:function(e){ -_20.pmask=$("
                              ").insertAfter(_20.window); -_20.pmask.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top,width:_20.window._outerWidth(),height:_20.window._outerHeight()}); -if(!_20.proxy){ -_20.proxy=$("
                              ").insertAfter(_20.window); -} -_20.proxy.css({zIndex:$.fn.window.defaults.zIndex++,left:e.data.left,top:e.data.top}); -_20.proxy._outerWidth(e.data.width); -_20.proxy._outerHeight(e.data.height); -},onResize:function(e){ -_20.proxy.css({left:e.data.left,top:e.data.top}); -_20.proxy._outerWidth(e.data.width); -_20.proxy._outerHeight(e.data.height); -return false; -},onStopResize:function(e){ -$.extend(_20.options,{left:e.data.left,top:e.data.top,width:e.data.width,height:e.data.height}); -_1(_1f); -_20.pmask.remove(); -_20.pmask=null; -_20.proxy.remove(); -_20.proxy=null; -}}); -}; -function _1d(){ -if(document.compatMode=="BackCompat"){ -return {width:Math.max(document.body.scrollWidth,document.body.clientWidth),height:Math.max(document.body.scrollHeight,document.body.clientHeight)}; -}else{ -return {width:Math.max(document.documentElement.scrollWidth,document.documentElement.clientWidth),height:Math.max(document.documentElement.scrollHeight,document.documentElement.clientHeight)}; -} -}; -$(window).resize(function(){ -$("body>div.window-mask").css({width:$(window)._outerWidth(),height:$(window)._outerHeight()}); -setTimeout(function(){ -$("body>div.window-mask").css({width:_1d().width,height:_1d().height}); -},50); -}); -$.fn.window=function(_21,_22){ -if(typeof _21=="string"){ -var _23=$.fn.window.methods[_21]; -if(_23){ -return _23(this,_22); -}else{ -return this.panel(_21,_22); -} -} -_21=_21||{}; -return this.each(function(){ -var _24=$.data(this,"window"); -if(_24){ -$.extend(_24.options,_21); -}else{ -_24=$.data(this,"window",{options:$.extend({},$.fn.window.defaults,$.fn.window.parseOptions(this),_21)}); -if(!_24.options.inline){ -document.body.appendChild(this); -} -} -_17(this); -_1e(this); -}); -}; -$.fn.window.methods={options:function(jq){ -var _25=jq.panel("options"); -var _26=$.data(jq[0],"window").options; -return $.extend(_26,{closed:_25.closed,collapsed:_25.collapsed,minimized:_25.minimized,maximized:_25.maximized}); -},window:function(jq){ -return $.data(jq[0],"window").window; -},resize:function(jq,_27){ -return jq.each(function(){ -_1(this,_27); -}); -},move:function(jq,_28){ -return jq.each(function(){ -_5(this,_28); -}); -},hcenter:function(jq){ -return jq.each(function(){ -_9(this,true); -}); -},vcenter:function(jq){ -return jq.each(function(){ -_10(this,true); -}); -},center:function(jq){ -return jq.each(function(){ -_9(this); -_10(this); -_5(this); -}); -}}; -$.fn.window.parseOptions=function(_29){ -return $.extend({},$.fn.panel.parseOptions(_29),$.parser.parseOptions(_29,[{draggable:"boolean",resizable:"boolean",shadow:"boolean",modal:"boolean",inline:"boolean"}])); -}; -$.fn.window.defaults=$.extend({},$.fn.panel.defaults,{zIndex:9000,draggable:true,resizable:true,shadow:true,modal:false,inline:false,title:"New Window",collapsible:true,minimizable:true,maximizable:true,closable:true,closed:false}); -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/src/easyloader.js b/src/main/webapp/js/easyui-1.3.5/src/easyloader.js deleted file mode 100644 index 2d58979652060139aec17f7b734448f1a09f8193..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/easyloader.js +++ /dev/null @@ -1,405 +0,0 @@ -/** - * easyloader - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function(){ - var modules = { - draggable:{ - js:'jquery.draggable.js' - }, - droppable:{ - js:'jquery.droppable.js' - }, - resizable:{ - js:'jquery.resizable.js' - }, - linkbutton:{ - js:'jquery.linkbutton.js', - css:'linkbutton.css' - }, - progressbar:{ - js:'jquery.progressbar.js', - css:'progressbar.css' - }, - tooltip:{ - js:'jquery.tooltip.js', - css:'tooltip.css' - }, - pagination:{ - js:'jquery.pagination.js', - css:'pagination.css', - dependencies:['linkbutton'] - }, - datagrid:{ - js:'jquery.datagrid.js', - css:'datagrid.css', - dependencies:['panel','resizable','linkbutton','pagination'] - }, - treegrid:{ - js:'jquery.treegrid.js', - css:'tree.css', - dependencies:['datagrid'] - }, - propertygrid:{ - js:'jquery.propertygrid.js', - css:'propertygrid.css', - dependencies:['datagrid'] - }, - panel: { - js:'jquery.panel.js', - css:'panel.css' - }, - window:{ - js:'jquery.window.js', - css:'window.css', - dependencies:['resizable','draggable','panel'] - }, - dialog:{ - js:'jquery.dialog.js', - css:'dialog.css', - dependencies:['linkbutton','window'] - }, - messager:{ - js:'jquery.messager.js', - css:'messager.css', - dependencies:['linkbutton','window','progressbar'] - }, - layout:{ - js:'jquery.layout.js', - css:'layout.css', - dependencies:['resizable','panel'] - }, - form:{ - js:'jquery.form.js' - }, - menu:{ - js:'jquery.menu.js', - css:'menu.css' - }, - tabs:{ - js:'jquery.tabs.js', - css:'tabs.css', - dependencies:['panel','linkbutton'] - }, - menubutton:{ - js:'jquery.menubutton.js', - css:'menubutton.css', - dependencies:['linkbutton','menu'] - }, - splitbutton:{ - js:'jquery.splitbutton.js', - css:'splitbutton.css', - dependencies:['menubutton'] - }, - accordion:{ - js:'jquery.accordion.js', - css:'accordion.css', - dependencies:['panel'] - }, - calendar:{ - js:'jquery.calendar.js', - css:'calendar.css' - }, - combo:{ - js:'jquery.combo.js', - css:'combo.css', - dependencies:['panel','validatebox'] - }, - combobox:{ - js:'jquery.combobox.js', - css:'combobox.css', - dependencies:['combo'] - }, - combotree:{ - js:'jquery.combotree.js', - dependencies:['combo','tree'] - }, - combogrid:{ - js:'jquery.combogrid.js', - dependencies:['combo','datagrid'] - }, - validatebox:{ - js:'jquery.validatebox.js', - css:'validatebox.css', - dependencies:['tooltip'] - }, - numberbox:{ - js:'jquery.numberbox.js', - dependencies:['validatebox'] - }, - searchbox:{ - js:'jquery.searchbox.js', - css:'searchbox.css', - dependencies:['menubutton'] - }, - spinner:{ - js:'jquery.spinner.js', - css:'spinner.css', - dependencies:['validatebox'] - }, - numberspinner:{ - js:'jquery.numberspinner.js', - dependencies:['spinner','numberbox'] - }, - timespinner:{ - js:'jquery.timespinner.js', - dependencies:['spinner'] - }, - tree:{ - js:'jquery.tree.js', - css:'tree.css', - dependencies:['draggable','droppable'] - }, - datebox:{ - js:'jquery.datebox.js', - css:'datebox.css', - dependencies:['calendar','combo'] - }, - datetimebox:{ - js:'jquery.datetimebox.js', - dependencies:['datebox','timespinner'] - }, - slider:{ - js:'jquery.slider.js', - dependencies:['draggable'] - }, - tooltip:{ - js:'jquery.tooltip.js' - }, - parser:{ - js:'jquery.parser.js' - } - }; - - var locales = { - 'af':'easyui-lang-af.js', - 'ar':'easyui-lang-ar.js', - 'bg':'easyui-lang-bg.js', - 'ca':'easyui-lang-ca.js', - 'cs':'easyui-lang-cs.js', - 'cz':'easyui-lang-cz.js', - 'da':'easyui-lang-da.js', - 'de':'easyui-lang-de.js', - 'el':'easyui-lang-el.js', - 'en':'easyui-lang-en.js', - 'es':'easyui-lang-es.js', - 'fr':'easyui-lang-fr.js', - 'it':'easyui-lang-it.js', - 'jp':'easyui-lang-jp.js', - 'nl':'easyui-lang-nl.js', - 'pl':'easyui-lang-pl.js', - 'pt_BR':'easyui-lang-pt_BR.js', - 'ru':'easyui-lang-ru.js', - 'sv_SE':'easyui-lang-sv_SE.js', - 'tr':'easyui-lang-tr.js', - 'zh_CN':'easyui-lang-zh_CN.js', - 'zh_TW':'easyui-lang-zh_TW.js' - }; - - var queues = {}; - - function loadJs(url, callback){ - var done = false; - var script = document.createElement('script'); - script.type = 'text/javascript'; - script.language = 'javascript'; - script.src = url; - script.onload = script.onreadystatechange = function(){ - if (!done && (!script.readyState || script.readyState == 'loaded' || script.readyState == 'complete')){ - done = true; - script.onload = script.onreadystatechange = null; - if (callback){ - callback.call(script); - } - } - } - document.getElementsByTagName("head")[0].appendChild(script); - } - - function runJs(url, callback){ - loadJs(url, function(){ - document.getElementsByTagName("head")[0].removeChild(this); - if (callback){ - callback(); - } - }); - } - - function loadCss(url, callback){ - var link = document.createElement('link'); - link.rel = 'stylesheet'; - link.type = 'text/css'; - link.media = 'screen'; - link.href = url; - document.getElementsByTagName('head')[0].appendChild(link); - if (callback){ - callback.call(link); - } - } - - function loadSingle(name, callback){ - queues[name] = 'loading'; - - var module = modules[name]; - var jsStatus = 'loading'; - var cssStatus = (easyloader.css && module['css']) ? 'loading' : 'loaded'; - - if (easyloader.css && module['css']){ - if (/^http/i.test(module['css'])){ - var url = module['css']; - } else { - var url = easyloader.base + 'themes/' + easyloader.theme + '/' + module['css']; - } - loadCss(url, function(){ - cssStatus = 'loaded'; - if (jsStatus == 'loaded' && cssStatus == 'loaded'){ - finish(); - } - }); - } - - if (/^http/i.test(module['js'])){ - var url = module['js']; - } else { - var url = easyloader.base + 'plugins/' + module['js']; - } - loadJs(url, function(){ - jsStatus = 'loaded'; - if (jsStatus == 'loaded' && cssStatus == 'loaded'){ - finish(); - } - }); - - function finish(){ - queues[name] = 'loaded'; - easyloader.onProgress(name); - if (callback){ - callback(); - } - } - } - - function loadModule(name, callback){ - var mm = []; - var doLoad = false; - - if (typeof name == 'string'){ - add(name); - } else { - for(var i=0; idiv.panel>div.accordion-header'); - if (headers.length){ - headerHeight = $(headers[0]).css('height', '')._outerHeight(); - } - if (!isNaN(opts.height)){ - cc._outerHeight(opts.height); - bodyHeight = cc.height() - headerHeight*headers.length; - } else { - cc.css('height', ''); - } - - _resize(true, bodyHeight - _resize(false) + 1); - - function _resize(collapsible, height){ - var totalHeight = 0; - for(var i=0; i= panels.length){ - return null; - } else { - return panels[which]; - } - } - return findBy(container, 'title', which); - } - - function setProperties(container){ - var opts = $.data(container, 'accordion').options; - var cc = $(container); - if (opts.border){ - cc.removeClass('accordion-noborder'); - } else { - cc.addClass('accordion-noborder'); - } - } - - function init(container){ - var state = $.data(container, 'accordion'); - var cc = $(container); - cc.addClass('accordion'); - - state.panels = []; - cc.children('div').each(function(){ - var opts = $.extend({}, $.parser.parseOptions(this), { - selected: ($(this).attr('selected') ? true : undefined) - }); - var pp = $(this); - state.panels.push(pp); - createPanel(container, pp, opts); - }); - - cc.bind('_resize', function(e,force){ - var opts = $.data(container, 'accordion').options; - if (opts.fit == true || force){ - setSize(container); - } - return false; - }); - } - - function createPanel(container, pp, options){ - var opts = $.data(container, 'accordion').options; - pp.panel($.extend({}, { - collapsible: true, - minimizable: false, - maximizable: false, - closable: false, - doSize: false, - collapsed: true, - headerCls: 'accordion-header', - bodyCls: 'accordion-body' - }, options, { - onBeforeExpand: function(){ - if (options.onBeforeExpand){ - if (options.onBeforeExpand.call(this) == false){return false} - } - if (!opts.multiple){ - // get all selected panel - var all = $.grep(getSelections(container), function(p){ - return p.panel('options').collapsible; - }); - for(var i=0; i').addClass('accordion-collapse accordion-expand').appendTo(tool); - t.bind('click', function(){ - var index = getPanelIndex(container, pp); - if (pp.panel('options').collapsed){ - select(container, index); - } else { - unselect(container, index); - } - return false; - }); - pp.panel('options').collapsible ? t.show() : t.hide(); - - header.click(function(){ - $(this).find('a.accordion-collapse:visible').triggerHandler('click'); - return false; - }); - } - - /** - * select and set the specified panel active - */ - function select(container, which){ - var p = getPanel(container, which); - if (!p){return} - stopAnimate(container); - var opts = $.data(container, 'accordion').options; - p.panel('expand', opts.animate); - } - - function unselect(container, which){ - var p = getPanel(container, which); - if (!p){return} - stopAnimate(container); - var opts = $.data(container, 'accordion').options; - p.panel('collapse', opts.animate); - } - - function doFirstSelect(container){ - var opts = $.data(container, 'accordion').options; - var p = findBy(container, 'selected', true); - if (p){ - _select(getPanelIndex(container, p)); - } else { - _select(opts.selected); - } - - function _select(index){ - var animate = opts.animate; - opts.animate = false; - select(container, index); - opts.animate = animate; - } - } - - /** - * stop the animation of all panels - */ - function stopAnimate(container){ - var panels = $.data(container, 'accordion').panels; - for(var i=0; i
                              ').appendTo(container); - panels.push(pp); - createPanel(container, pp, options); - setSize(container); - - opts.onAdd.call(container, options.title, panels.length-1); - - if (options.selected){ - select(container, panels.length-1); - } - } - - function remove(container, which){ - var state = $.data(container, 'accordion'); - var opts = state.options; - var panels = state.panels; - - stopAnimate(container); - - var panel = getPanel(container, which); - var title = panel.panel('options').title; - var index = getPanelIndex(container, panel); - - if (!panel){return} - if (opts.onBeforeRemove.call(container, title, index) == false){return} - - panels.splice(index, 1); - panel.panel('destroy'); - if (panels.length){ - setSize(container); - var curr = getSelected(container); - if (!curr){ - select(container, 0); - } - } - - opts.onRemove.call(container, title, index); - } - - $.fn.accordion = function(options, param){ - if (typeof options == 'string'){ - return $.fn.accordion.methods[options](this, param); - } - - options = options || {}; - - return this.each(function(){ - var state = $.data(this, 'accordion'); - if (state){ - $.extend(state.options, options); - } else { - $.data(this, 'accordion', { - options: $.extend({}, $.fn.accordion.defaults, $.fn.accordion.parseOptions(this), options), - accordion: $(this).addClass('accordion'), - panels: [] - }); - init(this); - } - - setProperties(this); - setSize(this); - doFirstSelect(this); - }); - }; - - $.fn.accordion.methods = { - options: function(jq){ - return $.data(jq[0], 'accordion').options; - }, - panels: function(jq){ - return $.data(jq[0], 'accordion').panels; - }, - resize: function(jq){ - return jq.each(function(){ - setSize(this); - }); - }, - getSelections: function(jq){ - return getSelections(jq[0]); - }, - getSelected: function(jq){ - return getSelected(jq[0]); - }, - getPanel: function(jq, which){ - return getPanel(jq[0], which); - }, - getPanelIndex: function(jq, panel){ - return getPanelIndex(jq[0], panel); - }, - select: function(jq, which){ - return jq.each(function(){ - select(this, which); - }); - }, - unselect: function(jq, which){ - return jq.each(function(){ - unselect(this, which); - }); - }, - add: function(jq, options){ - return jq.each(function(){ - add(this, options); - }); - }, - remove: function(jq, which){ - return jq.each(function(){ - remove(this, which); - }); - } - }; - - $.fn.accordion.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height', - {fit:'boolean',border:'boolean',animate:'boolean',multiple:'boolean',selected:'number'} - ])); - }; - - $.fn.accordion.defaults = { - width: 'auto', - height: 'auto', - fit: false, - border: true, - animate: true, - multiple: false, - selected: 0, - - onSelect: function(title, index){}, - onUnselect: function(title, index){}, - onAdd: function(title, index){}, - onBeforeRemove: function(title, index){}, - onRemove: function(title, index){} - }; -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.calendar.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.calendar.js deleted file mode 100644 index 095b50c8c0029aefccbdbea2395a6f79494df781..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.calendar.js +++ /dev/null @@ -1,392 +0,0 @@ -/** - * calendar - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - */ -(function($){ - - function setSize(target){ - var opts = $.data(target, 'calendar').options; - var t = $(target); -// if (opts.fit == true){ -// var p = t.parent(); -// opts.width = p.width(); -// opts.height = p.height(); -// } - opts.fit ? $.extend(opts, t._fit()) : t._fit(false); - var header = t.find('.calendar-header'); - t._outerWidth(opts.width); - t._outerHeight(opts.height); - t.find('.calendar-body')._outerHeight(t.height() - header._outerHeight()); - } - - function init(target){ - $(target).addClass('calendar').html( - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' + - 'Aprial 2010' + - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' + - '' + - '' + - '' + - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' - ); - - $(target).find('.calendar-title span').hover( - function(){$(this).addClass('calendar-menu-hover');}, - function(){$(this).removeClass('calendar-menu-hover');} - ).click(function(){ - var menu = $(target).find('.calendar-menu'); - if (menu.is(':visible')){ - menu.hide(); - } else { - showSelectMenus(target); - } - }); - - $('.calendar-prevmonth,.calendar-nextmonth,.calendar-prevyear,.calendar-nextyear', target).hover( - function(){$(this).addClass('calendar-nav-hover');}, - function(){$(this).removeClass('calendar-nav-hover');} - ); - $(target).find('.calendar-nextmonth').click(function(){ - showMonth(target, 1); - }); - $(target).find('.calendar-prevmonth').click(function(){ - showMonth(target, -1); - }); - $(target).find('.calendar-nextyear').click(function(){ - showYear(target, 1); - }); - $(target).find('.calendar-prevyear').click(function(){ - showYear(target, -1); - }); - - $(target).bind('_resize', function(){ - var opts = $.data(target, 'calendar').options; - if (opts.fit == true){ - setSize(target); - } - return false; - }); - } - - /** - * show the calendar corresponding to the current month. - */ - function showMonth(target, delta){ - var opts = $.data(target, 'calendar').options; - opts.month += delta; - if (opts.month > 12){ - opts.year++; - opts.month = 1; - } else if (opts.month < 1){ - opts.year--; - opts.month = 12; - } - show(target); - - var menu = $(target).find('.calendar-menu-month-inner'); - menu.find('td.calendar-selected').removeClass('calendar-selected'); - menu.find('td:eq(' + (opts.month-1) + ')').addClass('calendar-selected'); - } - - /** - * show the calendar corresponding to the current year. - */ - function showYear(target, delta){ - var opts = $.data(target, 'calendar').options; - opts.year += delta; - show(target); - - var menu = $(target).find('.calendar-menu-year'); - menu.val(opts.year); - } - - /** - * show the select menu that can change year or month, if the menu is not be created then create it. - */ - function showSelectMenus(target){ - var opts = $.data(target, 'calendar').options; - $(target).find('.calendar-menu').show(); - - if ($(target).find('.calendar-menu-month-inner').is(':empty')){ - $(target).find('.calendar-menu-month-inner').empty(); - var t = $('
                              ').appendTo($(target).find('.calendar-menu-month-inner')); - var idx = 0; - for(var i=0; i<3; i++){ - var tr = $('').appendTo(t); - for(var j=0; j<4; j++){ - $('').html(opts.months[idx++]).attr('abbr',idx).appendTo(tr); - } - } - - $(target).find('.calendar-menu-prev,.calendar-menu-next').hover( - function(){$(this).addClass('calendar-menu-hover');}, - function(){$(this).removeClass('calendar-menu-hover');} - ); - $(target).find('.calendar-menu-next').click(function(){ - var y = $(target).find('.calendar-menu-year'); - if (!isNaN(y.val())){ - y.val(parseInt(y.val()) + 1); - } - }); - $(target).find('.calendar-menu-prev').click(function(){ - var y = $(target).find('.calendar-menu-year'); - if (!isNaN(y.val())){ - y.val(parseInt(y.val() - 1)); - } - }); - - $(target).find('.calendar-menu-year').keypress(function(e){ - if (e.keyCode == 13){ - setDate(); - } - }); - - $(target).find('.calendar-menu-month').hover( - function(){$(this).addClass('calendar-menu-hover');}, - function(){$(this).removeClass('calendar-menu-hover');} - ).click(function(){ - var menu = $(target).find('.calendar-menu'); - menu.find('.calendar-selected').removeClass('calendar-selected'); - $(this).addClass('calendar-selected'); - setDate(); - }); - } - - function setDate(){ - var menu = $(target).find('.calendar-menu'); - var year = menu.find('.calendar-menu-year').val(); - var month = menu.find('.calendar-selected').attr('abbr'); - if (!isNaN(year)){ - opts.year = parseInt(year); - opts.month = parseInt(month); - show(target); - } - menu.hide(); - } - - var body = $(target).find('.calendar-body'); - var sele = $(target).find('.calendar-menu'); - var seleYear = sele.find('.calendar-menu-year-inner'); - var seleMonth = sele.find('.calendar-menu-month-inner'); - - seleYear.find('input').val(opts.year).focus(); - seleMonth.find('td.calendar-selected').removeClass('calendar-selected'); - seleMonth.find('td:eq('+(opts.month-1)+')').addClass('calendar-selected'); - - sele._outerWidth(body._outerWidth()); - sele._outerHeight(body._outerHeight()); - seleMonth._outerHeight(sele.height() - seleYear._outerHeight()); - } - - /** - * get weeks data. - */ - function getWeeks(target, year, month){ - var opts = $.data(target, 'calendar').options; - var dates = []; - var lastDay = new Date(year, month, 0).getDate(); - for(var i=1; i<=lastDay; i++) dates.push([year,month,i]); - - // group date by week - var weeks = [], week = []; -// var memoDay = 0; - var memoDay = -1; - while(dates.length > 0){ - var date = dates.shift(); - week.push(date); - var day = new Date(date[0],date[1]-1,date[2]).getDay(); - if (memoDay == day){ - day = 0; - } else if (day == (opts.firstDay==0 ? 7 : opts.firstDay) - 1){ - weeks.push(week); - week = []; - } - memoDay = day; - } - if (week.length){ - weeks.push(week); - } - - var firstWeek = weeks[0]; - if (firstWeek.length < 7){ - while(firstWeek.length < 7){ - var firstDate = firstWeek[0]; - var date = new Date(firstDate[0],firstDate[1]-1,firstDate[2]-1) - firstWeek.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - } else { - var firstDate = firstWeek[0]; - var week = []; - for(var i=1; i<=7; i++){ - var date = new Date(firstDate[0], firstDate[1]-1, firstDate[2]-i); - week.unshift([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - weeks.unshift(week); - } - - var lastWeek = weeks[weeks.length-1]; - while(lastWeek.length < 7){ - var lastDate = lastWeek[lastWeek.length-1]; - var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+1); - lastWeek.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - if (weeks.length < 6){ - var lastDate = lastWeek[lastWeek.length-1]; - var week = []; - for(var i=1; i<=7; i++){ - var date = new Date(lastDate[0], lastDate[1]-1, lastDate[2]+i); - week.push([date.getFullYear(), date.getMonth()+1, date.getDate()]); - } - weeks.push(week); - } - - return weeks; - } - - /** - * show the calendar day. - */ - function show(target){ - var opts = $.data(target, 'calendar').options; - $(target).find('.calendar-title span').html(opts.months[opts.month-1] + ' ' + opts.year); - - var body = $(target).find('div.calendar-body'); - body.find('>table').remove(); - - var t = $('
                              ').prependTo(body); - var tr = $('').appendTo(t.find('thead')); - for(var i=opts.firstDay; i'+opts.weeks[i]+''); - } - for(var i=0; i'+opts.weeks[i]+''); - } - - var weeks = getWeeks(target, opts.year, opts.month); - for(var i=0; i').appendTo(t.find('tbody')); - for(var j=0; j').attr('abbr',day[0]+','+day[1]+','+day[2]).html(day[2]).appendTo(tr); - } - } - t.find('td[abbr^="'+opts.year+','+opts.month+'"]').removeClass('calendar-other-month'); - - var now = new Date(); - var today = now.getFullYear()+','+(now.getMonth()+1)+','+now.getDate(); - t.find('td[abbr="'+today+'"]').addClass('calendar-today'); - - if (opts.current){ - t.find('.calendar-selected').removeClass('calendar-selected'); - var current = opts.current.getFullYear()+','+(opts.current.getMonth()+1)+','+opts.current.getDate(); - t.find('td[abbr="'+current+'"]').addClass('calendar-selected'); - } - - // calulate the saturday and sunday index - var saIndex = 6 - opts.firstDay; - var suIndex = saIndex + 1; - if (saIndex >= 7) saIndex -= 7; - if (suIndex >= 7) suIndex -= 7; - t.find('tr').find('td:eq('+saIndex+')').addClass('calendar-saturday'); - t.find('tr').find('td:eq('+suIndex+')').addClass('calendar-sunday'); - - t.find('td').hover( - function(){$(this).addClass('calendar-hover');}, - function(){$(this).removeClass('calendar-hover');} - ).click(function(){ - t.find('.calendar-selected').removeClass('calendar-selected'); - $(this).addClass('calendar-selected'); - var parts = $(this).attr('abbr').split(','); - opts.current = new Date(parts[0], parseInt(parts[1])-1, parts[2]); - opts.onSelect.call(target, opts.current); - }); - } - - $.fn.calendar = function(options, param){ - if (typeof options == 'string'){ - return $.fn.calendar.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'calendar'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'calendar', { - options:$.extend({}, $.fn.calendar.defaults, $.fn.calendar.parseOptions(this), options) - }); - init(this); - } - if (state.options.border == false){ - $(this).addClass('calendar-noborder'); - } - setSize(this); - show(this); - $(this).find('div.calendar-menu').hide(); // hide the calendar menu - }); - }; - - $.fn.calendar.methods = { - options: function(jq){ - return $.data(jq[0], 'calendar').options; - }, - resize: function(jq){ - return jq.each(function(){ - setSize(this); - }); - }, - moveTo: function(jq, date){ - return jq.each(function(){ - $(this).calendar({ - year: date.getFullYear(), - month: date.getMonth()+1, - current: date - }); - }); - } - }; - - $.fn.calendar.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height',{firstDay:'number',fit:'boolean',border:'boolean'} - ])); - }; - - $.fn.calendar.defaults = { - width:180, - height:180, - fit:false, - border:true, - firstDay:0, - weeks:['S','M','T','W','T','F','S'], - months:['Jan', 'Feb', 'Mar', 'Apr', 'May', 'Jun', 'Jul', 'Aug', 'Sep', 'Oct', 'Nov', 'Dec'], - year:new Date().getFullYear(), - month:new Date().getMonth()+1, - current:new Date(), - - onSelect: function(date){} - }; -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.combobox.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.combobox.js deleted file mode 100644 index b63dc3d1e1e56956de53ae80d3d5d307c9357791..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.combobox.js +++ /dev/null @@ -1,539 +0,0 @@ -/** - * combobox - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - * Dependencies: - * combo - * - */ -(function($){ - function findRowBy(target, value, param, isGroup){ - var state = $.data(target, 'combobox'); - var opts = state.options; - if (isGroup){ - return _findRow(state.groups, param, value); - } else { - return _findRow(state.data, (param ? param : state.options.valueField), value); - } - - function _findRow(data,key,value){ - for(var i=0; i panel.height()){ - var h = panel.scrollTop() + item.position().top + item.outerHeight() - panel.height(); - panel.scrollTop(h); - } - } - } - - function nav(target, dir){ - var opts = $.data(target, 'combobox').options; - var panel = $(target).combobox('panel'); - var item = panel.children('div.combobox-item-hover'); - if (!item.length){ - item = panel.children('div.combobox-item-selected'); - } - item.removeClass('combobox-item-hover'); - var firstSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):first'; - var lastSelector = 'div.combobox-item:visible:not(.combobox-item-disabled):last'; - if (!item.length){ - item = panel.children(dir=='next' ? firstSelector : lastSelector); -// item = panel.children('div.combobox-item:visible:' + (dir=='next'?'first':'last')); - } else { - if (dir == 'next'){ - item = item.nextAll(firstSelector); -// item = item.nextAll('div.combobox-item:visible:first'); - if (!item.length){ - item = panel.children(firstSelector); -// item = panel.children('div.combobox-item:visible:first'); - } - } else { - item = item.prevAll(firstSelector); -// item = item.prevAll('div.combobox-item:visible:first'); - if (!item.length){ - item = panel.children(lastSelector); -// item = panel.children('div.combobox-item:visible:last'); - } - } - } - if (item.length){ - item.addClass('combobox-item-hover'); - var row = findRowBy(target, item.attr('id'), 'domId'); - if (row){ - scrollTo(target, row[opts.valueField]); - if (opts.selectOnNavigation){ - select(target, row[opts.valueField]); - } - } - } - } - - /** - * select the specified value - */ - function select(target, value){ - var opts = $.data(target, 'combobox').options; - var values = $(target).combo('getValues'); - if ($.inArray(value+'', values) == -1){ - if (opts.multiple){ - values.push(value); - } else { - values = [value]; - } - setValues(target, values); - opts.onSelect.call(target, findRowBy(target, value)); - } - } - - /** - * unselect the specified value - */ - function unselect(target, value){ - var opts = $.data(target, 'combobox').options; - var values = $(target).combo('getValues'); - var index = $.inArray(value+'', values); - if (index >= 0){ - values.splice(index, 1); - setValues(target, values); - opts.onUnselect.call(target, findRowBy(target, value)); - } - } - - /** - * set values - */ - function setValues(target, values, remainText){ - var opts = $.data(target, 'combobox').options; - var panel = $(target).combo('panel'); - - panel.find('div.combobox-item-selected').removeClass('combobox-item-selected'); - var vv = [], ss = []; - for(var i=0; i'); - dd.push(opts.groupFormatter ? opts.groupFormatter.call(target, g) : g); - dd.push('
                              '); - } - } else { - group = undefined; - } - - var cls = 'combobox-item' + (row.disabled ? ' combobox-item-disabled' : '') + (g ? ' combobox-gitem' : ''); - row.domId = '_easyui_combobox_' + itemIndex++; - dd.push('
                              '); - dd.push(opts.formatter ? opts.formatter.call(target, row) : s); - dd.push('
                              '); - -// if (item['selected']){ -// (function(){ -// for(var i=0; i').appendTo(panel); - if (opts.sharedCalendar){ - state.calendar = $(opts.sharedCalendar).appendTo(cc); - if (!state.calendar.hasClass('calendar')){ - state.calendar.calendar(); - } - } else { - state.calendar = $('
                              ').appendTo(cc).calendar(); - } - $.extend(state.calendar.calendar('options'), { - fit:true, - border:false, - onSelect:function(date){ - var opts = $(this.target).datebox('options'); - setValue(this.target, opts.formatter(date)); - $(this.target).combo('hidePanel'); - opts.onSelect.call(target, date); - } - }); - setValue(target, opts.value); - - var button = $('
                              ').appendTo(panel); - var tr = button.find('tr'); - for(var i=0; i').appendTo(tr); - var btn = opts.buttons[i]; - var t = $('').html($.isFunction(btn.text) ? btn.text(target) : btn.text).appendTo(td); - t.bind('click', {target: target, handler: btn.handler}, function(e){ - e.data.handler.call(this, e.data.target); - }); - } - tr.find('td').css('width', (100/opts.buttons.length)+'%'); - } - - function setCalendar(){ - var panel = $(target).combo('panel'); - var cc = panel.children('div.datebox-calendar-inner'); - panel.children()._outerWidth(panel.width()); - state.calendar.appendTo(cc); - state.calendar[0].target = target; - if (opts.panelHeight != 'auto'){ - var height = panel.height(); - panel.children().not(cc).each(function(){ - height -= $(this).outerHeight(); - }); - cc._outerHeight(height); - } - state.calendar.calendar('resize'); - } - } - - /** - * called when user inputs some value in text box - */ - function doQuery(target, q){ - setValue(target, q); - } - - /** - * called when user press enter key - */ - function doEnter(target){ - var state = $.data(target, 'datebox'); - var opts = state.options; - var value = opts.formatter(state.calendar.calendar('options').current); - setValue(target, value); - $(target).combo('hidePanel'); - } - - function setValue(target, value){ - var state = $.data(target, 'datebox'); - var opts = state.options; - $(target).combo('setValue', value).combo('setText', value); - state.calendar.calendar('moveTo', opts.parser(value)); - } - - $.fn.datebox = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.datebox.methods[options]; - if (method){ - return method(this, param); - } else { - return this.combo(options, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'datebox'); - if (state){ - $.extend(state.options, options); - } else { - $.data(this, 'datebox', { - options: $.extend({}, $.fn.datebox.defaults, $.fn.datebox.parseOptions(this), options) - }); - } - createBox(this); - }); - }; - - $.fn.datebox.methods = { - options: function(jq){ - var copts = jq.combo('options'); - return $.extend($.data(jq[0], 'datebox').options, { - originalValue: copts.originalValue, - disabled: copts.disabled, - readonly: copts.readonly - }); - }, - calendar: function(jq){ // get the calendar object - return $.data(jq[0], 'datebox').calendar; - }, - setValue: function(jq, value){ - return jq.each(function(){ - setValue(this, value); - }); - }, - reset: function(jq){ - return jq.each(function(){ - var opts = $(this).datebox('options'); - $(this).datebox('setValue', opts.originalValue); - }); - } - }; - - $.fn.datebox.parseOptions = function(target){ - return $.extend({}, $.fn.combo.parseOptions(target), $.parser.parseOptions(target, ['sharedCalendar'])); - }; - - $.fn.datebox.defaults = $.extend({}, $.fn.combo.defaults, { - panelWidth:180, - panelHeight:'auto', - sharedCalendar:null, - - keyHandler: { - up:function(e){}, - down:function(e){}, - left: function(e){}, - right: function(e){}, - enter:function(e){doEnter(this)}, - query:function(q,e){doQuery(this, q)} - }, - - currentText:'Today', - closeText:'Close', - okText:'Ok', - - buttons:[{ - text: function(target){return $(target).datebox('options').currentText;}, - handler: function(target){ - $(target).datebox('calendar').calendar({ - year:new Date().getFullYear(), - month:new Date().getMonth()+1, - current:new Date() - }); - doEnter(target); - } - },{ - text: function(target){return $(target).datebox('options').closeText;}, - handler: function(target){ - $(this).closest('div.combo-panel').panel('close'); - } - }], - - formatter:function(date){ - var y = date.getFullYear(); - var m = date.getMonth()+1; - var d = date.getDate(); - return m+'/'+d+'/'+y; - }, - parser:function(s){ - var t = Date.parse(s); - if (!isNaN(t)){ - return new Date(t); - } else { - return new Date(); - } - }, - - onSelect:function(date){} - }); -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.draggable.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.draggable.js deleted file mode 100644 index e4642e41f2840c66816f005ef1f4fdc86b8ce3bc..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.draggable.js +++ /dev/null @@ -1,417 +0,0 @@ -/** - * draggable - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - */ -(function($){ -// var isDragging = false; - function drag(e){ - var state = $.data(e.data.target, 'draggable'); - var opts = state.options; - var proxy = state.proxy; - - var dragData = e.data; - var left = dragData.startLeft + e.pageX - dragData.startX; - var top = dragData.startTop + e.pageY - dragData.startY; - - if (proxy){ - if (proxy.parent()[0] == document.body){ - if (opts.deltaX != null && opts.deltaX != undefined){ - left = e.pageX + opts.deltaX; - } else { - left = e.pageX - e.data.offsetWidth; - } - if (opts.deltaY != null && opts.deltaY != undefined){ - top = e.pageY + opts.deltaY; - } else { - top = e.pageY - e.data.offsetHeight; - } - } else { - if (opts.deltaX != null && opts.deltaX != undefined){ - left += e.data.offsetWidth + opts.deltaX; - } - if (opts.deltaY != null && opts.deltaY != undefined){ - top += e.data.offsetHeight + opts.deltaY; - } - } - } - -// if (opts.deltaX != null && opts.deltaX != undefined){ -// left = e.pageX + opts.deltaX; -// } -// if (opts.deltaY != null && opts.deltaY != undefined){ -// top = e.pageY + opts.deltaY; -// } - - if (e.data.parent != document.body) { - left += $(e.data.parent).scrollLeft(); - top += $(e.data.parent).scrollTop(); - } - - if (opts.axis == 'h') { - dragData.left = left; - } else if (opts.axis == 'v') { - dragData.top = top; - } else { - dragData.left = left; - dragData.top = top; - } - } - - function applyDrag(e){ - var state = $.data(e.data.target, 'draggable'); - var opts = state.options; - var proxy = state.proxy; - if (!proxy){ - proxy = $(e.data.target); - } -// if (proxy){ -// proxy.css('cursor', opts.cursor); -// } else { -// proxy = $(e.data.target); -// $.data(e.data.target, 'draggable').handle.css('cursor', opts.cursor); -// } - proxy.css({ - left:e.data.left, - top:e.data.top - }); - $('body').css('cursor', opts.cursor); - } - - function doDown(e){ -// isDragging = true; - $.fn.draggable.isDragging = true; - var state = $.data(e.data.target, 'draggable'); - var opts = state.options; - - var droppables = $('.droppable').filter(function(){ - return e.data.target != this; - }).filter(function(){ - var accept = $.data(this, 'droppable').options.accept; - if (accept){ - return $(accept).filter(function(){ - return this == e.data.target; - }).length > 0; - } else { - return true; - } - }); - state.droppables = droppables; - - var proxy = state.proxy; - if (!proxy){ - if (opts.proxy){ - if (opts.proxy == 'clone'){ - proxy = $(e.data.target).clone().insertAfter(e.data.target); - } else { - proxy = opts.proxy.call(e.data.target, e.data.target); - } - state.proxy = proxy; - } else { - proxy = $(e.data.target); - } - } - - proxy.css('position', 'absolute'); - drag(e); - applyDrag(e); - - opts.onStartDrag.call(e.data.target, e); - return false; - } - - function doMove(e){ - var state = $.data(e.data.target, 'draggable'); - drag(e); - if (state.options.onDrag.call(e.data.target, e) != false){ - applyDrag(e); - } - - var source = e.data.target; - state.droppables.each(function(){ - var dropObj = $(this); - if (dropObj.droppable('options').disabled){return;} - - var p2 = dropObj.offset(); - if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() - && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ - if (!this.entered){ - $(this).trigger('_dragenter', [source]); - this.entered = true; - } - $(this).trigger('_dragover', [source]); - } else { - if (this.entered){ - $(this).trigger('_dragleave', [source]); - this.entered = false; - } - } - }); - - return false; - } - - function doUp(e){ -// isDragging = false; - $.fn.draggable.isDragging = false; -// drag(e); - doMove(e); - - var state = $.data(e.data.target, 'draggable'); - var proxy = state.proxy; - var opts = state.options; - if (opts.revert){ - if (checkDrop() == true){ - $(e.data.target).css({ - position:e.data.startPosition, - left:e.data.startLeft, - top:e.data.startTop - }); - } else { - if (proxy){ - var left, top; - if (proxy.parent()[0] == document.body){ - left = e.data.startX - e.data.offsetWidth; - top = e.data.startY - e.data.offsetHeight; - } else { - left = e.data.startLeft; - top = e.data.startTop; - } - proxy.animate({ - left: left, - top: top - }, function(){ - removeProxy(); - }); - } else { - $(e.data.target).animate({ - left:e.data.startLeft, - top:e.data.startTop - }, function(){ - $(e.data.target).css('position', e.data.startPosition); - }); - } - } - } else { - $(e.data.target).css({ - position:'absolute', - left:e.data.left, - top:e.data.top - }); - checkDrop(); - } - - opts.onStopDrag.call(e.data.target, e); - - $(document).unbind('.draggable'); - setTimeout(function(){ - $('body').css('cursor',''); - },100); - - function removeProxy(){ - if (proxy){ - proxy.remove(); - } - state.proxy = null; - } - - function checkDrop(){ - var dropped = false; - state.droppables.each(function(){ - var dropObj = $(this); - if (dropObj.droppable('options').disabled){return;} - - var p2 = dropObj.offset(); - if (e.pageX > p2.left && e.pageX < p2.left + dropObj.outerWidth() - && e.pageY > p2.top && e.pageY < p2.top + dropObj.outerHeight()){ - if (opts.revert){ - $(e.data.target).css({ - position:e.data.startPosition, - left:e.data.startLeft, - top:e.data.startTop - }); - } - $(this).trigger('_drop', [e.data.target]); - removeProxy(); - dropped = true; - this.entered = false; - return false; - } - }); - if (!dropped && !opts.revert){ - removeProxy(); - } - return dropped; - } - - return false; - } - - $.fn.draggable = function(options, param){ - if (typeof options == 'string'){ - return $.fn.draggable.methods[options](this, param); - } - - return this.each(function(){ - var opts; - var state = $.data(this, 'draggable'); - if (state) { - state.handle.unbind('.draggable'); - opts = $.extend(state.options, options); - } else { - opts = $.extend({}, $.fn.draggable.defaults, $.fn.draggable.parseOptions(this), options || {}); - } - var handle = opts.handle ? (typeof opts.handle=='string' ? $(opts.handle, this) : opts.handle) : $(this); - - $.data(this, 'draggable', { - options: opts, - handle: handle - }); - - if (opts.disabled) { - $(this).css('cursor', ''); - return; - } - - handle.unbind('.draggable').bind('mousemove.draggable', {target:this}, function(e){ -// if (isDragging) return; - if ($.fn.draggable.isDragging){return} - var opts = $.data(e.data.target, 'draggable').options; - if (checkArea(e)){ - $(this).css('cursor', opts.cursor); - } else { - $(this).css('cursor', ''); - } - }).bind('mouseleave.draggable', {target:this}, function(e){ - $(this).css('cursor', ''); - }).bind('mousedown.draggable', {target:this}, function(e){ - if (checkArea(e) == false) return; - $(this).css('cursor', ''); - - var position = $(e.data.target).position(); - var offset = $(e.data.target).offset(); - var data = { - startPosition: $(e.data.target).css('position'), - startLeft: position.left, - startTop: position.top, - left: position.left, - top: position.top, - startX: e.pageX, - startY: e.pageY, - offsetWidth: (e.pageX - offset.left), - offsetHeight: (e.pageY - offset.top), - target: e.data.target, - parent: $(e.data.target).parent()[0] - }; - - $.extend(e.data, data); - var opts = $.data(e.data.target, 'draggable').options; - if (opts.onBeforeDrag.call(e.data.target, e) == false) return; - - $(document).bind('mousedown.draggable', e.data, doDown); - $(document).bind('mousemove.draggable', e.data, doMove); - $(document).bind('mouseup.draggable', e.data, doUp); -// $('body').css('cursor', opts.cursor); - }); - - // check if the handle can be dragged - function checkArea(e) { - var state = $.data(e.data.target, 'draggable'); - var handle = state.handle; - var offset = $(handle).offset(); - var width = $(handle).outerWidth(); - var height = $(handle).outerHeight(); - var t = e.pageY - offset.top; - var r = offset.left + width - e.pageX; - var b = offset.top + height - e.pageY; - var l = e.pageX - offset.left; - - return Math.min(t,r,b,l) > state.options.edge; - } - - }); - }; - - $.fn.draggable.methods = { - options: function(jq){ - return $.data(jq[0], 'draggable').options; - }, - proxy: function(jq){ - return $.data(jq[0], 'draggable').proxy; - }, - enable: function(jq){ - return jq.each(function(){ - $(this).draggable({disabled:false}); - }); - }, - disable: function(jq){ - return jq.each(function(){ - $(this).draggable({disabled:true}); - }); - } - }; - - $.fn.draggable.parseOptions = function(target){ - var t = $(target); - return $.extend({}, - $.parser.parseOptions(target, ['cursor','handle','axis', - {'revert':'boolean','deltaX':'number','deltaY':'number','edge':'number'}]), { - disabled: (t.attr('disabled') ? true : undefined) - }); - }; - - $.fn.draggable.defaults = { - proxy:null, // 'clone' or a function that will create the proxy object, - // the function has the source parameter that indicate the source object dragged. - revert:false, - cursor:'move', - deltaX:null, - deltaY:null, - handle: null, - disabled: false, - edge:0, - axis:null, // v or h - - onBeforeDrag: function(e){}, - onStartDrag: function(e){}, - onDrag: function(e){}, - onStopDrag: function(e){} - }; - - $.fn.draggable.isDragging = false; - -// $(function(){ -// function touchHandler(e) { -// var touches = e.changedTouches, first = touches[0], type = ""; -// -// switch(e.type) { -// case "touchstart": type = "mousedown"; break; -// case "touchmove": type = "mousemove"; break; -// case "touchend": type = "mouseup"; break; -// default: return; -// } -// var simulatedEvent = document.createEvent("MouseEvent"); -// simulatedEvent.initMouseEvent(type, true, true, window, 1, -// first.screenX, first.screenY, -// first.clientX, first.clientY, false, -// false, false, false, 0/*left*/, null); -// -// first.target.dispatchEvent(simulatedEvent); -// if (isDragging){ -// e.preventDefault(); -// } -// } -// -// if (document.addEventListener){ -// document.addEventListener("touchstart", touchHandler, true); -// document.addEventListener("touchmove", touchHandler, true); -// document.addEventListener("touchend", touchHandler, true); -// document.addEventListener("touchcancel", touchHandler, true); -// } -// }); -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.droppable.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.droppable.js deleted file mode 100644 index 2092a3d809442c658e7f2cce1ad1870bf49b77a6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.droppable.js +++ /dev/null @@ -1,78 +0,0 @@ -/** - * droppable - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - */ -(function($){ - function init(target){ - $(target).addClass('droppable'); - $(target).bind('_dragenter', function(e, source){ - $.data(target, 'droppable').options.onDragEnter.apply(target, [e, source]); - }); - $(target).bind('_dragleave', function(e, source){ - $.data(target, 'droppable').options.onDragLeave.apply(target, [e, source]); - }); - $(target).bind('_dragover', function(e, source){ - $.data(target, 'droppable').options.onDragOver.apply(target, [e, source]); - }); - $(target).bind('_drop', function(e, source){ - $.data(target, 'droppable').options.onDrop.apply(target, [e, source]); - }); - } - - $.fn.droppable = function(options, param){ - if (typeof options == 'string'){ - return $.fn.droppable.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'droppable'); - if (state){ - $.extend(state.options, options); - } else { - init(this); - $.data(this, 'droppable', { - options: $.extend({}, $.fn.droppable.defaults, $.fn.droppable.parseOptions(this), options) - }); - } - }); - }; - - $.fn.droppable.methods = { - options: function(jq){ - return $.data(jq[0], 'droppable').options; - }, - enable: function(jq){ - return jq.each(function(){ - $(this).droppable({disabled:false}); - }); - }, - disable: function(jq){ - return jq.each(function(){ - $(this).droppable({disabled:true}); - }); - } - }; - - $.fn.droppable.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, ['accept']), { - disabled: (t.attr('disabled') ? true : undefined) - }); - }; - - $.fn.droppable.defaults = { - accept:null, - disabled:false, - onDragEnter:function(e, source){}, - onDragOver:function(e, source){}, - onDragLeave:function(e, source){}, - onDrop:function(e, source){} - }; -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.form.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.form.js deleted file mode 100644 index 2a85dd713849a12079a245a1b41d64e843c727e6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.form.js +++ /dev/null @@ -1,378 +0,0 @@ -/** - * form - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - */ -(function($){ - /** - * submit the form - */ - function ajaxSubmit(target, options){ - options = options || {}; - - var param = {}; - if (options.onSubmit){ - if (options.onSubmit.call(target, param) == false) { - return; - } - } - - var form = $(target); - if (options.url){ - form.attr('action', options.url); - } - var frameId = 'easyui_frame_' + (new Date().getTime()); - var frame = $('') - .attr('src', window.ActiveXObject ? 'javascript:false' : 'about:blank') - .css({ - position:'absolute', - top:-1000, - left:-1000 - }); - var t = form.attr('target'), a = form.attr('action'); - form.attr('target', frameId); - - var paramFields = $(); - try { - frame.appendTo('body'); - frame.bind('load', cb); - for(var n in param){ - var f = $('').val(param[n]).appendTo(form); - paramFields = paramFields.add(f); - } - checkState(); - form[0].submit(); - } finally { - form.attr('action', a); - t ? form.attr('target', t) : form.removeAttr('target'); - paramFields.remove(); - } - - function checkState(){ - var f = $('#'+frameId); - if (!f.length){return} - try{ - var s = f.contents()[0].readyState; - if (s && s.toLowerCase() == 'uninitialized'){ - setTimeout(checkState, 100); - } - } catch(e){ - cb(); - } - } - - var checkCount = 10; - function cb(){ - var frame = $('#'+frameId); - if (!frame.length){return} - frame.unbind(); - var data = ''; - try{ - var body = frame.contents().find('body'); - data = body.html(); - if (data == ''){ - if (--checkCount){ - setTimeout(cb, 100); - return; - } -// return; - } - var ta = body.find('>textarea'); - if (ta.length){ - data = ta.val(); - } else { - var pre = body.find('>pre'); - if (pre.length){ - data = pre.html(); - } - } - } catch(e){ - - } - if (options.success){ - options.success(data); - } - setTimeout(function(){ - frame.unbind(); - frame.remove(); - }, 100); - } - } - - /** - * load form data - * if data is a URL string type load from remote site, - * otherwise load from local data object. - */ - function load(target, data){ - if (!$.data(target, 'form')){ - $.data(target, 'form', { - options: $.extend({}, $.fn.form.defaults) - }); - } - var opts = $.data(target, 'form').options; - - if (typeof data == 'string'){ - var param = {}; - if (opts.onBeforeLoad.call(target, param) == false) return; - - $.ajax({ - url: data, - data: param, - dataType: 'json', - success: function(data){ - _load(data); - }, - error: function(){ - opts.onLoadError.apply(target, arguments); - } - }); - } else { - _load(data); - } - - function _load(data){ - var form = $(target); - for(var name in data){ - var val = data[name]; - var rr = _checkField(name, val); - if (!rr.length){ -// var f = form.find('input[numberboxName="'+name+'"]'); -// if (f.length){ -// f.numberbox('setValue', val); // set numberbox value -// } else { -// $('input[name="'+name+'"]', form).val(val); -// $('textarea[name="'+name+'"]', form).val(val); -// $('select[name="'+name+'"]', form).val(val); -// } - var count = _loadOther(name, val); - if (!count){ - $('input[name="'+name+'"]', form).val(val); - $('textarea[name="'+name+'"]', form).val(val); - $('select[name="'+name+'"]', form).val(val); - } - } - _loadCombo(name, val); - } - opts.onLoadSuccess.call(target, data); - validate(target); - } - - /** - * check the checkbox and radio fields - */ - function _checkField(name, val){ - var rr = $(target).find('input[name="'+name+'"][type=radio], input[name="'+name+'"][type=checkbox]'); - rr._propAttr('checked', false); - rr.each(function(){ - var f = $(this); - if (f.val() == String(val) || $.inArray(f.val(), $.isArray(val)?val:[val]) >= 0){ - f._propAttr('checked', true); - } - }); - return rr; - } - - function _loadOther(name, val){ - var count = 0; - var pp = ['numberbox','slider']; - for(var i=0; i' + - '' + - '' - ); - if (opts.text){ - t.find('.l-btn-text').html(opts.text); - if (opts.iconCls){ - t.find('.l-btn-text').addClass(opts.iconCls).addClass(opts.iconAlign=='left' ? 'l-btn-icon-left' : 'l-btn-icon-right'); - } - } else { - t.find('.l-btn-text').html(' '); - if (opts.iconCls){ - t.find('.l-btn-empty').addClass(opts.iconCls); - } - } - - t.unbind('.linkbutton').bind('focus.linkbutton',function(){ - if (!opts.disabled){ - $(this).find('.l-btn-text').addClass('l-btn-focus'); - } - }).bind('blur.linkbutton',function(){ - $(this).find('.l-btn-text').removeClass('l-btn-focus'); - }); - if (opts.toggle && !opts.disabled){ - t.bind('click.linkbutton', function(){ - if (opts.selected){ - $(this).linkbutton('unselect'); - } else { - $(this).linkbutton('select'); - } - }); - } - - setSelected(target, opts.selected) - setDisabled(target, opts.disabled); - } - - function setSelected(target, selected){ - var opts = $.data(target, 'linkbutton').options; - if (selected){ - if (opts.group){ - $('a.l-btn[group="'+opts.group+'"]').each(function(){ - var o = $(this).linkbutton('options'); - if (o.toggle){ - $(this).removeClass('l-btn-selected l-btn-plain-selected'); - o.selected = false; - } - }); - } - $(target).addClass(opts.plain ? 'l-btn-selected l-btn-plain-selected' : 'l-btn-selected'); - opts.selected = true; - } else { - if (!opts.group){ - $(target).removeClass('l-btn-selected l-btn-plain-selected'); - opts.selected = false; - } - } - } - - function setDisabled(target, disabled){ - var state = $.data(target, 'linkbutton'); - var opts = state.options; - $(target).removeClass('l-btn-disabled l-btn-plain-disabled'); - if (disabled){ - opts.disabled = true; - var href = $(target).attr('href'); - if (href){ - state.href = href; - $(target).attr('href', 'javascript:void(0)'); - } - if (target.onclick){ - state.onclick = target.onclick; - target.onclick = null; - } - opts.plain ? $(target).addClass('l-btn-disabled l-btn-plain-disabled') : $(target).addClass('l-btn-disabled'); - } else { - opts.disabled = false; - if (state.href) { - $(target).attr('href', state.href); - } - if (state.onclick) { - target.onclick = state.onclick; - } - } - } - - $.fn.linkbutton = function(options, param){ - if (typeof options == 'string'){ - return $.fn.linkbutton.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'linkbutton'); - if (state){ - $.extend(state.options, options); - } else { - $.data(this, 'linkbutton', { - options: $.extend({}, $.fn.linkbutton.defaults, $.fn.linkbutton.parseOptions(this), options) - }); - $(this).removeAttr('disabled'); - } - - createButton(this); - }); - }; - - $.fn.linkbutton.methods = { - options: function(jq){ - return $.data(jq[0], 'linkbutton').options; - }, - enable: function(jq){ - return jq.each(function(){ - setDisabled(this, false); - }); - }, - disable: function(jq){ - return jq.each(function(){ - setDisabled(this, true); - }); - }, - select: function(jq){ - return jq.each(function(){ - setSelected(this, true); - }); - }, - unselect: function(jq){ - return jq.each(function(){ - setSelected(this, false); - }); - } - }; - - $.fn.linkbutton.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, - ['id','iconCls','iconAlign','group',{plain:'boolean',toggle:'boolean',selected:'boolean'}] - ), { - disabled: (t.attr('disabled') ? true : undefined), - text: $.trim(t.html()), - iconCls: (t.attr('icon') || t.attr('iconCls')) - }); - }; - - $.fn.linkbutton.defaults = { - id: null, - disabled: false, - toggle: false, - selected: false, - group: null, - plain: false, - text: '', - iconCls: null, - iconAlign: 'left' - }; - -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.menu.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.menu.js deleted file mode 100644 index b03b7468e81298bffcaf5b4ce9add95281c27f7f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.menu.js +++ /dev/null @@ -1,543 +0,0 @@ -/** - * menu - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - */ -(function($){ - - /** - * initialize the target menu, the function can be invoked only once - */ - function init(target){ - $(target).appendTo('body'); - $(target).addClass('menu-top'); // the top menu - - $(document).unbind('.menu').bind('mousedown.menu', function(e){ - var allMenu = $('body>div.menu:visible'); - var m = $(e.target).closest('div.menu', allMenu); - if (m.length){return} - $('body>div.menu-top:visible').menu('hide'); - }); - - var menus = splitMenu($(target)); - for(var i=0; i').html(text)); - if (itemOpts.iconCls){ - $('').addClass(itemOpts.iconCls).appendTo(item); - } - if (itemOpts.disabled){ - setDisabled(target, item[0], true); - } - if (item[0].submenu){ - $('').appendTo(item); // has sub menu - } - - bindMenuItemEvent(target, item); - } - }); - $('').prependTo(menu); - } - setMenuWidth(target, menu); - menu.hide(); - - bindMenuEvent(target, menu); - } - } - - function setMenuWidth(target, menu){ - var opts = $.data(target, 'menu').options; -// var d = menu.css('display'); - var style = menu.attr('style'); - menu.css({ - display: 'block', - left:-10000, - height: 'auto', - overflow: 'hidden' - }); - -// menu.find('div.menu-item')._outerHeight(22); - var width = 0; - menu.find('div.menu-text').each(function(){ - if (width < $(this)._outerWidth()){ - width = $(this)._outerWidth(); - } - $(this).closest('div.menu-item')._outerHeight($(this)._outerHeight()+2); - }); - width += 65; - menu._outerWidth(Math.max((menu[0].originalWidth || 0), width, opts.minWidth)); - - menu.children('div.menu-line')._outerHeight(menu.outerHeight()); - -// menu.css('display', d); - menu.attr('style', style); - } - - /** - * bind menu event - */ - function bindMenuEvent(target, menu){ - var state = $.data(target, 'menu'); - menu.unbind('.menu').bind('mouseenter.menu', function(){ - if (state.timer){ - clearTimeout(state.timer); - state.timer = null; - } - }).bind('mouseleave.menu', function(){ - if (state.options.hideOnUnhover){ - state.timer = setTimeout(function(){ - hideAll(target); - }, 100); - } - }); - } - - /** - * bind menu item event - */ - function bindMenuItemEvent(target, item){ - if (!item.hasClass('menu-item')){return} - item.unbind('.menu'); - item.bind('click.menu', function(){ - if ($(this).hasClass('menu-item-disabled')){ - return; - } - // only the sub menu clicked can hide all menus - if (!this.submenu){ - hideAll(target); - var href = $(this).attr('href'); - if (href){ - location.href = href; - } - } - var item = $(target).menu('getItem', this); - $.data(target, 'menu').options.onClick.call(target, item); - }).bind('mouseenter.menu', function(e){ - // hide other menu - item.siblings().each(function(){ - if (this.submenu){ - hideMenu(this.submenu); - } - $(this).removeClass('menu-active'); - }); - // show this menu - item.addClass('menu-active'); - - if ($(this).hasClass('menu-item-disabled')){ - item.addClass('menu-active-disabled'); - return; - } - - var submenu = item[0].submenu; - if (submenu){ - $(target).menu('show', { - menu: submenu, - parent: item - }); - } - }).bind('mouseleave.menu', function(e){ - item.removeClass('menu-active menu-active-disabled'); - var submenu = item[0].submenu; - if (submenu){ - if (e.pageX>=parseInt(submenu.css('left'))){ - item.addClass('menu-active'); - } else { - hideMenu(submenu); - } - - } else { - item.removeClass('menu-active'); - } - }); - } - - /** - * hide top menu and it's all sub menus - */ - function hideAll(target){ - var state = $.data(target, 'menu'); - if (state){ - if ($(target).is(':visible')){ - hideMenu($(target)); - state.options.onHide.call(target); - } - } - return false; - } - - /** - * show the menu, the 'param' object has one or more properties: - * left: the left position to display - * top: the top position to display - * menu: the menu to display, if not defined, the 'target menu' is used - * parent: the parent menu item to align to - * alignTo: the element object to align to - */ - function showMenu(target, param){ - var left,top; - param = param || {}; - var menu = $(param.menu || target); - if (menu.hasClass('menu-top')){ - var opts = $.data(target, 'menu').options; - $.extend(opts, param); - left = opts.left; - top = opts.top; - if (opts.alignTo){ - var at = $(opts.alignTo); - left = at.offset().left; - top = at.offset().top + at._outerHeight(); - } -// if (param.left != undefined){left = param.left} -// if (param.top != undefined){top = param.top} - if (left + menu.outerWidth() > $(window)._outerWidth() + $(document)._scrollLeft()){ - left = $(window)._outerWidth() + $(document).scrollLeft() - menu.outerWidth() - 5; - } - if (top + menu.outerHeight() > $(window)._outerHeight() + $(document).scrollTop()){ -// top -= menu.outerHeight(); - top = $(window)._outerHeight() + $(document).scrollTop() - menu.outerHeight() - 5; - } - } else { - var parent = param.parent; // the parent menu item - left = parent.offset().left + parent.outerWidth() - 2; - if (left + menu.outerWidth() + 5 > $(window)._outerWidth() + $(document).scrollLeft()){ - left = parent.offset().left - menu.outerWidth() + 2; - } - var top = parent.offset().top - 3; - if (top + menu.outerHeight() > $(window)._outerHeight() + $(document).scrollTop()){ - top = $(window)._outerHeight() + $(document).scrollTop() - menu.outerHeight() - 5; - } - } - menu.css({left:left,top:top}); - menu.show(0, function(){ - if (!menu[0].shadow){ - menu[0].shadow = $('').insertAfter(menu); - } - menu[0].shadow.css({ - display:'block', - zIndex:$.fn.menu.defaults.zIndex++, - left:menu.css('left'), - top:menu.css('top'), - width:menu.outerWidth(), - height:menu.outerHeight() - }); - menu.css('z-index', $.fn.menu.defaults.zIndex++); - if (menu.hasClass('menu-top')){ - $.data(menu[0], 'menu').options.onShow.call(menu[0]); - } - }); - } - - function hideMenu(menu){ - if (!menu) return; - - hideit(menu); - menu.find('div.menu-item').each(function(){ - if (this.submenu){ - hideMenu(this.submenu); - } - $(this).removeClass('menu-active'); - }); - - function hideit(m){ - m.stop(true,true); - if (m[0].shadow){ - m[0].shadow.hide(); - } - m.hide(); - } - } - - function findItem(target, text){ - var result = null; - var tmp = $('
                              '); - function find(menu){ - menu.children('div.menu-item').each(function(){ - var item = $(target).menu('getItem', this); - var s = tmp.empty().html(item.text).text(); - if (text == $.trim(s)) { - result = item; - } else if (this.submenu && !result){ - find(this.submenu); - } - }); - } - find($(target)); - tmp.remove(); - return result; - } - - function setDisabled(target, itemEl, disabled){ - var t = $(itemEl); - if (!t.hasClass('menu-item')){return} - - if (disabled){ - t.addClass('menu-item-disabled'); - if (itemEl.onclick){ - itemEl.onclick1 = itemEl.onclick; - itemEl.onclick = null; - } - } else { - t.removeClass('menu-item-disabled'); - if (itemEl.onclick1){ - itemEl.onclick = itemEl.onclick1; - itemEl.onclick1 = null; - } - } - } - - function appendItem(target, param){ - var menu = $(target); - if (param.parent){ - if (!param.parent.submenu){ - var submenu = $('').appendTo('body'); - submenu.hide(); - param.parent.submenu = submenu; - $('').appendTo(param.parent); - } - menu = param.parent.submenu; - } - if (param.separator){ - var item = $('').appendTo(menu); - } else { - var item = $('').appendTo(menu); - $('').html(param.text).appendTo(item); - } - if (param.iconCls) $('').addClass(param.iconCls).appendTo(item); - if (param.id) item.attr('id', param.id); - if (param.name){item[0].itemName = param.name} - if (param.href){item[0].itemHref = param.href} - if (param.onclick){ - if (typeof param.onclick == 'string'){ - item.attr('onclick', param.onclick); - } else { - item[0].onclick = eval(param.onclick); - } - } - if (param.handler){item[0].onclick = eval(param.handler)} - if (param.disabled){setDisabled(target, item[0], true)} - - bindMenuItemEvent(target, item); - bindMenuEvent(target, menu); - setMenuWidth(target, menu); - } - - function removeItem(target, itemEl){ - function removeit(el){ - if (el.submenu){ - el.submenu.children('div.menu-item').each(function(){ - removeit(this); - }); - var shadow = el.submenu[0].shadow; - if (shadow) shadow.remove(); - el.submenu.remove(); - } - $(el).remove(); - } - removeit(itemEl); - } - - function destroyMenu(target){ - $(target).children('div.menu-item').each(function(){ - removeItem(target, this); - }); - if (target.shadow) target.shadow.remove(); - $(target).remove(); - } - - $.fn.menu = function(options, param){ - if (typeof options == 'string'){ - return $.fn.menu.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'menu'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'menu', { - options: $.extend({}, $.fn.menu.defaults, $.fn.menu.parseOptions(this), options) - }); - init(this); - } - $(this).css({ - left: state.options.left, - top: state.options.top - }); - }); - }; - - $.fn.menu.methods = { - options: function(jq){ - return $.data(jq[0], 'menu').options; - }, - show: function(jq, pos){ - return jq.each(function(){ - showMenu(this, pos); - }); - }, - hide: function(jq){ - return jq.each(function(){ - hideAll(this); - }); - }, - destroy: function(jq){ - return jq.each(function(){ - destroyMenu(this); - }); - }, - /** - * set the menu item text - * param: { - * target: DOM object, indicate the menu item - * text: string, the new text - * } - */ - setText: function(jq, param){ - return jq.each(function(){ - $(param.target).children('div.menu-text').html(param.text); - }); - }, - /** - * set the menu icon class - * param: { - * target: DOM object, indicate the menu item - * iconCls: the menu item icon class - * } - */ - setIcon: function(jq, param){ - return jq.each(function(){ - var item = $(this).menu('getItem', param.target); - if (item.iconCls){ - $(item.target).children('div.menu-icon').removeClass(item.iconCls).addClass(param.iconCls); - } else { - $('').addClass(param.iconCls).appendTo(param.target); - } - }); - }, - /** - * get the menu item data that contains the following property: - * { - * target: DOM object, the menu item - * id: the menu id - * text: the menu item text - * iconCls: the icon class - * href: a remote address to redirect to - * onclick: a function to be called when the item is clicked - * } - */ - getItem: function(jq, itemEl){ - var t = $(itemEl); - var item = { - target: itemEl, - id: t.attr('id'), - text: $.trim(t.children('div.menu-text').html()), - disabled: t.hasClass('menu-item-disabled'), -// href: t.attr('href'), -// name: t.attr('name'), - name: itemEl.itemName, - href: itemEl.itemHref, - onclick: itemEl.onclick - } - var icon = t.children('div.menu-icon'); - if (icon.length){ - var cc = []; - var aa = icon.attr('class').split(' '); - for(var i=0; i').appendTo('body'); - d.width(100); - $._boxModel = parseInt(d.width()) == 100; - d.remove(); - - if (!window.easyloader && $.parser.auto){ - $.parser.parse(); - } - }); - - /** - * extend plugin to set box model width - */ - $.fn._outerWidth = function(width){ - if (width == undefined){ - if (this[0] == window){ - return this.width() || document.body.clientWidth; - } - return this.outerWidth()||0; - } - return this.each(function(){ - if ($._boxModel){ - $(this).width(width - ($(this).outerWidth() - $(this).width())); - } else { - $(this).width(width); - } - }); - }; - - /** - * extend plugin to set box model height - */ - $.fn._outerHeight = function(height){ - if (height == undefined){ - if (this[0] == window){ - return this.height() || document.body.clientHeight; - } - return this.outerHeight()||0; - } - return this.each(function(){ - if ($._boxModel){ - $(this).height(height - ($(this).outerHeight() - $(this).height())); - } else { - $(this).height(height); - } - }); - }; - - $.fn._scrollLeft = function(left){ - if (left == undefined){ - return this.scrollLeft(); - } else { - return this.each(function(){$(this).scrollLeft(left)}); - } - } - - $.fn._propAttr = $.fn.prop || $.fn.attr; - - /** - * set or unset the fit property of parent container, return the width and height of parent container - */ - $.fn._fit = function(fit){ - fit = fit == undefined ? true : fit; - var t = this[0]; - var p = (t.tagName == 'BODY' ? t : this.parent()[0]); - var fcount = p.fcount || 0; - if (fit){ - if (!t.fitted){ - t.fitted = true; - p.fcount = fcount + 1; - $(p).addClass('panel-noscroll'); - if (p.tagName == 'BODY'){ - $('html').addClass('panel-fit'); - } - } - } else { - if (t.fitted){ - t.fitted = false; - p.fcount = fcount - 1; - if (p.fcount == 0){ - $(p).removeClass('panel-noscroll'); - if (p.tagName == 'BODY'){ - $('html').removeClass('panel-fit'); - } - } - } - } - return { - width: $(p).width(), - height: $(p).height() - } - } - -})(jQuery); - -/** - * support for mobile devices - */ -(function($){ - var longTouchTimer = null; - var dblTouchTimer = null; - var isDblClick = false; - - function onTouchStart(e){ - if (e.touches.length != 1){return} - if (!isDblClick){ - isDblClick = true; - dblClickTimer = setTimeout(function(){ - isDblClick = false; - }, 500); - } else { - clearTimeout(dblClickTimer); - isDblClick = false; - fire(e, 'dblclick'); -// e.preventDefault(); - } - longTouchTimer = setTimeout(function(){ - fire(e, 'contextmenu', 3); - }, 1000); - fire(e, 'mousedown'); - if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ - e.preventDefault(); - } - } - function onTouchMove(e){ - if (e.touches.length != 1){return} - if (longTouchTimer){ - clearTimeout(longTouchTimer); - } - fire(e, 'mousemove'); - if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ - e.preventDefault(); - } - } - function onTouchEnd(e){ -// if (e.touches.length > 0){return} - if (longTouchTimer){ - clearTimeout(longTouchTimer); - } - fire(e, 'mouseup'); - if ($.fn.draggable.isDragging || $.fn.resizable.isResizing){ - e.preventDefault(); - } - } - - function fire(e, name, which){ - var event = new $.Event(name); - event.pageX = e.changedTouches[0].pageX; - event.pageY = e.changedTouches[0].pageY; - event.which = which || 1; - $(e.target).trigger(event); - } - - if (document.addEventListener){ - document.addEventListener("touchstart", onTouchStart, true); - document.addEventListener("touchmove", onTouchMove, true); - document.addEventListener("touchend", onTouchEnd, true); - } -})(jQuery); - diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.progressbar.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.progressbar.js deleted file mode 100644 index b62cf61afcfe63b89487650bccdaea177b369cb1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.progressbar.js +++ /dev/null @@ -1,99 +0,0 @@ -/** - * progressbar - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - * Dependencies: - * none - * - */ -(function($){ - function init(target){ - $(target).addClass('progressbar'); - $(target).html('
                              '); - return $(target); - } - - function setSize(target,width){ - var opts = $.data(target, 'progressbar').options; - var bar = $.data(target, 'progressbar').bar; - if (width) opts.width = width; - bar._outerWidth(opts.width)._outerHeight(opts.height); - - bar.find('div.progressbar-text').width(bar.width()); - bar.find('div.progressbar-text,div.progressbar-value').css({ - height: bar.height()+'px', - lineHeight: bar.height()+'px' - }); - } - - $.fn.progressbar = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.progressbar.methods[options]; - if (method){ - return method(this, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'progressbar'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'progressbar', { - options: $.extend({}, $.fn.progressbar.defaults, $.fn.progressbar.parseOptions(this), options), - bar: init(this) - }); - } - $(this).progressbar('setValue', state.options.value); - setSize(this); - }); - }; - - $.fn.progressbar.methods = { - options: function(jq){ - return $.data(jq[0], 'progressbar').options; - }, - resize: function(jq, width){ - return jq.each(function(){ - setSize(this, width); - }); - }, - getValue: function(jq){ - return $.data(jq[0], 'progressbar').options.value; - }, - setValue: function(jq, value){ - if (value < 0) value = 0; - if (value > 100) value = 100; - return jq.each(function(){ - var opts = $.data(this, 'progressbar').options; - var text = opts.text.replace(/{value}/, value); - var oldValue = opts.value; - opts.value = value; - $(this).find('div.progressbar-value').width(value+'%'); - $(this).find('div.progressbar-text').html(text); - if (oldValue != value){ - opts.onChange.call(this, value, oldValue); - } - }); - } - }; - - $.fn.progressbar.parseOptions = function(target){ - return $.extend({}, $.parser.parseOptions(target, ['width','height','text',{value:'number'}])); - }; - - $.fn.progressbar.defaults = { - width: 'auto', - height: 22, - value: 0, // percentage value - text: '{value}%', - onChange:function(newValue,oldValue){} - }; -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.propertygrid.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.propertygrid.js deleted file mode 100644 index e695ddf3f639220963ff36f6deb07b50a2814140..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.propertygrid.js +++ /dev/null @@ -1,315 +0,0 @@ -/** - * propertygrid - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - * Dependencies: - * datagrid - * - */ -(function($){ - var currTarget; - - function buildGrid(target){ - var state = $.data(target, 'propertygrid'); - var opts = $.data(target, 'propertygrid').options; - $(target).datagrid($.extend({}, opts, { - cls:'propertygrid', - view:(opts.showGroup ? opts.groupView : opts.view), - onClickRow:function(index, row){ - if (currTarget != this){ -// leaveCurrRow(); - stopEditing(currTarget); - currTarget = this; - } - if (opts.editIndex != index && row.editor){ - var col = $(this).datagrid('getColumnOption', "value"); - col.editor = row.editor; -// leaveCurrRow(); - stopEditing(currTarget); - $(this).datagrid('beginEdit', index); - $(this).datagrid('getEditors', index)[0].target.focus(); - opts.editIndex = index; - } - opts.onClickRow.call(target, index, row); - }, - loadFilter:function(data){ - stopEditing(this); - return opts.loadFilter.call(this, data); - } - })); - $(document).unbind('.propertygrid').bind('mousedown.propertygrid', function(e){ - var p = $(e.target).closest('div.datagrid-view,div.combo-panel'); -// var p = $(e.target).closest('div.propertygrid,div.combo-panel'); - if (p.length){return;} - stopEditing(currTarget); - currTarget = undefined; - }); - -// function leaveCurrRow(){ -// var t = $(currTarget); -// if (!t.length){return;} -// var opts = $.data(currTarget, 'propertygrid').options; -// var index = opts.editIndex; -// if (index == undefined){return;} -// var ed = t.datagrid('getEditors', index)[0]; -// if (ed){ -// ed.target.blur(); -// if (t.datagrid('validateRow', index)){ -// t.datagrid('endEdit', index); -// } else { -// t.datagrid('cancelEdit', index); -// } -// } -// opts.editIndex = undefined; -// } - } - - function stopEditing(target){ - var t = $(target); - if (!t.length){return} - var opts = $.data(target, 'propertygrid').options; - var index = opts.editIndex; - if (index == undefined){return;} - var ed = t.datagrid('getEditors', index)[0]; - if (ed){ - ed.target.blur(); - if (t.datagrid('validateRow', index)){ - t.datagrid('endEdit', index); - } else { - t.datagrid('cancelEdit', index); - } - } - opts.editIndex = undefined; - } - - $.fn.propertygrid = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.propertygrid.methods[options]; - if (method){ - return method(this, param); - } else { - return this.datagrid(options, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'propertygrid'); - if (state){ - $.extend(state.options, options); - } else { - var opts = $.extend({}, $.fn.propertygrid.defaults, $.fn.propertygrid.parseOptions(this), options); - opts.frozenColumns = $.extend(true, [], opts.frozenColumns); - opts.columns = $.extend(true, [], opts.columns); - $.data(this, 'propertygrid', { - options: opts - }); - } - buildGrid(this); - }); - } - - $.fn.propertygrid.methods = { - options: function(jq){ - return $.data(jq[0], 'propertygrid').options; - } - }; - - $.fn.propertygrid.parseOptions = function(target){ - return $.extend({}, $.fn.datagrid.parseOptions(target), $.parser.parseOptions(target,[{showGroup:'boolean'}])); - }; - - // the group view definition - var groupview = $.extend({}, $.fn.datagrid.defaults.view, { - render: function(target, container, frozen){ - var table = []; - var groups = this.groups; - for(var i=0; i'); - table.push(''); - table.push(''); - if ((frozen && (opts.rownumbers || opts.frozenColumns.length)) || - (!frozen && !(opts.rownumbers || opts.frozenColumns.length))){ - table.push(''); - } - table.push(''); - table.push(''); - table.push('
                               '); - if (!frozen){ - table.push(''); - table.push(opts.groupFormatter.call(target, group.value, group.rows)); - table.push(''); - } - table.push('
                              '); - table.push(''); - - table.push(''); - var index = group.startIndex; - for(var j=0; j'); - table.push(this.renderRow.call(this, target, fields, frozen, index, group.rows[j])); - table.push(''); - index++; - } - table.push('
                              '); - return table.join(''); - }, - - bindEvents: function(target){ - var state = $.data(target, 'datagrid'); - var dc = state.dc; - var body = dc.body1.add(dc.body2); - var clickHandler = ($.data(body[0],'events')||$._data(body[0],'events')).click[0].handler; - body.unbind('click').bind('click', function(e){ - var tt = $(e.target); - var expander = tt.closest('span.datagrid-row-expander'); - if (expander.length){ - var gindex = expander.closest('div.datagrid-group').attr('group-index'); - if (expander.hasClass('datagrid-row-collapse')){ - $(target).datagrid('collapseGroup', gindex); - } else { - $(target).datagrid('expandGroup', gindex); - } - } else { - clickHandler(e); - } - e.stopPropagation(); - }); - }, - - onBeforeRender: function(target, rows){ - var state = $.data(target, 'datagrid'); - var opts = state.options; - - initCss(); - - var groups = []; - for(var i=0; i' + - '.datagrid-group{height:25px;overflow:hidden;font-weight:bold;border-bottom:1px solid #ccc;}' + - '' - ); - } - } - } - }); - - $.extend($.fn.datagrid.methods, { - expandGroup:function(jq, groupIndex){ - return jq.each(function(){ - var view = $.data(this, 'datagrid').dc.view; - var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); - var expander = group.find('span.datagrid-row-expander'); - if (expander.hasClass('datagrid-row-expand')){ - expander.removeClass('datagrid-row-expand').addClass('datagrid-row-collapse'); - group.next('table').show(); - } - $(this).datagrid('fixRowHeight'); - }); - }, - collapseGroup:function(jq, groupIndex){ - return jq.each(function(){ - var view = $.data(this, 'datagrid').dc.view; - var group = view.find(groupIndex!=undefined ? 'div.datagrid-group[group-index="'+groupIndex+'"]' : 'div.datagrid-group'); - var expander = group.find('span.datagrid-row-expander'); - if (expander.hasClass('datagrid-row-collapse')){ - expander.removeClass('datagrid-row-collapse').addClass('datagrid-row-expand'); - group.next('table').hide(); - } - $(this).datagrid('fixRowHeight'); - }); - } - }); - // end of group view definition - - $.fn.propertygrid.defaults = $.extend({}, $.fn.datagrid.defaults, { - singleSelect:true, - remoteSort:false, - fitColumns:true, - loadMsg:'', - frozenColumns:[[ - {field:'f',width:16,resizable:false} - ]], - columns:[[ - {field:'name',title:'Name',width:100,sortable:true}, - {field:'value',title:'Value',width:100,resizable:false} - ]], - - showGroup:false, - groupView:groupview, - groupField:'group', - groupFormatter:function(fvalue,rows){return fvalue} - }); -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.resizable.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.resizable.js deleted file mode 100644 index e7002e3158f77174a8c99c2a46242e0cf960da37..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.resizable.js +++ /dev/null @@ -1,244 +0,0 @@ -/** - * resizable - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - */ -(function($){ -// var isResizing = false; - $.fn.resizable = function(options, param){ - if (typeof options == 'string'){ - return $.fn.resizable.methods[options](this, param); - } - - function resize(e){ - var resizeData = e.data; - var options = $.data(resizeData.target, 'resizable').options; - if (resizeData.dir.indexOf('e') != -1) { - var width = resizeData.startWidth + e.pageX - resizeData.startX; - width = Math.min( - Math.max(width, options.minWidth), - options.maxWidth - ); - resizeData.width = width; - } - if (resizeData.dir.indexOf('s') != -1) { - var height = resizeData.startHeight + e.pageY - resizeData.startY; - height = Math.min( - Math.max(height, options.minHeight), - options.maxHeight - ); - resizeData.height = height; - } - if (resizeData.dir.indexOf('w') != -1) { - var width = resizeData.startWidth - e.pageX + resizeData.startX; - width = Math.min( - Math.max(width, options.minWidth), - options.maxWidth - ); - resizeData.width = width; - resizeData.left = resizeData.startLeft + resizeData.startWidth - resizeData.width; - -// resizeData.width = resizeData.startWidth - e.pageX + resizeData.startX; -// if (resizeData.width >= options.minWidth && resizeData.width <= options.maxWidth) { -// resizeData.left = resizeData.startLeft + e.pageX - resizeData.startX; -// } - } - if (resizeData.dir.indexOf('n') != -1) { - var height = resizeData.startHeight - e.pageY + resizeData.startY; - height = Math.min( - Math.max(height, options.minHeight), - options.maxHeight - ); - resizeData.height = height; - resizeData.top = resizeData.startTop + resizeData.startHeight - resizeData.height; - -// resizeData.height = resizeData.startHeight - e.pageY + resizeData.startY; -// if (resizeData.height >= options.minHeight && resizeData.height <= options.maxHeight) { -// resizeData.top = resizeData.startTop + e.pageY - resizeData.startY; -// } - } - } - - function applySize(e){ - var resizeData = e.data; - var t = $(resizeData.target); - t.css({ - left: resizeData.left, - top: resizeData.top - }); - if (t.outerWidth() != resizeData.width){t._outerWidth(resizeData.width)} - if (t.outerHeight() != resizeData.height){t._outerHeight(resizeData.height)} -// t._outerWidth(resizeData.width)._outerHeight(resizeData.height); - } - - function doDown(e){ -// isResizing = true; - $.fn.resizable.isResizing = true; - $.data(e.data.target, 'resizable').options.onStartResize.call(e.data.target, e); - return false; - } - - function doMove(e){ - resize(e); - if ($.data(e.data.target, 'resizable').options.onResize.call(e.data.target, e) != false){ - applySize(e) - } - return false; - } - - function doUp(e){ -// isResizing = false; - $.fn.resizable.isResizing = false; - resize(e, true); - applySize(e); - $.data(e.data.target, 'resizable').options.onStopResize.call(e.data.target, e); - $(document).unbind('.resizable'); - $('body').css('cursor',''); -// $('body').css('cursor','auto'); - return false; - } - - return this.each(function(){ - var opts = null; - var state = $.data(this, 'resizable'); - if (state) { - $(this).unbind('.resizable'); - opts = $.extend(state.options, options || {}); - } else { - opts = $.extend({}, $.fn.resizable.defaults, $.fn.resizable.parseOptions(this), options || {}); - $.data(this, 'resizable', { - options:opts - }); - } - - if (opts.disabled == true) { - return; - } - - // bind mouse event using namespace resizable - $(this).bind('mousemove.resizable', {target:this}, function(e){ -// if (isResizing) return; - if ($.fn.resizable.isResizing){return} - var dir = getDirection(e); - if (dir == '') { - $(e.data.target).css('cursor', ''); - } else { - $(e.data.target).css('cursor', dir + '-resize'); - } - }).bind('mouseleave.resizable', {target:this}, function(e){ - $(e.data.target).css('cursor', ''); - }).bind('mousedown.resizable', {target:this}, function(e){ - var dir = getDirection(e); - if (dir == '') return; - - function getCssValue(css) { - var val = parseInt($(e.data.target).css(css)); - if (isNaN(val)) { - return 0; - } else { - return val; - } - } - - var data = { - target: e.data.target, - dir: dir, - startLeft: getCssValue('left'), - startTop: getCssValue('top'), - left: getCssValue('left'), - top: getCssValue('top'), - startX: e.pageX, - startY: e.pageY, - startWidth: $(e.data.target).outerWidth(), - startHeight: $(e.data.target).outerHeight(), - width: $(e.data.target).outerWidth(), - height: $(e.data.target).outerHeight(), - deltaWidth: $(e.data.target).outerWidth() - $(e.data.target).width(), - deltaHeight: $(e.data.target).outerHeight() - $(e.data.target).height() - }; - $(document).bind('mousedown.resizable', data, doDown); - $(document).bind('mousemove.resizable', data, doMove); - $(document).bind('mouseup.resizable', data, doUp); - $('body').css('cursor', dir+'-resize'); - }); - - // get the resize direction - function getDirection(e) { - var tt = $(e.data.target); - var dir = ''; - var offset = tt.offset(); - var width = tt.outerWidth(); - var height = tt.outerHeight(); - var edge = opts.edge; - if (e.pageY > offset.top && e.pageY < offset.top + edge) { - dir += 'n'; - } else if (e.pageY < offset.top + height && e.pageY > offset.top + height - edge) { - dir += 's'; - } - if (e.pageX > offset.left && e.pageX < offset.left + edge) { - dir += 'w'; - } else if (e.pageX < offset.left + width && e.pageX > offset.left + width - edge) { - dir += 'e'; - } - - var handles = opts.handles.split(','); - for(var i=0; i' + - '
                              ' + - '' + - '' + - '
                              ' + - '
                              ' + - '
                              ' + - '
                              ' + - '' + - '').insertAfter(target); - var t = $(target); - t.addClass('slider-f').hide(); - var name = t.attr('name'); - if (name){ - slider.find('input.slider-value').attr('name', name); - t.removeAttr('name').attr('sliderName', name); - } - return slider; - } - - /** - * set the slider size, for vertical slider, the height property is required - */ - function setSize(target, param){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - - if (param){ - if (param.width) opts.width = param.width; - if (param.height) opts.height = param.height; - } - if (opts.mode == 'h'){ - slider.css('height', ''); - slider.children('div').css('height', ''); - if (!isNaN(opts.width)){ - slider.width(opts.width); - } - } else { - slider.css('width', ''); - slider.children('div').css('width', ''); - if (!isNaN(opts.height)){ - slider.height(opts.height); - slider.find('div.slider-rule').height(opts.height); - slider.find('div.slider-rulelabel').height(opts.height); - slider.find('div.slider-inner')._outerHeight(opts.height); - } - } - initValue(target); - } - - /** - * show slider rule if needed - */ - function showRule(target){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - - var aa = opts.mode == 'h' ? opts.rule : opts.rule.slice(0).reverse(); - if (opts.reversed){ - aa = aa.slice(0).reverse(); - } - _build(aa); - - function _build(aa){ - var rule = slider.find('div.slider-rule'); - var label = slider.find('div.slider-rulelabel'); - rule.empty(); - label.empty(); - for(var i=0; i').appendTo(rule); - span.css((opts.mode=='h'?'left':'top'), distance); - - // show the labels - if (aa[i] != '|'){ - span = $('').appendTo(label); - span.html(aa[i]); - if (opts.mode == 'h'){ - span.css({ - left: distance, - marginLeft: -Math.round(span.outerWidth()/2) - }); - } else { - span.css({ - top: distance, - marginTop: -Math.round(span.outerHeight()/2) - }); - } - } - } - } - } - - /** - * build the slider and set some properties - */ - function buildSlider(target){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - - slider.removeClass('slider-h slider-v slider-disabled'); - slider.addClass(opts.mode == 'h' ? 'slider-h' : 'slider-v'); - slider.addClass(opts.disabled ? 'slider-disabled' : ''); - - slider.find('a.slider-handle').draggable({ - axis:opts.mode, - cursor:'pointer', - disabled: opts.disabled, - onDrag:function(e){ - var left = e.data.left; - var width = slider.width(); - if (opts.mode!='h'){ - left = e.data.top; - width = slider.height(); - } - if (left < 0 || left > width) { - return false; - } else { - var value = pos2value(target, left); - adjustValue(value); - return false; - } - }, - onBeforeDrag:function(){ - state.isDragging = true; - }, - onStartDrag:function(){ - opts.onSlideStart.call(target, opts.value); - }, - onStopDrag:function(e){ - var value = pos2value(target, (opts.mode=='h'?e.data.left:e.data.top)); - adjustValue(value); - opts.onSlideEnd.call(target, opts.value); - opts.onComplete.call(target, opts.value); - state.isDragging = false; - } - }); - slider.find('div.slider-inner').unbind('.slider').bind('mousedown.slider', function(e){ - if (state.isDragging){return} - var pos = $(this).offset(); - var value = pos2value(target, (opts.mode=='h'?(e.pageX-pos.left):(e.pageY-pos.top))); - adjustValue(value); - opts.onComplete.call(target, opts.value); - }); - - function adjustValue(value){ - var s = Math.abs(value % opts.step); - if (s < opts.step/2){ - value -= s; - } else { - value = value - s + opts.step; - } - setValue(target, value); - } - } - - /** - * set a specified value to slider - */ - function setValue(target, value){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - var oldValue = opts.value; - if (value < opts.min) value = opts.min; - if (value > opts.max) value = opts.max; - - opts.value = value; - $(target).val(value); - slider.find('input.slider-value').val(value); - - var pos = value2pos(target, value); - var tip = slider.find('.slider-tip'); - if (opts.showTip){ - tip.show(); - tip.html(opts.tipFormatter.call(target, opts.value)); - } else { - tip.hide(); - } - - if (opts.mode == 'h'){ - var style = 'left:'+pos+'px;'; - slider.find('.slider-handle').attr('style', style); - tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth()/2)) + 'px'); - } else { - var style = 'top:' + pos + 'px;'; - slider.find('.slider-handle').attr('style', style); - tip.attr('style', style + 'margin-left:' + (-Math.round(tip.outerWidth())) + 'px'); - } - - if (oldValue != value){ - opts.onChange.call(target, value, oldValue); - } - } - - function initValue(target){ - var opts = $.data(target, 'slider').options; - var fn = opts.onChange; - opts.onChange = function(){}; - setValue(target, opts.value); - opts.onChange = fn; - } - - /** - * translate value to slider position - */ - function value2pos(target, value){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - if (opts.mode == 'h'){ - var pos = (value-opts.min)/(opts.max-opts.min)*slider.width(); - if (opts.reversed){ - pos = slider.width() - pos; - } - } else { - var pos = slider.height() - (value-opts.min)/(opts.max-opts.min)*slider.height(); - if (opts.reversed){ - pos = slider.height() - pos; - } - } - return pos.toFixed(0); - } - - /** - * translate slider position to value - */ - function pos2value(target, pos){ - var state = $.data(target, 'slider'); - var opts = state.options; - var slider = state.slider; - if (opts.mode == 'h'){ - var value = opts.min + (opts.max-opts.min)*(pos/slider.width()); - } else { - var value = opts.min + (opts.max-opts.min)*((slider.height()-pos)/slider.height()); - } - return opts.reversed ? opts.max - value.toFixed(0) : value.toFixed(0); - } - - $.fn.slider = function(options, param){ - if (typeof options == 'string'){ - return $.fn.slider.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'slider'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'slider', { - options: $.extend({}, $.fn.slider.defaults, $.fn.slider.parseOptions(this), options), - slider: init(this) - }); - $(this).removeAttr('disabled'); - } - - var opts = state.options; - opts.min = parseFloat(opts.min); - opts.max = parseFloat(opts.max); - opts.value = parseFloat(opts.value); - opts.step = parseFloat(opts.step); - opts.originalValue = opts.value; - - buildSlider(this); - showRule(this); - setSize(this); - }); - }; - - $.fn.slider.methods = { - options: function(jq){ - return $.data(jq[0], 'slider').options; - }, - destroy: function(jq){ - return jq.each(function(){ - $.data(this, 'slider').slider.remove(); - $(this).remove(); - }); - }, - resize: function(jq, param){ - return jq.each(function(){ - setSize(this, param); - }); - }, - getValue: function(jq){ - return jq.slider('options').value; - }, - setValue: function(jq, value){ - return jq.each(function(){ - setValue(this, value); - }); - }, - clear: function(jq){ - return jq.each(function(){ - var opts = $(this).slider('options'); - setValue(this, opts.min); - }); - }, - reset: function(jq){ - return jq.each(function(){ - var opts = $(this).slider('options'); - setValue(this, opts.originalValue); - }); - }, - enable: function(jq){ - return jq.each(function(){ - $.data(this, 'slider').options.disabled = false; - buildSlider(this); - }); - }, - disable: function(jq){ - return jq.each(function(){ - $.data(this, 'slider').options.disabled = true; - buildSlider(this); - }); - } - }; - - $.fn.slider.parseOptions = function(target){ - var t = $(target); - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height','mode',{reversed:'boolean',showTip:'boolean',min:'number',max:'number',step:'number'} - ]), { - value: (t.val() || undefined), - disabled: (t.attr('disabled') ? true : undefined), - rule: (t.attr('rule') ? eval(t.attr('rule')) : undefined) - }); - }; - - $.fn.slider.defaults = { - width: 'auto', - height: 'auto', - mode: 'h', // 'h'(horizontal) or 'v'(vertical) - reversed: false, - showTip: false, - disabled: false, - value: 0, - min: 0, - max: 100, - step: 1, - rule: [], // [0,'|',100] - tipFormatter: function(value){return value}, - onChange: function(value, oldValue){}, - onSlideStart: function(value){}, - onSlideEnd: function(value){}, - onComplete: function(value){} - }; -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.tabs.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.tabs.js deleted file mode 100644 index 8723aa43148d8306a46d771d64058de58a234490..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.tabs.js +++ /dev/null @@ -1,787 +0,0 @@ -/** - * tabs - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - * Dependencies: - * panel - * linkbutton - * - */ -(function($){ - - /** - * set the tabs scrollers to show or not, - * dependent on the tabs count and width - */ - function setScrollers(container) { - var opts = $.data(container, 'tabs').options; - if (opts.tabPosition == 'left' || opts.tabPosition == 'right' || !opts.showHeader){return} - - var header = $(container).children('div.tabs-header'); - var tool = header.children('div.tabs-tool'); - var sLeft = header.children('div.tabs-scroller-left'); - var sRight = header.children('div.tabs-scroller-right'); - var wrap = header.children('div.tabs-wrap'); - - // set the tool height - var tHeight = header.outerHeight(); - if (opts.plain){ - tHeight -= tHeight - header.height(); - } - tool._outerHeight(tHeight); - - var tabsWidth = 0; - $('ul.tabs li', header).each(function(){ - tabsWidth += $(this).outerWidth(true); - }); - var cWidth = header.width() - tool._outerWidth(); - - if (tabsWidth > cWidth) { - sLeft.add(sRight).show()._outerHeight(tHeight); - if (opts.toolPosition == 'left'){ - tool.css({ - left: sLeft.outerWidth(), - right: '' - }); - wrap.css({ - marginLeft: sLeft.outerWidth() + tool._outerWidth(), - marginRight: sRight._outerWidth(), - width: cWidth - sLeft.outerWidth() - sRight.outerWidth() - }); - } else { - tool.css({ - left: '', - right: sRight.outerWidth() - }); - wrap.css({ - marginLeft: sLeft.outerWidth(), - marginRight: sRight.outerWidth() + tool._outerWidth(), - width: cWidth - sLeft.outerWidth() - sRight.outerWidth() - }); - } - } else { - sLeft.add(sRight).hide(); - if (opts.toolPosition == 'left'){ - tool.css({ - left: 0, - right: '' - }); - wrap.css({ - marginLeft: tool._outerWidth(), - marginRight: 0, - width: cWidth - }); - } else { - tool.css({ - left: '', - right: 0 - }); - wrap.css({ - marginLeft: 0, - marginRight: tool._outerWidth(), - width: cWidth - }); - } - } - } - - function addTools(container){ - var opts = $.data(container, 'tabs').options; - var header = $(container).children('div.tabs-header'); - if (opts.tools) { - if (typeof opts.tools == 'string'){ - $(opts.tools).addClass('tabs-tool').appendTo(header); - $(opts.tools).show(); - } else { - header.children('div.tabs-tool').remove(); - var tools = $('
                              ').appendTo(header); - var tr = tools.find('tr'); - for(var i=0; i').appendTo(tr); - var tool = $('').appendTo(td); - tool[0].onclick = eval(opts.tools[i].handler || function(){}); - tool.linkbutton($.extend({}, opts.tools[i], { - plain: true - })); - } - } - } else { - header.children('div.tabs-tool').remove(); - } - } - - function setSize(container) { - var state = $.data(container, 'tabs'); - var opts = state.options; - var cc = $(container); - - opts.fit ? $.extend(opts, cc._fit()) : cc._fit(false); - cc.width(opts.width).height(opts.height); - - var header = $(container).children('div.tabs-header'); - var panels = $(container).children('div.tabs-panels'); - var wrap = header.find('div.tabs-wrap'); - var ul = wrap.find('.tabs'); - - for(var i=0; i').insertBefore(cc); - cc.children('div').each(function(){ - pp[0].appendChild(this); - }); - cc[0].appendChild(pp[0]); -// cc.wrapInner('
                              '); - $('
                              ' - + '
                              ' - + '
                              ' - + '
                              ' - + '
                                ' - + '
                                ' - + '
                                ').prependTo(container); - - cc.children('div.tabs-panels').children('div').each(function(i){ - var opts = $.extend({}, $.parser.parseOptions(this), { - selected: ($(this).attr('selected') ? true : undefined) - }); - var pp = $(this); - tabs.push(pp); - createTab(container, pp, opts); - }); - - cc.children('div.tabs-header').find('.tabs-scroller-left, .tabs-scroller-right').hover( - function(){$(this).addClass('tabs-scroller-over');}, - function(){$(this).removeClass('tabs-scroller-over');} - ); - cc.bind('_resize', function(e,force){ - var opts = $.data(container, 'tabs').options; - if (opts.fit == true || force){ - setSize(container); - setSelectedSize(container); - } - return false; - }); - } - - function bindEvents(container){ - var state = $.data(container, 'tabs') - var opts = state.options; - $(container).children('div.tabs-header').unbind().bind('click', function(e){ - if ($(e.target).hasClass('tabs-scroller-left')){ - $(container).tabs('scrollBy', -opts.scrollIncrement); - } else if ($(e.target).hasClass('tabs-scroller-right')){ - $(container).tabs('scrollBy', opts.scrollIncrement); - } else { - var li = $(e.target).closest('li'); - if (li.hasClass('tabs-disabled')){return;} - var a = $(e.target).closest('a.tabs-close'); - if (a.length){ - closeTab(container, getLiIndex(li)); - } else if (li.length){ -// selectTab(container, getLiIndex(li)); - var index = getLiIndex(li); - var popts = state.tabs[index].panel('options'); - if (popts.collapsible){ - popts.closed ? selectTab(container, index) : unselectTab(container, index); - } else { - selectTab(container, index); - } - } - } - }).bind('contextmenu', function(e){ - var li = $(e.target).closest('li'); - if (li.hasClass('tabs-disabled')){return;} - if (li.length){ - opts.onContextMenu.call(container, e, li.find('span.tabs-title').html(), getLiIndex(li)); - } - }); - - function getLiIndex(li){ - var index = 0; - li.parent().children('li').each(function(i){ - if (li[0] == this){ - index = i; - return false; - } - }); - return index; - } - } - - function setProperties(container){ - var opts = $.data(container, 'tabs').options; - var header = $(container).children('div.tabs-header'); - var panels = $(container).children('div.tabs-panels'); - - header.removeClass('tabs-header-top tabs-header-bottom tabs-header-left tabs-header-right'); - panels.removeClass('tabs-panels-top tabs-panels-bottom tabs-panels-left tabs-panels-right'); - if (opts.tabPosition == 'top'){ - header.insertBefore(panels); - } else if (opts.tabPosition == 'bottom'){ - header.insertAfter(panels); - header.addClass('tabs-header-bottom'); - panels.addClass('tabs-panels-top'); - } else if (opts.tabPosition == 'left'){ - header.addClass('tabs-header-left'); - panels.addClass('tabs-panels-right'); - } else if (opts.tabPosition == 'right'){ - header.addClass('tabs-header-right'); - panels.addClass('tabs-panels-left'); - } - - if (opts.plain == true) { - header.addClass('tabs-header-plain'); - } else { - header.removeClass('tabs-header-plain'); - } - if (opts.border == true){ - header.removeClass('tabs-header-noborder'); - panels.removeClass('tabs-panels-noborder'); - } else { - header.addClass('tabs-header-noborder'); - panels.addClass('tabs-panels-noborder'); - } - } - - function createTab(container, pp, options) { - var state = $.data(container, 'tabs'); - options = options || {}; - - // create panel - pp.panel($.extend({}, options, { - border: false, - noheader: true, - closed: true, - doSize: false, - iconCls: (options.icon ? options.icon : undefined), - onLoad: function(){ - if (options.onLoad){ - options.onLoad.call(this, arguments); - } - state.options.onLoad.call(container, $(this)); - } - })); - - var opts = pp.panel('options'); - - var tabs = $(container).children('div.tabs-header').find('ul.tabs'); - - opts.tab = $('
                              • ').appendTo(tabs); // set the tab object in panel options - opts.tab.append( - '' + - '' + - '' + - '' - ); - - $(container).tabs('update', { - tab: pp, - options: opts - }); - } - - function addTab(container, options) { - var opts = $.data(container, 'tabs').options; - var tabs = $.data(container, 'tabs').tabs; - if (options.selected == undefined) options.selected = true; - - var pp = $('
                                ').appendTo($(container).children('div.tabs-panels')); - tabs.push(pp); - createTab(container, pp, options); - - opts.onAdd.call(container, options.title, tabs.length-1); - -// setScrollers(container); - setSize(container); - if (options.selected){ - selectTab(container, tabs.length-1); // select the added tab panel - } - } - - /** - * update tab panel, param has following properties: - * tab: the tab panel to be updated - * options: the tab panel options - */ - function updateTab(container, param){ - var selectHis = $.data(container, 'tabs').selectHis; - var pp = param.tab; // the tab panel - var oldTitle = pp.panel('options').title; - pp.panel($.extend({}, param.options, { - iconCls: (param.options.icon ? param.options.icon : undefined) - })); - - var opts = pp.panel('options'); // get the tab panel options - var tab = opts.tab; - - var s_title = tab.find('span.tabs-title'); - var s_icon = tab.find('span.tabs-icon'); - s_title.html(opts.title); - s_icon.attr('class', 'tabs-icon'); - - tab.find('a.tabs-close').remove(); - if (opts.closable){ - s_title.addClass('tabs-closable'); - $('').appendTo(tab); - } else{ - s_title.removeClass('tabs-closable'); - } - if (opts.iconCls){ - s_title.addClass('tabs-with-icon'); - s_icon.addClass(opts.iconCls); - } else { - s_title.removeClass('tabs-with-icon'); - } - - if (oldTitle != opts.title){ - for(var i=0; i').insertAfter(tab.find('a.tabs-inner')); - if ($.isArray(opts.tools)){ - for(var i=0; i').appendTo(p_tool); - t.addClass(opts.tools[i].iconCls); - if (opts.tools[i].handler){ - t.bind('click', {handler:opts.tools[i].handler}, function(e){ - if ($(this).parents('li').hasClass('tabs-disabled')){return;} - e.data.handler.call(this); - }); - } - } - } else { - $(opts.tools).children().appendTo(p_tool); - } - var pr = p_tool.children().length * 12; - if (opts.closable) { - pr += 8; - } else { - pr -= 3; - p_tool.css('right','5px'); - } - s_title.css('padding-right', pr+'px'); - } - -// setProperties(container); -// setScrollers(container); - setSize(container); - - $.data(container, 'tabs').options.onUpdate.call(container, opts.title, getTabIndex(container, pp)); - } - - /** - * close a tab with specified index or title - */ - function closeTab(container, which) { - var opts = $.data(container, 'tabs').options; - var tabs = $.data(container, 'tabs').tabs; - var selectHis = $.data(container, 'tabs').selectHis; - - if (!exists(container, which)) return; - - var tab = getTab(container, which); - var title = tab.panel('options').title; - var index = getTabIndex(container, tab); - - if (opts.onBeforeClose.call(container, title, index) == false) return; - - var tab = getTab(container, which, true); - tab.panel('options').tab.remove(); - tab.panel('destroy'); - - opts.onClose.call(container, title, index); - -// setScrollers(container); - setSize(container); - - // remove the select history item - for(var i=0; i= tabs.length){ - return null; - } else { - var tab = tabs[which]; - if (removeit) { - tabs.splice(which, 1); - } - return tab; - } - } - for(var i=0; idiv.tabs-header>div.tabs-wrap'); - var left = tab.position().left; - var right = left + tab.outerWidth(); - if (left < 0 || right > wrap.width()){ - var deltaX = left - (wrap.width()-tab.width()) / 2; - $(container).tabs('scrollBy', deltaX); - } else { - $(container).tabs('scrollBy', 0); - } - - setSelectedSize(container); - - opts.onSelect.call(container, title, getTabIndex(container, panel)); - } - - function unselectTab(container, which){ - var state = $.data(container, 'tabs'); - var p = getTab(container, which); - if (p){ - var opts = p.panel('options'); - if (!opts.closed){ - p.panel('close'); - if (opts.closed){ - opts.tab.removeClass('tabs-selected'); - state.options.onUnselect.call(container, opts.title, getTabIndex(container, p)); - } - } - } - } - - function exists(container, which){ - return getTab(container, which) != null; - } - - function showHeader(container, visible){ - var opts = $.data(container, 'tabs').options; - opts.showHeader = visible; - $(container).tabs('resize'); - } - - - $.fn.tabs = function(options, param){ - if (typeof options == 'string') { - return $.fn.tabs.methods[options](this, param); - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'tabs'); - var opts; - if (state) { - opts = $.extend(state.options, options); - state.options = opts; - } else { - $.data(this, 'tabs', { - options: $.extend({},$.fn.tabs.defaults, $.fn.tabs.parseOptions(this), options), - tabs: [], - selectHis: [] - }); - wrapTabs(this); - } - - addTools(this); - setProperties(this); - setSize(this); - bindEvents(this); - - doFirstSelect(this); - }); - }; - - $.fn.tabs.methods = { - options: function(jq){ - var cc = jq[0]; - var opts = $.data(cc, 'tabs').options; - var s = getSelectedTab(cc); - opts.selected = s ? getTabIndex(cc, s) : -1; - return opts; - }, - tabs: function(jq){ - return $.data(jq[0], 'tabs').tabs; - }, - resize: function(jq){ - return jq.each(function(){ - setSize(this); - setSelectedSize(this); - }); - }, - add: function(jq, options){ - return jq.each(function(){ - addTab(this, options); - }); - }, - close: function(jq, which){ - return jq.each(function(){ - closeTab(this, which); - }); - }, - getTab: function(jq, which){ - return getTab(jq[0], which); - }, - getTabIndex: function(jq, tab){ - return getTabIndex(jq[0], tab); - }, - getSelected: function(jq){ - return getSelectedTab(jq[0]); - }, - select: function(jq, which){ - return jq.each(function(){ - selectTab(this, which); - }); - }, - unselect: function(jq, which){ - return jq.each(function(){ - unselectTab(this, which); - }); - }, - exists: function(jq, which){ - return exists(jq[0], which); - }, - update: function(jq, options){ - return jq.each(function(){ - updateTab(this, options); - }); - }, - enableTab: function(jq, which){ - return jq.each(function(){ - $(this).tabs('getTab', which).panel('options').tab.removeClass('tabs-disabled'); - }); - }, - disableTab: function(jq, which){ - return jq.each(function(){ - $(this).tabs('getTab', which).panel('options').tab.addClass('tabs-disabled'); - }); - }, - showHeader: function(jq){ - return jq.each(function(){ - showHeader(this, true); - }); - }, - hideHeader: function(jq){ - return jq.each(function(){ - showHeader(this, false); - }); - }, - scrollBy: function(jq, deltaX){ // scroll the tab header by the specified amount of pixels - return jq.each(function(){ - var opts = $(this).tabs('options'); - var wrap = $(this).find('>div.tabs-header>div.tabs-wrap'); - var pos = Math.min(wrap._scrollLeft() + deltaX, getMaxScrollWidth()); - wrap.animate({scrollLeft: pos}, opts.scrollDuration); - - function getMaxScrollWidth(){ - var w = 0; - var ul = wrap.children('ul'); - ul.children('li').each(function(){ - w += $(this).outerWidth(true); - }); - return w - wrap.width() + (ul.outerWidth() - ul.width()); - } - }); - } - }; - - $.fn.tabs.parseOptions = function(target){ - return $.extend({}, $.parser.parseOptions(target, [ - 'width','height','tools','toolPosition','tabPosition', - {fit:'boolean',border:'boolean',plain:'boolean',headerWidth:'number',tabWidth:'number',tabHeight:'number',selected:'number',showHeader:'boolean'} - ])); - }; - - $.fn.tabs.defaults = { - width: 'auto', - height: 'auto', - headerWidth: 150, // the tab header width, it is valid only when tabPosition set to 'left' or 'right' - tabWidth: 'auto', // the tab width - tabHeight: 27, // the tab height - selected: 0, // the initialized selected tab index - showHeader: true, - plain: false, - fit: false, - border: true, - tools: null, - toolPosition: 'right', // left,right - tabPosition: 'top', // possible values: top,bottom - scrollIncrement: 100, - scrollDuration: 400, - onLoad: function(panel){}, - onSelect: function(title, index){}, - onUnselect: function(title, index){}, - onBeforeClose: function(title, index){}, - onClose: function(title, index){}, - onAdd: function(title, index){}, - onUpdate: function(title, index){}, - onContextMenu: function(e, title, index){} - }; -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/src/jquery.window.js b/src/main/webapp/js/easyui-1.3.5/src/jquery.window.js deleted file mode 100644 index 71fc6bb31adb5359b4040ec8328652724b3dceba..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/src/jquery.window.js +++ /dev/null @@ -1,409 +0,0 @@ -/** - * window - jQuery EasyUI - * - * Copyright (c) 2009-2013 www.jeasyui.com. All rights reserved. - * - * Licensed under the GPL or commercial licenses - * To use it on other terms please contact us: info@jeasyui.com - * http://www.gnu.org/licenses/gpl.txt - * http://www.jeasyui.com/license_commercial.php - * - * Dependencies: - * panel - * draggable - * resizable - * - */ -(function($){ - function setSize(target, param){ - var opts = $.data(target, 'window').options; - if (param){ - $.extend(opts, param); -// if (param.width) opts.width = param.width; -// if (param.height) opts.height = param.height; -// if (param.left != null) opts.left = param.left; -// if (param.top != null) opts.top = param.top; - } - $(target).panel('resize', opts); - } - - function moveWindow(target, param){ - var state = $.data(target, 'window'); - if (param){ - if (param.left != null) state.options.left = param.left; - if (param.top != null) state.options.top = param.top; - } - $(target).panel('move', state.options); - if (state.shadow){ - state.shadow.css({ - left: state.options.left, - top: state.options.top - }); - } - } - - /** - * center the window only horizontally - */ - function hcenter(target, tomove){ - var state = $.data(target, 'window'); - var opts = state.options; - var width = opts.width; - if (isNaN(width)){ - width = state.window._outerWidth(); - } - if (opts.inline){ - var parent = state.window.parent(); - opts.left = (parent.width() - width) / 2 + parent.scrollLeft(); - } else { - opts.left = ($(window)._outerWidth() - width) / 2 + $(document).scrollLeft(); - } - if (tomove){moveWindow(target);} - } - - /** - * center the window only vertically - */ - function vcenter(target, tomove){ - var state = $.data(target, 'window'); - var opts = state.options; - var height = opts.height; - if (isNaN(height)){ - height = state.window._outerHeight(); - } - if (opts.inline){ - var parent = state.window.parent(); - opts.top = (parent.height() - height) / 2 + parent.scrollTop(); - } else { - opts.top = ($(window)._outerHeight() - height) / 2 + $(document).scrollTop(); - } - if (tomove){moveWindow(target);} - } - - function create(target){ - var state = $.data(target, 'window'); - var win = $(target).panel($.extend({}, state.options, { - border: false, - doSize: true, // size the panel, the property undefined in window component - closed: true, // close the panel - cls: 'window', - headerCls: 'window-header', - bodyCls: 'window-body ' + (state.options.noheader ? 'window-body-noheader' : ''), - - onBeforeDestroy: function(){ - if (state.options.onBeforeDestroy.call(target) == false) return false; - if (state.shadow) state.shadow.remove(); - if (state.mask) state.mask.remove(); - }, - onClose: function(){ - if (state.shadow) state.shadow.hide(); - if (state.mask) state.mask.hide(); - - state.options.onClose.call(target); - }, - onOpen: function(){ - if (state.mask){ - state.mask.css({ - display:'block', - zIndex: $.fn.window.defaults.zIndex++ - }); - } - if (state.shadow){ - state.shadow.css({ - display:'block', - zIndex: $.fn.window.defaults.zIndex++, - left: state.options.left, - top: state.options.top, - width: state.window._outerWidth(), - height: state.window._outerHeight() - }); - } - state.window.css('z-index', $.fn.window.defaults.zIndex++); - - state.options.onOpen.call(target); - }, - onResize: function(width, height){ - var opts = $(this).panel('options'); - $.extend(state.options, { - width: opts.width, - height: opts.height, - left: opts.left, - top: opts.top - }); - if (state.shadow){ - state.shadow.css({ - left: state.options.left, - top: state.options.top, - width: state.window._outerWidth(), - height: state.window._outerHeight() - }); - } - - state.options.onResize.call(target, width, height); - }, - onMinimize: function(){ - if (state.shadow) state.shadow.hide(); - if (state.mask) state.mask.hide(); - - state.options.onMinimize.call(target); - }, - onBeforeCollapse: function(){ - if (state.options.onBeforeCollapse.call(target) == false) return false; - if (state.shadow) state.shadow.hide(); - }, - onExpand: function(){ - if (state.shadow) state.shadow.show(); - state.options.onExpand.call(target); - } - })); - - state.window = win.panel('panel'); - - // create mask - if (state.mask) state.mask.remove(); - if (state.options.modal == true){ - state.mask = $('
                                ').insertAfter(state.window); - state.mask.css({ - width: (state.options.inline ? state.mask.parent().width() : getPageArea().width), - height: (state.options.inline ? state.mask.parent().height() : getPageArea().height), - display: 'none' - }); - } - - // create shadow - if (state.shadow) state.shadow.remove(); - if (state.options.shadow == true){ - state.shadow = $('
                                ').insertAfter(state.window); - state.shadow.css({ - display: 'none' - }); - } - - // if require center the window - if (state.options.left == null){hcenter(target);} - if (state.options.top == null){vcenter(target);} - moveWindow(target); - - if (state.options.closed == false){ - win.window('open'); // open the window - } - } - - - /** - * set window drag and resize property - */ - function setProperties(target){ - var state = $.data(target, 'window'); - - state.window.draggable({ - handle: '>div.panel-header>div.panel-title', - disabled: state.options.draggable == false, - onStartDrag: function(e){ - if (state.mask) state.mask.css('z-index', $.fn.window.defaults.zIndex++); - if (state.shadow) state.shadow.css('z-index', $.fn.window.defaults.zIndex++); - state.window.css('z-index', $.fn.window.defaults.zIndex++); - - if (!state.proxy){ - state.proxy = $('
                                ').insertAfter(state.window); - } - state.proxy.css({ - display:'none', - zIndex: $.fn.window.defaults.zIndex++, - left: e.data.left, - top: e.data.top - }); - state.proxy._outerWidth(state.window._outerWidth()); - state.proxy._outerHeight(state.window._outerHeight()); - setTimeout(function(){ - if (state.proxy) state.proxy.show(); - }, 500); - }, - onDrag: function(e){ - state.proxy.css({ - display:'block', - left: e.data.left, - top: e.data.top - }); - return false; - }, - onStopDrag: function(e){ - state.options.left = e.data.left; - state.options.top = e.data.top; - $(target).window('move'); - state.proxy.remove(); - state.proxy = null; - } - }); - - state.window.resizable({ - disabled: state.options.resizable == false, - onStartResize:function(e){ - state.pmask = $('
                                ').insertAfter(state.window); - state.pmask.css({ - zIndex: $.fn.window.defaults.zIndex++, - left: e.data.left, - top: e.data.top, - width: state.window._outerWidth(), - height: state.window._outerHeight() - }); - if (!state.proxy){ - state.proxy = $('
                                ').insertAfter(state.window); - } - state.proxy.css({ - zIndex: $.fn.window.defaults.zIndex++, - left: e.data.left, - top: e.data.top - }); - state.proxy._outerWidth(e.data.width); - state.proxy._outerHeight(e.data.height); - }, - onResize: function(e){ - state.proxy.css({ - left: e.data.left, - top: e.data.top - }); - state.proxy._outerWidth(e.data.width); - state.proxy._outerHeight(e.data.height); - return false; - }, - onStopResize: function(e){ - $.extend(state.options, { - left: e.data.left, - top: e.data.top, - width: e.data.width, - height: e.data.height - }); - setSize(target); - state.pmask.remove(); - state.pmask = null; - state.proxy.remove(); - state.proxy = null; - } - }); - } - - function getPageArea() { - if (document.compatMode == 'BackCompat') { - return { - width: Math.max(document.body.scrollWidth, document.body.clientWidth), - height: Math.max(document.body.scrollHeight, document.body.clientHeight) - } - } else { - return { - width: Math.max(document.documentElement.scrollWidth, document.documentElement.clientWidth), - height: Math.max(document.documentElement.scrollHeight, document.documentElement.clientHeight) - } - } - } - - // when window resize, reset the width and height of the window's mask - $(window).resize(function(){ - $('body>div.window-mask').css({ - width: $(window)._outerWidth(), - height: $(window)._outerHeight() - }); - setTimeout(function(){ - $('body>div.window-mask').css({ - width: getPageArea().width, - height: getPageArea().height - }); - }, 50); - }); - - $.fn.window = function(options, param){ - if (typeof options == 'string'){ - var method = $.fn.window.methods[options]; - if (method){ - return method(this, param); - } else { - return this.panel(options, param); - } - } - - options = options || {}; - return this.each(function(){ - var state = $.data(this, 'window'); - if (state){ - $.extend(state.options, options); - } else { - state = $.data(this, 'window', { - options: $.extend({}, $.fn.window.defaults, $.fn.window.parseOptions(this), options) - }); - if (!state.options.inline){ -// $(this).appendTo('body'); - document.body.appendChild(this); - } - } - create(this); - setProperties(this); - }); - }; - - $.fn.window.methods = { - options: function(jq){ - var popts = jq.panel('options'); - var wopts = $.data(jq[0], 'window').options; - return $.extend(wopts, { - closed: popts.closed, - collapsed: popts.collapsed, - minimized: popts.minimized, - maximized: popts.maximized - }); - }, - window: function(jq){ - return $.data(jq[0], 'window').window; - }, - resize: function(jq, param){ - return jq.each(function(){ - setSize(this, param); - }); - }, - move: function(jq, param){ - return jq.each(function(){ - moveWindow(this, param); - }); - }, - hcenter: function(jq){ - return jq.each(function(){ - hcenter(this, true); - }); - }, - vcenter: function(jq){ - return jq.each(function(){ - vcenter(this, true); - }); - }, - center: function(jq){ - return jq.each(function(){ - hcenter(this); - vcenter(this); - moveWindow(this); - }); - } - }; - - $.fn.window.parseOptions = function(target){ - return $.extend({}, $.fn.panel.parseOptions(target), $.parser.parseOptions(target, [ - {draggable:'boolean',resizable:'boolean',shadow:'boolean',modal:'boolean',inline:'boolean'} - ])); - }; - - // Inherited from $.fn.panel.defaults - $.fn.window.defaults = $.extend({}, $.fn.panel.defaults, { - zIndex: 9000, - draggable: true, - resizable: true, - shadow: true, - modal: false, - inline: false, // true to stay inside its parent, false to go on top of all elements - - // window's property which difference from panel - title: 'New Window', - collapsible: true, - minimizable: true, - maximizable: true, - closable: true, - closed: false - }); -})(jQuery); diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/accordion.css b/src/main/webapp/js/easyui-1.3.5/themes/black/accordion.css deleted file mode 100644 index a0f6ddc3d2caeafb4374f5818fa8fccdb3de82de..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #666; - border-color: #000; -} -.accordion .accordion-header { - background: #3d3d3d; - filter: none; -} -.accordion .accordion-header-selected { - background: #0052A3; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/calendar.css b/src/main/webapp/js/easyui-1.3.5/themes/black/calendar.css deleted file mode 100644 index 514f3e3cc47132a2949550803a891b82ef2c8d0a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/calendar.css +++ /dev/null @@ -1,190 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #ffffff; -} -.calendar-day { - color: #fff; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #000; -} -.calendar { - border-color: #000; -} -.calendar-header { - background: #3d3d3d; -} -.calendar-body, -.calendar-menu { - background: #666; -} -.calendar-body th { - background: #555; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #777; - color: #fff; -} -.calendar-hover { - border: 1px solid #555; - padding: 0; -} -.calendar-selected { - background-color: #0052A3; - color: #fff; - border: 1px solid #00458a; - padding: 0; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/combo.css b/src/main/webapp/js/easyui-1.3.5/themes/black/combo.css deleted file mode 100644 index d0af3b7d98fc9ebf2ee0387ce1cd01e560d0f0b7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #666; -} -.combo { - border-color: #000; - background-color: #666; -} -.combo-arrow { - background-color: #3d3d3d; -} -.combo-arrow-hover { - background-color: #777; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/combobox.css b/src/main/webapp/js/easyui-1.3.5/themes/black/combobox.css deleted file mode 100644 index 284332e0038dca0aaf4d8315b40b52c84c432e96..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #777; - color: #fff; -} -.combobox-item-selected { - background-color: #0052A3; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/datagrid.css b/src/main/webapp/js/easyui-1.3.5/themes/black/datagrid.css deleted file mode 100644 index c13f133ac837dedf1f6c4fc13d92d91e272c03d3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #666 url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #444; - background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); -} -.datagrid-cell-rownumber { - color: #fff; -} -.datagrid-resize-proxy { - background: #cccccc; -} -.datagrid-mask { - background: #000; -} -.datagrid-mask-msg { - border-color: #000; -} -.datagrid-toolbar, -.datagrid-pager { - background: #555; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #222; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #222; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #fff; - border-collapse: separate; -} -.datagrid-row-alt { - background: #555; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #777; - color: #fff; - cursor: default; -} -.datagrid-row-selected { - background: #0052A3; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/datebox.css b/src/main/webapp/js/easyui-1.3.5/themes/black/datebox.css deleted file mode 100644 index e368f64052778e37c90bef4b2f5bae965cc12038..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #555; -} -.datebox-button a { - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/dialog.css b/src/main/webapp/js/easyui-1.3.5/themes/black/dialog.css deleted file mode 100644 index 4ee224a9d53960d71afa56e221784acc93e81756..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #555; -} -.dialog-toolbar { - border-bottom: 1px solid #222; -} -.dialog-button { - border-top: 1px solid #222; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/easyui.css b/src/main/webapp/js/easyui-1.3.5/themes/black/easyui.css deleted file mode 100644 index 11a0380b4b194ef2d09751605ed59c9be0df3ab4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/easyui.css +++ /dev/null @@ -1,2322 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #777; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #000; -} -.panel-header { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.panel-body { - background-color: #666; - color: #fff; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #fff; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #666; - border-color: #000; -} -.accordion .accordion-header { - background: #3d3d3d; - filter: none; -} -.accordion .accordion-header-selected { - background: #0052A3; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #000; -} -.window { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 20%); - background: -moz-linear-gradient(top,#454545 0,#383838 20%); - background: -o-linear-gradient(top,#454545 0,#383838 20%); - background: linear-gradient(to bottom,#454545 0,#383838 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.window-proxy { - border: 1px dashed #000; -} -.window-proxy-mask, -.window-mask { - background: #000; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #555; -} -.dialog-toolbar { - border-bottom: 1px solid #222; -} -.dialog-button { - border-top: 1px solid #222; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #666; -} -.combo { - border-color: #000; - background-color: #666; -} -.combo-arrow { - background-color: #3d3d3d; -} -.combo-arrow-hover { - background-color: #777; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #777; - color: #fff; -} -.combobox-item-selected { - background-color: #0052A3; - color: #fff; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #cccccc; -} -.layout-split-north { - border-bottom: 5px solid #444; -} -.layout-split-south { - border-top: 5px solid #444; -} -.layout-split-east { - border-left: 5px solid #444; -} -.layout-split-west { - border-right: 5px solid #444; -} -.layout-expand { - background-color: #3d3d3d; -} -.layout-expand-over { - background-color: #3d3d3d; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #3d3d3d url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #3d3d3d url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #777; - color: #fff; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #666; - color: #fff; - background: -webkit-linear-gradient(top,#454545 0,#666 100%); - background: -moz-linear-gradient(top,#454545 0,#666 100%); - background: -o-linear-gradient(top,#454545 0,#666 100%); - background: linear-gradient(to bottom,#454545 0,#666 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#666 0,#454545 100%); - background: -moz-linear-gradient(top,#666 0,#454545 100%); - background: -o-linear-gradient(top,#666 0,#454545 100%); - background: linear-gradient(to bottom,#666 0,#454545 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#454545 0,#666 100%); - background: -moz-linear-gradient(left,#454545 0,#666 100%); - background: -o-linear-gradient(left,#454545 0,#666 100%); - background: linear-gradient(to right,#454545 0,#666 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#666 0,#454545 100%); - background: -moz-linear-gradient(left,#666 0,#454545 100%); - background: -o-linear-gradient(left,#666 0,#454545 100%); - background: linear-gradient(to right,#666 0,#454545 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=1); -} -.tabs li a.tabs-inner { - color: #fff; - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #3d3d3d; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #000; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #777; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #666; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #666; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #666; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #666; -} -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #fff; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background: #777; - background-repeat: repeat-x; - border: 1px solid #555; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background-image: none; -} -a:hover.l-btn { - background: #777; - color: #fff; - border: 1px solid #555; - filter: none; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #777; - color: #fff; - border: 1px solid #555; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #fff; - filter: alpha(opacity=50); - background: #777; - color: #fff; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; - background: #000; - filter: none; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; - background-image: none; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #000; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #666 url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #444; - background: -webkit-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -moz-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: -o-linear-gradient(top,#4c4c4c 0,#3f3f3f 100%); - background: linear-gradient(to bottom,#4c4c4c 0,#3f3f3f 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#4c4c4c,endColorstr=#3f3f3f,GradientType=0); -} -.datagrid-cell-rownumber { - color: #fff; -} -.datagrid-resize-proxy { - background: #cccccc; -} -.datagrid-mask { - background: #000; -} -.datagrid-mask-msg { - border-color: #000; -} -.datagrid-toolbar, -.datagrid-pager { - background: #555; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #222; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #222; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #fff; - border-collapse: separate; -} -.datagrid-row-alt { - background: #555; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #777; - color: #fff; - cursor: default; -} -.datagrid-row-selected { - background: #0052A3; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #000; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #222; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #3d3d3d; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #222; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #3d3d3d; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #000; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #ffffff; -} -.calendar-day { - color: #fff; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #000; -} -.calendar { - border-color: #000; -} -.calendar-header { - background: #3d3d3d; -} -.calendar-body, -.calendar-menu { - background: #666; -} -.calendar-body th { - background: #555; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #777; - color: #fff; -} -.calendar-hover { - border: 1px solid #555; - padding: 0; -} -.calendar-selected { - background-color: #0052A3; - color: #fff; - border: 1px solid #00458a; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #555; -} -.datebox-button a { - color: #fff; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #000; -} -.spinner-arrow { - background-color: #3d3d3d; -} -.spinner-arrow-hover { - background-color: #777; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #000; -} -.progressbar-text { - color: #fff; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0052A3; - color: #fff; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #000; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #3d3d3d; -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #000; - background: #3d3d3d; -} -.slider-rule span { - border-color: #000; -} -.slider-rulelabel span { - color: #fff; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #444; - border-right: 1px solid #777; -} -.menu-sep { - border-top: 1px solid #444; - border-bottom: 1px solid #777; -} -.menu { - background-color: #666; - border-color: #444; - color: #fff; -} -.menu-content { - background: #666; -} -.menu-item { - border-color: transparent; - _border-color: #666; -} -.menu-active { - border-color: #555; - color: #fff; - background: #777; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #fff; -} -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #555; - background-color: #777; - color: #fff; -} -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #cccccc; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #555; - background-color: #777; - color: #fff; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #000; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #666; - color: #fff; - border-color: #000; -} -.tree-node-hover { - background: #777; - color: #fff; -} -.tree-node-selected { - background: #0052A3; - color: #fff; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #666; - border-color: #000; - color: #fff; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #000; -} -.tooltip-right .tooltip-arrow { - border-right-color: #666; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #000; -} -.tooltip-left .tooltip-arrow { - border-left-color: #666; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #000; -} -.tooltip-top .tooltip-arrow { - border-top-color: #666; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #000; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #666; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/accordion_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/accordion_arrows.png deleted file mode 100644 index 45fd44aa30476e107428feeea74273a354d3b003..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/accordion_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/blank.gif b/src/main/webapp/js/easyui-1.3.5/themes/black/images/blank.gif deleted file mode 100644 index 1d11fa9ada9e93505b3d736acb204083f45d5fbf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/blank.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/calendar_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/calendar_arrows.png deleted file mode 100644 index 430c4ad685b8c0068ecb7e3cbef74f493a84ad0d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/calendar_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/combo_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/combo_arrow.png deleted file mode 100644 index ac58921c3a2108e5b2630990a5fd63cf68b0099e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/combo_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/datagrid_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/datagrid_icons.png deleted file mode 100644 index bdf87e38cccef67be7ba74a8f6afe78b8c1c458a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/datagrid_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/datebox_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/datebox_arrow.png deleted file mode 100644 index 783c83357fdf90a1c7c024358e1d768b5c09c135..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/datebox_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/layout_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/layout_arrows.png deleted file mode 100644 index 19c611fa9637e6f7c2d06c822392aa49a3a79141..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/layout_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/linkbutton_bg.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2cd24047b8377342365a1df3846327ecde..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/linkbutton_bg.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/loading.gif b/src/main/webapp/js/easyui-1.3.5/themes/black/images/loading.gif deleted file mode 100644 index 68f01d04813c1f622810864a3aaa04b4a17ac8f9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/menu_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/menu_arrows.png deleted file mode 100644 index 2a984941d6590c78d67ee68d2087d8cc88efbac6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/menu_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/messager_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/messager_icons.png deleted file mode 100644 index 62c18c135860351063ebaabe8c0f4df7664b8f65..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/messager_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/pagination_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/pagination_icons.png deleted file mode 100644 index b3315faf3e637b00af40321d382ffbddbebd4108..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/pagination_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/panel_tools.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/panel_tools.png deleted file mode 100644 index f97761eb393def3b5f61774142413e740fe8fe8b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/panel_tools.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/searchbox_button.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/searchbox_button.png deleted file mode 100644 index 6dd1931589b453f6cc9772fd1851d8705d6b6631..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/searchbox_button.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/slider_handle.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/slider_handle.png deleted file mode 100644 index b9802bae14c536281a8fdbe6cd07abbc13985033..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/slider_handle.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/spinner_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/spinner_arrows.png deleted file mode 100644 index 25ee848d772e71e591fdf4e4d07409b94e58fc92..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/spinner_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/tabs_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/tabs_icons.png deleted file mode 100644 index 732b1237a14cf6c525dee8646f322d5603664866..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/tabs_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/tree_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/tree_icons.png deleted file mode 100644 index 2b4fd2025c7588c84df27d89466b470e273f5c06..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/tree_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/images/validatebox_warning.png b/src/main/webapp/js/easyui-1.3.5/themes/black/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f05babf3f82b146350e96570fac02075de0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/black/images/validatebox_warning.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/layout.css b/src/main/webapp/js/easyui-1.3.5/themes/black/layout.css deleted file mode 100644 index 31190da27bea400cddc84712b912b44035ec2b03..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #cccccc; -} -.layout-split-north { - border-bottom: 5px solid #444; -} -.layout-split-south { - border-top: 5px solid #444; -} -.layout-split-east { - border-left: 5px solid #444; -} -.layout-split-west { - border-right: 5px solid #444; -} -.layout-expand { - background-color: #3d3d3d; -} -.layout-expand-over { - background-color: #3d3d3d; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/linkbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/black/linkbutton.css deleted file mode 100644 index 6a4822efe7834e35f11d3a1d0f45ad9f71941d82..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/linkbutton.css +++ /dev/null @@ -1,152 +0,0 @@ -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #fff; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background: #777; - background-repeat: repeat-x; - border: 1px solid #555; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background-image: none; -} -a:hover.l-btn { - background: #777; - color: #fff; - border: 1px solid #555; - filter: none; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #777; - color: #fff; - border: 1px solid #555; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #fff; - filter: alpha(opacity=50); - background: #777; - color: #fff; - background: -webkit-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -moz-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: -o-linear-gradient(top,#919191 0,#6a6a6a 100%); - background: linear-gradient(to bottom,#919191 0,#6a6a6a 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#919191,endColorstr=#6a6a6a,GradientType=0); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; - background: #000; - filter: none; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; - background-image: none; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/menu.css b/src/main/webapp/js/easyui-1.3.5/themes/black/menu.css deleted file mode 100644 index 9e89ea5a43b822273f2814469d4e8b361776b86c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #444; - border-right: 1px solid #777; -} -.menu-sep { - border-top: 1px solid #444; - border-bottom: 1px solid #777; -} -.menu { - background-color: #666; - border-color: #444; - color: #fff; -} -.menu-content { - background: #666; -} -.menu-item { - border-color: transparent; - _border-color: #666; -} -.menu-active { - border-color: #555; - color: #fff; - background: #777; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/menubutton.css b/src/main/webapp/js/easyui-1.3.5/themes/black/menubutton.css deleted file mode 100644 index b936c02b3787adc8d3b06eb788d1e343cce595cb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/menubutton.css +++ /dev/null @@ -1,31 +0,0 @@ -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #555; - background-color: #777; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/messager.css b/src/main/webapp/js/easyui-1.3.5/themes/black/messager.css deleted file mode 100644 index f378f2a614f312a580590e36982106c01a40f9b8..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/messager.css +++ /dev/null @@ -1,37 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/pagination.css b/src/main/webapp/js/easyui-1.3.5/themes/black/pagination.css deleted file mode 100644 index 87b95e07832980435abba3bbb645b2a5f70ab0fc..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/pagination.css +++ /dev/null @@ -1,79 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #444; - border-right: 1px solid #777; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/panel.css b/src/main/webapp/js/easyui-1.3.5/themes/black/panel.css deleted file mode 100644 index b1d5e8c45bb180965b571312a9a0c4ea8c24bc87..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #777; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #000; -} -.panel-header { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.panel-body { - background-color: #666; - color: #fff; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #fff; - height: 16px; - line-height: 16px; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/progressbar.css b/src/main/webapp/js/easyui-1.3.5/themes/black/progressbar.css deleted file mode 100644 index 79fcf624b91f29f6cb3b6afc1811c8896d54a517..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #000; -} -.progressbar-text { - color: #fff; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0052A3; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/propertygrid.css b/src/main/webapp/js/easyui-1.3.5/themes/black/propertygrid.css deleted file mode 100644 index d71ce7c8b52ddd4b01a048b42b0ce9b09bd120e4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #222; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #3d3d3d; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #222; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #3d3d3d; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/searchbox.css b/src/main/webapp/js/easyui-1.3.5/themes/black/searchbox.css deleted file mode 100644 index 29f5759a9d4e6cfc0b89f560c4f721193bffc45f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/searchbox.css +++ /dev/null @@ -1,83 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #000; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #3d3d3d; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/slider.css b/src/main/webapp/js/easyui-1.3.5/themes/black/slider.css deleted file mode 100644 index da31fd66fbc4f8a56d094f8ea95d54145bc1d9c9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #000; - background: #3d3d3d; -} -.slider-rule span { - border-color: #000; -} -.slider-rulelabel span { - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/spinner.css b/src/main/webapp/js/easyui-1.3.5/themes/black/spinner.css deleted file mode 100644 index 18ea2a908ae85f970373f43f232ee809d1fb9324..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #000; -} -.spinner-arrow { - background-color: #3d3d3d; -} -.spinner-arrow-hover { - background-color: #777; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/splitbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/black/splitbutton.css deleted file mode 100644 index 3391b9c53f640990198720d63fc1b7a44f2b48de..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/splitbutton.css +++ /dev/null @@ -1,43 +0,0 @@ -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #cccccc; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #555; - background-color: #777; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/tabs.css b/src/main/webapp/js/easyui-1.3.5/themes/black/tabs.css deleted file mode 100644 index 40ba8f1a026a44174c7aac86d27a43a517212cc4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #3d3d3d url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #3d3d3d url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #777; - color: #fff; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #666; - color: #fff; - background: -webkit-linear-gradient(top,#454545 0,#666 100%); - background: -moz-linear-gradient(top,#454545 0,#666 100%); - background: -o-linear-gradient(top,#454545 0,#666 100%); - background: linear-gradient(to bottom,#454545 0,#666 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#666 0,#454545 100%); - background: -moz-linear-gradient(top,#666 0,#454545 100%); - background: -o-linear-gradient(top,#666 0,#454545 100%); - background: linear-gradient(to bottom,#666 0,#454545 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#454545 0,#666 100%); - background: -moz-linear-gradient(left,#454545 0,#666 100%); - background: -o-linear-gradient(left,#454545 0,#666 100%); - background: linear-gradient(to right,#454545 0,#666 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#666,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#666 0,#454545 100%); - background: -moz-linear-gradient(left,#666 0,#454545 100%); - background: -o-linear-gradient(left,#666 0,#454545 100%); - background: linear-gradient(to right,#666 0,#454545 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#666,endColorstr=#454545,GradientType=1); -} -.tabs li a.tabs-inner { - color: #fff; - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 100%); - background: -moz-linear-gradient(top,#454545 0,#383838 100%); - background: -o-linear-gradient(top,#454545 0,#383838 100%); - background: linear-gradient(to bottom,#454545 0,#383838 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #3d3d3d; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #000; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #777; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #666; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #666; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #666; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #666; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/tooltip.css b/src/main/webapp/js/easyui-1.3.5/themes/black/tooltip.css deleted file mode 100644 index 8dfbfed667c755e517513514fdf444d9b505b043..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #666; - border-color: #000; - color: #fff; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #000; -} -.tooltip-right .tooltip-arrow { - border-right-color: #666; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #000; -} -.tooltip-left .tooltip-arrow { - border-left-color: #666; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #000; -} -.tooltip-top .tooltip-arrow { - border-top-color: #666; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #000; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #666; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/tree.css b/src/main/webapp/js/easyui-1.3.5/themes/black/tree.css deleted file mode 100644 index ea955cb30cbeea8043a47d4ce002438ecbc97a12..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #666; - color: #fff; - border-color: #000; -} -.tree-node-hover { - background: #777; - color: #fff; -} -.tree-node-selected { - background: #0052A3; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/validatebox.css b/src/main/webapp/js/easyui-1.3.5/themes/black/validatebox.css deleted file mode 100644 index 154da75869883470ca80a027ff8a239548e31cf1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/black/window.css b/src/main/webapp/js/easyui-1.3.5/themes/black/window.css deleted file mode 100644 index 12772738f9401dddfe8dbdc042aa560355136e09..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/black/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #777; - -moz-box-shadow: 2px 2px 3px #787878; - -webkit-box-shadow: 2px 2px 3px #787878; - box-shadow: 2px 2px 3px #787878; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #000; -} -.window { - background-color: #3d3d3d; - background: -webkit-linear-gradient(top,#454545 0,#383838 20%); - background: -moz-linear-gradient(top,#454545 0,#383838 20%); - background: -o-linear-gradient(top,#454545 0,#383838 20%); - background: linear-gradient(to bottom,#454545 0,#383838 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#454545,endColorstr=#383838,GradientType=0); -} -.window-proxy { - border: 1px dashed #000; -} -.window-proxy-mask, -.window-mask { - background: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/accordion.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/accordion.css deleted file mode 100644 index 26db0fa70644164a7c7150fa69f8c6ea26f50ec6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D4D4D4; -} -.accordion .accordion-header { - background: #F2F2F2; - filter: none; -} -.accordion .accordion-header-selected { - background: #0081c2; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/calendar.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/calendar.css deleted file mode 100644 index 147d4e986c153e628d43b8a9e3bdebdc86e5a32c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/calendar.css +++ /dev/null @@ -1,190 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #808080; -} -.calendar-day { - color: #333; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D4D4D4; -} -.calendar { - border-color: #D4D4D4; -} -.calendar-header { - background: #F2F2F2; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F5F5F5; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e6e6e6; - color: #00438a; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #0081c2; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/combo.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/combo.css deleted file mode 100644 index 9ad6756c59dbafd183f75cd4face3c9cc7b09f07..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D4D4D4; - background-color: #ffffff; -} -.combo-arrow { - background-color: #F2F2F2; -} -.combo-arrow-hover { - background-color: #e6e6e6; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/combobox.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/combobox.css deleted file mode 100644 index 82abe630285b76cdb6213850ebfcad8e89e97e6c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e6e6e6; - color: #00438a; -} -.combobox-item-selected { - background-color: #0081c2; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/datagrid.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/datagrid.css deleted file mode 100644 index 3f27b48d7c46a456d0c4f7361af6c99931ef9219..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.datagrid-cell-rownumber { - color: #333; -} -.datagrid-resize-proxy { - background: #bbb; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D4D4D4; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F5F5F5; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #e6e6e6; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #333; - border-collapse: separate; -} -.datagrid-row-alt { - background: #F5F5F5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e6e6e6; - color: #00438a; - cursor: default; -} -.datagrid-row-selected { - background: #0081c2; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D4D4D4; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/datebox.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/datebox.css deleted file mode 100644 index b9d2bcb863cb399181dbe7a50ece394c64a2b293..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F5F5F5; -} -.datebox-button a { - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/dialog.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/dialog.css deleted file mode 100644 index 304044e3ff14a5195d4be40aed2daa6f8297a620..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F5F5F5; -} -.dialog-toolbar { - border-bottom: 1px solid #e6e6e6; -} -.dialog-button { - border-top: 1px solid #e6e6e6; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/easyui.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/easyui.css deleted file mode 100644 index 8f770f6c901f283d233ba07a1517cd453621a2f4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/easyui.css +++ /dev/null @@ -1,2341 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e6e6e6; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D4D4D4; -} -.panel-header { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #333; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D4D4D4; -} -.accordion .accordion-header { - background: #F2F2F2; - filter: none; -} -.accordion .accordion-header-selected { - background: #0081c2; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D4D4D4; -} -.window { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.window-proxy { - border: 1px dashed #D4D4D4; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F5F5F5; -} -.dialog-toolbar { - border-bottom: 1px solid #e6e6e6; -} -.dialog-button { - border-top: 1px solid #e6e6e6; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D4D4D4; - background-color: #ffffff; -} -.combo-arrow { - background-color: #F2F2F2; -} -.combo-arrow-hover { - background-color: #e6e6e6; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e6e6e6; - color: #00438a; -} -.combobox-item-selected { - background-color: #0081c2; - color: #fff; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bbb; -} -.layout-split-north { - border-bottom: 5px solid #eee; -} -.layout-split-south { - border-top: 5px solid #eee; -} -.layout-split-east { - border-left: 5px solid #eee; -} -.layout-split-west { - border-right: 5px solid #eee; -} -.layout-expand { - background-color: #F2F2F2; -} -.layout-expand-over { - background-color: #F2F2F2; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e6e6e6; - color: #00438a; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs li a.tabs-inner { - color: #777; - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #F2F2F2; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D4D4D4; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e6e6e6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #444; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background: #f5f5f5; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background-image: none; -} -a:hover.l-btn { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - filter: none; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #444; - filter: alpha(opacity=50); - background: #f5f5f5; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; - background: #ddd; - filter: none; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; - background-image: none; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.datagrid-cell-rownumber { - color: #333; -} -.datagrid-resize-proxy { - background: #bbb; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D4D4D4; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F5F5F5; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #e6e6e6; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #333; - border-collapse: separate; -} -.datagrid-row-alt { - background: #F5F5F5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e6e6e6; - color: #00438a; - cursor: default; -} -.datagrid-row-selected { - background: #0081c2; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D4D4D4; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #e6e6e6; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #F2F2F2; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #e6e6e6; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #F2F2F2; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D4D4D4; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #808080; -} -.calendar-day { - color: #333; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D4D4D4; -} -.calendar { - border-color: #D4D4D4; -} -.calendar-header { - background: #F2F2F2; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F5F5F5; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e6e6e6; - color: #00438a; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #0081c2; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F5F5F5; -} -.datebox-button a { - color: #444; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D4D4D4; -} -.spinner-arrow { - background-color: #F2F2F2; -} -.spinner-arrow-hover { - background-color: #e6e6e6; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D4D4D4; -} -.progressbar-text { - color: #333; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0081c2; - color: #fff; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D4D4D4; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #F2F2F2; -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D4D4D4; - background: #F2F2F2; -} -.slider-rule span { - border-color: #D4D4D4; -} -.slider-rulelabel span { - color: #333; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fff; - border-color: #e6e6e6; - color: #333; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fff; -} -.menu-active { - border-color: #ddd; - color: #00438a; - background: #e6e6e6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #333; -} -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #ddd; - background-color: #e6e6e6; - color: #00438a; -} -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #bbb; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #ddd; - background-color: #e6e6e6; - color: #00438a; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D4D4D4; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #333; - border-color: #D4D4D4; -} -.tree-node-hover { - background: #e6e6e6; - color: #00438a; -} -.tree-node-selected { - background: #0081c2; - color: #fff; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D4D4D4; - color: #333; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D4D4D4; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D4D4D4; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D4D4D4; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D4D4D4; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} -.tabs-panels { - border-color: transparent; -} -.tabs li a.tabs-inner { - border-color: transparent; - background: transparent; - filter: none; - color: #0088CC; -} -.menu-active { - background-color: #0081C2; - border-color: #0081C2; - color: #fff; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #333; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/accordion_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/accordion_arrows.png deleted file mode 100644 index 720835f69c96c17ec32a20b03ac9753aa59b7f4f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/accordion_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/blank.gif b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/blank.gif deleted file mode 100644 index 1d11fa9ada9e93505b3d736acb204083f45d5fbf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/blank.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/calendar_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/calendar_arrows.png deleted file mode 100644 index 430c4ad685b8c0068ecb7e3cbef74f493a84ad0d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/calendar_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/combo_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/combo_arrow.png deleted file mode 100644 index 2e59fb9f3f906487ffa20bdad81a14692ba9e01a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/combo_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/datagrid_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/datagrid_icons.png deleted file mode 100644 index 747ac4d1b8b7fa62b3d5ef868520a8f7a46dce5a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/datagrid_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/datebox_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/datebox_arrow.png deleted file mode 100644 index 783c83357fdf90a1c7c024358e1d768b5c09c135..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/datebox_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/layout_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/layout_arrows.png deleted file mode 100644 index 6f41654253030183f8220a815e85ed56d05ca9a3..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/layout_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/linkbutton_bg.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2cd24047b8377342365a1df3846327ecde..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/linkbutton_bg.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/loading.gif b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/loading.gif deleted file mode 100644 index 68f01d04813c1f622810864a3aaa04b4a17ac8f9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/menu_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/menu_arrows.png deleted file mode 100644 index b986842e7e4044caed18edbcb4b376a4bb915623..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/menu_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/messager_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/messager_icons.png deleted file mode 100644 index 62c18c135860351063ebaabe8c0f4df7664b8f65..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/messager_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/pagination_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/pagination_icons.png deleted file mode 100644 index 616f0bdd6f589a6e6f9722665c95558356e47a6d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/pagination_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/panel_tools.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/panel_tools.png deleted file mode 100644 index fe682ef89d18503561269b27225e9fde8c00259b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/panel_tools.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/searchbox_button.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/searchbox_button.png deleted file mode 100644 index 6dd1931589b453f6cc9772fd1851d8705d6b6631..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/searchbox_button.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/slider_handle.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/slider_handle.png deleted file mode 100644 index b9802bae14c536281a8fdbe6cd07abbc13985033..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/slider_handle.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/spinner_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/spinner_arrows.png deleted file mode 100644 index b68592de3200fbe1f7defe98a2b59b0398b1b737..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/spinner_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/tabs_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/tabs_icons.png deleted file mode 100644 index 4d29966d7154338a9e2e358821a5f72655eba43e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/tabs_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/tree_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/tree_icons.png deleted file mode 100644 index e9be4f3a9965e49a4e4078f8c53f486d761a7468..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/tree_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/validatebox_warning.png b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f05babf3f82b146350e96570fac02075de0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/images/validatebox_warning.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/layout.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/layout.css deleted file mode 100644 index 33e172dca0ac750ef106f30fddf6f94a19acc6e2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bbb; -} -.layout-split-north { - border-bottom: 5px solid #eee; -} -.layout-split-south { - border-top: 5px solid #eee; -} -.layout-split-east { - border-left: 5px solid #eee; -} -.layout-split-west { - border-right: 5px solid #eee; -} -.layout-expand { - background-color: #F2F2F2; -} -.layout-expand-over { - background-color: #F2F2F2; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/linkbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/linkbutton.css deleted file mode 100644 index 9d1aefc0060ed82ac7c36de230b97684d51d3704..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/linkbutton.css +++ /dev/null @@ -1,152 +0,0 @@ -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #444; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background: #f5f5f5; - background-repeat: repeat-x; - border: 1px solid #bbb; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background-image: none; -} -a:hover.l-btn { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - filter: none; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #e6e6e6; - color: #00438a; - border: 1px solid #ddd; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #444; - filter: alpha(opacity=50); - background: #f5f5f5; - color: #444; - background: -webkit-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -moz-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: -o-linear-gradient(top,#ffffff 0,#e6e6e6 100%); - background: linear-gradient(to bottom,#ffffff 0,#e6e6e6 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#e6e6e6,GradientType=0); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; - background: #ddd; - filter: none; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; - background-image: none; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/menu.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/menu.css deleted file mode 100644 index 559596853d15e5dc588212a282ecfde38d9d6ea5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fff; - border-color: #e6e6e6; - color: #333; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fff; -} -.menu-active { - border-color: #ddd; - color: #00438a; - background: #e6e6e6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #333; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/menubutton.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/menubutton.css deleted file mode 100644 index ea98469c07427e872593b077ca148a3424b581ac..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/menubutton.css +++ /dev/null @@ -1,31 +0,0 @@ -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #ddd; - background-color: #e6e6e6; - color: #00438a; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/messager.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/messager.css deleted file mode 100644 index 503d51f4bdca14366a97483c20295e00cbcaec45..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/messager.css +++ /dev/null @@ -1,37 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D4D4D4; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/pagination.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/pagination.css deleted file mode 100644 index 819f64f943bf836d294e41c1509590dd6d8ff821..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/pagination.css +++ /dev/null @@ -1,79 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D4D4D4; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/panel.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/panel.css deleted file mode 100644 index 07a6e30d74bcc5c76d8c9889c1439019d27bbdca..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e6e6e6; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D4D4D4; -} -.panel-header { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #333; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/progressbar.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/progressbar.css deleted file mode 100644 index c660f0e4b1a1853391bbf76c921f65aa0683fe92..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D4D4D4; -} -.progressbar-text { - color: #333; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0081c2; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/propertygrid.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/propertygrid.css deleted file mode 100644 index abf87d6a8e07a29d57149f43cc4ec6269e3ca802..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #e6e6e6; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #F2F2F2; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #e6e6e6; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #F2F2F2; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/searchbox.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/searchbox.css deleted file mode 100644 index 55e54889dbb64478e8c23ee57bc072e00c6a3411..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/searchbox.css +++ /dev/null @@ -1,83 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D4D4D4; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #F2F2F2; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/slider.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/slider.css deleted file mode 100644 index 64709908aeb32d2d533b4eceb107e02c701e3e7d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D4D4D4; - background: #F2F2F2; -} -.slider-rule span { - border-color: #D4D4D4; -} -.slider-rulelabel span { - color: #333; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/spinner.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/spinner.css deleted file mode 100644 index 97369b0ea058f519c4b80544ca2c0aa44cebee76..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D4D4D4; -} -.spinner-arrow { - background-color: #F2F2F2; -} -.spinner-arrow-hover { - background-color: #e6e6e6; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/splitbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/splitbutton.css deleted file mode 100644 index 347155f8b901ae5578e715540aedc2723e7aa279..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/splitbutton.css +++ /dev/null @@ -1,43 +0,0 @@ -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #bbb; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #ddd; - background-color: #e6e6e6; - color: #00438a; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tabs.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tabs.css deleted file mode 100644 index 8c051a1d11866e4cfb7d67b8f8b1d968a4813768..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #F2F2F2 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e6e6e6; - color: #00438a; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(left,#ffffff 0,#ffffff 100%); - background: linear-gradient(to right,#ffffff 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=1); -} -.tabs li a.tabs-inner { - color: #777; - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 100%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #F2F2F2; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D4D4D4; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e6e6e6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tooltip.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tooltip.css deleted file mode 100644 index fa06fc332397086b3214344583f73dcb76c99449..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D4D4D4; - color: #333; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D4D4D4; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D4D4D4; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D4D4D4; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D4D4D4; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tree.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tree.css deleted file mode 100644 index 017832b5a53bee9a65ba1619aa7aa03644c792e8..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #333; - border-color: #D4D4D4; -} -.tree-node-hover { - background: #e6e6e6; - color: #00438a; -} -.tree-node-selected { - background: #0081c2; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/validatebox.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/validatebox.css deleted file mode 100644 index 154da75869883470ca80a027ff8a239548e31cf1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/window.css b/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/window.css deleted file mode 100644 index ad580876ff6d8f96ecfe7a9d8abd670f8fb144c0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/bootstrap/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D4D4D4; -} -.window { - background-color: #F2F2F2; - background: -webkit-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -moz-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: -o-linear-gradient(top,#ffffff 0,#F2F2F2 20%); - background: linear-gradient(to bottom,#ffffff 0,#F2F2F2 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F2F2F2,GradientType=0); -} -.window-proxy { - border: 1px dashed #D4D4D4; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/accordion.css b/src/main/webapp/js/easyui-1.3.5/themes/default/accordion.css deleted file mode 100644 index 6b80dc2c8b4e2cfa2bd08fe69f2293a120c72bb5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #95B8E7; -} -.accordion .accordion-header { - background: #E0ECFF; - filter: none; -} -.accordion .accordion-header-selected { - background: #FBEC88; -} -.accordion .accordion-header-selected .panel-title { - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/calendar.css b/src/main/webapp/js/easyui-1.3.5/themes/default/calendar.css deleted file mode 100644 index 83458b2c4ad30ac073c5630bc6b8428ff70976ae..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/calendar.css +++ /dev/null @@ -1,190 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #95B8E7; -} -.calendar { - border-color: #95B8E7; -} -.calendar-header { - background: #E0ECFF; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F4F4F4; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #eaf2ff; - color: #000000; -} -.calendar-hover { - border: 1px solid #b7d2ff; - padding: 0; -} -.calendar-selected { - background-color: #FBEC88; - color: #000000; - border: 1px solid #E2C608; - padding: 0; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/combo.css b/src/main/webapp/js/easyui-1.3.5/themes/default/combo.css deleted file mode 100644 index 42b913ab6ce56942d36ebc36efe4fdb1dd0f4a59..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #95B8E7; - background-color: #ffffff; -} -.combo-arrow { - background-color: #E0ECFF; -} -.combo-arrow-hover { - background-color: #eaf2ff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/combobox.css b/src/main/webapp/js/easyui-1.3.5/themes/default/combobox.css deleted file mode 100644 index e199e57b1e47f9919ea0da9c48062a8c4c4d9888..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #eaf2ff; - color: #000000; -} -.combobox-item-selected { - background-color: #FBEC88; - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/datagrid.css b/src/main/webapp/js/easyui-1.3.5/themes/default/datagrid.css deleted file mode 100644 index 0f9b1d3ba256a2fd7921f7650784a088e68a9ec2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #efefef; - background: -webkit-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -moz-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -o-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,endColorstr=#efefef,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #aac5e7; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #95B8E7; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F4F4F4; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #dddddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #eaf2ff; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #FBEC88; - color: #000000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #95B8E7; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/datebox.css b/src/main/webapp/js/easyui-1.3.5/themes/default/datebox.css deleted file mode 100644 index 6225a0d2bbd2d635f15fad6d153ebd18e48cfbf0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F4F4F4; -} -.datebox-button a { - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/dialog.css b/src/main/webapp/js/easyui-1.3.5/themes/default/dialog.css deleted file mode 100644 index 77552bba62e2359742f2a434faa4b860457c4948..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F4F4F4; -} -.dialog-toolbar { - border-bottom: 1px solid #dddddd; -} -.dialog-button { - border-top: 1px solid #dddddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/easyui.css b/src/main/webapp/js/easyui-1.3.5/themes/default/easyui.css deleted file mode 100644 index 0f5891ad062a34375d5557e4d7603bd4afe9f364..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/easyui.css +++ /dev/null @@ -1,2299 +0,0 @@ -body { - padding:0px; - margin: 1px; -} -.panel { - overflow: hidden; - text-align: left; - padding:1px; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #eaf2ff; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #95B8E7; -} -.panel-header { - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #0E2D5F; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #95B8E7; -} -.accordion .accordion-header { - background: #E0ECFF; - filter: none; -} -.accordion .accordion-header-selected { - background: #FBEC88; -} -.accordion .accordion-header-selected .panel-title { - color: #000000; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #95B8E7; -} -.window { - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.window-proxy { - border: 1px dashed #95B8E7; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #F4F4F4; -} -.dialog-toolbar { - border-bottom: 1px solid #dddddd; -} -.dialog-button { - border-top: 1px solid #dddddd; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #95B8E7; - background-color: #ffffff; -} -.combo-arrow { - background-color: #E0ECFF; -} -.combo-arrow-hover { - background-color: #eaf2ff; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #eaf2ff; - color: #000000; -} -.combobox-item-selected { - background-color: #FBEC88; - color: #000000; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #aac5e7; -} -.layout-split-north { - border-bottom: 5px solid #E6EEF8; -} -.layout-split-south { - border-top: 5px solid #E6EEF8; -} -.layout-split-east { - border-left: 5px solid #E6EEF8; -} -.layout-split-west { - border-right: 5px solid #E6EEF8; -} -.layout-expand { - background-color: #E0ECFF; -} -.layout-expand-over { - background-color: #E0ECFF; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #E0ECFF url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #E0ECFF url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #eaf2ff; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #0E2D5F; - background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to bottom,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to right,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to right,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=1); -} -.tabs li a.tabs-inner { - color: #0E2D5F; - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #E0ECFF; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #95B8E7; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #eaf2ff; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #444; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #444; - filter: alpha(opacity=50); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #efefef; - background: -webkit-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -moz-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: -o-linear-gradient(top,#F9F9F9 0,#efefef 100%); - background: linear-gradient(to bottom,#F9F9F9 0,#efefef 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F9F9F9,endColorstr=#efefef,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #aac5e7; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #95B8E7; -} -.datagrid-toolbar, -.datagrid-pager { - background: #F4F4F4; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #dddddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #EEFBEC; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #FBEC88; - color: #000000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #95B8E7; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #dddddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #E0ECFF; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #dddddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #E0ECFF; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #95B8E7; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #95B8E7; -} -.calendar { - border-color: #95B8E7; -} -.calendar-header { - background: #E0ECFF; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #F4F4F4; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #eaf2ff; - color: #000000; -} -.calendar-hover { - border: 1px solid #b7d2ff; - padding: 0; -} -.calendar-selected { - background-color: #FBEC88; - color: #000000; - border: 1px solid #E2C608; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #F4F4F4; -} -.datebox-button a { - color: #444; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #95B8E7; -} -.spinner-arrow { - background-color: #E0ECFF; -} -.spinner-arrow-hover { - background-color: #eaf2ff; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #95B8E7; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #FBEC88; - color: #000000; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #95B8E7; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #E0ECFF; -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #95B8E7; - background: #E0ECFF; -} -.slider-rule span { - border-color: #95B8E7; -} -.slider-rulelabel span { - color: #000000; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fafafa; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fafafa; -} -.menu-active { - border-color: #b7d2ff; - color: #000000; - background: #eaf2ff; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #b7d2ff; - background-color: #eaf2ff; - color: #000000; -} -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #aac5e7; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #b7d2ff; - background-color: #eaf2ff; - color: #000000; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #95B8E7; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #95B8E7; -} -.tree-node-hover { - background: #eaf2ff; - color: #000000; -} -.tree-node-selected { - background: #FBEC88; - color: #000000; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #95B8E7; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #95B8E7; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #95B8E7; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #95B8E7; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #95B8E7; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/Thumbs.db b/src/main/webapp/js/easyui-1.3.5/themes/default/images/Thumbs.db deleted file mode 100644 index 5f257a2a49959543d36e2641d352572547e40e63..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/Thumbs.db and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/accordion_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/accordion_arrows.png deleted file mode 100644 index 720835f69c96c17ec32a20b03ac9753aa59b7f4f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/accordion_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionl.gif b/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionl.gif deleted file mode 100644 index 3a39d13be474ea472817afca491474ae43cf53c1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionl.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionm.jpg b/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionm.jpg deleted file mode 100644 index a6c2108ef7f6cb3cff5f74bb190fe8184c1a31ba..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionm.jpg and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionr.jpg b/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionr.jpg deleted file mode 100644 index 3fffa172f237ae28668d7a56ccf8e6c9c2739ad4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionr.jpg and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionrbak.jpg b/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionrbak.jpg deleted file mode 100644 index 9b3aaaffe1c90339a9593b8ddff62231f65a7166..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionrbak.jpg and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionrpos.jpg b/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionrpos.jpg deleted file mode 100644 index b94d1aa6888c36eac8769bac401b9a09d3729257..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/bg_positionrpos.jpg and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/blank.gif b/src/main/webapp/js/easyui-1.3.5/themes/default/images/blank.gif deleted file mode 100644 index 1d11fa9ada9e93505b3d736acb204083f45d5fbf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/blank.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/calendar_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/calendar_arrows.png deleted file mode 100644 index 430c4ad685b8c0068ecb7e3cbef74f493a84ad0d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/calendar_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/combo_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/combo_arrow.png deleted file mode 100644 index 2e59fb9f3f906487ffa20bdad81a14692ba9e01a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/combo_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/datagrid_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/datagrid_icons.png deleted file mode 100644 index 747ac4d1b8b7fa62b3d5ef868520a8f7a46dce5a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/datagrid_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/datebox_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/datebox_arrow.png deleted file mode 100644 index 783c83357fdf90a1c7c024358e1d768b5c09c135..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/datebox_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/layout_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/layout_arrows.png deleted file mode 100644 index 6f41654253030183f8220a815e85ed56d05ca9a3..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/layout_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/linkbutton_bg.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2cd24047b8377342365a1df3846327ecde..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/linkbutton_bg.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/loading.gif b/src/main/webapp/js/easyui-1.3.5/themes/default/images/loading.gif deleted file mode 100644 index 68f01d04813c1f622810864a3aaa04b4a17ac8f9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/menu_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/menu_arrows.png deleted file mode 100644 index b986842e7e4044caed18edbcb4b376a4bb915623..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/menu_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/messager_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/messager_icons.png deleted file mode 100644 index 62c18c135860351063ebaabe8c0f4df7664b8f65..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/messager_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/pagination_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/pagination_icons.png deleted file mode 100644 index 616f0bdd6f589a6e6f9722665c95558356e47a6d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/pagination_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/panel_tools.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/panel_tools.png deleted file mode 100644 index 19ecc9461d58b50431d1e68c7b37ad4fdf11ee9a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/panel_tools.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/searchbox_button.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/searchbox_button.png deleted file mode 100644 index 6dd1931589b453f6cc9772fd1851d8705d6b6631..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/searchbox_button.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/slider_handle.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/slider_handle.png deleted file mode 100644 index b9802bae14c536281a8fdbe6cd07abbc13985033..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/slider_handle.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/spinner_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/spinner_arrows.png deleted file mode 100644 index b68592de3200fbe1f7defe98a2b59b0398b1b737..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/spinner_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/tabs_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/tabs_icons.png deleted file mode 100644 index 4d29966d7154338a9e2e358821a5f72655eba43e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/tabs_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/tree_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/tree_icons.png deleted file mode 100644 index e9be4f3a9965e49a4e4078f8c53f486d761a7468..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/tree_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/images/validatebox_warning.png b/src/main/webapp/js/easyui-1.3.5/themes/default/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f05babf3f82b146350e96570fac02075de0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/default/images/validatebox_warning.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/layout.css b/src/main/webapp/js/easyui-1.3.5/themes/default/layout.css deleted file mode 100644 index 0292cf591ab290688b959926bc50eb87325f1b85..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #aac5e7; -} -.layout-split-north { - border-bottom: 5px solid #E6EEF8; -} -.layout-split-south { - border-top: 5px solid #E6EEF8; -} -.layout-split-east { - border-left: 5px solid #E6EEF8; -} -.layout-split-west { - border-right: 5px solid #E6EEF8; -} -.layout-expand { - background-color: #E0ECFF; -} -.layout-expand-over { - background-color: #E0ECFF; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/linkbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/default/linkbutton.css deleted file mode 100644 index 448625f0e54e955723e3ef551b562df27b4227ba..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/linkbutton.css +++ /dev/null @@ -1,124 +0,0 @@ -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #444; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #eaf2ff; - color: #000000; - border: 1px solid #b7d2ff; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #444; - filter: alpha(opacity=50); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/menu.css b/src/main/webapp/js/easyui-1.3.5/themes/default/menu.css deleted file mode 100644 index c6089d5fc0959c699d42e04688ac118b0e48f894..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #fafafa; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #fafafa; -} -.menu-active { - border-color: #b7d2ff; - color: #000000; - background: #eaf2ff; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/menubutton.css b/src/main/webapp/js/easyui-1.3.5/themes/default/menubutton.css deleted file mode 100644 index 924649947f1c108e75b93bedcd0fb4f582044c88..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/menubutton.css +++ /dev/null @@ -1,31 +0,0 @@ -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #b7d2ff; - background-color: #eaf2ff; - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/messager.css b/src/main/webapp/js/easyui-1.3.5/themes/default/messager.css deleted file mode 100644 index 3ed98c75b20ad51adfbf0a21019a934fa3dd2ff3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/messager.css +++ /dev/null @@ -1,37 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #95B8E7; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/pagination.css b/src/main/webapp/js/easyui-1.3.5/themes/default/pagination.css deleted file mode 100644 index 48db1d414b393397ff5ed2ca78541dd86a521820..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/pagination.css +++ /dev/null @@ -1,79 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #95B8E7; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/panel.css b/src/main/webapp/js/easyui-1.3.5/themes/default/panel.css deleted file mode 100644 index 83fd2e470e888c0dfc085ce17b3f66aca81065e7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #eaf2ff; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #95B8E7; -} -.panel-header { - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #0E2D5F; - height: 16px; - line-height: 16px; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/progressbar.css b/src/main/webapp/js/easyui-1.3.5/themes/default/progressbar.css deleted file mode 100644 index db80e3ad87d2916952bbaa5c5e681959eef9c607..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #95B8E7; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #FBEC88; - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/propertygrid.css b/src/main/webapp/js/easyui-1.3.5/themes/default/propertygrid.css deleted file mode 100644 index 5f5fbb38dde01f53641e834e5bcaaf3e6df66b3e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #dddddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #E0ECFF; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #dddddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #E0ECFF; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/searchbox.css b/src/main/webapp/js/easyui-1.3.5/themes/default/searchbox.css deleted file mode 100644 index d391645a5d1f256dfa4493a2f282bde0d2744752..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/searchbox.css +++ /dev/null @@ -1,83 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #95B8E7; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #E0ECFF; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/slider.css b/src/main/webapp/js/easyui-1.3.5/themes/default/slider.css deleted file mode 100644 index a4db046858e09525a83475913d4c3f00df11d678..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #95B8E7; - background: #E0ECFF; -} -.slider-rule span { - border-color: #95B8E7; -} -.slider-rulelabel span { - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/spinner.css b/src/main/webapp/js/easyui-1.3.5/themes/default/spinner.css deleted file mode 100644 index 1a28f8a2536671f9ddcbf378bde94d2541536102..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #95B8E7; -} -.spinner-arrow { - background-color: #E0ECFF; -} -.spinner-arrow-hover { - background-color: #eaf2ff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/splitbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/default/splitbutton.css deleted file mode 100644 index 61635c3b1fdd57e826294369cd55f6e4d5b3e1f9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/splitbutton.css +++ /dev/null @@ -1,43 +0,0 @@ -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #aac5e7; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #b7d2ff; - background-color: #eaf2ff; - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/tabs.css b/src/main/webapp/js/easyui-1.3.5/themes/default/tabs.css deleted file mode 100644 index 29783947e2e5abdf4c05d9842b6e2e8678b9f871..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #E0ECFF url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #E0ECFF url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #eaf2ff; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #0E2D5F; - background: -webkit-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(top,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to bottom,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -moz-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: -o-linear-gradient(left,#EFF5FF 0,#ffffff 100%); - background: linear-gradient(to right,#EFF5FF 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -moz-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: -o-linear-gradient(left,#ffffff 0,#EFF5FF 100%); - background: linear-gradient(to right,#ffffff 0,#EFF5FF 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#EFF5FF,GradientType=1); -} -.tabs li a.tabs-inner { - color: #0E2D5F; - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 100%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #E0ECFF; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #95B8E7; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #eaf2ff; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/tooltip.css b/src/main/webapp/js/easyui-1.3.5/themes/default/tooltip.css deleted file mode 100644 index 2881b7050fd40d777dd1e822e0df0540fd679e96..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #95B8E7; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #95B8E7; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #95B8E7; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #95B8E7; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #95B8E7; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/tree.css b/src/main/webapp/js/easyui-1.3.5/themes/default/tree.css deleted file mode 100644 index af7e273878ed8ace4eb387299128a85909e9eacf..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #95B8E7; -} -.tree-node-hover { - background: #eaf2ff; - color: #000000; -} -.tree-node-selected { - background: #FBEC88; - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/validatebox.css b/src/main/webapp/js/easyui-1.3.5/themes/default/validatebox.css deleted file mode 100644 index 154da75869883470ca80a027ff8a239548e31cf1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/default/window.css b/src/main/webapp/js/easyui-1.3.5/themes/default/window.css deleted file mode 100644 index b22024afe098b42710f644c4892aab98af9ff425..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/default/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #95B8E7; -} -.window { - background-color: #E0ECFF; - background: -webkit-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: -moz-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: -o-linear-gradient(top,#EFF5FF 0,#E0ECFF 20%); - background: linear-gradient(to bottom,#EFF5FF 0,#E0ECFF 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#EFF5FF,endColorstr=#E0ECFF,GradientType=0); -} -.window-proxy { - border: 1px dashed #95B8E7; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/accordion.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/accordion.css deleted file mode 100644 index 3cb451b16797a8c0c831c051bf61834b5b7c3f0c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D3D3D3; -} -.accordion .accordion-header { - background: #f3f3f3; - filter: none; -} -.accordion .accordion-header-selected { - background: #0092DC; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/calendar.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/calendar.css deleted file mode 100644 index d087f25295c099cf41b7991495ad7de33e293bdf..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/calendar.css +++ /dev/null @@ -1,190 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D3D3D3; -} -.calendar { - border-color: #D3D3D3; -} -.calendar-header { - background: #f3f3f3; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #fafafa; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e2e2e2; - color: #000000; -} -.calendar-hover { - border: 1px solid #ccc; - padding: 0; -} -.calendar-selected { - background-color: #0092DC; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/combo.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/combo.css deleted file mode 100644 index 1fdf982e0a3664fb4dc550a4abe1064797e57f66..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D3D3D3; - background-color: #ffffff; -} -.combo-arrow { - background-color: #f3f3f3; -} -.combo-arrow-hover { - background-color: #e2e2e2; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/combobox.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/combobox.css deleted file mode 100644 index 68b626239f4dd7b2a13f1cab8aea91957622a445..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e2e2e2; - color: #000000; -} -.combobox-item-selected { - background-color: #0092DC; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/datagrid.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/datagrid.css deleted file mode 100644 index 74dfaeed18a3aa64ad6330bf63b5e7ae1a4c612e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/datagrid.css +++ /dev/null @@ -1,260 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #fafafa; - background: -webkit-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -moz-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -o-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: linear-gradient(to bottom,#fdfdfd 0,#f5f5f5 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#fdfdfd,endColorstr=#f5f5f5,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #bfbfbf; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D3D3D3; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fafafa; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e2e2e2; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #0092DC; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D3D3D3; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/datebox.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/datebox.css deleted file mode 100644 index 8c4135034599cd2c2fd4bebc88ddb0efff975dd2..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fafafa; -} -.datebox-button a { - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/dialog.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/dialog.css deleted file mode 100644 index fcd00adc3cf22da3ae3fc1f6d44118f4ad308a8e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fafafa; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/easyui.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/easyui.css deleted file mode 100644 index 9596c467453f79b9c4fb47830f610d137912a4ec..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/easyui.css +++ /dev/null @@ -1,2294 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e2e2e2; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D3D3D3; -} -.panel-header { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #575765; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #ffffff; - border-color: #D3D3D3; -} -.accordion .accordion-header { - background: #f3f3f3; - filter: none; -} -.accordion .accordion-header-selected { - background: #0092DC; -} -.accordion .accordion-header-selected .panel-title { - color: #fff; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D3D3D3; -} -.window { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.window-proxy { - border: 1px dashed #D3D3D3; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fafafa; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #ffffff; -} -.combo { - border-color: #D3D3D3; - background-color: #ffffff; -} -.combo-arrow { - background-color: #f3f3f3; -} -.combo-arrow-hover { - background-color: #e2e2e2; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #e2e2e2; - color: #000000; -} -.combobox-item-selected { - background-color: #0092DC; - color: #fff; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bfbfbf; -} -.layout-split-north { - border-bottom: 5px solid #efefef; -} -.layout-split-south { - border-top: 5px solid #efefef; -} -.layout-split-east { - border-left: 5px solid #efefef; -} -.layout-split-west { - border-right: 5px solid #efefef; -} -.layout-expand { - background-color: #f3f3f3; -} -.layout-expand-over { - background-color: #f3f3f3; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e2e2e2; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #575765; - background: -webkit-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to bottom,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to right,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to right,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=1); -} -.tabs li a.tabs-inner { - color: #575765; - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #f3f3f3; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D3D3D3; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e2e2e2; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #444; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #444; - filter: alpha(opacity=50); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #ffffff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #fafafa; - background: -webkit-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -moz-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: -o-linear-gradient(top,#fdfdfd 0,#f5f5f5 100%); - background: linear-gradient(to bottom,#fdfdfd 0,#f5f5f5 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#fdfdfd,endColorstr=#f5f5f5,GradientType=0); -} -.datagrid-cell-rownumber { - color: #000000; -} -.datagrid-resize-proxy { - background: #bfbfbf; -} -.datagrid-mask { - background: #ccc; -} -.datagrid-mask-msg { - border-color: #D3D3D3; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fafafa; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ccc; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #000000; - border-collapse: separate; -} -.datagrid-row-alt { - background: #fafafa; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #e2e2e2; - color: #000000; - cursor: default; -} -.datagrid-row-selected { - background: #0092DC; - color: #fff; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #D3D3D3; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #f3f3f3; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #f3f3f3; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D3D3D3; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.calendar-body th, -.calendar-menu-month { - color: #4d4d4d; -} -.calendar-day { - color: #000000; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #D3D3D3; -} -.calendar { - border-color: #D3D3D3; -} -.calendar-header { - background: #f3f3f3; -} -.calendar-body, -.calendar-menu { - background: #ffffff; -} -.calendar-body th { - background: #fafafa; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #e2e2e2; - color: #000000; -} -.calendar-hover { - border: 1px solid #ccc; - padding: 0; -} -.calendar-selected { - background-color: #0092DC; - color: #fff; - border: 1px solid #0070a9; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fafafa; -} -.datebox-button a { - color: #444; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D3D3D3; -} -.spinner-arrow { - background-color: #f3f3f3; -} -.spinner-arrow-hover { - background-color: #e2e2e2; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D3D3D3; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0092DC; - color: #fff; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D3D3D3; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #f3f3f3; -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D3D3D3; - background: #f3f3f3; -} -.slider-rule span { - border-color: #D3D3D3; -} -.slider-rulelabel span { - color: #000000; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #f3f3f3; - border-color: #D3D3D3; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #f3f3f3; -} -.menu-active { - border-color: #ccc; - color: #000000; - background: #e2e2e2; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #ccc; - background-color: #e2e2e2; - color: #000000; -} -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #bfbfbf; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #ccc; - background-color: #e2e2e2; - color: #000000; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D3D3D3; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #D3D3D3; -} -.tree-node-hover { - background: #e2e2e2; - color: #000000; -} -.tree-node-selected { - background: #0092DC; - color: #fff; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D3D3D3; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D3D3D3; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D3D3D3; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D3D3D3; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D3D3D3; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/accordion_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/accordion_arrows.png deleted file mode 100644 index a0b8769cc5091d81760c7ed555ac3c3453febbfd..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/accordion_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/blank.gif b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/blank.gif deleted file mode 100644 index 1d11fa9ada9e93505b3d736acb204083f45d5fbf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/blank.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/calendar_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/calendar_arrows.png deleted file mode 100644 index 430c4ad685b8c0068ecb7e3cbef74f493a84ad0d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/calendar_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/combo_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/combo_arrow.png deleted file mode 100644 index 04f4ba0cd513af3af21493718618a8a33a1c9b8e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/combo_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/datagrid_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/datagrid_icons.png deleted file mode 100644 index 73c4e88893f655a4bdbae7ccc659255af61e51da..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/datagrid_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/datebox_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/datebox_arrow.png deleted file mode 100644 index 783c83357fdf90a1c7c024358e1d768b5c09c135..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/datebox_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/layout_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/layout_arrows.png deleted file mode 100644 index bf7929f547d2358ee91c787ac79191544ae1e089..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/layout_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/linkbutton_bg.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2cd24047b8377342365a1df3846327ecde..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/linkbutton_bg.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/loading.gif b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/loading.gif deleted file mode 100644 index 68f01d04813c1f622810864a3aaa04b4a17ac8f9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/menu_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/menu_arrows.png deleted file mode 100644 index b986842e7e4044caed18edbcb4b376a4bb915623..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/menu_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/messager_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/messager_icons.png deleted file mode 100644 index 62c18c135860351063ebaabe8c0f4df7664b8f65..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/messager_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/pagination_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/pagination_icons.png deleted file mode 100644 index e0f1b07b05dcbe9e648afe83571f1c76454c78b7..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/pagination_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/panel_tools.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/panel_tools.png deleted file mode 100644 index f33f8c9707f08ea1a809c6ebe1c861c3181afa71..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/panel_tools.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/searchbox_button.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/searchbox_button.png deleted file mode 100644 index 6dd1931589b453f6cc9772fd1851d8705d6b6631..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/searchbox_button.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/slider_handle.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/slider_handle.png deleted file mode 100644 index b9802bae14c536281a8fdbe6cd07abbc13985033..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/slider_handle.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/spinner_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/spinner_arrows.png deleted file mode 100644 index dba62bb723518b491c763eb623179afab0f9e1a0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/spinner_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/tabs_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/tabs_icons.png deleted file mode 100644 index dfa10f7d78b3dc6965ef86957a0e4345ec000bc6..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/tabs_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/tree_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/tree_icons.png deleted file mode 100644 index e9be4f3a9965e49a4e4078f8c53f486d761a7468..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/tree_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/validatebox_warning.png b/src/main/webapp/js/easyui-1.3.5/themes/gray/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f05babf3f82b146350e96570fac02075de0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/gray/images/validatebox_warning.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/layout.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/layout.css deleted file mode 100644 index d26772e5653f167ebf7349921380a58d9ad16f8b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #bfbfbf; -} -.layout-split-north { - border-bottom: 5px solid #efefef; -} -.layout-split-south { - border-top: 5px solid #efefef; -} -.layout-split-east { - border-left: 5px solid #efefef; -} -.layout-split-west { - border-right: 5px solid #efefef; -} -.layout-expand { - background-color: #f3f3f3; -} -.layout-expand-over { - background-color: #f3f3f3; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/linkbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/linkbutton.css deleted file mode 100644 index 4c5e13b43fa8035c2d9a3f200c5b3a91910b514a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/linkbutton.css +++ /dev/null @@ -1,124 +0,0 @@ -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #444; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #e2e2e2; - color: #000000; - border: 1px solid #ccc; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #444; - filter: alpha(opacity=50); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/menu.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/menu.css deleted file mode 100644 index 51c2cff3223c7c799feac0eb804162e8b56b3213..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ccc; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ccc; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #f3f3f3; - border-color: #D3D3D3; - color: #444; -} -.menu-content { - background: #ffffff; -} -.menu-item { - border-color: transparent; - _border-color: #f3f3f3; -} -.menu-active { - border-color: #ccc; - color: #000000; - background: #e2e2e2; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/menubutton.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/menubutton.css deleted file mode 100644 index dc61b34c0335e9d7b29cb451573352ad96afa3fc..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/menubutton.css +++ /dev/null @@ -1,31 +0,0 @@ -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #ccc; - background-color: #e2e2e2; - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/messager.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/messager.css deleted file mode 100644 index 9b3aed25fa2315a8b4836431e74e5c4679e5a199..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/messager.css +++ /dev/null @@ -1,37 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #D3D3D3; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/pagination.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/pagination.css deleted file mode 100644 index cb5d0bd323eddd32702640f43c4052766f874b0e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/pagination.css +++ /dev/null @@ -1,79 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ccc; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #D3D3D3; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/panel.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/panel.css deleted file mode 100644 index 3b1912ab814196fdf87fa3169c803b4dcd803e76..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/panel.css +++ /dev/null @@ -1,131 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #e2e2e2; - -moz-border-radius: 3px 3px 3px 3px; - -webkit-border-radius: 3px 3px 3px 3px; - border-radius: 3px 3px 3px 3px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #D3D3D3; -} -.panel-header { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.panel-body { - background-color: #ffffff; - color: #000000; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #575765; - height: 16px; - line-height: 16px; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/progressbar.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/progressbar.css deleted file mode 100644 index 93818e3e16e2925290b2a52bb85d988b5daa34fb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.progressbar { - border-color: #D3D3D3; -} -.progressbar-text { - color: #000000; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #0092DC; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/propertygrid.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/propertygrid.css deleted file mode 100644 index 90e452088fa6d894cf1b45625aa5306cb9552b20..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #f3f3f3; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #f3f3f3; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/searchbox.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/searchbox.css deleted file mode 100644 index 69fd016ceb3adfbb3e232518a2243ef6092595ef..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/searchbox.css +++ /dev/null @@ -1,83 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #D3D3D3; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #f3f3f3; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/slider.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/slider.css deleted file mode 100644 index 38e4e5b7e4674caeeee361d26a44db59f1fe9e9b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 5px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #D3D3D3; - background: #f3f3f3; -} -.slider-rule span { - border-color: #D3D3D3; -} -.slider-rulelabel span { - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/spinner.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/spinner.css deleted file mode 100644 index 0d9f2b0fd7da1a086a17e5c101fed216bba25acf..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #D3D3D3; -} -.spinner-arrow { - background-color: #f3f3f3; -} -.spinner-arrow-hover { - background-color: #e2e2e2; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/splitbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/splitbutton.css deleted file mode 100644 index f2bbb872afacfc6ab110828ca873bd38e58bbc7c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/splitbutton.css +++ /dev/null @@ -1,43 +0,0 @@ -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #bfbfbf; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #ccc; - background-color: #e2e2e2; - color: #000000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/tabs.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/tabs.css deleted file mode 100644 index 7a48b330bcaaedca7f6132ba4784c797f0b5e751..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/tabs.css +++ /dev/null @@ -1,356 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 5px 5px 0 0; - -webkit-border-radius: 5px 5px 0 0; - border-radius: 5px 5px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 5px 5px; - -webkit-border-radius: 0 0 5px 5px; - border-radius: 0 0 5px 5px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 5px 0 0 5px; - -webkit-border-radius: 5px 0 0 5px; - border-radius: 5px 0 0 5px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 5px 5px 0; - -webkit-border-radius: 0 5px 5px 0; - border-radius: 0 5px 5px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #f3f3f3 url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #e2e2e2; - color: #000000; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #ffffff; - color: #575765; - background: -webkit-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=0); -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(top,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to bottom,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=0); -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -moz-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: -o-linear-gradient(left,#F8F8F8 0,#ffffff 100%); - background: linear-gradient(to right,#F8F8F8 0,#ffffff 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#ffffff,GradientType=1); -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - background: -webkit-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -moz-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: -o-linear-gradient(left,#ffffff 0,#F8F8F8 100%); - background: linear-gradient(to right,#ffffff 0,#F8F8F8 100%); - background-repeat: repeat-y; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#F8F8F8,GradientType=1); -} -.tabs li a.tabs-inner { - color: #575765; - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 100%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.tabs-header, -.tabs-tool { - background-color: #f3f3f3; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #D3D3D3; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #e2e2e2; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #ffffff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #ffffff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #ffffff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/tooltip.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/tooltip.css deleted file mode 100644 index 51c5b834274391eab9e7753195495dfcd908a46d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #ffffff; - border-color: #D3D3D3; - color: #000000; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #D3D3D3; -} -.tooltip-right .tooltip-arrow { - border-right-color: #ffffff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #D3D3D3; -} -.tooltip-left .tooltip-arrow { - border-left-color: #ffffff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #D3D3D3; -} -.tooltip-top .tooltip-arrow { - border-top-color: #ffffff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #D3D3D3; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/tree.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/tree.css deleted file mode 100644 index c705f39ce320e8b7abc6b69556804e64c2e1e598..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #ffffff; - color: #000000; - border-color: #D3D3D3; -} -.tree-node-hover { - background: #e2e2e2; - color: #000000; -} -.tree-node-selected { - background: #0092DC; - color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/validatebox.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/validatebox.css deleted file mode 100644 index 154da75869883470ca80a027ff8a239548e31cf1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/gray/window.css b/src/main/webapp/js/easyui-1.3.5/themes/gray/window.css deleted file mode 100644 index b06cfc0495ff75a30964f89b091e42e63165a27c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/gray/window.css +++ /dev/null @@ -1,87 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 5px 5px 5px 5px; - -webkit-border-radius: 5px 5px 5px 5px; - border-radius: 5px 5px 5px 5px; -} -.window-shadow { - background: #ccc; - -moz-box-shadow: 2px 2px 3px #cccccc; - -webkit-box-shadow: 2px 2px 3px #cccccc; - box-shadow: 2px 2px 3px #cccccc; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #D3D3D3; -} -.window { - background-color: #f3f3f3; - background: -webkit-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -moz-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: -o-linear-gradient(top,#F8F8F8 0,#eeeeee 20%); - background: linear-gradient(to bottom,#F8F8F8 0,#eeeeee 20%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#F8F8F8,endColorstr=#eeeeee,GradientType=0); -} -.window-proxy { - border: 1px dashed #D3D3D3; -} -.window-proxy-mask, -.window-mask { - background: #ccc; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icon.css b/src/main/webapp/js/easyui-1.3.5/themes/icon.css deleted file mode 100644 index 6bd4668b13f95fada4091ef8b86878257cb7073d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/icon.css +++ /dev/null @@ -1,99 +0,0 @@ -.icon-blank{ - background:url('icons/blank.gif') no-repeat center center; -} -.icon-add{ - background:url('icons/edit_add.png') no-repeat center center; -} -.icon-edit{ - background:url('icons/pencil.png') no-repeat center center; -} -.icon-remove{ - background:url('icons/edit_remove.png') no-repeat center center; -} -.icon-save{ - background:url('icons/filesave.png') no-repeat center center; -} -.icon-cut{ - background:url('icons/cut.png') no-repeat center center; -} -.icon-ok{ - background:url('icons/ok.png') no-repeat center center; -} -.icon-no{ - background:url('icons/no.png') no-repeat center center; -} -.icon-cancel{ - background:url('icons/cancel.png') no-repeat center center; -} -.icon-reload{ - background:url('icons/reload.png') no-repeat center center; -} -.icon-search{ - background:url('icons/049.png') no-repeat center center; -} -.icon-print{ - background:url('icons/print.png') no-repeat center center; -} -.icon-help{ - background:url('icons/help.png') no-repeat center center; -} -.icon-undo{ - background:url('icons/undo.png') no-repeat center center; -} -.icon-redo{ - background:url('icons/redo.png') no-repeat center center; -} -.icon-back{ - background:url('icons/back.png') no-repeat center center; -} -.icon-sum{ - background:url('icons/sum.png') no-repeat center center; -} -.icon-tip{ - background:url('icons/tip.png') no-repeat center center; -} -.icon-filter{ - background:url('icons/filter.png') no-repeat center center; -} -.icon-mini-add{ - background:url('icons/mini_add.png') no-repeat center center; -} -.icon-mini-edit{ - background:url('icons/mini_edit.png') no-repeat center center; -} -.icon-mini-refresh{ - background:url('icons/mini_refresh.png') no-repeat center center; -} -.icon-list{ - background:url('icons/list.png') no-repeat center center; -} -.icon-chart-column{ - background:url('icons/chart_bar.png') no-repeat center center; -} -.icon-chart-zonghe{ - background:url('icons/zonghe.png') no-repeat center center; -} -.icon-chart-pie{ - background:url('icons/pie.png') no-repeat center center; -} -.icon-chart-statistics{ - background:url('icons/statistics.png') no-repeat center center; -} -.icon-chart-polygram{ - background:url('icons/polygram.png') no-repeat center center; -} -.icon-unlock{ - background:url('icons/lock_unlock.png') no-repeat center center; -} -.icon-comment{ - background:url('icons/comment.png') no-repeat center center; -} -.icon-excel{ - background:url('icons/receipt-excel.png') no-repeat center center; -} -.icon-excel-new{ - background:url('icons/excel1.png') no-repeat center center; -} -.icon-page-excel{ - background:url('icons/page_excel.png') no-repeat center center; -} \ No newline at end of file diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/049.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/049.png deleted file mode 100644 index b29214a0e312213a9392e7460812f0dd6b00c435..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/049.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/311.gif b/src/main/webapp/js/easyui-1.3.5/themes/icons/311.gif deleted file mode 100644 index fc6c7abd208d247ad1d946cfef7fee98bd0b3eba..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/311.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/back.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/back.png deleted file mode 100644 index 3fe8b178ec9eb9fdbfefe0f2c81c8d4acf0dc275..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/back.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/blank.gif b/src/main/webapp/js/easyui-1.3.5/themes/icons/blank.gif deleted file mode 100644 index 1d11fa9ada9e93505b3d736acb204083f45d5fbf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/blank.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/cancel.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/cancel.png deleted file mode 100644 index a432b492c4f8f54714290b27bd978eefa714488d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/cancel.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/chart_bar.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/chart_bar.png deleted file mode 100644 index 2cec9fd81d342bf9462fc82be245ce8fe90571bd..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/chart_bar.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/comment.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/comment.png deleted file mode 100644 index 296b830934f94120f7d623532272b9bc1cc834a5..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/comment.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/cut.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/cut.png deleted file mode 100644 index 21fdb4dc3c8ee79a0ce59a981c336538bb334442..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/cut.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/edit_add.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/edit_add.png deleted file mode 100644 index e9485082eaadcff004248709f3af8faefb07c191..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/edit_add.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/edit_remove.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/edit_remove.png deleted file mode 100644 index d555d921aca63ae58b81fdc20f2bb97ecf3b8a3a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/edit_remove.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/excel1.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/excel1.png deleted file mode 100644 index 76372e423d56a35e63572af77dbd4068fee88dae..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/excel1.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/filelist.jpg b/src/main/webapp/js/easyui-1.3.5/themes/icons/filelist.jpg deleted file mode 100644 index 08ce7b43f830ca2e3280b0ed2e0cd3a53f5d57ea..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/filelist.jpg and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/filesave.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/filesave.png deleted file mode 100644 index fd0048ded9baa040b1c04b84cca92550acad6f64..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/filesave.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/filter.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/filter.png deleted file mode 100644 index 1fedf7ae66f9512c8991a91f606e33926210dfd1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/filter.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/help.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/help.png deleted file mode 100644 index 28a0f9e5e6a24fe2cc3d842d0708e70512dbf84b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/help.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/list.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/list.png deleted file mode 100644 index a14d95574f5f57c7d1514e72ca100dc15d70e78f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/list.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/lock_unlock.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/lock_unlock.png deleted file mode 100644 index 535dc1dd955d0dd0c7cec9f2609ca4791eebf7eb..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/lock_unlock.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_add.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_add.png deleted file mode 100644 index fd82b92dcf2611ed7f4a383e481e10d9ade9d830..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_add.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_edit.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_edit.png deleted file mode 100644 index db9221a8081fee0614bc401884f56a00564a315e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_edit.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_refresh.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_refresh.png deleted file mode 100644 index 6cdd016036ae125500c40abebd42db09b69ecb63..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/mini_refresh.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/no.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/no.png deleted file mode 100644 index 6adbed7079afc8920d345b8698043e0e456f2f0b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/no.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/ok.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/ok.png deleted file mode 100644 index 5b0f6a6174f67879d89b8c970d88734cd6f9f844..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/ok.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/page_excel.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/page_excel.png deleted file mode 100644 index 0f77b7d8edca3521599fa3c3ef1dd4f56b470e22..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/page_excel.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/pencil.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/pencil.png deleted file mode 100644 index 5b8cc893d0e50c0e15cf10fbbb08706f81ec224a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/pencil.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/pie.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/pie.png deleted file mode 100644 index 790686ed1e93c810942171e4529fba14bdf88ab4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/pie.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/polygram.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/polygram.png deleted file mode 100644 index 13dd2625c89f576301b6f5f5dd89b6f85b0056dc..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/polygram.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/print.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/print.png deleted file mode 100644 index fdf67a1e2771c1481d4fdf3c3bb219904cdde434..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/print.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/receipt-excel.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/receipt-excel.png deleted file mode 100644 index e36dfc3186a38a5d0693ba9db7b9cb6fb04f837a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/receipt-excel.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/redo.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/redo.png deleted file mode 100644 index f1e45cff9397f422f9d63459ea3e685d441f09ba..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/redo.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/reload.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/reload.png deleted file mode 100644 index f51cab8e3fe91b0e3906b0522d550935776dd7fa..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/reload.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/search.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/search.png deleted file mode 100644 index 6dd1931589b453f6cc9772fd1851d8705d6b6631..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/search.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/statistics.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/statistics.png deleted file mode 100644 index 7f3ba55423d5db308471dc7dc15f7a6f42de18df..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/statistics.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/sum.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/sum.png deleted file mode 100644 index fd7b32e43bc8128181c1aeacc2c1b0af9dac484b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/sum.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/tip.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/tip.png deleted file mode 100644 index 845e11070a79387b5639c1eb7185d07ef954de3d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/tip.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/undo.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/undo.png deleted file mode 100644 index 6129fa0c77eb1d2100ed1c99b5643ab8990a9566..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/undo.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/icons/zonghe.png b/src/main/webapp/js/easyui-1.3.5/themes/icons/zonghe.png deleted file mode 100644 index 224f28bc07caa4e009bcbd1582b38d86cd98a55c..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/icons/zonghe.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/accordion.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/accordion.css deleted file mode 100644 index 31d6079ec388eef8cebabd6e6df91585b4bc359b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/accordion.css +++ /dev/null @@ -1,41 +0,0 @@ -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #fff; - border-color: #ddd; -} -.accordion .accordion-header { - background: #ffffff; - filter: none; -} -.accordion .accordion-header-selected { - background: #CCE6FF; -} -.accordion .accordion-header-selected .panel-title { - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/calendar.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/calendar.css deleted file mode 100644 index 798ed976defc9306d53e1cc2730d9ad299c1f799..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/calendar.css +++ /dev/null @@ -1,190 +0,0 @@ -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-body th, -.calendar-menu-month { - color: #919191; -} -.calendar-day { - color: #444; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #ddd; -} -.calendar { - border-color: #ddd; -} -.calendar-header { - background: #ffffff; -} -.calendar-body, -.calendar-menu { - background: #fff; -} -.calendar-body th { - background: #fff; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #E6E6E6; - color: #444; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #CCE6FF; - color: #000; - border: 1px solid #99cdff; - padding: 0; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/combo.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/combo.css deleted file mode 100644 index 8922f8e14b22a5f8e3a678f0f470b36627716ac9..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/combo.css +++ /dev/null @@ -1,58 +0,0 @@ -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #fff; -} -.combo { - border-color: #ddd; - background-color: #fff; -} -.combo-arrow { - background-color: #ffffff; -} -.combo-arrow-hover { - background-color: #E6E6E6; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/combobox.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/combobox.css deleted file mode 100644 index 0e058b1f90c7f41872e8f4ad34167b2d7d9fb9b3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/combobox.css +++ /dev/null @@ -1,24 +0,0 @@ -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #E6E6E6; - color: #444; -} -.combobox-item-selected { - background-color: #CCE6FF; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/datagrid.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/datagrid.css deleted file mode 100644 index f224cd569704118148c0bbda28fd8ee9a3797611..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/datagrid.css +++ /dev/null @@ -1,254 +0,0 @@ -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #fff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #ffffff; -} -.datagrid-cell-rownumber { - color: #444; -} -.datagrid-resize-proxy { - background: #b3b3b3; -} -.datagrid-mask { - background: #eee; -} -.datagrid-mask-msg { - border-color: #ddd; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fff; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ddd; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #444; - border-collapse: separate; -} -.datagrid-row-alt { - background: #f5f5f5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #E6E6E6; - color: #444; - cursor: default; -} -.datagrid-row-selected { - background: #CCE6FF; - color: #000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/datebox.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/datebox.css deleted file mode 100644 index b0f71e24d9a1ca820e419dc575de85db0f7694b4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/datebox.css +++ /dev/null @@ -1,36 +0,0 @@ -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fff; -} -.datebox-button a { - color: #777; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/dialog.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/dialog.css deleted file mode 100644 index 316cdc428b1bf3349f064931f4bd829f335aedc4..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/dialog.css +++ /dev/null @@ -1,30 +0,0 @@ -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fff; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/easyui.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/easyui.css deleted file mode 100644 index 7d11dcb3a8ea58ff5f51ddbbcd7837d5b0ec52fd..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/easyui.css +++ /dev/null @@ -1,2268 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #E6E6E6; - -moz-border-radius: -2px -2px -2px -2px; - -webkit-border-radius: -2px -2px -2px -2px; - border-radius: -2px -2px -2px -2px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #ddd; -} -.panel-header { - background-color: #ffffff; -} -.panel-body { - background-color: #fff; - color: #444; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} -.accordion { - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.accordion .accordion-header { - border-width: 0 0 1px; - cursor: pointer; -} -.accordion .accordion-body { - border-width: 0 0 1px; -} -.accordion-noborder { - border-width: 0; -} -.accordion-noborder .accordion-header { - border-width: 0 0 1px; -} -.accordion-noborder .accordion-body { - border-width: 0 0 1px; -} -.accordion-collapse { - background: url('images/accordion_arrows.png') no-repeat 0 0; -} -.accordion-expand { - background: url('images/accordion_arrows.png') no-repeat -16px 0; -} -.accordion { - background: #fff; - border-color: #ddd; -} -.accordion .accordion-header { - background: #ffffff; - filter: none; -} -.accordion .accordion-header-selected { - background: #CCE6FF; -} -.accordion .accordion-header-selected .panel-title { - color: #000; -} -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.window-shadow { - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #ddd; -} -.window { - background-color: #ffffff; -} -.window-proxy { - border: 1px dashed #ddd; -} -.window-proxy-mask, -.window-mask { - background: #eee; -} -.dialog-content { - overflow: auto; -} -.dialog-toolbar { - padding: 2px 5px; -} -.dialog-tool-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.dialog-button { - padding: 5px; - text-align: right; -} -.dialog-button .l-btn { - margin-left: 5px; -} -.dialog-toolbar, -.dialog-button { - background: #fff; -} -.dialog-toolbar { - border-bottom: 1px solid #ddd; -} -.dialog-button { - border-top: 1px solid #ddd; -} -.combo { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.combo .combo-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0px 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.combo-arrow { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.combo-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.combo-panel { - overflow: auto; -} -.combo-arrow { - background: url('images/combo_arrow.png') no-repeat center center; -} -.combo, -.combo-panel { - background-color: #fff; -} -.combo { - border-color: #ddd; - background-color: #fff; -} -.combo-arrow { - background-color: #ffffff; -} -.combo-arrow-hover { - background-color: #E6E6E6; -} -.combobox-item, -.combobox-group { - font-size: 12px; - padding: 3px; - padding-right: 0px; -} -.combobox-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.combobox-gitem { - padding-left: 10px; -} -.combobox-group { - font-weight: bold; -} -.combobox-item-hover { - background-color: #E6E6E6; - color: #444; -} -.combobox-item-selected { - background-color: #CCE6FF; - color: #000; -} -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #b3b3b3; -} -.layout-split-north { - border-bottom: 5px solid #fff; -} -.layout-split-south { - border-top: 5px solid #fff; -} -.layout-split-east { - border-left: 5px solid #fff; -} -.layout-split-west { - border-right: 5px solid #fff; -} -.layout-expand { - background-color: #ffffff; -} -.layout-expand-over { - background-color: #ffffff; -} -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0 0; - -webkit-border-radius: 0px 0px 0 0; - border-radius: 0px 0px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 0px 0px; - -webkit-border-radius: 0 0 0px 0px; - border-radius: 0 0 0px 0px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 0px 0px 0; - -webkit-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #ffffff url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #ffffff url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #E6E6E6; - color: #444; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #fff; - color: #777; -} -.tabs li a.tabs-inner { - color: #777; - background-color: #ffffff; -} -.tabs-header, -.tabs-tool { - background-color: #ffffff; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #ddd; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #E6E6E6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #fff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #fff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #fff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #fff; -} -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #777; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background: #ffffff; - background-repeat: repeat-x; - border: 1px solid #dddddd; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background-image: none; -} -a:hover.l-btn { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - filter: none; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #777; - filter: alpha(opacity=50); - background: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; - background: #ddd; - filter: none; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; - background-image: none; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} -.datagrid .panel-body { - overflow: hidden; - position: relative; -} -.datagrid-view { - position: relative; - overflow: hidden; -} -.datagrid-view1, -.datagrid-view2 { - position: absolute; - overflow: hidden; - top: 0; -} -.datagrid-view1 { - left: 0; -} -.datagrid-view2 { - right: 0; -} -.datagrid-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - opacity: 0.3; - filter: alpha(opacity=30); - display: none; -} -.datagrid-mask-msg { - position: absolute; - top: 50%; - margin-top: -20px; - padding: 12px 5px 10px 30px; - width: auto; - height: 16px; - border-width: 2px; - border-style: solid; - display: none; -} -.datagrid-sort-icon { - padding: 0; -} -.datagrid-toolbar { - height: auto; - padding: 1px 2px; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 2px 1px; -} -.datagrid .datagrid-pager { - display: block; - margin: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.datagrid .datagrid-pager-top { - border-width: 0 0 1px 0; -} -.datagrid-header { - overflow: hidden; - cursor: default; - border-width: 0 0 1px 0; - border-style: solid; -} -.datagrid-header-inner { - float: left; - width: 10000px; -} -.datagrid-header-row, -.datagrid-row { - height: 25px; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-width: 0 1px 1px 0; - border-style: dotted; - margin: 0; - padding: 0; -} -.datagrid-cell, -.datagrid-cell-group, -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - margin: 0; - padding: 0 4px; - white-space: nowrap; - word-wrap: normal; - overflow: hidden; - height: 18px; - line-height: 18px; - font-size: 12px; -} -.datagrid-header .datagrid-cell { - height: auto; -} -.datagrid-header .datagrid-cell span { - font-size: 12px; -} -.datagrid-cell-group { - text-align: center; -} -.datagrid-header-rownumber, -.datagrid-cell-rownumber { - width: 25px; - text-align: center; - margin: 0; - padding: 0; -} -.datagrid-body { - margin: 0; - padding: 0; - overflow: auto; - zoom: 1; -} -.datagrid-view1 .datagrid-body-inner { - padding-bottom: 20px; -} -.datagrid-view1 .datagrid-body { - overflow: hidden; -} -.datagrid-footer { - overflow: hidden; -} -.datagrid-footer-inner { - border-width: 1px 0 0 0; - border-style: solid; - width: 10000px; - float: left; -} -.datagrid-row-editing .datagrid-cell { - height: auto; -} -.datagrid-header-check, -.datagrid-cell-check { - padding: 0; - width: 27px; - height: 18px; - font-size: 1px; - text-align: center; - overflow: hidden; -} -.datagrid-header-check input, -.datagrid-cell-check input { - margin: 0; - padding: 0; - width: 15px; - height: 18px; -} -.datagrid-resize-proxy { - position: absolute; - width: 1px; - height: 10000px; - top: 0; - cursor: e-resize; - display: none; -} -.datagrid-body .datagrid-editable { - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable table { - width: 100%; - height: 100%; -} -.datagrid-body .datagrid-editable td { - border: 0; - margin: 0; - padding: 0; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; -} -.datagrid-sort-desc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat -16px center; -} -.datagrid-sort-asc .datagrid-sort-icon { - padding: 0 13px 0 0; - background: url('images/datagrid_icons.png') no-repeat 0px center; -} -.datagrid-row-collapse { - background: url('images/datagrid_icons.png') no-repeat -48px center; -} -.datagrid-row-expand { - background: url('images/datagrid_icons.png') no-repeat -32px center; -} -.datagrid-mask-msg { - background: #fff url('images/loading.gif') no-repeat scroll 5px center; -} -.datagrid-header, -.datagrid-td-rownumber { - background-color: #ffffff; -} -.datagrid-cell-rownumber { - color: #444; -} -.datagrid-resize-proxy { - background: #b3b3b3; -} -.datagrid-mask { - background: #eee; -} -.datagrid-mask-msg { - border-color: #ddd; -} -.datagrid-toolbar, -.datagrid-pager { - background: #fff; -} -.datagrid-header, -.datagrid-toolbar, -.datagrid-pager, -.datagrid-footer-inner { - border-color: #ddd; -} -.datagrid-header td, -.datagrid-body td, -.datagrid-footer td { - border-color: #ddd; -} -.datagrid-htable, -.datagrid-btable, -.datagrid-ftable { - color: #444; - border-collapse: separate; -} -.datagrid-row-alt { - background: #f5f5f5; -} -.datagrid-row-over, -.datagrid-header td.datagrid-header-over { - background: #E6E6E6; - color: #444; - cursor: default; -} -.datagrid-row-selected { - background: #CCE6FF; - color: #000; -} -.datagrid-body .datagrid-editable .datagrid-editable-input { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #ffffff; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #ffffff; -} -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #ddd; -} -.calendar { - border-width: 1px; - border-style: solid; - padding: 1px; - overflow: hidden; -} -.calendar table { - border-collapse: separate; - font-size: 12px; - width: 100%; - height: 100%; -} -.calendar table td, -.calendar table th { - font-size: 12px; -} -.calendar-noborder { - border: 0; -} -.calendar-header { - position: relative; - height: 22px; -} -.calendar-title { - text-align: center; - height: 22px; -} -.calendar-title span { - position: relative; - display: inline-block; - top: 2px; - padding: 0 3px; - height: 18px; - line-height: 18px; - font-size: 12px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth, -.calendar-nextmonth, -.calendar-prevyear, -.calendar-nextyear { - position: absolute; - top: 50%; - margin-top: -7px; - width: 14px; - height: 14px; - cursor: pointer; - font-size: 1px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-prevmonth { - left: 20px; - background: url('images/calendar_arrows.png') no-repeat -18px -2px; -} -.calendar-nextmonth { - right: 20px; - background: url('images/calendar_arrows.png') no-repeat -34px -2px; -} -.calendar-prevyear { - left: 3px; - background: url('images/calendar_arrows.png') no-repeat -1px -2px; -} -.calendar-nextyear { - right: 3px; - background: url('images/calendar_arrows.png') no-repeat -49px -2px; -} -.calendar-body { - position: relative; -} -.calendar-body th, -.calendar-body td { - text-align: center; -} -.calendar-day { - border: 0; - padding: 1px; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-other-month { - opacity: 0.3; - filter: alpha(opacity=30); -} -.calendar-menu { - position: absolute; - top: 0; - left: 0; - width: 180px; - height: 150px; - padding: 5px; - font-size: 12px; - display: none; - overflow: hidden; -} -.calendar-menu-year-inner { - text-align: center; - padding-bottom: 5px; -} -.calendar-menu-year { - width: 40px; - text-align: center; - border-width: 1px; - border-style: solid; - margin: 0; - padding: 2px; - font-weight: bold; - font-size: 12px; -} -.calendar-menu-prev, -.calendar-menu-next { - display: inline-block; - width: 21px; - height: 21px; - vertical-align: top; - cursor: pointer; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-menu-prev { - margin-right: 10px; - background: url('images/calendar_arrows.png') no-repeat 2px 2px; -} -.calendar-menu-next { - margin-left: 10px; - background: url('images/calendar_arrows.png') no-repeat -45px 2px; -} -.calendar-menu-month { - text-align: center; - cursor: pointer; - font-weight: bold; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.calendar-body th, -.calendar-menu-month { - color: #919191; -} -.calendar-day { - color: #444; -} -.calendar-sunday { - color: #CC2222; -} -.calendar-saturday { - color: #00ee00; -} -.calendar-today { - color: #0000ff; -} -.calendar-menu-year { - border-color: #ddd; -} -.calendar { - border-color: #ddd; -} -.calendar-header { - background: #ffffff; -} -.calendar-body, -.calendar-menu { - background: #fff; -} -.calendar-body th { - background: #fff; -} -.calendar-hover, -.calendar-nav-hover, -.calendar-menu-hover { - background-color: #E6E6E6; - color: #444; -} -.calendar-hover { - border: 1px solid #ddd; - padding: 0; -} -.calendar-selected { - background-color: #CCE6FF; - color: #000; - border: 1px solid #99cdff; - padding: 0; -} -.datebox-calendar-inner { - height: 180px; -} -.datebox-button { - height: 18px; - padding: 2px 5px; - text-align: center; -} -.datebox-button a { - font-size: 12px; - font-weight: bold; - text-decoration: none; - opacity: 0.6; - filter: alpha(opacity=60); -} -.datebox-button a:hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.datebox-current, -.datebox-close { - float: left; -} -.datebox-close { - float: right; -} -.datebox .combo-arrow { - background-image: url('images/datebox_arrow.png'); - background-position: center center; -} -.datebox-button { - background-color: #fff; -} -.datebox-button a { - color: #777; -} -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #ddd; -} -.spinner-arrow { - background-color: #ffffff; -} -.spinner-arrow-hover { - background-color: #E6E6E6; -} -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.progressbar { - border-color: #ddd; -} -.progressbar-text { - color: #444; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #CCE6FF; - color: #000; -} -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #ddd; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #ffffff; -} -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 0px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #ddd; - background: #ffffff; -} -.slider-rule span { - border-color: #ddd; -} -.slider-rulelabel span { - color: #444; -} -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ddd; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ddd; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #ffffff; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #fff; -} -.menu-item { - border-color: transparent; - _border-color: #ffffff; -} -.menu-active { - border-color: #ddd; - color: #444; - background: #E6E6E6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #ddd; - background-color: #E6E6E6; - color: #444; -} -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #b3b3b3; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #ddd; - background-color: #E6E6E6; - color: #444; -} -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #ddd; -} -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #fff; - color: #444; - border-color: #ddd; -} -.tree-node-hover { - background: #E6E6E6; - color: #444; -} -.tree-node-selected { - background: #CCE6FF; - color: #000; -} -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #fff; - border-color: #ddd; - color: #444; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #ddd; -} -.tooltip-right .tooltip-arrow { - border-right-color: #fff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #ddd; -} -.tooltip-left .tooltip-arrow { - border-left-color: #fff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #ddd; -} -.tooltip-top .tooltip-arrow { - border-top-color: #fff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #ddd; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/accordion_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/accordion_arrows.png deleted file mode 100644 index 720835f69c96c17ec32a20b03ac9753aa59b7f4f..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/accordion_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/blank.gif b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/blank.gif deleted file mode 100644 index 1d11fa9ada9e93505b3d736acb204083f45d5fbf..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/blank.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/calendar_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/calendar_arrows.png deleted file mode 100644 index 430c4ad685b8c0068ecb7e3cbef74f493a84ad0d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/calendar_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/combo_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/combo_arrow.png deleted file mode 100644 index 2e59fb9f3f906487ffa20bdad81a14692ba9e01a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/combo_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/datagrid_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/datagrid_icons.png deleted file mode 100644 index 747ac4d1b8b7fa62b3d5ef868520a8f7a46dce5a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/datagrid_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/datebox_arrow.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/datebox_arrow.png deleted file mode 100644 index 783c83357fdf90a1c7c024358e1d768b5c09c135..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/datebox_arrow.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/layout_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/layout_arrows.png deleted file mode 100644 index 6f41654253030183f8220a815e85ed56d05ca9a3..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/layout_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/linkbutton_bg.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/linkbutton_bg.png deleted file mode 100644 index fc66bd2cd24047b8377342365a1df3846327ecde..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/linkbutton_bg.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/loading.gif b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/loading.gif deleted file mode 100644 index 68f01d04813c1f622810864a3aaa04b4a17ac8f9..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/loading.gif and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/menu_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/menu_arrows.png deleted file mode 100644 index b986842e7e4044caed18edbcb4b376a4bb915623..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/menu_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/messager_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/messager_icons.png deleted file mode 100644 index 62c18c135860351063ebaabe8c0f4df7664b8f65..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/messager_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/pagination_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/pagination_icons.png deleted file mode 100644 index 616f0bdd6f589a6e6f9722665c95558356e47a6d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/pagination_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/panel_tools.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/panel_tools.png deleted file mode 100644 index fe682ef89d18503561269b27225e9fde8c00259b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/panel_tools.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/searchbox_button.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/searchbox_button.png deleted file mode 100644 index 6dd1931589b453f6cc9772fd1851d8705d6b6631..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/searchbox_button.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/slider_handle.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/slider_handle.png deleted file mode 100644 index b9802bae14c536281a8fdbe6cd07abbc13985033..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/slider_handle.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/spinner_arrows.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/spinner_arrows.png deleted file mode 100644 index b68592de3200fbe1f7defe98a2b59b0398b1b737..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/spinner_arrows.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/tabs_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/tabs_icons.png deleted file mode 100644 index 4d29966d7154338a9e2e358821a5f72655eba43e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/tabs_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/tree_icons.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/tree_icons.png deleted file mode 100644 index e9be4f3a9965e49a4e4078f8c53f486d761a7468..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/tree_icons.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/validatebox_warning.png b/src/main/webapp/js/easyui-1.3.5/themes/metro/images/validatebox_warning.png deleted file mode 100644 index 2b3d4f05babf3f82b146350e96570fac02075de0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/easyui-1.3.5/themes/metro/images/validatebox_warning.png and /dev/null differ diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/layout.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/layout.css deleted file mode 100644 index 7057fb2b0dae17b9a6bba39d829cf05f3615cb55..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/layout.css +++ /dev/null @@ -1,91 +0,0 @@ -.layout { - position: relative; - overflow: hidden; - margin: 0; - padding: 0; - z-index: 0; -} -.layout-panel { - position: absolute; - overflow: hidden; -} -.layout-panel-east, -.layout-panel-west { - z-index: 2; -} -.layout-panel-north, -.layout-panel-south { - z-index: 3; -} -.layout-expand { - position: absolute; - padding: 0px; - font-size: 1px; - cursor: pointer; - z-index: 1; -} -.layout-expand .panel-header, -.layout-expand .panel-body { - background: transparent; - filter: none; - overflow: hidden; -} -.layout-expand .panel-header { - border-bottom-width: 0px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - position: absolute; - font-size: 1px; - display: none; - z-index: 5; -} -.layout-split-proxy-h { - width: 5px; - cursor: e-resize; -} -.layout-split-proxy-v { - height: 5px; - cursor: n-resize; -} -.layout-mask { - position: absolute; - background: #fafafa; - filter: alpha(opacity=10); - opacity: 0.10; - z-index: 4; -} -.layout-button-up { - background: url('images/layout_arrows.png') no-repeat -16px -16px; -} -.layout-button-down { - background: url('images/layout_arrows.png') no-repeat -16px 0; -} -.layout-button-left { - background: url('images/layout_arrows.png') no-repeat 0 0; -} -.layout-button-right { - background: url('images/layout_arrows.png') no-repeat 0 -16px; -} -.layout-split-proxy-h, -.layout-split-proxy-v { - background-color: #b3b3b3; -} -.layout-split-north { - border-bottom: 5px solid #fff; -} -.layout-split-south { - border-top: 5px solid #fff; -} -.layout-split-east { - border-left: 5px solid #fff; -} -.layout-split-west { - border-right: 5px solid #fff; -} -.layout-expand { - background-color: #ffffff; -} -.layout-expand-over { - background-color: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/linkbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/linkbutton.css deleted file mode 100644 index 073a7294874ca7e8cb78d45913d839baf4737f2f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/linkbutton.css +++ /dev/null @@ -1,152 +0,0 @@ -a.l-btn { - background-position: right 0; - text-decoration: none; - display: inline-block; - zoom: 1; - height: 24px; - padding-right: 18px; - cursor: pointer; - outline: none; -} -a.l-btn-plain { - border: 0; - padding: 1px 6px 1px 1px; -} -a.l-btn-disabled { - color: #ccc; - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -a.l-btn span.l-btn-left { - display: inline-block; - background-position: 0 -48px; - padding: 0 0 0 18px; - line-height: 24px; - height: 24px; -} -a.l-btn-plain span.l-btn-left { - padding-left: 5px; -} -a.l-btn span span.l-btn-text { - position: relative; - display: inline-block; - vertical-align: top; - top: 4px; - width: auto; - height: 16px; - line-height: 16px; - font-size: 12px; - padding: 0; - margin: 0; -} -a.l-btn span span.l-btn-icon-left { - padding: 0 0 0 20px; - background-position: left center; -} -a.l-btn span span.l-btn-icon-right { - padding: 0 20px 0 0; - background-position: right center; -} -a.l-btn span span span.l-btn-empty { - display: inline-block; - margin: 0; - padding: 0; - width: 16px; -} -a:hover.l-btn { - background-position: right -24px; - outline: none; - text-decoration: none; -} -a:hover.l-btn span.l-btn-left { - background-position: 0 bottom; -} -a:hover.l-btn-plain { - padding: 0 5px 0 0; -} -a:hover.l-btn-disabled { - background-position: right 0; -} -a:hover.l-btn-disabled span.l-btn-left { - background-position: 0 -48px; -} -a.l-btn .l-btn-focus { - outline: #0000FF dotted thin; -} -a.l-btn { - color: #777; - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background: #ffffff; - background-repeat: repeat-x; - border: 1px solid #dddddd; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -a.l-btn span.l-btn-left { - background-image: url('images/linkbutton_bg.png'); - background-repeat: no-repeat; - background-image: none; -} -a:hover.l-btn { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - filter: none; -} -a.l-btn-plain, -a.l-btn-plain span.l-btn-left { - background: transparent; - border: 0; - filter: none; -} -a:hover.l-btn-plain { - background: #E6E6E6; - color: #444; - border: 1px solid #ddd; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -a.l-btn-disabled, -a:hover.l-btn-disabled { - color: #777; - filter: alpha(opacity=50); - background: #ffffff; - color: #777; - background: -webkit-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -moz-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: -o-linear-gradient(top,#ffffff 0,#ffffff 100%); - background: linear-gradient(to bottom,#ffffff 0,#ffffff 100%); - background-repeat: repeat-x; - filter: progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); - filter: alpha(opacity=50) progid:DXImageTransform.Microsoft.gradient(startColorstr=#ffffff,endColorstr=#ffffff,GradientType=0); -} -a.l-btn-plain-disabled, -a:hover.l-btn-plain-disabled { - background: transparent; - filter: alpha(opacity=50); -} -a.l-btn-selected, -a:hover.l-btn-selected { - background-position: right -24px; - background: #ddd; - filter: none; -} -a.l-btn-selected span.l-btn-left, -a:hover.l-btn-selected span.l-btn-left { - background-position: 0 bottom; - background-image: none; -} -a.l-btn-plain-selected, -a:hover.l-btn-plain-selected { - background: #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/menu.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/menu.css deleted file mode 100644 index 5012a506ca841074d761ad71b9c1f0c90951fde1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/menu.css +++ /dev/null @@ -1,109 +0,0 @@ -.menu { - position: absolute; - margin: 0; - padding: 2px; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.menu-item { - position: relative; - margin: 0; - padding: 0; - overflow: hidden; - white-space: nowrap; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.menu-text { - height: 20px; - line-height: 20px; - float: left; - padding-left: 28px; -} -.menu-icon { - position: absolute; - width: 16px; - height: 16px; - left: 2px; - top: 50%; - margin-top: -8px; -} -.menu-rightarrow { - position: absolute; - width: 16px; - height: 16px; - right: 0; - top: 50%; - margin-top: -8px; -} -.menu-line { - position: absolute; - left: 26px; - top: 0; - height: 2000px; - font-size: 1px; -} -.menu-sep { - margin: 3px 0px 3px 25px; - font-size: 1px; -} -.menu-active { - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.menu-item-disabled { - opacity: 0.5; - filter: alpha(opacity=50); - cursor: default; -} -.menu-text, -.menu-text span { - font-size: 12px; -} -.menu-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.menu-rightarrow { - background: url('images/menu_arrows.png') no-repeat -32px center; -} -.menu-line { - border-left: 1px solid #ddd; - border-right: 1px solid #fff; -} -.menu-sep { - border-top: 1px solid #ddd; - border-bottom: 1px solid #fff; -} -.menu { - background-color: #ffffff; - border-color: #ddd; - color: #444; -} -.menu-content { - background: #fff; -} -.menu-item { - border-color: transparent; - _border-color: #ffffff; -} -.menu-active { - border-color: #ddd; - color: #444; - background: #E6E6E6; -} -.menu-active-disabled { - border-color: transparent; - background: transparent; - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/menubutton.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/menubutton.css deleted file mode 100644 index 53d830e8ea4da417461f0cf2595255faeebd3dc5..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/menubutton.css +++ /dev/null @@ -1,31 +0,0 @@ -.m-btn-downarrow { - display: inline-block; - width: 16px; - height: 16px; - line-height: 16px; - font-size: 12px; - _vertical-align: middle; -} -a.m-btn-active { - background-position: bottom right; -} -a.m-btn-active span.l-btn-left { - background-position: bottom left; -} -a.m-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.m-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; -} -a.m-btn-plain-active { - border-color: #ddd; - background-color: #E6E6E6; - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/messager.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/messager.css deleted file mode 100644 index 3b9ac40c85b9e3324cf148e005139b5c819bb89a..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/messager.css +++ /dev/null @@ -1,37 +0,0 @@ -.messager-body { - padding: 10px; - overflow: hidden; -} -.messager-button { - text-align: center; - padding-top: 10px; -} -.messager-icon { - float: left; - width: 32px; - height: 32px; - margin: 0 10px 10px 0; -} -.messager-error { - background: url('images/messager_icons.png') no-repeat scroll -64px 0; -} -.messager-info { - background: url('images/messager_icons.png') no-repeat scroll 0 0; -} -.messager-question { - background: url('images/messager_icons.png') no-repeat scroll -32px 0; -} -.messager-warning { - background: url('images/messager_icons.png') no-repeat scroll -96px 0; -} -.messager-progress { - padding: 10px; -} -.messager-p-msg { - margin-bottom: 5px; -} -.messager-body .messager-input { - width: 100%; - padding: 1px 0; - border: 1px solid #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/pagination.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/pagination.css deleted file mode 100644 index 53599242952355a37609a060f0e4bd7cc3b5c8dd..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/pagination.css +++ /dev/null @@ -1,79 +0,0 @@ -.pagination { - zoom: 1; -} -.pagination table { - float: left; - height: 30px; -} -.pagination td { - border: 0; -} -.pagination-btn-separator { - float: left; - height: 24px; - border-left: 1px solid #ddd; - border-right: 1px solid #fff; - margin: 3px 1px; -} -.pagination .pagination-num { - border-width: 1px; - border-style: solid; - margin: 0 2px; - padding: 2px; - width: 2em; - height: auto; -} -.pagination-page-list { - margin: 0px 6px; - padding: 1px 2px; - width: auto; - height: auto; - border-width: 1px; - border-style: solid; -} -.pagination-info { - float: right; - margin: 0 6px 0 0; - padding: 0; - height: 30px; - line-height: 30px; - font-size: 12px; -} -.pagination span { - font-size: 12px; -} -a.pagination-link { - padding: 1px; -} -a.pagination-link span.l-btn-left { - padding-left: 0; -} -a.pagination-link span span.l-btn-text { - width: 24px; - text-align: center; -} -a:hover.pagination-link { - padding: 0; -} -.pagination-first { - background: url('images/pagination_icons.png') no-repeat 0 center; -} -.pagination-prev { - background: url('images/pagination_icons.png') no-repeat -16px center; -} -.pagination-next { - background: url('images/pagination_icons.png') no-repeat -32px center; -} -.pagination-last { - background: url('images/pagination_icons.png') no-repeat -48px center; -} -.pagination-load { - background: url('images/pagination_icons.png') no-repeat -64px center; -} -.pagination-loading { - background: url('images/loading.gif') no-repeat center center; -} -.pagination-page-list, -.pagination .pagination-num { - border-color: #ddd; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/panel.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/panel.css deleted file mode 100644 index d96a480984e263728b15f88374bccaf76ca8efd0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/panel.css +++ /dev/null @@ -1,125 +0,0 @@ -.panel { - overflow: hidden; - text-align: left; - margin: 0; - border: 0; - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.panel-header, -.panel-body { - border-width: 1px; - border-style: solid; -} -.panel-header { - padding: 5px; - position: relative; -} -.panel-title { - background: url('images/blank.gif') no-repeat; -} -.panel-header-noborder { - border-width: 0 0 1px 0; -} -.panel-body { - overflow: auto; - border-top-width: 0; - padding: 0; -} -.panel-body-noheader { - border-top-width: 1px; -} -.panel-body-noborder { - border-width: 0px; -} -.panel-with-icon { - padding-left: 18px; -} -.panel-icon, -.panel-tool { - position: absolute; - top: 50%; - margin-top: -8px; - height: 16px; - overflow: hidden; -} -.panel-icon { - left: 5px; - width: 16px; -} -.panel-tool { - right: 5px; - width: auto; -} -.panel-tool a { - display: inline-block; - width: 16px; - height: 16px; - opacity: 0.6; - filter: alpha(opacity=60); - margin: 0 0 0 2px; - vertical-align: top; -} -.panel-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - background-color: #E6E6E6; - -moz-border-radius: -2px -2px -2px -2px; - -webkit-border-radius: -2px -2px -2px -2px; - border-radius: -2px -2px -2px -2px; -} -.panel-loading { - padding: 11px 0px 10px 30px; -} -.panel-noscroll { - overflow: hidden; -} -.panel-fit, -.panel-fit body { - height: 100%; - margin: 0; - padding: 0; - border: 0; - overflow: hidden; -} -.panel-loading { - background: url('images/loading.gif') no-repeat 10px 10px; -} -.panel-tool-close { - background: url('images/panel_tools.png') no-repeat -16px 0px; -} -.panel-tool-min { - background: url('images/panel_tools.png') no-repeat 0px 0px; -} -.panel-tool-max { - background: url('images/panel_tools.png') no-repeat 0px -16px; -} -.panel-tool-restore { - background: url('images/panel_tools.png') no-repeat -16px -16px; -} -.panel-tool-collapse { - background: url('images/panel_tools.png') no-repeat -32px 0; -} -.panel-tool-expand { - background: url('images/panel_tools.png') no-repeat -32px -16px; -} -.panel-header, -.panel-body { - border-color: #ddd; -} -.panel-header { - background-color: #ffffff; -} -.panel-body { - background-color: #fff; - color: #444; - font-size: 12px; -} -.panel-title { - font-size: 12px; - font-weight: bold; - color: #777; - height: 16px; - line-height: 16px; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/progressbar.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/progressbar.css deleted file mode 100644 index 7721f1bffe55e3926d71592cf5db6a381ab1f2d6..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/progressbar.css +++ /dev/null @@ -1,32 +0,0 @@ -.progressbar { - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; - overflow: hidden; - position: relative; -} -.progressbar-text { - text-align: center; - position: absolute; -} -.progressbar-value { - position: relative; - overflow: hidden; - width: 0; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.progressbar { - border-color: #ddd; -} -.progressbar-text { - color: #444; - font-size: 12px; -} -.progressbar-value .progressbar-text { - background-color: #CCE6FF; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/propertygrid.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/propertygrid.css deleted file mode 100644 index f5ae0c4e3dc511d990737299cb040bedff301f40..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/propertygrid.css +++ /dev/null @@ -1,28 +0,0 @@ -.propertygrid .datagrid-view1 .datagrid-body td { - padding-bottom: 1px; - border-width: 0 1px 0 0; -} -.propertygrid .datagrid-group { - height: 21px; - overflow: hidden; - border-width: 0 0 1px 0; - border-style: solid; -} -.propertygrid .datagrid-group span { - font-weight: bold; -} -.propertygrid .datagrid-view1 .datagrid-body td { - border-color: #ddd; -} -.propertygrid .datagrid-view1 .datagrid-group { - border-color: #ffffff; -} -.propertygrid .datagrid-view2 .datagrid-group { - border-color: #ddd; -} -.propertygrid .datagrid-group, -.propertygrid .datagrid-view1 .datagrid-body, -.propertygrid .datagrid-view1 .datagrid-row-over, -.propertygrid .datagrid-view1 .datagrid-row-selected { - background: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/searchbox.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/searchbox.css deleted file mode 100644 index 7fe2d6da282c67215bcf056488f4b14900300617..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/searchbox.css +++ /dev/null @@ -1,83 +0,0 @@ -.searchbox { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; -} -.searchbox .searchbox-text { - font-size: 12px; - border: 0; - margin: 0; - padding: 0; - line-height: 20px; - height: 20px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.searchbox .searchbox-prompt { - font-size: 12px; - color: #ccc; -} -.searchbox-button { - width: 18px; - height: 20px; - overflow: hidden; - display: inline-block; - vertical-align: top; - cursor: pointer; - opacity: 0.6; - filter: alpha(opacity=60); -} -.searchbox-button-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.searchbox a.l-btn-plain { - height: 20px; - border: 0; - padding: 0 6px 0 0; - vertical-align: top; - opacity: 0.6; - filter: alpha(opacity=60); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.l-btn .l-btn-left { - padding: 0 0 0 4px; -} -.searchbox a.l-btn .l-btn-text { - position: static; - vertical-align: top; -} -.searchbox a.l-btn-plain:hover { - border: 0; - padding: 0 6px 0 0; - opacity: 1.0; - filter: alpha(opacity=100); - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox a.m-btn-plain-active { - -moz-border-radius: 0 0 0 0; - -webkit-border-radius: 0 0 0 0; - border-radius: 0 0 0 0; -} -.searchbox-button { - background: url('images/searchbox_button.png') no-repeat center center; -} -.searchbox { - border-color: #ddd; - background-color: #fff; -} -.searchbox a.l-btn-plain { - background: #ffffff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/slider.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/slider.css deleted file mode 100644 index a0907f31ba18e6a6006d88bbcebdab0d7244ebb7..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/slider.css +++ /dev/null @@ -1,100 +0,0 @@ -.slider-disabled { - opacity: 0.5; - filter: alpha(opacity=50); -} -.slider-h { - height: 22px; -} -.slider-v { - width: 22px; -} -.slider-inner { - position: relative; - height: 6px; - top: 7px; - border-width: 1px; - border-style: solid; - border-radius: 0px; -} -.slider-handle { - position: absolute; - display: block; - outline: none; - width: 20px; - height: 20px; - top: -7px; - margin-left: -10px; -} -.slider-tip { - position: absolute; - display: inline-block; - line-height: 12px; - font-size: 12px; - white-space: nowrap; - top: -22px; -} -.slider-rule { - position: relative; - top: 15px; -} -.slider-rule span { - position: absolute; - display: inline-block; - font-size: 0; - height: 5px; - border-width: 0 0 0 1px; - border-style: solid; -} -.slider-rulelabel { - position: relative; - top: 20px; -} -.slider-rulelabel span { - position: absolute; - display: inline-block; - font-size: 12px; -} -.slider-v .slider-inner { - width: 6px; - left: 7px; - top: 0; - float: left; -} -.slider-v .slider-handle { - left: 3px; - margin-top: -10px; -} -.slider-v .slider-tip { - left: -10px; - margin-top: -6px; -} -.slider-v .slider-rule { - float: left; - top: 0; - left: 16px; -} -.slider-v .slider-rule span { - width: 5px; - height: 'auto'; - border-left: 0; - border-width: 1px 0 0 0; - border-style: solid; -} -.slider-v .slider-rulelabel { - float: left; - top: 0; - left: 23px; -} -.slider-handle { - background: url('images/slider_handle.png') no-repeat; -} -.slider-inner { - border-color: #ddd; - background: #ffffff; -} -.slider-rule span { - border-color: #ddd; -} -.slider-rulelabel span { - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/spinner.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/spinner.css deleted file mode 100644 index 8676724ca9d4aaaba366afd4d740a5808c02353b..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/spinner.css +++ /dev/null @@ -1,59 +0,0 @@ -.spinner { - display: inline-block; - white-space: nowrap; - margin: 0; - padding: 0; - border-width: 1px; - border-style: solid; - overflow: hidden; - vertical-align: middle; -} -.spinner .spinner-text { - font-size: 12px; - border: 0px; - line-height: 20px; - height: 20px; - margin: 0; - padding: 0 2px; - *margin-top: -1px; - *height: 18px; - *line-height: 18px; - _height: 18px; - _line-height: 18px; - vertical-align: baseline; -} -.spinner-arrow { - display: inline-block; - overflow: hidden; - vertical-align: top; - margin: 0; - padding: 0; -} -.spinner-arrow-up, -.spinner-arrow-down { - opacity: 0.6; - filter: alpha(opacity=60); - display: block; - font-size: 1px; - width: 18px; - height: 10px; -} -.spinner-arrow-hover { - opacity: 1.0; - filter: alpha(opacity=100); -} -.spinner-arrow-up { - background: url('images/spinner_arrows.png') no-repeat 1px center; -} -.spinner-arrow-down { - background: url('images/spinner_arrows.png') no-repeat -15px center; -} -.spinner { - border-color: #ddd; -} -.spinner-arrow { - background-color: #ffffff; -} -.spinner-arrow-hover { - background-color: #E6E6E6; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/splitbutton.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/splitbutton.css deleted file mode 100644 index d98239b7884c3b725429adde15a55d93bd375341..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/splitbutton.css +++ /dev/null @@ -1,43 +0,0 @@ -.s-btn-downarrow { - display: inline-block; - margin: 0 0 0 4px; - padding: 0 0 0 1px; - width: 14px; - height: 16px; - line-height: 16px; - border-width: 0; - border-style: solid; - font-size: 12px; - _vertical-align: middle; -} -a.s-btn-active { - background-position: bottom right; -} -a.s-btn-active span.l-btn-left { - background-position: bottom left; -} -a.s-btn-plain-active { - background: transparent; - padding: 0 5px 0 0; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.s-btn-downarrow { - background: url('images/menu_arrows.png') no-repeat 2px center; - border-color: #b3b3b3; -} -a:hover.l-btn .s-btn-downarrow, -a.s-btn-active .s-btn-downarrow, -a.s-btn-plain-active .s-btn-downarrow { - background-position: 1px center; - padding: 0; - border-width: 0 0 0 1px; -} -a.s-btn-plain-active { - border-color: #ddd; - background-color: #E6E6E6; - color: #444; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/tabs.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/tabs.css deleted file mode 100644 index 7c957985c4684b94506b4c08070be0dfbf85d1a0..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/tabs.css +++ /dev/null @@ -1,320 +0,0 @@ -.tabs-container { - overflow: hidden; -} -.tabs-header { - border-width: 1px; - border-style: solid; - border-bottom-width: 0; - position: relative; - padding: 0; - padding-top: 2px; - overflow: hidden; -} -.tabs-header-plain { - border: 0; - background: transparent; -} -.tabs-scroller-left, -.tabs-scroller-right { - position: absolute; - top: auto; - bottom: 0; - width: 18px; - font-size: 1px; - display: none; - cursor: pointer; - border-width: 1px; - border-style: solid; -} -.tabs-scroller-left { - left: 0; -} -.tabs-scroller-right { - right: 0; -} -.tabs-tool { - position: absolute; - bottom: 0; - padding: 1px; - overflow: hidden; - border-width: 1px; - border-style: solid; -} -.tabs-header-plain .tabs-tool { - padding: 0 1px; -} -.tabs-wrap { - position: relative; - left: 0; - overflow: hidden; - width: 100%; - margin: 0; - padding: 0; -} -.tabs-scrolling { - margin-left: 18px; - margin-right: 18px; -} -.tabs-disabled { - opacity: 0.3; - filter: alpha(opacity=30); -} -.tabs { - list-style-type: none; - height: 26px; - margin: 0px; - padding: 0px; - padding-left: 4px; - width: 5000px; - border-style: solid; - border-width: 0 0 1px 0; -} -.tabs li { - float: left; - display: inline-block; - margin: 0 4px -1px 0; - padding: 0; - position: relative; - border: 0; -} -.tabs li a.tabs-inner { - display: inline-block; - text-decoration: none; - margin: 0; - padding: 0 10px; - height: 25px; - line-height: 25px; - text-align: center; - white-space: nowrap; - border-width: 1px; - border-style: solid; - -moz-border-radius: 0px 0px 0 0; - -webkit-border-radius: 0px 0px 0 0; - border-radius: 0px 0px 0 0; -} -.tabs li.tabs-selected a.tabs-inner { - font-weight: bold; - outline: none; -} -.tabs li.tabs-selected a:hover.tabs-inner { - cursor: default; - pointer: default; -} -.tabs li a.tabs-close, -.tabs-p-tool { - position: absolute; - font-size: 1px; - display: block; - height: 12px; - padding: 0; - top: 50%; - margin-top: -6px; - overflow: hidden; -} -.tabs li a.tabs-close { - width: 12px; - right: 5px; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs-p-tool { - right: 16px; -} -.tabs-p-tool a { - display: inline-block; - font-size: 1px; - width: 12px; - height: 12px; - margin: 0; - opacity: 0.6; - filter: alpha(opacity=60); -} -.tabs li a:hover.tabs-close, -.tabs-p-tool a:hover { - opacity: 1; - filter: alpha(opacity=100); - cursor: hand; - cursor: pointer; -} -.tabs-with-icon { - padding-left: 18px; -} -.tabs-icon { - position: absolute; - width: 16px; - height: 16px; - left: 10px; - top: 50%; - margin-top: -8px; -} -.tabs-title { - font-size: 12px; -} -.tabs-closable { - padding-right: 8px; -} -.tabs-panels { - margin: 0px; - padding: 0px; - border-width: 1px; - border-style: solid; - border-top-width: 0; - overflow: hidden; -} -.tabs-header-bottom { - border-width: 0 1px 1px 1px; - padding: 0 0 2px 0; -} -.tabs-header-bottom .tabs { - border-width: 1px 0 0 0; -} -.tabs-header-bottom .tabs li { - margin: -1px 4px 0 0; -} -.tabs-header-bottom .tabs li a.tabs-inner { - -moz-border-radius: 0 0 0px 0px; - -webkit-border-radius: 0 0 0px 0px; - border-radius: 0 0 0px 0px; -} -.tabs-header-bottom .tabs-tool { - top: 0; -} -.tabs-header-bottom .tabs-scroller-left, -.tabs-header-bottom .tabs-scroller-right { - top: 0; - bottom: auto; -} -.tabs-panels-top { - border-width: 1px 1px 0 1px; -} -.tabs-header-left { - float: left; - border-width: 1px 0 1px 1px; - padding: 0; -} -.tabs-header-right { - float: right; - border-width: 1px 1px 1px 0; - padding: 0; -} -.tabs-header-left .tabs-wrap, -.tabs-header-right .tabs-wrap { - height: 100%; -} -.tabs-header-left .tabs { - height: 100%; - padding: 4px 0 0 4px; - border-width: 0 1px 0 0; -} -.tabs-header-right .tabs { - height: 100%; - padding: 4px 4px 0 0; - border-width: 0 0 0 1px; -} -.tabs-header-left .tabs li, -.tabs-header-right .tabs li { - display: block; - width: 100%; - position: relative; -} -.tabs-header-left .tabs li { - left: auto; - right: 0; - margin: 0 -1px 4px 0; - float: right; -} -.tabs-header-right .tabs li { - left: 0; - right: auto; - margin: 0 0 4px -1px; - float: left; -} -.tabs-header-left .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0px 0 0 0px; - -webkit-border-radius: 0px 0 0 0px; - border-radius: 0px 0 0 0px; -} -.tabs-header-right .tabs li a.tabs-inner { - display: block; - text-align: left; - -moz-border-radius: 0 0px 0px 0; - -webkit-border-radius: 0 0px 0px 0; - border-radius: 0 0px 0px 0; -} -.tabs-panels-right { - float: right; - border-width: 1px 1px 1px 0; -} -.tabs-panels-left { - float: left; - border-width: 1px 0 1px 1px; -} -.tabs-header-noborder, -.tabs-panels-noborder { - border: 0px; -} -.tabs-header-plain { - border: 0px; - background: transparent; -} -.tabs-scroller-left { - background: #ffffff url('images/tabs_icons.png') no-repeat 1px center; -} -.tabs-scroller-right { - background: #ffffff url('images/tabs_icons.png') no-repeat -15px center; -} -.tabs li a.tabs-close { - background: url('images/tabs_icons.png') no-repeat -34px center; -} -.tabs li a.tabs-inner:hover { - background: #E6E6E6; - color: #444; - filter: none; -} -.tabs li.tabs-selected a.tabs-inner { - background-color: #fff; - color: #777; -} -.tabs li a.tabs-inner { - color: #777; - background-color: #ffffff; -} -.tabs-header, -.tabs-tool { - background-color: #ffffff; -} -.tabs-header-plain { - background: transparent; -} -.tabs-header, -.tabs-scroller-left, -.tabs-scroller-right, -.tabs-tool, -.tabs, -.tabs-panels, -.tabs li a.tabs-inner, -.tabs li.tabs-selected a.tabs-inner, -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner, -.tabs-header-left .tabs li.tabs-selected a.tabs-inner, -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-color: #ddd; -} -.tabs-p-tool a:hover, -.tabs li a:hover.tabs-close, -.tabs-scroller-over { - background-color: #E6E6E6; -} -.tabs li.tabs-selected a.tabs-inner { - border-bottom: 1px solid #fff; -} -.tabs-header-bottom .tabs li.tabs-selected a.tabs-inner { - border-top: 1px solid #fff; -} -.tabs-header-left .tabs li.tabs-selected a.tabs-inner { - border-right: 1px solid #fff; -} -.tabs-header-right .tabs li.tabs-selected a.tabs-inner { - border-left: 1px solid #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/tooltip.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/tooltip.css deleted file mode 100644 index 8382539e70563f276468f88a290956f470b68926..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/tooltip.css +++ /dev/null @@ -1,100 +0,0 @@ -.tooltip { - position: absolute; - display: none; - z-index: 9900000; - outline: none; - opacity: 1; - filter: alpha(opacity=100); - padding: 5px; - border-width: 1px; - border-style: solid; - border-radius: 5px; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.tooltip-content { - font-size: 12px; -} -.tooltip-arrow-outer, -.tooltip-arrow { - position: absolute; - width: 0; - height: 0; - line-height: 0; - font-size: 0; - border-style: solid; - border-width: 6px; - border-color: transparent; - _border-color: tomato; - _filter: chroma(color=tomato); -} -.tooltip-right .tooltip-arrow-outer { - left: 0; - top: 50%; - margin: -6px 0 0 -13px; -} -.tooltip-right .tooltip-arrow { - left: 0; - top: 50%; - margin: -6px 0 0 -12px; -} -.tooltip-left .tooltip-arrow-outer { - right: 0; - top: 50%; - margin: -6px -13px 0 0; -} -.tooltip-left .tooltip-arrow { - right: 0; - top: 50%; - margin: -6px -12px 0 0; -} -.tooltip-top .tooltip-arrow-outer { - bottom: 0; - left: 50%; - margin: 0 0 -13px -6px; -} -.tooltip-top .tooltip-arrow { - bottom: 0; - left: 50%; - margin: 0 0 -12px -6px; -} -.tooltip-bottom .tooltip-arrow-outer { - top: 0; - left: 50%; - margin: -13px 0 0 -6px; -} -.tooltip-bottom .tooltip-arrow { - top: 0; - left: 50%; - margin: -12px 0 0 -6px; -} -.tooltip { - background-color: #fff; - border-color: #ddd; - color: #444; -} -.tooltip-right .tooltip-arrow-outer { - border-right-color: #ddd; -} -.tooltip-right .tooltip-arrow { - border-right-color: #fff; -} -.tooltip-left .tooltip-arrow-outer { - border-left-color: #ddd; -} -.tooltip-left .tooltip-arrow { - border-left-color: #fff; -} -.tooltip-top .tooltip-arrow-outer { - border-top-color: #ddd; -} -.tooltip-top .tooltip-arrow { - border-top-color: #fff; -} -.tooltip-bottom .tooltip-arrow-outer { - border-bottom-color: #ddd; -} -.tooltip-bottom .tooltip-arrow { - border-bottom-color: #fff; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/tree.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/tree.css deleted file mode 100644 index a2ec6931cac04bff3420aaed5e5d7d7737c2665d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/tree.css +++ /dev/null @@ -1,157 +0,0 @@ -.tree { - margin: 0; - padding: 0; - list-style-type: none; -} -.tree li { - white-space: nowrap; -} -.tree li ul { - list-style-type: none; - margin: 0; - padding: 0; -} -.tree-node { - height: 18px; - white-space: nowrap; - cursor: pointer; -} -.tree-hit { - cursor: pointer; -} -.tree-expanded, -.tree-collapsed, -.tree-folder, -.tree-file, -.tree-checkbox, -.tree-indent { - display: inline-block; - width: 16px; - height: 18px; - vertical-align: top; - overflow: hidden; -} -.tree-expanded { - background: url('images/tree_icons.png') no-repeat -18px 0px; -} -.tree-expanded-hover { - background: url('images/tree_icons.png') no-repeat -50px 0px; -} -.tree-collapsed { - background: url('images/tree_icons.png') no-repeat 0px 0px; -} -.tree-collapsed-hover { - background: url('images/tree_icons.png') no-repeat -32px 0px; -} -.tree-lines .tree-expanded, -.tree-lines .tree-root-first .tree-expanded { - background: url('images/tree_icons.png') no-repeat -144px 0; -} -.tree-lines .tree-collapsed, -.tree-lines .tree-root-first .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -128px 0; -} -.tree-lines .tree-node-last .tree-expanded, -.tree-lines .tree-root-one .tree-expanded { - background: url('images/tree_icons.png') no-repeat -80px 0; -} -.tree-lines .tree-node-last .tree-collapsed, -.tree-lines .tree-root-one .tree-collapsed { - background: url('images/tree_icons.png') no-repeat -64px 0; -} -.tree-line { - background: url('images/tree_icons.png') no-repeat -176px 0; -} -.tree-join { - background: url('images/tree_icons.png') no-repeat -192px 0; -} -.tree-joinbottom { - background: url('images/tree_icons.png') no-repeat -160px 0; -} -.tree-folder { - background: url('images/tree_icons.png') no-repeat -208px 0; -} -.tree-folder-open { - background: url('images/tree_icons.png') no-repeat -224px 0; -} -.tree-file { - background: url('images/tree_icons.png') no-repeat -240px 0; -} -.tree-loading { - background: url('images/loading.gif') no-repeat center center; -} -.tree-checkbox0 { - background: url('images/tree_icons.png') no-repeat -208px -18px; -} -.tree-checkbox1 { - background: url('images/tree_icons.png') no-repeat -224px -18px; -} -.tree-checkbox2 { - background: url('images/tree_icons.png') no-repeat -240px -18px; -} -.tree-title { - font-size: 12px; - display: inline-block; - text-decoration: none; - vertical-align: top; - white-space: nowrap; - padding: 0 2px; - height: 18px; - line-height: 18px; -} -.tree-node-proxy { - font-size: 12px; - line-height: 20px; - padding: 0 2px 0 20px; - border-width: 1px; - border-style: solid; - z-index: 9900000; -} -.tree-dnd-icon { - display: inline-block; - position: absolute; - width: 16px; - height: 18px; - left: 2px; - top: 50%; - margin-top: -9px; -} -.tree-dnd-yes { - background: url('images/tree_icons.png') no-repeat -256px 0; -} -.tree-dnd-no { - background: url('images/tree_icons.png') no-repeat -256px -18px; -} -.tree-node-top { - border-top: 1px dotted red; -} -.tree-node-bottom { - border-bottom: 1px dotted red; -} -.tree-node-append .tree-title { - border: 1px dotted red; -} -.tree-editor { - border: 1px solid #ccc; - font-size: 12px; - height: 14px !important; - height: 18px; - line-height: 14px; - padding: 1px 2px; - width: 80px; - position: absolute; - top: 0; -} -.tree-node-proxy { - background-color: #fff; - color: #444; - border-color: #ddd; -} -.tree-node-hover { - background: #E6E6E6; - color: #444; -} -.tree-node-selected { - background: #CCE6FF; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/validatebox.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/validatebox.css deleted file mode 100644 index 154da75869883470ca80a027ff8a239548e31cf1..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/validatebox.css +++ /dev/null @@ -1,8 +0,0 @@ -.validatebox-invalid { - background-image: url('images/validatebox_warning.png'); - background-repeat: no-repeat; - background-position: right center; - border-color: #ffa8a8; - background-color: #fff3f3; - color: #000; -} diff --git a/src/main/webapp/js/easyui-1.3.5/themes/metro/window.css b/src/main/webapp/js/easyui-1.3.5/themes/metro/window.css deleted file mode 100644 index 6d2f9119645ca69ab4813a0147596120f8983bec..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/easyui-1.3.5/themes/metro/window.css +++ /dev/null @@ -1,81 +0,0 @@ -.window { - overflow: hidden; - padding: 5px; - border-width: 1px; - border-style: solid; -} -.window .window-header { - background: transparent; - padding: 0px 0px 6px 0px; -} -.window .window-body { - border-width: 1px; - border-style: solid; - border-top-width: 0px; -} -.window .window-body-noheader { - border-top-width: 1px; -} -.window .window-header .panel-icon, -.window .window-header .panel-tool { - top: 50%; - margin-top: -11px; -} -.window .window-header .panel-icon { - left: 1px; -} -.window .window-header .panel-tool { - right: 1px; -} -.window .window-header .panel-with-icon { - padding-left: 18px; -} -.window-proxy { - position: absolute; - overflow: hidden; -} -.window-proxy-mask { - position: absolute; - filter: alpha(opacity=5); - opacity: 0.05; -} -.window-mask { - position: absolute; - left: 0; - top: 0; - width: 100%; - height: 100%; - filter: alpha(opacity=40); - opacity: 0.40; - font-size: 1px; - *zoom: 1; - overflow: hidden; -} -.window, -.window-shadow { - position: absolute; - -moz-border-radius: 0px 0px 0px 0px; - -webkit-border-radius: 0px 0px 0px 0px; - border-radius: 0px 0px 0px 0px; -} -.window-shadow { - background: #eee; - -moz-box-shadow: 2px 2px 3px #ededed; - -webkit-box-shadow: 2px 2px 3px #ededed; - box-shadow: 2px 2px 3px #ededed; - filter: progid:DXImageTransform.Microsoft.Blur(pixelRadius=2,MakeShadow=false,ShadowOpacity=0.2); -} -.window, -.window .window-body { - border-color: #ddd; -} -.window { - background-color: #ffffff; -} -.window-proxy { - border: 1px dashed #ddd; -} -.window-proxy-mask, -.window-mask { - background: #eee; -} diff --git a/src/main/webapp/js/fileUploadQT/css/fileUpload.css b/src/main/webapp/js/fileUploadQT/css/fileUpload.css deleted file mode 100644 index b33d4979540c12df606e16ca5fd9f07c4f3de76f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/fileUploadQT/css/fileUpload.css +++ /dev/null @@ -1,130 +0,0 @@ -.fileUploadContent .box{ - border: solid thin #DDDDDD; - min-height: 200px; - min-width: 200px; - margin-top: 0px; -} -.fileUploadContent .fileItem{ - border: solid thin #DDDDDD; - width: 150px; - height: 215px; - display: inline-block; - margin: 10px; - text-align: center; - border-radius: 5px; - vertical-align:top; -} -.fileUploadContent .fileItem .imgShow{ - width: 140px; - height: 140px; - margin: 5px auto; - text-align: center; -} -.fileUploadContent .fileItem .imgShow i{ - font-size: 120px; - position: relative; - top:-30px; - z-index: 2; -} -.fileUploadContent .fileItem .imgShow img{ - width: 100%; - height: 100%; -} -.fileUploadContent .fileItem .imgShow .fileType{ - color: #FFFFFF; - font-size: 20px;; - position: relative; - top:63px; - z-index: 3; - left: -18px; -} -.fileUploadContent .fileItem .progress{ - height: 10px; - width: 100%; -} -.fileUploadContent .fileItem .progress>.progress_inner{ - background-color: #0099FF; - width: 0%; - height: 10px; - border-radius: 10px; -} -.fileUploadContent .fileItem .progress .error{ - background-color: red; -} -.fileUploadContent .fileItem .status{ - font-size: 15px; - text-align: center; -} -.fileUploadContent .fileItem .status i{ - display: block; - float: left; - padding: 2px 5px; - color: red; - margin-left: 3px; - border-radius: 5px;; - font-size: 15px; - cursor: pointer; -} -.fileUploadContent .fileItem .fileName{ - white-space: nowrap; - text-overflow: ellipsis; - -o-text-overflow: ellipsis; - -ms-text-overflow: ellipsis; - overflow: hidden; - clear: both; - padding: 2px 2px; -} -.fileUploadContent .uploadBts { - text-align: left; - height: 40px -} -.fileUploadContent .uploadBts>div{ - float: left; - margin-right: 15px; -} -.fileUploadContent .uploadBts>div .selectFileBt{ - border: none; - background-color: #0099FF; - color: #FFFFFF; - padding: 6px; - font-size: 15px; - border-radius: 5px; - cursor: pointer; -} -.fileUploadContent .uploadBts>div .selectFileBt:hover{ - color: #DDDDDD; -} -.fileUploadContent .uploadBts>div i{ - font-size: 30px; - color: #0099FF; - cursor: pointer; - -} -.fileUploadContent .subberProgress{ - padding: 5px; - display: none; -} -.fileUploadContent .subberProgress .progress{ - border:solid thin #0099FF; - height: 20px; - width: 100%; - border-radius: 20px; - overflow: hidden; -} -.fileUploadContent .subberProgress .progress>div{ - background-color: #0099FF; - width: 0%; - height: 20px; - border-bottom-left-radius: 20px; - border-top-left-radius: 20px; - text-align: center; - color: #FFFFFF; - transition: width 0.5s; - -moz-transition: width 0.5s; /* Firefox 4 */ - -webkit-transition: width 0.5s; /* Safari 和 Chrome */ - -o-transition: width 0.5s; /* Opera */ - transition-timing-function: linear; - -moz-transition-timing-function: linear; - -webkit-transition-timing-function: linear; - -o-transition-timing-function: linear; -} \ No newline at end of file diff --git a/src/main/webapp/js/fileUploadQT/css/iconfont.css b/src/main/webapp/js/fileUploadQT/css/iconfont.css deleted file mode 100644 index 57eba9bac07fddc12ca51209f0f44d0bb73b3142..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/fileUploadQT/css/iconfont.css +++ /dev/null @@ -1,33 +0,0 @@ - -@font-face {font-family: "iconfont"; - src: url('../fonts/iconfont.eot?t=1489192348890'); /* IE9*/ - src: url('../fonts/iconfont.eot?t=1489192348890#iefix') format('embedded-opentype'), /* IE6-IE8 */ - url('../fonts/iconfont.woff?t=1489192348890') format('woff'), /* chrome, firefox */ - url('../fonts/iconfont.ttf?t=1489192348890') format('truetype'), /* chrome, firefox, opera, Safari, Android, iOS 4.2+*/ - url('../fonts/iconfont.svg?t=1489192348890#iconfont') format('svg'); /* iOS 4.1- */ -} - -.iconfont { - font-family:"iconfont" !important; - font-size:16px; - font-style:normal; - -webkit-font-smoothing: antialiased; - -moz-osx-font-smoothing: grayscale; -} - -.icon-shanchu:before { content: "\e636"; } - -.icon-gou:before { content: "\e666"; } - -.icon-wenjian:before { content: "\e634"; } - -.icon-wenjian1:before { content: "\e614"; } - -.icon-qingchu:before { content: "\e60a"; } - -.icon-shangchuan:before { content: "\e6f7"; } - -.icon-cha:before { content: "\e602"; } - -.icon-wenjian2:before { content: "\e615"; } - diff --git a/src/main/webapp/js/fileUploadQT/demo.html b/src/main/webapp/js/fileUploadQT/demo.html deleted file mode 100644 index 5fcac0686efbc82989829e6d89188636d475cc13..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/fileUploadQT/demo.html +++ /dev/null @@ -1,97 +0,0 @@ - - - - - 文件上传 - - - - -
                                - - -
                                - - - - - \ No newline at end of file diff --git a/src/main/webapp/js/fileUploadQT/fonts/iconfont.eot b/src/main/webapp/js/fileUploadQT/fonts/iconfont.eot deleted file mode 100644 index 81f883d5983caeb7ff7482af71762a1cc9980495..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/fileUploadQT/fonts/iconfont.eot and /dev/null differ diff --git a/src/main/webapp/js/fileUploadQT/fonts/iconfont.svg b/src/main/webapp/js/fileUploadQT/fonts/iconfont.svg deleted file mode 100644 index 73be4a3d114d29ec5f6bd8bc155667d72b028b73..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/fileUploadQT/fonts/iconfont.svg +++ /dev/null @@ -1,61 +0,0 @@ - - - - -Created by FontForge 20120731 at Sat Mar 11 08:32:28 2017 - By admin - - - - - - - - - - - - - - - - - - - - diff --git a/src/main/webapp/js/fileUploadQT/fonts/iconfont.ttf b/src/main/webapp/js/fileUploadQT/fonts/iconfont.ttf deleted file mode 100644 index b578c52323ae8e768a82ce6bca334002c0d28229..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/fileUploadQT/fonts/iconfont.ttf and /dev/null differ diff --git a/src/main/webapp/js/fileUploadQT/fonts/iconfont.woff b/src/main/webapp/js/fileUploadQT/fonts/iconfont.woff deleted file mode 100644 index 8b70ad1f30bb6db04d2b2d7ab5d0af1fc21e4907..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/js/fileUploadQT/fonts/iconfont.woff and /dev/null differ diff --git a/src/main/webapp/js/fileUploadQT/js/fileUpload.js b/src/main/webapp/js/fileUploadQT/js/fileUpload.js deleted file mode 100644 index cb8ab6bf110e5380334f7df774f5f8bcd7d9b97e..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/fileUploadQT/js/fileUpload.js +++ /dev/null @@ -1,565 +0,0 @@ -/** - * Created by zxm on 2017/3/10. - */ -$.fn.extend({ - "initUpload":function(opt) { - if (typeof opt != "object") { - alert('参数错误!'); - return; - } - var uploadId = $(this).attr("id"); - if(uploadId==null||uploadId==""){ - alert("要设定一个id!"); - } - $.each(uploadTools.getInitOption(uploadId), function (key, value) { - if (opt[key] == null) { - opt[key] = value; - } - }); - uploadTools.initWithLayout(opt);//初始化布局 - uploadTools.initWithDrag(opt);//初始化拖拽 - uploadTools.initWithSelectFile(opt);//初始化选择文件按钮 - uploadTools.initWithUpload(opt);//初始化上传 - uploadTools.initWithCleanFile(opt); - uploadFileList.initFileList(); - } -}); -/** - * 上传基本工具和操作 - */ -var uploadTools = { - /** - * 基本配置参数 - * @param uploadId - * @returns {{uploadId: *, url: string, autoCommit: string, canDrag: boolean, fileType: string, size: string, ismultiple: boolean, showSummerProgress: boolean}} - */ - "getInitOption":function(uploadId){ - //url test测试需要更改 - var initOption={ - "uploadId":uploadId, - "uploadUrl":"#",//必须,上传地址 - "progressUrl":"#",//可选,获取进去信息的url - "autoCommit":false,//是否自动上传 - "canDrag":true,//是否可以拖动 - "fileType":"*",//文件类型 - "size":"-1",//文件大小限制,单位kB - "ismultiple":true,//是否选择多文件 - "showSummerProgress":true,//显示总进度条 - "filelSavePath":"",//文件上传地址,后台设置的根目录 - "beforeUpload":function(){//在上传前面执行的回调函数 - }, - "onUpload":function(){//在上传之后 - //alert("hellos"); - } - - }; - return initOption; - }, - /** - * 初始化文件上传 - * @param opt - */ - "initWithUpload":function(opt){ - var uploadId = opt.uploadId; - $("#"+uploadId+" .uploadBts .uploadFileBt").on("click",function(){ - uploadEvent.uploadFileEvent(opt); - }); - $("#"+uploadId+" .uploadBts .uploadFileBt i").css("color","#0099FF"); - }, - /** - * 初始化清除文件 - * @param opt - */ - "initWithCleanFile":function(opt){ - - var uploadId = opt.uploadId; - $("#"+uploadId+" .uploadBts .cleanFileBt").on("click",function(){ - uploadEvent.cleanFileEvent(opt); - }); - $("#"+uploadId+" .uploadBts .cleanFileBt i").css("color","#0099FF"); - - }, - /** - * 初始化选择文件按钮 - * @param opt - */ - "initWithSelectFile":function(opt){ - var uploadId = opt.uploadId; - $("#"+uploadId+" .uploadBts .selectFileBt").on("click",function(){ - uploadEvent.selectFileEvent(opt); - }); - }, - /** - * 返回显示文件类型的模板 - * @param isImg 是否式图片:true/false - * @param fileType 文件类型 - * @param fileName 文件名字 - * @param isImgUrl 如果事文件时的文件地址默认为null - */ - "getShowFileType":function(isImg,fileType,fileName,isImgUrl,fileCodeId){ - var showTypeStr="
                                "+fileType+"
                                ";//默认显示类型 - if(isImg){ - if(isImgUrl!=null&&isImgUrl!="null"&&isImgUrl!=""){//图片显示类型 - showTypeStr = ""; - } - } - var modelStr=""; - modelStr+="
                                "; - modelStr+="
                                "; - modelStr+=showTypeStr; - modelStr+="
                                "; - modelStr+="
                                "; - modelStr+="
                                "; - modelStr+="
                                "; - modelStr+="
                                "; - modelStr+=""; - modelStr+="
                                "; - modelStr+="
                                "; - modelStr+=fileName; - modelStr+="
                                "; - modelStr+="
                                "; - return modelStr; - }, - /** - * 初始化布局 - * @param opt 参数对象 - */ - "initWithLayout":function(opt){ - var uploadId = opt.uploadId; - //选择文件和上传按钮模板 - var btsStr = ""; - btsStr += "
                                "; - btsStr += "
                                "; - btsStr += "
                                选择文件
                                "; - btsStr += "
                                "; - btsStr += "
                                "; - btsStr += ""; - btsStr += "
                                "; - btsStr += "
                                "; - btsStr += ""; - btsStr += "
                                "; - btsStr += "
                                "; - $("#"+uploadId).append(btsStr); - //添加总进度条 - if(opt.showSummerProgress){ - var summerProgressStr = "
                                "; - summerProgressStr += "
                                "; - summerProgressStr += "
                                0%
                                "; - summerProgressStr += "
                                "; - summerProgressStr += "
                                "; - $("#"+uploadId).append(summerProgressStr); - } - //添加文件显示框 - var boxStr = "
                                "; - $("#"+uploadId).append(boxStr); - }, - /** - * 初始化拖拽事件 - * @param opt 参数对象 - */ - "initWithDrag":function(opt){ - var canDrag = opt.canDrag; - var uploadId = opt.uploadId; - if(canDrag){ - $(document).on({ - dragleave:function(e){//拖离  - e.preventDefault(); - }, - drop:function(e){//拖后放  - e.preventDefault(); - }, - dragenter:function(e){//拖进  - e.preventDefault(); - }, - dragover:function(e){//拖来拖去  - e.preventDefault(); - } - }); - var box = $("#"+uploadId+" .box").get(0); - if(box!=null){ - //验证图片格式,大小,是否存在 - box.addEventListener("drop",function(e) { - uploadEvent.dragListingEvent(e,opt); - }); - } - } - }, - /** - * 删除文件 - * @param opt - */ - "initWithDeleteFile":function(opt){ - var uploadId = opt.uploadId; - $("#"+uploadId+" .fileItem .status i").on("click",function(){ - uploadEvent.deleteFileEvent(opt,this); - }) - }, - /** - * 获取文件名后缀 - * @param fileName 文件名全名 - * */ - "getSuffixNameByFileName":function(fileName){ - var str = fileName; - var pos = str.lastIndexOf(".")+1; - var lastname = str.substring(pos,str.length); - return lastname; - }, - /** - * 判断某个值是否在这个数组内 - * */ - "isInArray":function(strFound,arrays){ - var ishave = false; - for(var i=0;iopt.maxFileNumber){ - alert("最多只能上传"+opt.maxFileNumber+"个文件"); - return; - } - var imgtest=/image\/(\w)*/;//图片文件测试 - var fileTypeArray = opt.fileType;//文件类型集合 - var fileSizeLimit = opt.size;//文件大小限制 - for(var i=0;i(fileSizeLimit*1000)){ - alert("文件("+fileList[i].name+")超出了大小限制!请控制在"+fileSizeLimit+"KB内"); - continue; - } - //文件类型判断 - if(fileTypeArray=="*"||uploadTools.isInArray(fileTypeStr,fileTypeArray)){ - var fileTypeUpcaseStr = fileTypeStr.toUpperCase(); - if(imgtest.test(fileList[i].type)){ - //var imgUrlStr = window.webkitURL.createObjectURL(fileList[i]);//获取文件路径 - var imgUrlStr ="";//获取文件路径 - if (window.createObjectURL != undefined) { // basic - imgUrlStr = window.createObjectURL(fileList[i]); - } else if (window.URL != undefined) { // mozilla(firefox) - imgUrlStr = window.URL.createObjectURL(fileList[i]); - } else if (window.webkitURL != undefined) { // webkit or chrome - imgUrlStr = window.webkitURL.createObjectURL(fileList[i]); - } - var fileModel = uploadTools.getShowFileType(true,fileTypeUpcaseStr,fileList[i].name,imgUrlStr,fileListArray.length); - $(boxJsObj).append(fileModel); - }else{ - var fileModel = uploadTools.getShowFileType(true,fileTypeUpcaseStr,fileList[i].name,null,fileListArray.length); - $(boxJsObj).append(fileModel); - } - uploadTools.initWithDeleteFile(opt); - fileListArray[fileListArray.length] = fileList[i]; - }else{ - alert("不支持该格式文件上传:"+fileList[i].name); - } - } - uploadFileList.setFileList(fileListArray); - - }, - /** - * 清除选择文件的input - * */ - "cleanFilInputWithSelectFile":function(opt){ - var uploadId = opt.uploadId; - $("#"+uploadId+"_file").remove(); - }, - /** - * 根据制定信息显示 - */ - "showUploadProgress":function(opt,bytesRead,percent){ - - var uploadId = opt.uploadId; - var fileListArray = uploadFileList.getFileList(); - if(opt.showSummerProgress){ - var progressBar = $("#"+uploadId+" .subberProgress .progress>div"); - progressBar.css("width",percent+"%"); - progressBar.html(percent+"%"); - } - for(var i=0;idiv").addClass("error"); - $("#"+uploadId+" .box .fileItem[fileCodeId='"+i+"'] .progress>div").css("width","100%"); - $("#"+uploadId+" .box .fileItem[fileCodeId='"+i+"'] .status>i").addClass("iconfont icon-cha"); - bytesRead = bytesRead-fileListArray[i].size; - }else{ - $("#"+uploadId+" .box .fileItem[fileCodeId='"+i+"'] .progress>div").css("width",(bytesRead/fileListArray[i].size*100)+"%"); - break; - } - }else if(testbytesRead>=0){ - - $("#"+uploadId+" .box .fileItem[fileCodeId='"+i+"'] .status>i").addClass("iconfont icon-gou"); - $("#"+uploadId+" .box .fileItem[fileCodeId='"+i+"'] .progress>div").css("width","100%"); - bytesRead = bytesRead-fileListArray[i].size; - } - } - }, - /** - * 上传文件失败集体显示 - * @param opt - */ - "uploadError":function(opt){ - var uploadId = opt.uploadId; - $("#"+uploadId+" .box .fileItem .progress>div").addClass("error"); - $("#"+uploadId+" .box .fileItem .progress>div").css("width","100%"); - $("#"+uploadId+" .box .fileItem .status>i").addClass("iconfont icon-cha"); - var progressBar = $("#"+uploadId+" .subberProgress .progress>div"); - progressBar.css("width","0%"); - progressBar.html("0%"); - }, - /** - * 上传文件 - */ - "uploadFile":function(opt){ - var uploadUrl = opt.uploadUrl; - var fileList = uploadFileList.getFileList(); - - var formData = new FormData(); - var fileNumber = uploadTools.getFileNumber(opt); - if(fileNumber<=0){ - alert("没有文件,不支持上传"); - return; - } - - for(var i=0;ii").removeClass(); - if(progressUrl!="#"&&progressUrl!="") { - var intervalId = setInterval(function(){ - $.get(progressUrl,{},function(data,status){ - console.log(data); - var percent = data.percent; - var bytesRead = data.bytesRead; - if(percent >= 100){ - clearInterval(intervalId); - percent = 100;//不能大于100 - uploadTools.initWithCleanFile(opt); - } - uploadTools.showUploadProgress(opt, bytesRead, percent); - },"json"); - },500); - }else{ - var percent = 0; - var bytesRead = 0; - var intervalId = setInterval(function(){ - percent+=5; - bytesRead+=50000; - if(percent >= 100){ - clearInterval(intervalId); - percent = 100;//不能大于100 - uploadTools.initWithCleanFile(opt); - } - uploadTools.showUploadProgress(opt, bytesRead, percent); - },500); - } - }, - /** - * 禁用文件上传 - */ - "disableFileUpload":function(opt){ - var uploadId = opt.uploadId; - $("#"+uploadId+" .uploadBts .uploadFileBt").off(); - $("#"+uploadId+" .uploadBts .uploadFileBt i").css("color","#DDDDDD"); - - }, - /** - * 禁用文件清除 - */ - "disableCleanFile":function(opt){ - var uploadId = opt.uploadId; - $("#"+uploadId+" .uploadBts .cleanFileBt").off(); - $("#"+uploadId+" .uploadBts .cleanFileBt i").css("color","#DDDDDD"); - }, - /** - * 获取文件个数 - * @param opt - */ - "getFileNumber":function(opt){ - var number = 0; - var fileList = uploadFileList.getFileList(); - for(var i=0;idiv").css("width","0%"); - $("#"+uploadId+" .subberProgress .progress>div").html("0%"); - } - uploadTools.cleanFilInputWithSelectFile(opt); - uploadFileList.setFileList([]); - $("#"+uploadId+" .box").html(""); - uploadTools.initWithUpload(opt);//初始化上传 - } -} - -var uploadFileList={ - "fileList":[], - "initFileList":function(){ - uploadFileList.fileList = new Array(); - }, - "getFileList":function(){ - return uploadFileList.fileList; - }, - "setFileList":function(fileList){ - uploadFileList.fileList = fileList; - } -} diff --git a/src/main/webapp/js/fileUploadQT/js/iconfont.js b/src/main/webapp/js/fileUploadQT/js/iconfont.js deleted file mode 100644 index 336eafabb46a8f17723b97d355d7f43c77487c7f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/fileUploadQT/js/iconfont.js +++ /dev/null @@ -1,168 +0,0 @@ -;(function(window) { - - var svgSprite = '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' + - '' - var script = function() { - var scripts = document.getElementsByTagName('script') - return scripts[scripts.length - 1] - }() - var shouldInjectCss = script.getAttribute("data-injectcss") - - /** - * document ready - */ - var ready = function(fn) { - if (document.addEventListener) { - if (~["complete", "loaded", "interactive"].indexOf(document.readyState)) { - setTimeout(fn, 0) - } else { - var loadFn = function() { - document.removeEventListener("DOMContentLoaded", loadFn, false) - fn() - } - document.addEventListener("DOMContentLoaded", loadFn, false) - } - } else if (document.attachEvent) { - IEContentLoaded(window, fn) - } - - function IEContentLoaded(w, fn) { - var d = w.document, - done = false, - // only fire once - init = function() { - if (!done) { - done = true - fn() - } - } - // polling for no errors - var polling = function() { - try { - // throws errors until after ondocumentready - d.documentElement.doScroll('left') - } catch (e) { - setTimeout(polling, 50) - return - } - // no errors, fire - - init() - }; - - polling() - // trying to always fire before onload - d.onreadystatechange = function() { - if (d.readyState == 'complete') { - d.onreadystatechange = null - init() - } - } - } - } - - /** - * Insert el before target - * - * @param {Element} el - * @param {Element} target - */ - - var before = function(el, target) { - target.parentNode.insertBefore(el, target) - } - - /** - * Prepend el to target - * - * @param {Element} el - * @param {Element} target - */ - - var prepend = function(el, target) { - if (target.firstChild) { - before(el, target.firstChild) - } else { - target.appendChild(el) - } - } - - function appendSvg() { - var div, svg - - div = document.createElement('div') - div.innerHTML = svgSprite - svgSprite = null - svg = div.getElementsByTagName('svg')[0] - if (svg) { - svg.setAttribute('aria-hidden', 'true') - svg.style.position = 'absolute' - svg.style.width = 0 - svg.style.height = 0 - svg.style.overflow = 'hidden' - prepend(svg, document.body) - } - } - - if (shouldInjectCss && !window.__iconfont__svg__cssinject__) { - window.__iconfont__svg__cssinject__ = true - try { - document.write(""); - } catch (e) { - console && console.log(e) - } - } - - ready(appendSvg) - - -})(window) \ No newline at end of file diff --git a/src/main/webapp/js/fileUploadQT/js/jquery-2.1.3.min.js b/src/main/webapp/js/fileUploadQT/js/jquery-2.1.3.min.js deleted file mode 100644 index 25714ed29ab6fcf0355da4b45ac602fac0154efb..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/fileUploadQT/js/jquery-2.1.3.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v2.1.3 | (c) 2005, 2014 jQuery Foundation, Inc. | jquery.org/license */ -!function(a,b){"object"==typeof module&&"object"==typeof module.exports?module.exports=a.document?b(a,!0):function(a){if(!a.document)throw new Error("jQuery requires a window with a document");return b(a)}:b(a)}("undefined"!=typeof window?window:this,function(a,b){var c=[],d=c.slice,e=c.concat,f=c.push,g=c.indexOf,h={},i=h.toString,j=h.hasOwnProperty,k={},l=a.document,m="2.1.3",n=function(a,b){return new n.fn.init(a,b)},o=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,p=/^-ms-/,q=/-([\da-z])/gi,r=function(a,b){return b.toUpperCase()};n.fn=n.prototype={jquery:m,constructor:n,selector:"",length:0,toArray:function(){return d.call(this)},get:function(a){return null!=a?0>a?this[a+this.length]:this[a]:d.call(this)},pushStack:function(a){var b=n.merge(this.constructor(),a);return b.prevObject=this,b.context=this.context,b},each:function(a,b){return n.each(this,a,b)},map:function(a){return this.pushStack(n.map(this,function(b,c){return a.call(b,c,b)}))},slice:function(){return this.pushStack(d.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(a){var b=this.length,c=+a+(0>a?b:0);return this.pushStack(c>=0&&b>c?[this[c]]:[])},end:function(){return this.prevObject||this.constructor(null)},push:f,sort:c.sort,splice:c.splice},n.extend=n.fn.extend=function(){var a,b,c,d,e,f,g=arguments[0]||{},h=1,i=arguments.length,j=!1;for("boolean"==typeof g&&(j=g,g=arguments[h]||{},h++),"object"==typeof g||n.isFunction(g)||(g={}),h===i&&(g=this,h--);i>h;h++)if(null!=(a=arguments[h]))for(b in a)c=g[b],d=a[b],g!==d&&(j&&d&&(n.isPlainObject(d)||(e=n.isArray(d)))?(e?(e=!1,f=c&&n.isArray(c)?c:[]):f=c&&n.isPlainObject(c)?c:{},g[b]=n.extend(j,f,d)):void 0!==d&&(g[b]=d));return g},n.extend({expando:"jQuery"+(m+Math.random()).replace(/\D/g,""),isReady:!0,error:function(a){throw new Error(a)},noop:function(){},isFunction:function(a){return"function"===n.type(a)},isArray:Array.isArray,isWindow:function(a){return null!=a&&a===a.window},isNumeric:function(a){return!n.isArray(a)&&a-parseFloat(a)+1>=0},isPlainObject:function(a){return"object"!==n.type(a)||a.nodeType||n.isWindow(a)?!1:a.constructor&&!j.call(a.constructor.prototype,"isPrototypeOf")?!1:!0},isEmptyObject:function(a){var b;for(b in a)return!1;return!0},type:function(a){return null==a?a+"":"object"==typeof a||"function"==typeof a?h[i.call(a)]||"object":typeof a},globalEval:function(a){var b,c=eval;a=n.trim(a),a&&(1===a.indexOf("use strict")?(b=l.createElement("script"),b.text=a,l.head.appendChild(b).parentNode.removeChild(b)):c(a))},camelCase:function(a){return a.replace(p,"ms-").replace(q,r)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toLowerCase()===b.toLowerCase()},each:function(a,b,c){var d,e=0,f=a.length,g=s(a);if(c){if(g){for(;f>e;e++)if(d=b.apply(a[e],c),d===!1)break}else for(e in a)if(d=b.apply(a[e],c),d===!1)break}else if(g){for(;f>e;e++)if(d=b.call(a[e],e,a[e]),d===!1)break}else for(e in a)if(d=b.call(a[e],e,a[e]),d===!1)break;return a},trim:function(a){return null==a?"":(a+"").replace(o,"")},makeArray:function(a,b){var c=b||[];return null!=a&&(s(Object(a))?n.merge(c,"string"==typeof a?[a]:a):f.call(c,a)),c},inArray:function(a,b,c){return null==b?-1:g.call(b,a,c)},merge:function(a,b){for(var c=+b.length,d=0,e=a.length;c>d;d++)a[e++]=b[d];return a.length=e,a},grep:function(a,b,c){for(var d,e=[],f=0,g=a.length,h=!c;g>f;f++)d=!b(a[f],f),d!==h&&e.push(a[f]);return e},map:function(a,b,c){var d,f=0,g=a.length,h=s(a),i=[];if(h)for(;g>f;f++)d=b(a[f],f,c),null!=d&&i.push(d);else for(f in a)d=b(a[f],f,c),null!=d&&i.push(d);return e.apply([],i)},guid:1,proxy:function(a,b){var c,e,f;return"string"==typeof b&&(c=a[b],b=a,a=c),n.isFunction(a)?(e=d.call(arguments,2),f=function(){return a.apply(b||this,e.concat(d.call(arguments)))},f.guid=a.guid=a.guid||n.guid++,f):void 0},now:Date.now,support:k}),n.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(a,b){h["[object "+b+"]"]=b.toLowerCase()});function s(a){var b=a.length,c=n.type(a);return"function"===c||n.isWindow(a)?!1:1===a.nodeType&&b?!0:"array"===c||0===b||"number"==typeof b&&b>0&&b-1 in a}var t=function(a){var b,c,d,e,f,g,h,i,j,k,l,m,n,o,p,q,r,s,t,u="sizzle"+1*new Date,v=a.document,w=0,x=0,y=hb(),z=hb(),A=hb(),B=function(a,b){return a===b&&(l=!0),0},C=1<<31,D={}.hasOwnProperty,E=[],F=E.pop,G=E.push,H=E.push,I=E.slice,J=function(a,b){for(var c=0,d=a.length;d>c;c++)if(a[c]===b)return c;return-1},K="checked|selected|async|autofocus|autoplay|controls|defer|disabled|hidden|ismap|loop|multiple|open|readonly|required|scoped",L="[\\x20\\t\\r\\n\\f]",M="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",N=M.replace("w","w#"),O="\\["+L+"*("+M+")(?:"+L+"*([*^$|!~]?=)"+L+"*(?:'((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\"|("+N+"))|)"+L+"*\\]",P=":("+M+")(?:\\((('((?:\\\\.|[^\\\\'])*)'|\"((?:\\\\.|[^\\\\\"])*)\")|((?:\\\\.|[^\\\\()[\\]]|"+O+")*)|.*)\\)|)",Q=new RegExp(L+"+","g"),R=new RegExp("^"+L+"+|((?:^|[^\\\\])(?:\\\\.)*)"+L+"+$","g"),S=new RegExp("^"+L+"*,"+L+"*"),T=new RegExp("^"+L+"*([>+~]|"+L+")"+L+"*"),U=new RegExp("="+L+"*([^\\]'\"]*?)"+L+"*\\]","g"),V=new RegExp(P),W=new RegExp("^"+N+"$"),X={ID:new RegExp("^#("+M+")"),CLASS:new RegExp("^\\.("+M+")"),TAG:new RegExp("^("+M.replace("w","w*")+")"),ATTR:new RegExp("^"+O),PSEUDO:new RegExp("^"+P),CHILD:new RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+L+"*(even|odd|(([+-]|)(\\d*)n|)"+L+"*(?:([+-]|)"+L+"*(\\d+)|))"+L+"*\\)|)","i"),bool:new RegExp("^(?:"+K+")$","i"),needsContext:new RegExp("^"+L+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+L+"*((?:-\\d)?\\d*)"+L+"*\\)|)(?=[^-]|$)","i")},Y=/^(?:input|select|textarea|button)$/i,Z=/^h\d$/i,$=/^[^{]+\{\s*\[native \w/,_=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,ab=/[+~]/,bb=/'|\\/g,cb=new RegExp("\\\\([\\da-f]{1,6}"+L+"?|("+L+")|.)","ig"),db=function(a,b,c){var d="0x"+b-65536;return d!==d||c?b:0>d?String.fromCharCode(d+65536):String.fromCharCode(d>>10|55296,1023&d|56320)},eb=function(){m()};try{H.apply(E=I.call(v.childNodes),v.childNodes),E[v.childNodes.length].nodeType}catch(fb){H={apply:E.length?function(a,b){G.apply(a,I.call(b))}:function(a,b){var c=a.length,d=0;while(a[c++]=b[d++]);a.length=c-1}}}function gb(a,b,d,e){var f,h,j,k,l,o,r,s,w,x;if((b?b.ownerDocument||b:v)!==n&&m(b),b=b||n,d=d||[],k=b.nodeType,"string"!=typeof a||!a||1!==k&&9!==k&&11!==k)return d;if(!e&&p){if(11!==k&&(f=_.exec(a)))if(j=f[1]){if(9===k){if(h=b.getElementById(j),!h||!h.parentNode)return d;if(h.id===j)return d.push(h),d}else if(b.ownerDocument&&(h=b.ownerDocument.getElementById(j))&&t(b,h)&&h.id===j)return d.push(h),d}else{if(f[2])return H.apply(d,b.getElementsByTagName(a)),d;if((j=f[3])&&c.getElementsByClassName)return H.apply(d,b.getElementsByClassName(j)),d}if(c.qsa&&(!q||!q.test(a))){if(s=r=u,w=b,x=1!==k&&a,1===k&&"object"!==b.nodeName.toLowerCase()){o=g(a),(r=b.getAttribute("id"))?s=r.replace(bb,"\\$&"):b.setAttribute("id",s),s="[id='"+s+"'] ",l=o.length;while(l--)o[l]=s+rb(o[l]);w=ab.test(a)&&pb(b.parentNode)||b,x=o.join(",")}if(x)try{return H.apply(d,w.querySelectorAll(x)),d}catch(y){}finally{r||b.removeAttribute("id")}}}return i(a.replace(R,"$1"),b,d,e)}function hb(){var a=[];function b(c,e){return a.push(c+" ")>d.cacheLength&&delete b[a.shift()],b[c+" "]=e}return b}function ib(a){return a[u]=!0,a}function jb(a){var b=n.createElement("div");try{return!!a(b)}catch(c){return!1}finally{b.parentNode&&b.parentNode.removeChild(b),b=null}}function kb(a,b){var c=a.split("|"),e=a.length;while(e--)d.attrHandle[c[e]]=b}function lb(a,b){var c=b&&a,d=c&&1===a.nodeType&&1===b.nodeType&&(~b.sourceIndex||C)-(~a.sourceIndex||C);if(d)return d;if(c)while(c=c.nextSibling)if(c===b)return-1;return a?1:-1}function mb(a){return function(b){var c=b.nodeName.toLowerCase();return"input"===c&&b.type===a}}function nb(a){return function(b){var c=b.nodeName.toLowerCase();return("input"===c||"button"===c)&&b.type===a}}function ob(a){return ib(function(b){return b=+b,ib(function(c,d){var e,f=a([],c.length,b),g=f.length;while(g--)c[e=f[g]]&&(c[e]=!(d[e]=c[e]))})})}function pb(a){return a&&"undefined"!=typeof a.getElementsByTagName&&a}c=gb.support={},f=gb.isXML=function(a){var b=a&&(a.ownerDocument||a).documentElement;return b?"HTML"!==b.nodeName:!1},m=gb.setDocument=function(a){var b,e,g=a?a.ownerDocument||a:v;return g!==n&&9===g.nodeType&&g.documentElement?(n=g,o=g.documentElement,e=g.defaultView,e&&e!==e.top&&(e.addEventListener?e.addEventListener("unload",eb,!1):e.attachEvent&&e.attachEvent("onunload",eb)),p=!f(g),c.attributes=jb(function(a){return a.className="i",!a.getAttribute("className")}),c.getElementsByTagName=jb(function(a){return a.appendChild(g.createComment("")),!a.getElementsByTagName("*").length}),c.getElementsByClassName=$.test(g.getElementsByClassName),c.getById=jb(function(a){return o.appendChild(a).id=u,!g.getElementsByName||!g.getElementsByName(u).length}),c.getById?(d.find.ID=function(a,b){if("undefined"!=typeof b.getElementById&&p){var c=b.getElementById(a);return c&&c.parentNode?[c]:[]}},d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){return a.getAttribute("id")===b}}):(delete d.find.ID,d.filter.ID=function(a){var b=a.replace(cb,db);return function(a){var c="undefined"!=typeof a.getAttributeNode&&a.getAttributeNode("id");return c&&c.value===b}}),d.find.TAG=c.getElementsByTagName?function(a,b){return"undefined"!=typeof b.getElementsByTagName?b.getElementsByTagName(a):c.qsa?b.querySelectorAll(a):void 0}:function(a,b){var c,d=[],e=0,f=b.getElementsByTagName(a);if("*"===a){while(c=f[e++])1===c.nodeType&&d.push(c);return d}return f},d.find.CLASS=c.getElementsByClassName&&function(a,b){return p?b.getElementsByClassName(a):void 0},r=[],q=[],(c.qsa=$.test(g.querySelectorAll))&&(jb(function(a){o.appendChild(a).innerHTML="",a.querySelectorAll("[msallowcapture^='']").length&&q.push("[*^$]="+L+"*(?:''|\"\")"),a.querySelectorAll("[selected]").length||q.push("\\["+L+"*(?:value|"+K+")"),a.querySelectorAll("[id~="+u+"-]").length||q.push("~="),a.querySelectorAll(":checked").length||q.push(":checked"),a.querySelectorAll("a#"+u+"+*").length||q.push(".#.+[+~]")}),jb(function(a){var b=g.createElement("input");b.setAttribute("type","hidden"),a.appendChild(b).setAttribute("name","D"),a.querySelectorAll("[name=d]").length&&q.push("name"+L+"*[*^$|!~]?="),a.querySelectorAll(":enabled").length||q.push(":enabled",":disabled"),a.querySelectorAll("*,:x"),q.push(",.*:")})),(c.matchesSelector=$.test(s=o.matches||o.webkitMatchesSelector||o.mozMatchesSelector||o.oMatchesSelector||o.msMatchesSelector))&&jb(function(a){c.disconnectedMatch=s.call(a,"div"),s.call(a,"[s!='']:x"),r.push("!=",P)}),q=q.length&&new RegExp(q.join("|")),r=r.length&&new RegExp(r.join("|")),b=$.test(o.compareDocumentPosition),t=b||$.test(o.contains)?function(a,b){var c=9===a.nodeType?a.documentElement:a,d=b&&b.parentNode;return a===d||!(!d||1!==d.nodeType||!(c.contains?c.contains(d):a.compareDocumentPosition&&16&a.compareDocumentPosition(d)))}:function(a,b){if(b)while(b=b.parentNode)if(b===a)return!0;return!1},B=b?function(a,b){if(a===b)return l=!0,0;var d=!a.compareDocumentPosition-!b.compareDocumentPosition;return d?d:(d=(a.ownerDocument||a)===(b.ownerDocument||b)?a.compareDocumentPosition(b):1,1&d||!c.sortDetached&&b.compareDocumentPosition(a)===d?a===g||a.ownerDocument===v&&t(v,a)?-1:b===g||b.ownerDocument===v&&t(v,b)?1:k?J(k,a)-J(k,b):0:4&d?-1:1)}:function(a,b){if(a===b)return l=!0,0;var c,d=0,e=a.parentNode,f=b.parentNode,h=[a],i=[b];if(!e||!f)return a===g?-1:b===g?1:e?-1:f?1:k?J(k,a)-J(k,b):0;if(e===f)return lb(a,b);c=a;while(c=c.parentNode)h.unshift(c);c=b;while(c=c.parentNode)i.unshift(c);while(h[d]===i[d])d++;return d?lb(h[d],i[d]):h[d]===v?-1:i[d]===v?1:0},g):n},gb.matches=function(a,b){return gb(a,null,null,b)},gb.matchesSelector=function(a,b){if((a.ownerDocument||a)!==n&&m(a),b=b.replace(U,"='$1']"),!(!c.matchesSelector||!p||r&&r.test(b)||q&&q.test(b)))try{var d=s.call(a,b);if(d||c.disconnectedMatch||a.document&&11!==a.document.nodeType)return d}catch(e){}return gb(b,n,null,[a]).length>0},gb.contains=function(a,b){return(a.ownerDocument||a)!==n&&m(a),t(a,b)},gb.attr=function(a,b){(a.ownerDocument||a)!==n&&m(a);var e=d.attrHandle[b.toLowerCase()],f=e&&D.call(d.attrHandle,b.toLowerCase())?e(a,b,!p):void 0;return void 0!==f?f:c.attributes||!p?a.getAttribute(b):(f=a.getAttributeNode(b))&&f.specified?f.value:null},gb.error=function(a){throw new Error("Syntax error, unrecognized expression: "+a)},gb.uniqueSort=function(a){var b,d=[],e=0,f=0;if(l=!c.detectDuplicates,k=!c.sortStable&&a.slice(0),a.sort(B),l){while(b=a[f++])b===a[f]&&(e=d.push(f));while(e--)a.splice(d[e],1)}return k=null,a},e=gb.getText=function(a){var b,c="",d=0,f=a.nodeType;if(f){if(1===f||9===f||11===f){if("string"==typeof a.textContent)return a.textContent;for(a=a.firstChild;a;a=a.nextSibling)c+=e(a)}else if(3===f||4===f)return a.nodeValue}else while(b=a[d++])c+=e(b);return c},d=gb.selectors={cacheLength:50,createPseudo:ib,match:X,attrHandle:{},find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(a){return a[1]=a[1].replace(cb,db),a[3]=(a[3]||a[4]||a[5]||"").replace(cb,db),"~="===a[2]&&(a[3]=" "+a[3]+" "),a.slice(0,4)},CHILD:function(a){return a[1]=a[1].toLowerCase(),"nth"===a[1].slice(0,3)?(a[3]||gb.error(a[0]),a[4]=+(a[4]?a[5]+(a[6]||1):2*("even"===a[3]||"odd"===a[3])),a[5]=+(a[7]+a[8]||"odd"===a[3])):a[3]&&gb.error(a[0]),a},PSEUDO:function(a){var b,c=!a[6]&&a[2];return X.CHILD.test(a[0])?null:(a[3]?a[2]=a[4]||a[5]||"":c&&V.test(c)&&(b=g(c,!0))&&(b=c.indexOf(")",c.length-b)-c.length)&&(a[0]=a[0].slice(0,b),a[2]=c.slice(0,b)),a.slice(0,3))}},filter:{TAG:function(a){var b=a.replace(cb,db).toLowerCase();return"*"===a?function(){return!0}:function(a){return a.nodeName&&a.nodeName.toLowerCase()===b}},CLASS:function(a){var b=y[a+" "];return b||(b=new RegExp("(^|"+L+")"+a+"("+L+"|$)"))&&y(a,function(a){return b.test("string"==typeof a.className&&a.className||"undefined"!=typeof a.getAttribute&&a.getAttribute("class")||"")})},ATTR:function(a,b,c){return function(d){var e=gb.attr(d,a);return null==e?"!="===b:b?(e+="","="===b?e===c:"!="===b?e!==c:"^="===b?c&&0===e.indexOf(c):"*="===b?c&&e.indexOf(c)>-1:"$="===b?c&&e.slice(-c.length)===c:"~="===b?(" "+e.replace(Q," ")+" ").indexOf(c)>-1:"|="===b?e===c||e.slice(0,c.length+1)===c+"-":!1):!0}},CHILD:function(a,b,c,d,e){var f="nth"!==a.slice(0,3),g="last"!==a.slice(-4),h="of-type"===b;return 1===d&&0===e?function(a){return!!a.parentNode}:function(b,c,i){var j,k,l,m,n,o,p=f!==g?"nextSibling":"previousSibling",q=b.parentNode,r=h&&b.nodeName.toLowerCase(),s=!i&&!h;if(q){if(f){while(p){l=b;while(l=l[p])if(h?l.nodeName.toLowerCase()===r:1===l.nodeType)return!1;o=p="only"===a&&!o&&"nextSibling"}return!0}if(o=[g?q.firstChild:q.lastChild],g&&s){k=q[u]||(q[u]={}),j=k[a]||[],n=j[0]===w&&j[1],m=j[0]===w&&j[2],l=n&&q.childNodes[n];while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if(1===l.nodeType&&++m&&l===b){k[a]=[w,n,m];break}}else if(s&&(j=(b[u]||(b[u]={}))[a])&&j[0]===w)m=j[1];else while(l=++n&&l&&l[p]||(m=n=0)||o.pop())if((h?l.nodeName.toLowerCase()===r:1===l.nodeType)&&++m&&(s&&((l[u]||(l[u]={}))[a]=[w,m]),l===b))break;return m-=e,m===d||m%d===0&&m/d>=0}}},PSEUDO:function(a,b){var c,e=d.pseudos[a]||d.setFilters[a.toLowerCase()]||gb.error("unsupported pseudo: "+a);return e[u]?e(b):e.length>1?(c=[a,a,"",b],d.setFilters.hasOwnProperty(a.toLowerCase())?ib(function(a,c){var d,f=e(a,b),g=f.length;while(g--)d=J(a,f[g]),a[d]=!(c[d]=f[g])}):function(a){return e(a,0,c)}):e}},pseudos:{not:ib(function(a){var b=[],c=[],d=h(a.replace(R,"$1"));return d[u]?ib(function(a,b,c,e){var f,g=d(a,null,e,[]),h=a.length;while(h--)(f=g[h])&&(a[h]=!(b[h]=f))}):function(a,e,f){return b[0]=a,d(b,null,f,c),b[0]=null,!c.pop()}}),has:ib(function(a){return function(b){return gb(a,b).length>0}}),contains:ib(function(a){return a=a.replace(cb,db),function(b){return(b.textContent||b.innerText||e(b)).indexOf(a)>-1}}),lang:ib(function(a){return W.test(a||"")||gb.error("unsupported lang: "+a),a=a.replace(cb,db).toLowerCase(),function(b){var c;do if(c=p?b.lang:b.getAttribute("xml:lang")||b.getAttribute("lang"))return c=c.toLowerCase(),c===a||0===c.indexOf(a+"-");while((b=b.parentNode)&&1===b.nodeType);return!1}}),target:function(b){var c=a.location&&a.location.hash;return c&&c.slice(1)===b.id},root:function(a){return a===o},focus:function(a){return a===n.activeElement&&(!n.hasFocus||n.hasFocus())&&!!(a.type||a.href||~a.tabIndex)},enabled:function(a){return a.disabled===!1},disabled:function(a){return a.disabled===!0},checked:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&!!a.checked||"option"===b&&!!a.selected},selected:function(a){return a.parentNode&&a.parentNode.selectedIndex,a.selected===!0},empty:function(a){for(a=a.firstChild;a;a=a.nextSibling)if(a.nodeType<6)return!1;return!0},parent:function(a){return!d.pseudos.empty(a)},header:function(a){return Z.test(a.nodeName)},input:function(a){return Y.test(a.nodeName)},button:function(a){var b=a.nodeName.toLowerCase();return"input"===b&&"button"===a.type||"button"===b},text:function(a){var b;return"input"===a.nodeName.toLowerCase()&&"text"===a.type&&(null==(b=a.getAttribute("type"))||"text"===b.toLowerCase())},first:ob(function(){return[0]}),last:ob(function(a,b){return[b-1]}),eq:ob(function(a,b,c){return[0>c?c+b:c]}),even:ob(function(a,b){for(var c=0;b>c;c+=2)a.push(c);return a}),odd:ob(function(a,b){for(var c=1;b>c;c+=2)a.push(c);return a}),lt:ob(function(a,b,c){for(var d=0>c?c+b:c;--d>=0;)a.push(d);return a}),gt:ob(function(a,b,c){for(var d=0>c?c+b:c;++db;b++)d+=a[b].value;return d}function sb(a,b,c){var d=b.dir,e=c&&"parentNode"===d,f=x++;return b.first?function(b,c,f){while(b=b[d])if(1===b.nodeType||e)return a(b,c,f)}:function(b,c,g){var h,i,j=[w,f];if(g){while(b=b[d])if((1===b.nodeType||e)&&a(b,c,g))return!0}else while(b=b[d])if(1===b.nodeType||e){if(i=b[u]||(b[u]={}),(h=i[d])&&h[0]===w&&h[1]===f)return j[2]=h[2];if(i[d]=j,j[2]=a(b,c,g))return!0}}}function tb(a){return a.length>1?function(b,c,d){var e=a.length;while(e--)if(!a[e](b,c,d))return!1;return!0}:a[0]}function ub(a,b,c){for(var d=0,e=b.length;e>d;d++)gb(a,b[d],c);return c}function vb(a,b,c,d,e){for(var f,g=[],h=0,i=a.length,j=null!=b;i>h;h++)(f=a[h])&&(!c||c(f,d,e))&&(g.push(f),j&&b.push(h));return g}function wb(a,b,c,d,e,f){return d&&!d[u]&&(d=wb(d)),e&&!e[u]&&(e=wb(e,f)),ib(function(f,g,h,i){var j,k,l,m=[],n=[],o=g.length,p=f||ub(b||"*",h.nodeType?[h]:h,[]),q=!a||!f&&b?p:vb(p,m,a,h,i),r=c?e||(f?a:o||d)?[]:g:q;if(c&&c(q,r,h,i),d){j=vb(r,n),d(j,[],h,i),k=j.length;while(k--)(l=j[k])&&(r[n[k]]=!(q[n[k]]=l))}if(f){if(e||a){if(e){j=[],k=r.length;while(k--)(l=r[k])&&j.push(q[k]=l);e(null,r=[],j,i)}k=r.length;while(k--)(l=r[k])&&(j=e?J(f,l):m[k])>-1&&(f[j]=!(g[j]=l))}}else r=vb(r===g?r.splice(o,r.length):r),e?e(null,g,r,i):H.apply(g,r)})}function xb(a){for(var b,c,e,f=a.length,g=d.relative[a[0].type],h=g||d.relative[" "],i=g?1:0,k=sb(function(a){return a===b},h,!0),l=sb(function(a){return J(b,a)>-1},h,!0),m=[function(a,c,d){var e=!g&&(d||c!==j)||((b=c).nodeType?k(a,c,d):l(a,c,d));return b=null,e}];f>i;i++)if(c=d.relative[a[i].type])m=[sb(tb(m),c)];else{if(c=d.filter[a[i].type].apply(null,a[i].matches),c[u]){for(e=++i;f>e;e++)if(d.relative[a[e].type])break;return wb(i>1&&tb(m),i>1&&rb(a.slice(0,i-1).concat({value:" "===a[i-2].type?"*":""})).replace(R,"$1"),c,e>i&&xb(a.slice(i,e)),f>e&&xb(a=a.slice(e)),f>e&&rb(a))}m.push(c)}return tb(m)}function yb(a,b){var c=b.length>0,e=a.length>0,f=function(f,g,h,i,k){var l,m,o,p=0,q="0",r=f&&[],s=[],t=j,u=f||e&&d.find.TAG("*",k),v=w+=null==t?1:Math.random()||.1,x=u.length;for(k&&(j=g!==n&&g);q!==x&&null!=(l=u[q]);q++){if(e&&l){m=0;while(o=a[m++])if(o(l,g,h)){i.push(l);break}k&&(w=v)}c&&((l=!o&&l)&&p--,f&&r.push(l))}if(p+=q,c&&q!==p){m=0;while(o=b[m++])o(r,s,g,h);if(f){if(p>0)while(q--)r[q]||s[q]||(s[q]=F.call(i));s=vb(s)}H.apply(i,s),k&&!f&&s.length>0&&p+b.length>1&&gb.uniqueSort(i)}return k&&(w=v,j=t),r};return c?ib(f):f}return h=gb.compile=function(a,b){var c,d=[],e=[],f=A[a+" "];if(!f){b||(b=g(a)),c=b.length;while(c--)f=xb(b[c]),f[u]?d.push(f):e.push(f);f=A(a,yb(e,d)),f.selector=a}return f},i=gb.select=function(a,b,e,f){var i,j,k,l,m,n="function"==typeof a&&a,o=!f&&g(a=n.selector||a);if(e=e||[],1===o.length){if(j=o[0]=o[0].slice(0),j.length>2&&"ID"===(k=j[0]).type&&c.getById&&9===b.nodeType&&p&&d.relative[j[1].type]){if(b=(d.find.ID(k.matches[0].replace(cb,db),b)||[])[0],!b)return e;n&&(b=b.parentNode),a=a.slice(j.shift().value.length)}i=X.needsContext.test(a)?0:j.length;while(i--){if(k=j[i],d.relative[l=k.type])break;if((m=d.find[l])&&(f=m(k.matches[0].replace(cb,db),ab.test(j[0].type)&&pb(b.parentNode)||b))){if(j.splice(i,1),a=f.length&&rb(j),!a)return H.apply(e,f),e;break}}}return(n||h(a,o))(f,b,!p,e,ab.test(a)&&pb(b.parentNode)||b),e},c.sortStable=u.split("").sort(B).join("")===u,c.detectDuplicates=!!l,m(),c.sortDetached=jb(function(a){return 1&a.compareDocumentPosition(n.createElement("div"))}),jb(function(a){return a.innerHTML="","#"===a.firstChild.getAttribute("href")})||kb("type|href|height|width",function(a,b,c){return c?void 0:a.getAttribute(b,"type"===b.toLowerCase()?1:2)}),c.attributes&&jb(function(a){return a.innerHTML="",a.firstChild.setAttribute("value",""),""===a.firstChild.getAttribute("value")})||kb("value",function(a,b,c){return c||"input"!==a.nodeName.toLowerCase()?void 0:a.defaultValue}),jb(function(a){return null==a.getAttribute("disabled")})||kb(K,function(a,b,c){var d;return c?void 0:a[b]===!0?b.toLowerCase():(d=a.getAttributeNode(b))&&d.specified?d.value:null}),gb}(a);n.find=t,n.expr=t.selectors,n.expr[":"]=n.expr.pseudos,n.unique=t.uniqueSort,n.text=t.getText,n.isXMLDoc=t.isXML,n.contains=t.contains;var u=n.expr.match.needsContext,v=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,w=/^.[^:#\[\.,]*$/;function x(a,b,c){if(n.isFunction(b))return n.grep(a,function(a,d){return!!b.call(a,d,a)!==c});if(b.nodeType)return n.grep(a,function(a){return a===b!==c});if("string"==typeof b){if(w.test(b))return n.filter(b,a,c);b=n.filter(b,a)}return n.grep(a,function(a){return g.call(b,a)>=0!==c})}n.filter=function(a,b,c){var d=b[0];return c&&(a=":not("+a+")"),1===b.length&&1===d.nodeType?n.find.matchesSelector(d,a)?[d]:[]:n.find.matches(a,n.grep(b,function(a){return 1===a.nodeType}))},n.fn.extend({find:function(a){var b,c=this.length,d=[],e=this;if("string"!=typeof a)return this.pushStack(n(a).filter(function(){for(b=0;c>b;b++)if(n.contains(e[b],this))return!0}));for(b=0;c>b;b++)n.find(a,e[b],d);return d=this.pushStack(c>1?n.unique(d):d),d.selector=this.selector?this.selector+" "+a:a,d},filter:function(a){return this.pushStack(x(this,a||[],!1))},not:function(a){return this.pushStack(x(this,a||[],!0))},is:function(a){return!!x(this,"string"==typeof a&&u.test(a)?n(a):a||[],!1).length}});var y,z=/^(?:\s*(<[\w\W]+>)[^>]*|#([\w-]*))$/,A=n.fn.init=function(a,b){var c,d;if(!a)return this;if("string"==typeof a){if(c="<"===a[0]&&">"===a[a.length-1]&&a.length>=3?[null,a,null]:z.exec(a),!c||!c[1]&&b)return!b||b.jquery?(b||y).find(a):this.constructor(b).find(a);if(c[1]){if(b=b instanceof n?b[0]:b,n.merge(this,n.parseHTML(c[1],b&&b.nodeType?b.ownerDocument||b:l,!0)),v.test(c[1])&&n.isPlainObject(b))for(c in b)n.isFunction(this[c])?this[c](b[c]):this.attr(c,b[c]);return this}return d=l.getElementById(c[2]),d&&d.parentNode&&(this.length=1,this[0]=d),this.context=l,this.selector=a,this}return a.nodeType?(this.context=this[0]=a,this.length=1,this):n.isFunction(a)?"undefined"!=typeof y.ready?y.ready(a):a(n):(void 0!==a.selector&&(this.selector=a.selector,this.context=a.context),n.makeArray(a,this))};A.prototype=n.fn,y=n(l);var B=/^(?:parents|prev(?:Until|All))/,C={children:!0,contents:!0,next:!0,prev:!0};n.extend({dir:function(a,b,c){var d=[],e=void 0!==c;while((a=a[b])&&9!==a.nodeType)if(1===a.nodeType){if(e&&n(a).is(c))break;d.push(a)}return d},sibling:function(a,b){for(var c=[];a;a=a.nextSibling)1===a.nodeType&&a!==b&&c.push(a);return c}}),n.fn.extend({has:function(a){var b=n(a,this),c=b.length;return this.filter(function(){for(var a=0;c>a;a++)if(n.contains(this,b[a]))return!0})},closest:function(a,b){for(var c,d=0,e=this.length,f=[],g=u.test(a)||"string"!=typeof a?n(a,b||this.context):0;e>d;d++)for(c=this[d];c&&c!==b;c=c.parentNode)if(c.nodeType<11&&(g?g.index(c)>-1:1===c.nodeType&&n.find.matchesSelector(c,a))){f.push(c);break}return this.pushStack(f.length>1?n.unique(f):f)},index:function(a){return a?"string"==typeof a?g.call(n(a),this[0]):g.call(this,a.jquery?a[0]:a):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(a,b){return this.pushStack(n.unique(n.merge(this.get(),n(a,b))))},addBack:function(a){return this.add(null==a?this.prevObject:this.prevObject.filter(a))}});function D(a,b){while((a=a[b])&&1!==a.nodeType);return a}n.each({parent:function(a){var b=a.parentNode;return b&&11!==b.nodeType?b:null},parents:function(a){return n.dir(a,"parentNode")},parentsUntil:function(a,b,c){return n.dir(a,"parentNode",c)},next:function(a){return D(a,"nextSibling")},prev:function(a){return D(a,"previousSibling")},nextAll:function(a){return n.dir(a,"nextSibling")},prevAll:function(a){return n.dir(a,"previousSibling")},nextUntil:function(a,b,c){return n.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return n.dir(a,"previousSibling",c)},siblings:function(a){return n.sibling((a.parentNode||{}).firstChild,a)},children:function(a){return n.sibling(a.firstChild)},contents:function(a){return a.contentDocument||n.merge([],a.childNodes)}},function(a,b){n.fn[a]=function(c,d){var e=n.map(this,b,c);return"Until"!==a.slice(-5)&&(d=c),d&&"string"==typeof d&&(e=n.filter(d,e)),this.length>1&&(C[a]||n.unique(e),B.test(a)&&e.reverse()),this.pushStack(e)}});var E=/\S+/g,F={};function G(a){var b=F[a]={};return n.each(a.match(E)||[],function(a,c){b[c]=!0}),b}n.Callbacks=function(a){a="string"==typeof a?F[a]||G(a):n.extend({},a);var b,c,d,e,f,g,h=[],i=!a.once&&[],j=function(l){for(b=a.memory&&l,c=!0,g=e||0,e=0,f=h.length,d=!0;h&&f>g;g++)if(h[g].apply(l[0],l[1])===!1&&a.stopOnFalse){b=!1;break}d=!1,h&&(i?i.length&&j(i.shift()):b?h=[]:k.disable())},k={add:function(){if(h){var c=h.length;!function g(b){n.each(b,function(b,c){var d=n.type(c);"function"===d?a.unique&&k.has(c)||h.push(c):c&&c.length&&"string"!==d&&g(c)})}(arguments),d?f=h.length:b&&(e=c,j(b))}return this},remove:function(){return h&&n.each(arguments,function(a,b){var c;while((c=n.inArray(b,h,c))>-1)h.splice(c,1),d&&(f>=c&&f--,g>=c&&g--)}),this},has:function(a){return a?n.inArray(a,h)>-1:!(!h||!h.length)},empty:function(){return h=[],f=0,this},disable:function(){return h=i=b=void 0,this},disabled:function(){return!h},lock:function(){return i=void 0,b||k.disable(),this},locked:function(){return!i},fireWith:function(a,b){return!h||c&&!i||(b=b||[],b=[a,b.slice?b.slice():b],d?i.push(b):j(b)),this},fire:function(){return k.fireWith(this,arguments),this},fired:function(){return!!c}};return k},n.extend({Deferred:function(a){var b=[["resolve","done",n.Callbacks("once memory"),"resolved"],["reject","fail",n.Callbacks("once memory"),"rejected"],["notify","progress",n.Callbacks("memory")]],c="pending",d={state:function(){return c},always:function(){return e.done(arguments).fail(arguments),this},then:function(){var a=arguments;return n.Deferred(function(c){n.each(b,function(b,f){var g=n.isFunction(a[b])&&a[b];e[f[1]](function(){var a=g&&g.apply(this,arguments);a&&n.isFunction(a.promise)?a.promise().done(c.resolve).fail(c.reject).progress(c.notify):c[f[0]+"With"](this===d?c.promise():this,g?[a]:arguments)})}),a=null}).promise()},promise:function(a){return null!=a?n.extend(a,d):d}},e={};return d.pipe=d.then,n.each(b,function(a,f){var g=f[2],h=f[3];d[f[1]]=g.add,h&&g.add(function(){c=h},b[1^a][2].disable,b[2][2].lock),e[f[0]]=function(){return e[f[0]+"With"](this===e?d:this,arguments),this},e[f[0]+"With"]=g.fireWith}),d.promise(e),a&&a.call(e,e),e},when:function(a){var b=0,c=d.call(arguments),e=c.length,f=1!==e||a&&n.isFunction(a.promise)?e:0,g=1===f?a:n.Deferred(),h=function(a,b,c){return function(e){b[a]=this,c[a]=arguments.length>1?d.call(arguments):e,c===i?g.notifyWith(b,c):--f||g.resolveWith(b,c)}},i,j,k;if(e>1)for(i=new Array(e),j=new Array(e),k=new Array(e);e>b;b++)c[b]&&n.isFunction(c[b].promise)?c[b].promise().done(h(b,k,c)).fail(g.reject).progress(h(b,j,i)):--f;return f||g.resolveWith(k,c),g.promise()}});var H;n.fn.ready=function(a){return n.ready.promise().done(a),this},n.extend({isReady:!1,readyWait:1,holdReady:function(a){a?n.readyWait++:n.ready(!0)},ready:function(a){(a===!0?--n.readyWait:n.isReady)||(n.isReady=!0,a!==!0&&--n.readyWait>0||(H.resolveWith(l,[n]),n.fn.triggerHandler&&(n(l).triggerHandler("ready"),n(l).off("ready"))))}});function I(){l.removeEventListener("DOMContentLoaded",I,!1),a.removeEventListener("load",I,!1),n.ready()}n.ready.promise=function(b){return H||(H=n.Deferred(),"complete"===l.readyState?setTimeout(n.ready):(l.addEventListener("DOMContentLoaded",I,!1),a.addEventListener("load",I,!1))),H.promise(b)},n.ready.promise();var J=n.access=function(a,b,c,d,e,f,g){var h=0,i=a.length,j=null==c;if("object"===n.type(c)){e=!0;for(h in c)n.access(a,b,h,c[h],!0,f,g)}else if(void 0!==d&&(e=!0,n.isFunction(d)||(g=!0),j&&(g?(b.call(a,d),b=null):(j=b,b=function(a,b,c){return j.call(n(a),c)})),b))for(;i>h;h++)b(a[h],c,g?d:d.call(a[h],h,b(a[h],c)));return e?a:j?b.call(a):i?b(a[0],c):f};n.acceptData=function(a){return 1===a.nodeType||9===a.nodeType||!+a.nodeType};function K(){Object.defineProperty(this.cache={},0,{get:function(){return{}}}),this.expando=n.expando+K.uid++}K.uid=1,K.accepts=n.acceptData,K.prototype={key:function(a){if(!K.accepts(a))return 0;var b={},c=a[this.expando];if(!c){c=K.uid++;try{b[this.expando]={value:c},Object.defineProperties(a,b)}catch(d){b[this.expando]=c,n.extend(a,b)}}return this.cache[c]||(this.cache[c]={}),c},set:function(a,b,c){var d,e=this.key(a),f=this.cache[e];if("string"==typeof b)f[b]=c;else if(n.isEmptyObject(f))n.extend(this.cache[e],b);else for(d in b)f[d]=b[d];return f},get:function(a,b){var c=this.cache[this.key(a)];return void 0===b?c:c[b]},access:function(a,b,c){var d;return void 0===b||b&&"string"==typeof b&&void 0===c?(d=this.get(a,b),void 0!==d?d:this.get(a,n.camelCase(b))):(this.set(a,b,c),void 0!==c?c:b)},remove:function(a,b){var c,d,e,f=this.key(a),g=this.cache[f];if(void 0===b)this.cache[f]={};else{n.isArray(b)?d=b.concat(b.map(n.camelCase)):(e=n.camelCase(b),b in g?d=[b,e]:(d=e,d=d in g?[d]:d.match(E)||[])),c=d.length;while(c--)delete g[d[c]]}},hasData:function(a){return!n.isEmptyObject(this.cache[a[this.expando]]||{})},discard:function(a){a[this.expando]&&delete this.cache[a[this.expando]]}};var L=new K,M=new K,N=/^(?:\{[\w\W]*\}|\[[\w\W]*\])$/,O=/([A-Z])/g;function P(a,b,c){var d;if(void 0===c&&1===a.nodeType)if(d="data-"+b.replace(O,"-$1").toLowerCase(),c=a.getAttribute(d),"string"==typeof c){try{c="true"===c?!0:"false"===c?!1:"null"===c?null:+c+""===c?+c:N.test(c)?n.parseJSON(c):c}catch(e){}M.set(a,b,c)}else c=void 0;return c}n.extend({hasData:function(a){return M.hasData(a)||L.hasData(a)},data:function(a,b,c){return M.access(a,b,c) -},removeData:function(a,b){M.remove(a,b)},_data:function(a,b,c){return L.access(a,b,c)},_removeData:function(a,b){L.remove(a,b)}}),n.fn.extend({data:function(a,b){var c,d,e,f=this[0],g=f&&f.attributes;if(void 0===a){if(this.length&&(e=M.get(f),1===f.nodeType&&!L.get(f,"hasDataAttrs"))){c=g.length;while(c--)g[c]&&(d=g[c].name,0===d.indexOf("data-")&&(d=n.camelCase(d.slice(5)),P(f,d,e[d])));L.set(f,"hasDataAttrs",!0)}return e}return"object"==typeof a?this.each(function(){M.set(this,a)}):J(this,function(b){var c,d=n.camelCase(a);if(f&&void 0===b){if(c=M.get(f,a),void 0!==c)return c;if(c=M.get(f,d),void 0!==c)return c;if(c=P(f,d,void 0),void 0!==c)return c}else this.each(function(){var c=M.get(this,d);M.set(this,d,b),-1!==a.indexOf("-")&&void 0!==c&&M.set(this,a,b)})},null,b,arguments.length>1,null,!0)},removeData:function(a){return this.each(function(){M.remove(this,a)})}}),n.extend({queue:function(a,b,c){var d;return a?(b=(b||"fx")+"queue",d=L.get(a,b),c&&(!d||n.isArray(c)?d=L.access(a,b,n.makeArray(c)):d.push(c)),d||[]):void 0},dequeue:function(a,b){b=b||"fx";var c=n.queue(a,b),d=c.length,e=c.shift(),f=n._queueHooks(a,b),g=function(){n.dequeue(a,b)};"inprogress"===e&&(e=c.shift(),d--),e&&("fx"===b&&c.unshift("inprogress"),delete f.stop,e.call(a,g,f)),!d&&f&&f.empty.fire()},_queueHooks:function(a,b){var c=b+"queueHooks";return L.get(a,c)||L.access(a,c,{empty:n.Callbacks("once memory").add(function(){L.remove(a,[b+"queue",c])})})}}),n.fn.extend({queue:function(a,b){var c=2;return"string"!=typeof a&&(b=a,a="fx",c--),arguments.lengthx",k.noCloneChecked=!!b.cloneNode(!0).lastChild.defaultValue}();var U="undefined";k.focusinBubbles="onfocusin"in a;var V=/^key/,W=/^(?:mouse|pointer|contextmenu)|click/,X=/^(?:focusinfocus|focusoutblur)$/,Y=/^([^.]*)(?:\.(.+)|)$/;function Z(){return!0}function $(){return!1}function _(){try{return l.activeElement}catch(a){}}n.event={global:{},add:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.get(a);if(r){c.handler&&(f=c,c=f.handler,e=f.selector),c.guid||(c.guid=n.guid++),(i=r.events)||(i=r.events={}),(g=r.handle)||(g=r.handle=function(b){return typeof n!==U&&n.event.triggered!==b.type?n.event.dispatch.apply(a,arguments):void 0}),b=(b||"").match(E)||[""],j=b.length;while(j--)h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o&&(l=n.event.special[o]||{},o=(e?l.delegateType:l.bindType)||o,l=n.event.special[o]||{},k=n.extend({type:o,origType:q,data:d,handler:c,guid:c.guid,selector:e,needsContext:e&&n.expr.match.needsContext.test(e),namespace:p.join(".")},f),(m=i[o])||(m=i[o]=[],m.delegateCount=0,l.setup&&l.setup.call(a,d,p,g)!==!1||a.addEventListener&&a.addEventListener(o,g,!1)),l.add&&(l.add.call(a,k),k.handler.guid||(k.handler.guid=c.guid)),e?m.splice(m.delegateCount++,0,k):m.push(k),n.event.global[o]=!0)}},remove:function(a,b,c,d,e){var f,g,h,i,j,k,l,m,o,p,q,r=L.hasData(a)&&L.get(a);if(r&&(i=r.events)){b=(b||"").match(E)||[""],j=b.length;while(j--)if(h=Y.exec(b[j])||[],o=q=h[1],p=(h[2]||"").split(".").sort(),o){l=n.event.special[o]||{},o=(d?l.delegateType:l.bindType)||o,m=i[o]||[],h=h[2]&&new RegExp("(^|\\.)"+p.join("\\.(?:.*\\.|)")+"(\\.|$)"),g=f=m.length;while(f--)k=m[f],!e&&q!==k.origType||c&&c.guid!==k.guid||h&&!h.test(k.namespace)||d&&d!==k.selector&&("**"!==d||!k.selector)||(m.splice(f,1),k.selector&&m.delegateCount--,l.remove&&l.remove.call(a,k));g&&!m.length&&(l.teardown&&l.teardown.call(a,p,r.handle)!==!1||n.removeEvent(a,o,r.handle),delete i[o])}else for(o in i)n.event.remove(a,o+b[j],c,d,!0);n.isEmptyObject(i)&&(delete r.handle,L.remove(a,"events"))}},trigger:function(b,c,d,e){var f,g,h,i,k,m,o,p=[d||l],q=j.call(b,"type")?b.type:b,r=j.call(b,"namespace")?b.namespace.split("."):[];if(g=h=d=d||l,3!==d.nodeType&&8!==d.nodeType&&!X.test(q+n.event.triggered)&&(q.indexOf(".")>=0&&(r=q.split("."),q=r.shift(),r.sort()),k=q.indexOf(":")<0&&"on"+q,b=b[n.expando]?b:new n.Event(q,"object"==typeof b&&b),b.isTrigger=e?2:3,b.namespace=r.join("."),b.namespace_re=b.namespace?new RegExp("(^|\\.)"+r.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,b.result=void 0,b.target||(b.target=d),c=null==c?[b]:n.makeArray(c,[b]),o=n.event.special[q]||{},e||!o.trigger||o.trigger.apply(d,c)!==!1)){if(!e&&!o.noBubble&&!n.isWindow(d)){for(i=o.delegateType||q,X.test(i+q)||(g=g.parentNode);g;g=g.parentNode)p.push(g),h=g;h===(d.ownerDocument||l)&&p.push(h.defaultView||h.parentWindow||a)}f=0;while((g=p[f++])&&!b.isPropagationStopped())b.type=f>1?i:o.bindType||q,m=(L.get(g,"events")||{})[b.type]&&L.get(g,"handle"),m&&m.apply(g,c),m=k&&g[k],m&&m.apply&&n.acceptData(g)&&(b.result=m.apply(g,c),b.result===!1&&b.preventDefault());return b.type=q,e||b.isDefaultPrevented()||o._default&&o._default.apply(p.pop(),c)!==!1||!n.acceptData(d)||k&&n.isFunction(d[q])&&!n.isWindow(d)&&(h=d[k],h&&(d[k]=null),n.event.triggered=q,d[q](),n.event.triggered=void 0,h&&(d[k]=h)),b.result}},dispatch:function(a){a=n.event.fix(a);var b,c,e,f,g,h=[],i=d.call(arguments),j=(L.get(this,"events")||{})[a.type]||[],k=n.event.special[a.type]||{};if(i[0]=a,a.delegateTarget=this,!k.preDispatch||k.preDispatch.call(this,a)!==!1){h=n.event.handlers.call(this,a,j),b=0;while((f=h[b++])&&!a.isPropagationStopped()){a.currentTarget=f.elem,c=0;while((g=f.handlers[c++])&&!a.isImmediatePropagationStopped())(!a.namespace_re||a.namespace_re.test(g.namespace))&&(a.handleObj=g,a.data=g.data,e=((n.event.special[g.origType]||{}).handle||g.handler).apply(f.elem,i),void 0!==e&&(a.result=e)===!1&&(a.preventDefault(),a.stopPropagation()))}return k.postDispatch&&k.postDispatch.call(this,a),a.result}},handlers:function(a,b){var c,d,e,f,g=[],h=b.delegateCount,i=a.target;if(h&&i.nodeType&&(!a.button||"click"!==a.type))for(;i!==this;i=i.parentNode||this)if(i.disabled!==!0||"click"!==a.type){for(d=[],c=0;h>c;c++)f=b[c],e=f.selector+" ",void 0===d[e]&&(d[e]=f.needsContext?n(e,this).index(i)>=0:n.find(e,this,null,[i]).length),d[e]&&d.push(f);d.length&&g.push({elem:i,handlers:d})}return h]*)\/>/gi,bb=/<([\w:]+)/,cb=/<|&#?\w+;/,db=/<(?:script|style|link)/i,eb=/checked\s*(?:[^=]|=\s*.checked.)/i,fb=/^$|\/(?:java|ecma)script/i,gb=/^true\/(.*)/,hb=/^\s*\s*$/g,ib={option:[1,""],thead:[1,"","
                                "],col:[2,"","
                                "],tr:[2,"","
                                "],td:[3,"","
                                "],_default:[0,"",""]};ib.optgroup=ib.option,ib.tbody=ib.tfoot=ib.colgroup=ib.caption=ib.thead,ib.th=ib.td;function jb(a,b){return n.nodeName(a,"table")&&n.nodeName(11!==b.nodeType?b:b.firstChild,"tr")?a.getElementsByTagName("tbody")[0]||a.appendChild(a.ownerDocument.createElement("tbody")):a}function kb(a){return a.type=(null!==a.getAttribute("type"))+"/"+a.type,a}function lb(a){var b=gb.exec(a.type);return b?a.type=b[1]:a.removeAttribute("type"),a}function mb(a,b){for(var c=0,d=a.length;d>c;c++)L.set(a[c],"globalEval",!b||L.get(b[c],"globalEval"))}function nb(a,b){var c,d,e,f,g,h,i,j;if(1===b.nodeType){if(L.hasData(a)&&(f=L.access(a),g=L.set(b,f),j=f.events)){delete g.handle,g.events={};for(e in j)for(c=0,d=j[e].length;d>c;c++)n.event.add(b,e,j[e][c])}M.hasData(a)&&(h=M.access(a),i=n.extend({},h),M.set(b,i))}}function ob(a,b){var c=a.getElementsByTagName?a.getElementsByTagName(b||"*"):a.querySelectorAll?a.querySelectorAll(b||"*"):[];return void 0===b||b&&n.nodeName(a,b)?n.merge([a],c):c}function pb(a,b){var c=b.nodeName.toLowerCase();"input"===c&&T.test(a.type)?b.checked=a.checked:("input"===c||"textarea"===c)&&(b.defaultValue=a.defaultValue)}n.extend({clone:function(a,b,c){var d,e,f,g,h=a.cloneNode(!0),i=n.contains(a.ownerDocument,a);if(!(k.noCloneChecked||1!==a.nodeType&&11!==a.nodeType||n.isXMLDoc(a)))for(g=ob(h),f=ob(a),d=0,e=f.length;e>d;d++)pb(f[d],g[d]);if(b)if(c)for(f=f||ob(a),g=g||ob(h),d=0,e=f.length;e>d;d++)nb(f[d],g[d]);else nb(a,h);return g=ob(h,"script"),g.length>0&&mb(g,!i&&ob(a,"script")),h},buildFragment:function(a,b,c,d){for(var e,f,g,h,i,j,k=b.createDocumentFragment(),l=[],m=0,o=a.length;o>m;m++)if(e=a[m],e||0===e)if("object"===n.type(e))n.merge(l,e.nodeType?[e]:e);else if(cb.test(e)){f=f||k.appendChild(b.createElement("div")),g=(bb.exec(e)||["",""])[1].toLowerCase(),h=ib[g]||ib._default,f.innerHTML=h[1]+e.replace(ab,"<$1>")+h[2],j=h[0];while(j--)f=f.lastChild;n.merge(l,f.childNodes),f=k.firstChild,f.textContent=""}else l.push(b.createTextNode(e));k.textContent="",m=0;while(e=l[m++])if((!d||-1===n.inArray(e,d))&&(i=n.contains(e.ownerDocument,e),f=ob(k.appendChild(e),"script"),i&&mb(f),c)){j=0;while(e=f[j++])fb.test(e.type||"")&&c.push(e)}return k},cleanData:function(a){for(var b,c,d,e,f=n.event.special,g=0;void 0!==(c=a[g]);g++){if(n.acceptData(c)&&(e=c[L.expando],e&&(b=L.cache[e]))){if(b.events)for(d in b.events)f[d]?n.event.remove(c,d):n.removeEvent(c,d,b.handle);L.cache[e]&&delete L.cache[e]}delete M.cache[c[M.expando]]}}}),n.fn.extend({text:function(a){return J(this,function(a){return void 0===a?n.text(this):this.empty().each(function(){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&(this.textContent=a)})},null,a,arguments.length)},append:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.appendChild(a)}})},prepend:function(){return this.domManip(arguments,function(a){if(1===this.nodeType||11===this.nodeType||9===this.nodeType){var b=jb(this,a);b.insertBefore(a,b.firstChild)}})},before:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this)})},after:function(){return this.domManip(arguments,function(a){this.parentNode&&this.parentNode.insertBefore(a,this.nextSibling)})},remove:function(a,b){for(var c,d=a?n.filter(a,this):this,e=0;null!=(c=d[e]);e++)b||1!==c.nodeType||n.cleanData(ob(c)),c.parentNode&&(b&&n.contains(c.ownerDocument,c)&&mb(ob(c,"script")),c.parentNode.removeChild(c));return this},empty:function(){for(var a,b=0;null!=(a=this[b]);b++)1===a.nodeType&&(n.cleanData(ob(a,!1)),a.textContent="");return this},clone:function(a,b){return a=null==a?!1:a,b=null==b?a:b,this.map(function(){return n.clone(this,a,b)})},html:function(a){return J(this,function(a){var b=this[0]||{},c=0,d=this.length;if(void 0===a&&1===b.nodeType)return b.innerHTML;if("string"==typeof a&&!db.test(a)&&!ib[(bb.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(ab,"<$1>");try{for(;d>c;c++)b=this[c]||{},1===b.nodeType&&(n.cleanData(ob(b,!1)),b.innerHTML=a);b=0}catch(e){}}b&&this.empty().append(a)},null,a,arguments.length)},replaceWith:function(){var a=arguments[0];return this.domManip(arguments,function(b){a=this.parentNode,n.cleanData(ob(this)),a&&a.replaceChild(b,this)}),a&&(a.length||a.nodeType)?this:this.remove()},detach:function(a){return this.remove(a,!0)},domManip:function(a,b){a=e.apply([],a);var c,d,f,g,h,i,j=0,l=this.length,m=this,o=l-1,p=a[0],q=n.isFunction(p);if(q||l>1&&"string"==typeof p&&!k.checkClone&&eb.test(p))return this.each(function(c){var d=m.eq(c);q&&(a[0]=p.call(this,c,d.html())),d.domManip(a,b)});if(l&&(c=n.buildFragment(a,this[0].ownerDocument,!1,this),d=c.firstChild,1===c.childNodes.length&&(c=d),d)){for(f=n.map(ob(c,"script"),kb),g=f.length;l>j;j++)h=c,j!==o&&(h=n.clone(h,!0,!0),g&&n.merge(f,ob(h,"script"))),b.call(this[j],h,j);if(g)for(i=f[f.length-1].ownerDocument,n.map(f,lb),j=0;g>j;j++)h=f[j],fb.test(h.type||"")&&!L.access(h,"globalEval")&&n.contains(i,h)&&(h.src?n._evalUrl&&n._evalUrl(h.src):n.globalEval(h.textContent.replace(hb,"")))}return this}}),n.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(a,b){n.fn[a]=function(a){for(var c,d=[],e=n(a),g=e.length-1,h=0;g>=h;h++)c=h===g?this:this.clone(!0),n(e[h])[b](c),f.apply(d,c.get());return this.pushStack(d)}});var qb,rb={};function sb(b,c){var d,e=n(c.createElement(b)).appendTo(c.body),f=a.getDefaultComputedStyle&&(d=a.getDefaultComputedStyle(e[0]))?d.display:n.css(e[0],"display");return e.detach(),f}function tb(a){var b=l,c=rb[a];return c||(c=sb(a,b),"none"!==c&&c||(qb=(qb||n("
                                "; - }, - //添加遮障层,修复iframe 鼠标经过事件bug - iframFix:function(obj){ - obj.each(function(){ - var o=$(this); - if(o.find('.zzDiv').size()<=0) - o.append($("
                                ")); - }) - }, - //获取当前窗口最大的z-index值 - maxWinZindex:function($win){ - return Math.max.apply(null, $.map($win, function (e, n) { - if ($(e).css('position') == 'absolute') - return parseInt($(e).css('z-index')) || 1; - })); - }, - //获取当前最顶层窗口 - findTopWin:function($win,maxZ){ - var topWin; - $win.each(function(index){ - if($(this).css("z-index")==maxZ){ - topWin=$(this); - return false; - } - }); - return topWin; - }, - //关闭窗口 - closeWin:function(obj){ - var _this=this,$win=$('div.windows').not(".hideWin"),maxZ,topWin; - myLib.desktop.taskBar.delWinTab(obj); - obj.hide(200,function(){ - $(this).remove(); - }); - //当关闭窗口后寻找最大z-index的窗口并使其出入选择状态 - if($win.size()>1){ - maxZ=_this.maxWinZindex($win.not(obj)); - topWin=_this.findTopWin($win,maxZ); - _this.switchZindex(topWin); - } - }, - //最小化窗口 - minimize:function(obj){ - var _this=this,$win=$('div.windows').not(".hideWin"),maxZ,topWin,objTab; - //obj.hide(); - obj.css({"left":obj.position().left-10000,"visibility":"hidden"}).addClass("hideWin"); - - //最小化窗口后,寻找最大z-index窗口至顶 - if($win.size()>1){ - maxZ=_this.maxWinZindex($win.not(obj)); - topWin=_this.findTopWin($win,maxZ); - _this.switchZindex(topWin); - }else{ - objTab=myLib.desktop.taskBar.findWinTab(obj); - objTab.removeClass('selectTab').addClass('defaultTab'); - } - }, - //最大化窗口函数 - maximizeWin:function(obj){ - var myData=myLib.desktop.getMydata(), - panel=$("#desktopInnerPanel").offset(), - wh=myData.winWh;//获取当前document宽高 - obj - .css({'width':wh['w'],'height':wh['h'],'left':-panel.left,'top':-panel.top}) - .draggable( "disable" ) - .resizable( "disable" ) - .fadeTo("fast",1) - .find(".winframe") - .css({'width':wh['w'],'height':wh['h']-26}); - }, - //还原窗口函数 - hyimizeWin:function(obj){ - var myData=obj.data(), - winLocation=myData.winLocation;//获取窗口最大化前的位置大小 - - obj.css({'width':winLocation['w'],'height':winLocation['h'],'left':winLocation['left'],'top':winLocation['top']}) - .draggable( "enable" ) - .resizable( "enable" ) - .find(".winframe") - .css({'width':winLocation['w'],'height':winLocation['h']-26}); - }, - //交换窗口z-index值 - switchZindex:function(obj){ - var myData=myLib.desktop.getMydata() - ,$topWin=myData.topWin - ,$topWinTab=myData.topWinTab - ,curWinZindex=obj.css("z-index") - ,maxZ=myData.maxZindex - ,objTab=myLib.desktop.taskBar.findWinTab(obj); - - if(!$topWin.is(obj)){ - - obj.css("z-index",maxZ); - objTab.removeClass('defaultTab').addClass('selectTab'); - - $topWin.css("z-index",curWinZindex); - $topWinTab.removeClass('selectTab').addClass('defaultTab'); - this.iframFix($topWin); - //更新最顶层窗口对象 - $('body').data("topWin",obj).data("topWinTab",objTab); - } - }, - //新建一个窗口 - newWin:function(options){ - - var myData=myLib.desktop.getMydata(), - wh=myData.winWh,//获取当前document宽高 - $windows=$("div.windows"), - _this=this, - curwinNum=myLib._is(myData.winNum,"Number")?myData.winNum:0;//判断当前已有多少窗口 - _this.iframFix($windows); - - //默认参数配置 - var defaults = { - WindowTitle: null, - WindowsId: null, - WindowPositionTop: 'center', /* Posible are pixels or 'center' */ - WindowPositionLeft: 'center', /* Posible are pixels or 'center' */ - WindowWidth: Math.round(wh['w']*0.6), /* Only pixels */ - WindowHeight: Math.round(wh['h']*0.8), /* Only pixels */ - WindowMinWidth: 250, /* Only pixels */ - WindowMinHeight: 250, /* Only pixels */ - iframSrc: null, /* 框架的src路径*/ - WindowResizable: true, /* true, false*/ - WindowMaximize: true, /* true, false*/ - WindowMinimize: true, /* true, false*/ - WindowClosable: true, /* true, false*/ - WindowDraggable: true, /* true, false*/ - WindowStatus: 'regular', /* 'regular', 'maximized', 'minimized' */ - WindowAnimationSpeed: 500, - WindowAnimation: 'none' - }; - - var options = $.extend(defaults, options); - - //判断窗口位置,否则使用默认值 - var dxy=Math.floor((Math.random()*100))+30; - var panelLeft=$("#desktopInnerPanel").position(); - - var wLeft=myLib._is(options['WindowPositionLeft'],"Number")?options['WindowPositionLeft']+dxy-panelLeft.left:(wh['w']-options['WindowWidth'])/2+dxy-panelLeft.left; - var wTop=myLib._is(options['WindowPositionTop'],"Number")?options['WindowPositionTop']+dxy/2:(wh['h']-options['WindowHeight'])/2+dxy/2; - - //给窗口赋予新的z-index值 - var zindex=curwinNum+500; - var id="myWin_"+options['WindowsId'];//根据传来的id将作为新窗口id - $('body').data("winNum",curwinNum+1);//更新窗口数量 - - - //判断如果此id的窗口存在,则不创建窗口 - if($("#"+id).size()<=0){ - //在任务栏里添加tab - myLib.desktop.taskBar.addWinTab(options['WindowTitle'],options['WindowsId']); - //初始化新窗口并显示 - $(_this.winHtml(options['WindowTitle'],options['iframSrc'],id)).appendTo('#desktopInnerPanel'); - - var $newWin=$("#"+id) - ,$icon=$("#"+options['WindowsId']) - ,$iconOffset=$icon.offset() - ,$fram=$newWin.find(".winframe") - ,$winTitle=$newWin.find(".win_title") - ,winMaximize_btn=$newWin.find('a.winMaximize')//最大化按钮 - ,winMinimize_btn=$newWin.find('a.winMinimize')//最小化按钮 - ,winClose_btn=$newWin.find('a.winClose')//关闭按钮 - ,winHyimize_btn=$newWin.find('a.winHyimize');//还原按钮 - - winHyimize_btn.hide(); - if(!options['WindowMaximize']) winMaximize_btn.hide(); - if(!options['WindowMinimize']) winMinimize_btn.hide(); - if(!options['WindowClosable']) winClose_btn.hide(); - - //存储窗口最大的z-index值,及最顶层窗口对象 - $('body').data({"maxZindex":zindex,"topWin":$newWin}); - - //判断窗口是否启用动画效果 - if(options.WindowAnimation=='none'){ - - $newWin - .css({"width":options['WindowWidth'],"height":options['WindowHeight'],"left":wLeft,"top":wTop,"z-index":zindex}) - .addClass("loading") - .show(10,function(){ - $(this).find(".winframe").attr("src",options['iframSrc']).load(function(){ - $(this).show(); - }); - }); - - }else{ - - $newWin - .css({"left":$iconOffset.left,"top":$iconOffset.top,"z-index":zindex}) - .addClass("loading") - .show() - .animate({ - width: options['WindowWidth'], - height:options['WindowHeight'], - top: wTop, - left: wLeft}, 100,function(){ - $(this).find(".winframe").attr("src",options['iframSrc']).load(function(){ - $(this).show(); - }); - }); - } - - $newWin - //存储窗口当前位置大小 - .data('winLocation',{ - 'w':options['WindowWidth'], - 'h':options['WindowHeight'], - 'left':wLeft, - 'top':wTop - }) - //鼠标点击,切换窗口,使此窗口显示到最上面 - .bind({ - "mousedown":function(event){ - _this.switchZindex($(this)); - }, - "mouseup":function(){ - $(this).find('.zzDiv').remove(); - } - }) - .find(".winframe") - .css({"width":options['WindowWidth'],"height":options['WindowHeight']-26}); - - //调用窗口拖动,参数可拖动的范围上下左右,窗口id和,浏览器可视窗口大小 - if(options['WindowDraggable']){ - _this.drag([0,0,wh['w']-options['WindowWidth']-10,wh['h']-options['WindowHeight']-35],$newWin,wh); - } - //调用窗口resize,传递最大最小宽度和高度,新窗口对象id,浏览器可视窗口大小 - if(options['WindowResizable']){ - _this.resize(options['WindowMinWidth'],options['WindowMinHeight'],wh['w']-wLeft,wh['h']-wTop-35,$newWin,wh); - } - - //双击窗口标题栏 - $winTitle.dblclick(function(){ - var hasMaximizeBtn=$(this).find(winMaximize_btn); - - if(!hasMaximizeBtn.is(":hidden")){ - winMaximize_btn.trigger("click"); - }else{ - winHyimize_btn.trigger("click"); - } - - }); - - //窗口最大化,最小化,及关闭 - winClose_btn.click(function(event){ - event.stopPropagation(); - _this.closeWin($newWin); - }); - //最大化 - winMaximize_btn.click(function(event){ - event.stopPropagation(); - if(options['WindowStatus']=="regular"){ - _this.maximizeWin($newWin); - $(this).hide(); - winHyimize_btn.show(); - options['WindowStatus']="maximized"; - $("#desktopPanel").css("z-index",95); - } - }); - - //如果浏览器窗口大小改变,则更新窗口大小 - $(window).wresize(function(){ - if(options['WindowStatus']=="maximized"){ - _this.maximizeWin($newWin); - } - }); - //还原窗口 - winHyimize_btn.click(function(event){ - event.stopPropagation(); - if(options['WindowStatus']=="maximized"){ - _this.hyimizeWin($newWin); - $(this).hide(); - winMaximize_btn.show(); - options['WindowStatus']="regular"; - $("#desktopPanel").css("z-index",70); - } - }); - //最小化窗口 - winMinimize_btn.click(function(){ - _this.minimize($newWin); - }); - }else{ - - //如果已存在此窗口,判断是否隐藏 - var wins=$("#"+id),objTab=myLib.desktop.taskBar.findWinTab(wins); - if(wins.is(":hidden")){ - wins.show(); - objTab.removeClass('defaultTab').addClass('selectTab');//当只有一个窗口时 - myLib.desktop.win.switchZindex(wins); - }else{ - - } - } - }, - upWinResize_block:function(win){ - - //更新窗口可改变大小范围,wh为浏览器窗口大小 - var offset=win.offset(); - win.resizable( "option" ,{'maxWidth':$(window).width()-offset.left-10,'maxHeight':$(window).height()-offset.top-35}) - }, - drag:function(arr,$newWin,wh){ - var _this=this; - $newWin - .draggable({ - handle:'div.win_title', - iframeFix:false, - scroll: false - }) - .bind("dragstart",function(event,ui){ - _this.iframFix($(this)); - $("#desktopPanel").css("z-index",95); - }) - .bind( "dragstop", function(event, ui) { - $("#desktopPanel").css("z-index",70); - - var obj_this=$(this); - - var offset=obj_this.offset(); - //计算可拖曳范围 - _this.upWinResize_block(obj_this); - - obj_this - //更新窗口存储的位置属性 - .data('winLocation',{ - 'w':obj_this.width(), - 'h':obj_this.height(), - 'left':offset.left, - 'top':offset.top - }) - .find('.zzDiv') - .remove(); - - if(event.pageY>wh.h-50){ - $(this).css("top",event.pageY-90); - }else if(event.pageY<-35){ - $(this).css("top",-35); - } - }); - - $("div.win_title").css("cursor","move"); - - }, - resize:function(minW,minH,maxW,maxH,$newWin,wh){ - var _this=this; - $newWin - .resizable({ - minHeight:minH, - minWidth:minW, - containment:'document', - maxWidth:maxW, - maxHeight:maxH - }) - .css("position","absolute") - .bind( "resize", function(event, ui) { - var h=$(this).innerHeight(),w=$(this).innerWidth(); - _this.iframFix($(this)); - - //拖曳改变窗口大小,更新iframe宽度和高度,并显示iframe - $(this).children(".winframe").css({"width":w,"height":h-26}); - - }) - .bind( "resizestop", function(event, ui) { - var obj_this=$(this); - var offset=obj_this.offset(); - var h=obj_this.innerHeight(),w=obj_this.innerWidth(); - - obj_this - //更新窗口存储的位置属性 - .data('winLocation',{ - 'w':w, - 'h':h, - 'left':offset.left, - 'top':offset.top - }) - //删除遮障iframe的层 - .find(".zzDiv") - .remove(); - }); - } - } - -//侧边工具栏 -myLib.NS("desktop.lrBar"); -myLib.desktop.lrBar={ - upLrBar:function(){ - var myData=myLib.desktop.getMydata() - ,$lrBar=myData.panel.lrBar['_this'] - ,wh=myData.winWh; - $lrBar.css({'top':Math.floor((wh['h']-$lrBar.height())/2)-60}); - - }, - init:function(iconData){ - //读取元素对象数据 - var myData=myLib.desktop.getMydata() - ,$default_tools=myData.panel.lrBar['default_tools'] - ,$def_tools_Btn=$default_tools.find('span') - ,$start_btn=myData.panel.lrBar['start_btn'] - ,$start_block=myData.panel.lrBar.start_block - ,$start_item=myData.panel.lrBar['start_item'] - ,$default_app=myData.panel.lrBar['default_app'] - ,$lrBar=myData.panel.lrBar['_this'] - ,wh=myData.winWh - ,_this=this; - - //初始化侧栏位置 - _this.upLrBar(); - - //附加data数据 - myLib.desktop.iconDataInit(iconData); - - //如果窗口大小改变,则更新侧边栏位置 - $(window).wresize(function(){ - myLib.desktop.winWH();//更新窗口大小数据 - _this.upLrBar(); - }); - - //任务栏右边默认组件区域交互效果 - $def_tools_Btn.hover(function(){ - $(this).css("background-color","#999"); - },function(){ - $(this).css("background-color","transparent"); - }); - //默认应用程序区 - $default_app - .droppable({ - scope:'a', - drop: function(event,ui) { - var title=ui.draggable.find(".text").text(); - ui.draggable - .removeClass("desktop_icon") - .attr({"style":"", - "title":title - }) - .find("span") - .removeClass("icon") - .end() - .appendTo($default_app); - myLib.desktop.deskIcon.init(); - _this.init(); - } - }) - .find('li') - .hover(function(){ - $(this).addClass('btnOver'); - },function(){ - $(this).removeClass('btnOver'); - }) - .click(function(){ - - var data=$(this).data("iconData"),id=this.id; - myLib.desktop.win.newWin({ - WindowTitle:data.title, - iframSrc:data.url, - WindowsId:id, - WindowAnimation:'none', - WindowWidth:data.winWidth, - WindowHeight:data.winHeight - }); - - $(this).data("currPanel",$("ul.currDesktop").index("ul.deskIcon")); - - }) - .draggable({ - helper: "clone", - scroll:false, - opacity: 0.7, - scope:'a', - appendTo:'parent', - start:function(){ - $lrBar.css("z-index",90); - } - }) - .droppable({ - scope:'a', - drop: function(event,ui) { - - var title=ui.draggable.find(".text").text(); - ui.draggable - .removeClass("desktop_icon") - .attr({"style":"", - "title":title - }) - .find("span") - .removeClass("icon") - .end() - .insertBefore($(this)); - _this.init(); - myLib.desktop.deskIcon.init(); - } - }); - - //开始按钮、菜单交互效果 - $start_btn.click(function(event){ - event.preventDefault(); - event.stopPropagation() - if($start_item.is(":hidden")) - $start_item.show(); - else - $start_item.hide(); - }); - - $("body").click(function(event){ - event.preventDefault(); - $start_item.hide(); - }); - //全屏 - $("#showZm_btn") - .toggle(function(){ - myLib.fullscreenIE(); - myLib.fullscreen(); - }, - function(){ - myLib.fullscreenIE(); - myLib.exitFullscreen(); - }); - } - } -/*---------------------------------------------------------------------------------- -//声明任务栏空间,任务栏相关js操作 -----------------------------------------------------------------------------------*/ -myLib.NS("desktop.taskBar"); -myLib.desktop.taskBar={ - timer:function(obj){ - var curDaytime=new Date().toLocaleString().split(" "); - obj.innerHTML=curDaytime[1]; - obj.title=curDaytime[0]; - setInterval(function(){obj.innerHTML=new Date().toLocaleString().split(" ")[1];},1000); - }, - upTaskWidth:function(){ - var myData=myLib.desktop.getMydata() - ,$task_bar=myData.panel.taskBar['_this']; - var maxHdTabNum=Math.floor($(window).width()/100); - //计算任务栏宽度 - $task_bar.width(maxHdTabNum*100); - //存储活动任务栏tab默认组数 - $('body').data("maxHdTabNum",maxHdTabNum-2); - }, - init:function(){ - //读取元素对象数据 - var myData=myLib.desktop.getMydata(); - var $task_lb=myData.panel.taskBar['task_lb'] - ,$task_bar=myData.panel.taskBar['_this'] - ,wh=myData.winWh; - - var _this=this; - _this.upTaskWidth(); - //当改变浏览器窗口大小时,重新计算任务栏宽度 - $(window).wresize(function(){ - _this.upTaskWidth(); - }); - - }, - contextMenu:function(tab,id){ - var _this=this; - //初始化任务栏Tab右键菜单 - var data=[ - [{ - text:"最大化", - func:function(){ - $("#myWin_"+tab.data('win')).find('a.winMaximize').trigger('click'); - } - },{ - text:"最小化", - func:function(){ - myLib.desktop.win.minimize($("#myWin_"+tab.data('win'))); - } - }] - ,[{ - text:"关闭", - func:function(){ - $("#smartMenu_taskTab_menu"+id).remove(); - myLib.desktop.win.closeWin($("#myWin_"+tab.data('win'))); - } - }] - ]; - myLib.desktop.contextMenu(tab,data,"taskTab_menu"+id,10); - }, - addWinTab:function(text,id){ - var myData=myLib.desktop.getMydata(); - var $task_lb=myData.panel.taskBar['task_lb'] - ,$task_bar=myData.panel.taskBar['_this'] - ,$navBar=myData.panel.navBar - ,$navTab=$navBar.find("a") - ,tid="myWinTab_"+id - ,allTab=$task_lb.find('a') - ,curTabNum=allTab.size() - ,docHtml=""+text+""; - - //添加新的tab - $task_lb.append($(docHtml)); - var $newTab=$("#"+tid); - //右键菜单 - this.contextMenu($newTab,id); - - $task_lb - .find('a.selectTab') - .removeClass('selectTab') - .addClass('defaultTab'); - - $newTab - .data('win',id) - .addClass('selectTab') - .click(function(){ - var win=$("#myWin_"+$(this).data('win')), - tabId=this.id, - iconId=tabId.split("_")[1], - desk=$("#"+iconId).parent(), - i=desk.index("ul.deskIcon"); //判断窗口在那个桌面区域 - - if(i<0){ - i=$("#"+iconId).data("currPanel"); - } - //如果是当前桌面 - if(desk.is(".currDesktop")){ - if(win.is(".hideWin")){ - //win.show(); - win.css({"left":win.position().left+10000,"visibility":"visible"}).removeClass("hideWin"); - - $(this).removeClass('defaultTab').addClass('selectTab');//当只有一个窗口时 - myLib.desktop.win.switchZindex(win); - }else{ - if($(this).hasClass('selectTab')){ - myLib.desktop.win.minimize(win); - }else{ - myLib.desktop.win.switchZindex(win); - } - } - - //如果不在当前窗口 - }else{ - if(win.is(".hideWin")){ - //win.show(); - win.css({"left":win.position().left+10000,"visibility":"visible"}).removeClass("hideWin"); - - $(this).removeClass('defaultTab').addClass('selectTab');//当只有一个窗口时 - myLib.desktop.win.switchZindex(win); - } - $navTab.eq(i).trigger("click"); - } - - }); - - $('body').data("topWinTab",$newTab); - - //当任务栏活动窗口数超出时 - if(curTabNum>myData.maxHdTabNum-1){ - var LeftBtn=$('#leftBtn') - ,rightBtn=$('#rightBtn') - ,bH; - - LeftBtn - .show() - .find("a") - .click(function(){ - var pos=$task_lb.position(); - if(pos.top<0){ - $task_lb.animate({ - "top":pos.top+40 - }, 50); - } - }); - - rightBtn - .show() - .find("a") - .click(function(){ - var pos=$task_lb.position(),h=$task_lb.height(),row=h/40; - if(pos.top>(row-1)*(-40)){ - $task_lb.animate({ - "top": pos.top-40 - }, 50); - } - }); - - $task_lb.parent().css("margin","0 100"); - } - - }, - delWinTab:function(wObj){ - var myData=myLib.desktop.getMydata() - ,$task_lb=myData.panel.taskBar['task_lb'] - ,$task_bar=myData.panel.taskBar['_this'] - ,LeftBtn=$('#leftBtn') - ,rightBtn=$('#rightBtn') - ,pos=$task_lb.position(); - - this.findWinTab(wObj).remove(); - - var newH=$task_lb.height(); - if(Math.abs(pos.top)==newH){ - LeftBtn.find('a').trigger("click"); - } - if(newH==40){ - LeftBtn.hide(); - rightBtn.hide(); - $task_lb.parent().css("margin",0); - } - }, - findWinTab:function(wObj){ - var myData=myLib.desktop.getMydata(), - $task_lb=myData.panel.taskBar['task_lb'], - objTab; - $task_lb.find('a').each(function(index){ - var id="#myWin_"+$(this).data("win"); - if($(id).is(wObj)){ - objTab=$(this); - } - }); - return objTab; - } - } -//navbar -myLib.NS("desktop.navBar"); -myLib.desktop.navBar={ - init:function(){ - var myData=myLib.desktop.getMydata() - ,$navBar=myData.panel.navBar - ,$innerPanel=myData.panel.desktopPanel.innerPanel - ,$navTab=$navBar.find("a") - ,$deskIcon=myData.panel.desktopPanel['deskIcon'] - ,desktopWidth=$deskIcon.width() - ,lBarWidth=myData.panel.lrBar["_this"].outerWidth(); - - $navBar - .draggable({ - scroll:false - }); - - $navTab - .droppable({ - scope:'a', - over:function(event,ui){ - $(this).trigger("click"); - var i=$navTab.index($(this)); - //ui.draggable - //.css({left:event.pageX+$deskIcon.width()*i}); - }, - drop: function(event,ui) { - var i=$navTab.index($(this)); - ui.draggable - .addClass("desktop_icon") - .insertBefore($deskIcon.eq(i).find(".add_icon")) - .find("span") - .addClass("icon"); - myLib.desktop.deskIcon.init(); - myLib.desktop.lrBar.init(); - } - }) - .click(function(event){ - event.preventDefault(); - event.stopPropagation(); - var i=$navTab.index($(this)); - myLib.desktop.deskIcon.desktopMove($innerPanel,$deskIcon,$navTab,500,desktopWidth+lBarWidth,i); - }); - } - }; - -//桌面背景 -myLib.NS("desktop.wallpaper"); -myLib.desktop.wallpaper={ - init:function(imgUrl){ - - //将当前窗口宽度和高度数据存储在body元素上 - myLib.desktop.winWH(); - - var myData=myLib.desktop.getMydata() - ,winWh=myData.winWh - ,wallpaper=myData.panel.wallpaper - ,_this=this; - - if(imgUrl!==null){ - wallpaper.html(""); - var img=wallpaper.find("img"); - - myLib.getImgWh(imgUrl,function(imgW,imgH){ - if(imgW<=winWh.w){ - img.css('width',winWh.w); - }else{ - img.css({"margin-left":-(imgW-winWh.w)/2}); - } - if(imgH<=winWh.h){ - img.css('height',winWh.h); - }else{ - img.css({"margin-top":-(imgH-winWh.h)/2}); - } - }); - } - - //如果窗口大小改变,更新背景布局大小 - window.onresize=function(){ - _this.init(imgUrl); - }; - } - }; - -//桌面图标区域 -myLib.NS("desktop.deskIcon"); -myLib.desktop.deskIcon={ - //桌面图标排列 - arrangeIcons:function(desktop){ - var myData=myLib.desktop.getMydata() - ,winWh=myData.winWh - ,$navBar=myData.panel.navBar - ,navBarHeight=$navBar.outerHeight() - //计算一共有多少图标 - ,iconNum=desktop.find("li").size(); - - //存储当前总共有多少桌面图标 - desktop.data('deskIconNum',iconNum); - - var gH=120;//一个图标总高度,包括上下margin - var gW=120;//图标总宽度,包括左右margin - var rows=Math.floor((winWh['h']-navBarHeight-75)/gH); - var cols=Math.ceil(iconNum/rows); - var curcol=0,currow=0; - - desktop. - find("li") - .css({ - "position":"absolute", - "margin":0, - "left":function(index,value){ - var v=curcol*gW+30; - if((index+1)%rows==0){ - curcol=curcol+1; - } - return v; - }, - "top":function(index,value){ - var v=(index-rows*currow)*gH+20; - if((index+1)%rows==0){ - currow=currow+1; - } - return v; - }}); - }, - upDesktop:function($deskIcon,$deskIconBlock,$innerPanel,$deskIconNum,navBarHeight,lBarWidth){ - var myData=myLib.desktop.getMydata() - ,winWh=myData.winWh - ,w=winWh['w']-lBarWidth - ,h=(winWh['h']-75-navBarHeight) - ,_this=this; - - //设置桌面图标容器元素区域大小 - $innerPanel.css({"width":((w+lBarWidth)*$deskIconNum)+"px","height":h+"px"}); - $deskIcon.css({"width":w+"px","height":h+"px",'margin-right':lBarWidth}); - $deskIconBlock.css({"width":w+"px","height":h+"px","margin-top":navBarHeight,'margin-left':lBarWidth+'px','margin-bottom':75+"px"}); - - $deskIcon.each(function(){ - _this.arrangeIcons($(this)); - - $(this) - .droppable({ - scope:'a', - drop: function(event,ui) { - ui.draggable - .addClass("desktop_icon") - .insertBefore($(this).find(".add_icon")) - .find("span") - .addClass("icon"); - _this.init(); - myLib.desktop.lrBar.init(); - } - }); - }); - }, - desktopMove:function($innerPanel,$deskIcon,$navTab,dates,moveDx,nextIndex){ - $innerPanel - .stop() - .animate({ - left:-(nextIndex)*moveDx - },dates,function(){ - $deskIcon - .removeClass("currDesktop") - .eq(nextIndex) - .addClass("currDesktop"); - - $navTab - .removeClass("currTab") - .eq(nextIndex) - .addClass("currTab"); - }); - }, - init:function(iconData){ - - var myData=myLib.desktop.getMydata() - ,winWh=myData.winWh - ,$deskIconBlock=myData.panel.desktopPanel['_this'] - ,$innerPanel=myData.panel.desktopPanel.innerPanel - ,$deskIcon=myData.panel.desktopPanel['deskIcon'] - ,$deskIconNum=$deskIcon.size() - ,$navBar=myData.panel.navBar - ,navBarHeight=$navBar.outerHeight() - ,$navTab=$navBar.find("a") - ,lBarWidth=myData.panel.lrBar["_this"].outerWidth() - ,_this=this; - - _this.upDesktop($deskIcon,$deskIconBlock,$innerPanel,$deskIconNum,navBarHeight,lBarWidth); - - //如果窗口大小改变,则重新排列图标 - $(window).wresize(function(){ - myLib.desktop.winWH();//更新窗口大小数据 - _this.upDesktop($deskIcon,$deskIconBlock,$innerPanel,$deskIconNum,navBarHeight,lBarWidth); - }); - //附加data数据 - myLib.desktop.iconDataInit(iconData); - - //桌面可使用鼠标拖动切换 - var timeStart,timeEnd,dxStart,dxEnd; - - $innerPanel - .draggable({ - axis:'x', - start:function(event,ui){ - - $(this).css("cursor","move"); - timeStart=new Date().getTime(); - dxStart=event.pageX; - }, - stop:function(event,ui){ - $(this).css("cursor","inherit"); - timeEnd=new Date().getTime(); - dxEnd=event.pageX; - var timeCha=timeEnd-timeStart - ,dxCha=dxEnd-dxStart - ,currDesktop=$(this).find("ul.currDesktop") - ,deskIndex=$deskIcon.index(currDesktop) - ,moveDx=$deskIcon.width()+lBarWidth - ,dates=1000+timeCha; - - //左移 - if(dxCha < -150 && deskIndex<3){ - _this.desktopMove($(this),$deskIcon,$navTab,dates,moveDx,deskIndex+1); - //右移 - }else if(dxCha > 150 && deskIndex>0){ - _this.desktopMove($(this),$deskIcon,$navTab,dates,moveDx,deskIndex-1); - }else{ - $(this) - .animate({ - left:-(deskIndex)*moveDx - },500); - } - } - }); - - - //图标鼠标经过效果 - $deskIcon - .find("li") - .hover(function(){ - $(this).addClass("desktop_icon_over"); - }, - function(){ - $(this).removeClass("desktop_icon_over"); - }) - .not("li.add_icon") - //双击图标打开窗口 - .click(function(){ - var data=$(this).data("iconData"),id=this.id; - myLib.desktop.win.newWin({ - WindowTitle:data.title, - iframSrc:data.url, - WindowsId:id, - WindowAnimation:'none', - WindowWidth:data.winWidth, - WindowHeight:data.winHeight - }); - }) - .draggable({ - helper: "clone", - scroll:false, - opacity: 0.7, - scope:'a', - appendTo: 'body' , - zIndex:91, - start: function(event, ui) { - ui.helper.removeClass("desktop_icon_over"); - } - }) - .droppable({ - scope:'a', - drop: function(event,ui) { - ui.draggable - .unbind("dblclick") - .addClass("desktop_icon") - .insertBefore($(this)) - .find("span") - .addClass("icon"); - _this.init(); - myLib.desktop.lrBar.init(); - } - }); - - //初始化桌面右键菜单 - var data=[ - [{ - text:"显示桌面", - func:function(){} - }] - ,[{ - text:"系统设置", - func:function(){} - },{ - text:"主题设置", - func:function(){} - }] - ,[{ - text:"退出系统", - func:function(){} - }] - ,[{ - text:"关于fleiCms", - func:function(){} - }] - ]; - myLib.desktop.contextMenu($(document.body),data,"body",10); - } - } diff --git a/src/main/webapp/js/webqq/jquery-1.7.1.min.js b/src/main/webapp/js/webqq/jquery-1.7.1.min.js deleted file mode 100644 index 198b3ff07d801dffa2c42fcf3b67eb3295eef85f..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/webqq/jquery-1.7.1.min.js +++ /dev/null @@ -1,4 +0,0 @@ -/*! jQuery v1.7.1 jquery.com | jquery.org/license */ -(function(a,b){function cy(a){return f.isWindow(a)?a:a.nodeType===9?a.defaultView||a.parentWindow:!1}function cv(a){if(!ck[a]){var b=c.body,d=f("<"+a+">").appendTo(b),e=d.css("display");d.remove();if(e==="none"||e===""){cl||(cl=c.createElement("iframe"),cl.frameBorder=cl.width=cl.height=0),b.appendChild(cl);if(!cm||!cl.createElement)cm=(cl.contentWindow||cl.contentDocument).document,cm.write((c.compatMode==="CSS1Compat"?"":"")+""),cm.close();d=cm.createElement(a),cm.body.appendChild(d),e=f.css(d,"display"),b.removeChild(cl)}ck[a]=e}return ck[a]}function cu(a,b){var c={};f.each(cq.concat.apply([],cq.slice(0,b)),function(){c[this]=a});return c}function ct(){cr=b}function cs(){setTimeout(ct,0);return cr=f.now()}function cj(){try{return new a.ActiveXObject("Microsoft.XMLHTTP")}catch(b){}}function ci(){try{return new a.XMLHttpRequest}catch(b){}}function cc(a,c){a.dataFilter&&(c=a.dataFilter(c,a.dataType));var d=a.dataTypes,e={},g,h,i=d.length,j,k=d[0],l,m,n,o,p;for(g=1;g0){if(c!=="border")for(;g=0===c})}function S(a){return!a||!a.parentNode||a.parentNode.nodeType===11}function K(){return!0}function J(){return!1}function n(a,b,c){var d=b+"defer",e=b+"queue",g=b+"mark",h=f._data(a,d);h&&(c==="queue"||!f._data(a,e))&&(c==="mark"||!f._data(a,g))&&setTimeout(function(){!f._data(a,e)&&!f._data(a,g)&&(f.removeData(a,d,!0),h.fire())},0)}function m(a){for(var b in a){if(b==="data"&&f.isEmptyObject(a[b]))continue;if(b!=="toJSON")return!1}return!0}function l(a,c,d){if(d===b&&a.nodeType===1){var e="data-"+c.replace(k,"-$1").toLowerCase();d=a.getAttribute(e);if(typeof d=="string"){try{d=d==="true"?!0:d==="false"?!1:d==="null"?null:f.isNumeric(d)?parseFloat(d):j.test(d)?f.parseJSON(d):d}catch(g){}f.data(a,c,d)}else d=b}return d}function h(a){var b=g[a]={},c,d;a=a.split(/\s+/);for(c=0,d=a.length;c)[^>]*$|#([\w\-]*)$)/,j=/\S/,k=/^\s+/,l=/\s+$/,m=/^<(\w+)\s*\/?>(?:<\/\1>)?$/,n=/^[\],:{}\s]*$/,o=/\\(?:["\\\/bfnrt]|u[0-9a-fA-F]{4})/g,p=/"[^"\\\n\r]*"|true|false|null|-?\d+(?:\.\d*)?(?:[eE][+\-]?\d+)?/g,q=/(?:^|:|,)(?:\s*\[)+/g,r=/(webkit)[ \/]([\w.]+)/,s=/(opera)(?:.*version)?[ \/]([\w.]+)/,t=/(msie) ([\w.]+)/,u=/(mozilla)(?:.*? rv:([\w.]+))?/,v=/-([a-z]|[0-9])/ig,w=/^-ms-/,x=function(a,b){return(b+"").toUpperCase()},y=d.userAgent,z,A,B,C=Object.prototype.toString,D=Object.prototype.hasOwnProperty,E=Array.prototype.push,F=Array.prototype.slice,G=String.prototype.trim,H=Array.prototype.indexOf,I={};e.fn=e.prototype={constructor:e,init:function(a,d,f){var g,h,j,k;if(!a)return this;if(a.nodeType){this.context=this[0]=a,this.length=1;return this}if(a==="body"&&!d&&c.body){this.context=c,this[0]=c.body,this.selector=a,this.length=1;return this}if(typeof a=="string"){a.charAt(0)!=="<"||a.charAt(a.length-1)!==">"||a.length<3?g=i.exec(a):g=[null,a,null];if(g&&(g[1]||!d)){if(g[1]){d=d instanceof e?d[0]:d,k=d?d.ownerDocument||d:c,j=m.exec(a),j?e.isPlainObject(d)?(a=[c.createElement(j[1])],e.fn.attr.call(a,d,!0)):a=[k.createElement(j[1])]:(j=e.buildFragment([g[1]],[k]),a=(j.cacheable?e.clone(j.fragment):j.fragment).childNodes);return e.merge(this,a)}h=c.getElementById(g[2]);if(h&&h.parentNode){if(h.id!==g[2])return f.find(a);this.length=1,this[0]=h}this.context=c,this.selector=a;return this}return!d||d.jquery?(d||f).find(a):this.constructor(d).find(a)}if(e.isFunction(a))return f.ready(a);a.selector!==b&&(this.selector=a.selector,this.context=a.context);return e.makeArray(a,this)},selector:"",jquery:"1.7.1",length:0,size:function(){return this.length},toArray:function(){return F.call(this,0)},get:function(a){return a==null?this.toArray():a<0?this[this.length+a]:this[a]},pushStack:function(a,b,c){var d=this.constructor();e.isArray(a)?E.apply(d,a):e.merge(d,a),d.prevObject=this,d.context=this.context,b==="find"?d.selector=this.selector+(this.selector?" ":"")+c:b&&(d.selector=this.selector+"."+b+"("+c+")");return d},each:function(a,b){return e.each(this,a,b)},ready:function(a){e.bindReady(),A.add(a);return this},eq:function(a){a=+a;return a===-1?this.slice(a):this.slice(a,a+1)},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},slice:function(){return this.pushStack(F.apply(this,arguments),"slice",F.call(arguments).join(","))},map:function(a){return this.pushStack(e.map(this,function(b,c){return a.call(b,c,b)}))},end:function(){return this.prevObject||this.constructor(null)},push:E,sort:[].sort,splice:[].splice},e.fn.init.prototype=e.fn,e.extend=e.fn.extend=function(){var a,c,d,f,g,h,i=arguments[0]||{},j=1,k=arguments.length,l=!1;typeof i=="boolean"&&(l=i,i=arguments[1]||{},j=2),typeof i!="object"&&!e.isFunction(i)&&(i={}),k===j&&(i=this,--j);for(;j0)return;A.fireWith(c,[e]),e.fn.trigger&&e(c).trigger("ready").off("ready")}},bindReady:function(){if(!A){A=e.Callbacks("once memory");if(c.readyState==="complete")return setTimeout(e.ready,1);if(c.addEventListener)c.addEventListener("DOMContentLoaded",B,!1),a.addEventListener("load",e.ready,!1);else if(c.attachEvent){c.attachEvent("onreadystatechange",B),a.attachEvent("onload",e.ready);var b=!1;try{b=a.frameElement==null}catch(d){}c.documentElement.doScroll&&b&&J()}}},isFunction:function(a){return e.type(a)==="function"},isArray:Array.isArray||function(a){return e.type(a)==="array"},isWindow:function(a){return a&&typeof a=="object"&&"setInterval"in a},isNumeric:function(a){return!isNaN(parseFloat(a))&&isFinite(a)},type:function(a){return a==null?String(a):I[C.call(a)]||"object"},isPlainObject:function(a){if(!a||e.type(a)!=="object"||a.nodeType||e.isWindow(a))return!1;try{if(a.constructor&&!D.call(a,"constructor")&&!D.call(a.constructor.prototype,"isPrototypeOf"))return!1}catch(c){return!1}var d;for(d in a);return d===b||D.call(a,d)},isEmptyObject:function(a){for(var b in a)return!1;return!0},error:function(a){throw new Error(a)},parseJSON:function(b){if(typeof b!="string"||!b)return null;b=e.trim(b);if(a.JSON&&a.JSON.parse)return a.JSON.parse(b);if(n.test(b.replace(o,"@").replace(p,"]").replace(q,"")))return(new Function("return "+b))();e.error("Invalid JSON: "+b)},parseXML:function(c){var d,f;try{a.DOMParser?(f=new DOMParser,d=f.parseFromString(c,"text/xml")):(d=new ActiveXObject("Microsoft.XMLDOM"),d.async="false",d.loadXML(c))}catch(g){d=b}(!d||!d.documentElement||d.getElementsByTagName("parsererror").length)&&e.error("Invalid XML: "+c);return d},noop:function(){},globalEval:function(b){b&&j.test(b)&&(a.execScript||function(b){a.eval.call(a,b)})(b)},camelCase:function(a){return a.replace(w,"ms-").replace(v,x)},nodeName:function(a,b){return a.nodeName&&a.nodeName.toUpperCase()===b.toUpperCase()},each:function(a,c,d){var f,g=0,h=a.length,i=h===b||e.isFunction(a);if(d){if(i){for(f in a)if(c.apply(a[f],d)===!1)break}else for(;g0&&a[0]&&a[j-1]||j===0||e.isArray(a));if(k)for(;i1?i.call(arguments,0):b,j.notifyWith(k,e)}}function l(a){return function(c){b[a]=arguments.length>1?i.call(arguments,0):c,--g||j.resolveWith(j,b)}}var b=i.call(arguments,0),c=0,d=b.length,e=Array(d),g=d,h=d,j=d<=1&&a&&f.isFunction(a.promise)?a:f.Deferred(),k=j.promise();if(d>1){for(;c
                                a",d=q.getElementsByTagName("*"),e=q.getElementsByTagName("a")[0];if(!d||!d.length||!e)return{};g=c.createElement("select"),h=g.appendChild(c.createElement("option")),i=q.getElementsByTagName("input")[0],b={leadingWhitespace:q.firstChild.nodeType===3,tbody:!q.getElementsByTagName("tbody").length,htmlSerialize:!!q.getElementsByTagName("link").length,style:/top/.test(e.getAttribute("style")),hrefNormalized:e.getAttribute("href")==="/a",opacity:/^0.55/.test(e.style.opacity),cssFloat:!!e.style.cssFloat,checkOn:i.value==="on",optSelected:h.selected,getSetAttribute:q.className!=="t",enctype:!!c.createElement("form").enctype,html5Clone:c.createElement("nav").cloneNode(!0).outerHTML!=="<:nav>",submitBubbles:!0,changeBubbles:!0,focusinBubbles:!1,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0},i.checked=!0,b.noCloneChecked=i.cloneNode(!0).checked,g.disabled=!0,b.optDisabled=!h.disabled;try{delete q.test}catch(s){b.deleteExpando=!1}!q.addEventListener&&q.attachEvent&&q.fireEvent&&(q.attachEvent("onclick",function(){b.noCloneEvent=!1}),q.cloneNode(!0).fireEvent("onclick")),i=c.createElement("input"),i.value="t",i.setAttribute("type","radio"),b.radioValue=i.value==="t",i.setAttribute("checked","checked"),q.appendChild(i),k=c.createDocumentFragment(),k.appendChild(q.lastChild),b.checkClone=k.cloneNode(!0).cloneNode(!0).lastChild.checked,b.appendChecked=i.checked,k.removeChild(i),k.appendChild(q),q.innerHTML="",a.getComputedStyle&&(j=c.createElement("div"),j.style.width="0",j.style.marginRight="0",q.style.width="2px",q.appendChild(j),b.reliableMarginRight=(parseInt((a.getComputedStyle(j,null)||{marginRight:0}).marginRight,10)||0)===0);if(q.attachEvent)for(o in{submit:1,change:1,focusin:1})n="on"+o,p=n in q,p||(q.setAttribute(n,"return;"),p=typeof q[n]=="function"),b[o+"Bubbles"]=p;k.removeChild(q),k=g=h=j=q=i=null,f(function(){var a,d,e,g,h,i,j,k,m,n,o,r=c.getElementsByTagName("body")[0];!r||(j=1,k="position:absolute;top:0;left:0;width:1px;height:1px;margin:0;",m="visibility:hidden;border:0;",n="style='"+k+"border:5px solid #000;padding:0;'",o="
                                "+""+"
                                ",a=c.createElement("div"),a.style.cssText=m+"width:0;height:0;position:static;top:0;margin-top:"+j+"px",r.insertBefore(a,r.firstChild),q=c.createElement("div"),a.appendChild(q),q.innerHTML="
                                t
                                ",l=q.getElementsByTagName("td"),p=l[0].offsetHeight===0,l[0].style.display="",l[1].style.display="none",b.reliableHiddenOffsets=p&&l[0].offsetHeight===0,q.innerHTML="",q.style.width=q.style.paddingLeft="1px",f.boxModel=b.boxModel=q.offsetWidth===2,typeof q.style.zoom!="undefined"&&(q.style.display="inline",q.style.zoom=1,b.inlineBlockNeedsLayout=q.offsetWidth===2,q.style.display="",q.innerHTML="
                                ",b.shrinkWrapBlocks=q.offsetWidth!==2),q.style.cssText=k+m,q.innerHTML=o,d=q.firstChild,e=d.firstChild,h=d.nextSibling.firstChild.firstChild,i={doesNotAddBorder:e.offsetTop!==5,doesAddBorderForTableAndCells:h.offsetTop===5},e.style.position="fixed",e.style.top="20px",i.fixedPosition=e.offsetTop===20||e.offsetTop===15,e.style.position=e.style.top="",d.style.overflow="hidden",d.style.position="relative",i.subtractsBorderForOverflowNotVisible=e.offsetTop===-5,i.doesNotIncludeMarginInBodyOffset=r.offsetTop!==j,r.removeChild(a),q=a=null,f.extend(b,i))});return b}();var j=/^(?:\{.*\}|\[.*\])$/,k=/([A-Z])/g;f.extend({cache:{},uuid:0,expando:"jQuery"+(f.fn.jquery+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(a){a=a.nodeType?f.cache[a[f.expando]]:a[f.expando];return!!a&&!m(a)},data:function(a,c,d,e){if(!!f.acceptData(a)){var g,h,i,j=f.expando,k=typeof c=="string",l=a.nodeType,m=l?f.cache:a,n=l?a[j]:a[j]&&j,o=c==="events";if((!n||!m[n]||!o&&!e&&!m[n].data)&&k&&d===b)return;n||(l?a[j]=n=++f.uuid:n=j),m[n]||(m[n]={},l||(m[n].toJSON=f.noop));if(typeof c=="object"||typeof c=="function")e?m[n]=f.extend(m[n],c):m[n].data=f.extend(m[n].data,c);g=h=m[n],e||(h.data||(h.data={}),h=h.data),d!==b&&(h[f.camelCase(c)]=d);if(o&&!h[c])return g.events;k?(i=h[c],i==null&&(i=h[f.camelCase(c)])):i=h;return i}},removeData:function(a,b,c){if(!!f.acceptData(a)){var d,e,g,h=f.expando,i=a.nodeType,j=i?f.cache:a,k=i?a[h]:h;if(!j[k])return;if(b){d=c?j[k]:j[k].data;if(d){f.isArray(b)||(b in d?b=[b]:(b=f.camelCase(b),b in d?b=[b]:b=b.split(" ")));for(e=0,g=b.length;e-1)return!0;return!1},val:function(a){var c,d,e,g=this[0];{if(!!arguments.length){e=f.isFunction(a);return this.each(function(d){var g=f(this),h;if(this.nodeType===1){e?h=a.call(this,d,g.val()):h=a,h==null?h="":typeof h=="number"?h+="":f.isArray(h)&&(h=f.map(h,function(a){return a==null?"":a+""})),c=f.valHooks[this.nodeName.toLowerCase()]||f.valHooks[this.type];if(!c||!("set"in c)||c.set(this,h,"value")===b)this.value=h}})}if(g){c=f.valHooks[g.nodeName.toLowerCase()]||f.valHooks[g.type];if(c&&"get"in c&&(d=c.get(g,"value"))!==b)return d;d=g.value;return typeof d=="string"?d.replace(q,""):d==null?"":d}}}}),f.extend({valHooks:{option:{get:function(a){var b=a.attributes.value;return!b||b.specified?a.value:a.text}},select:{get:function(a){var b,c,d,e,g=a.selectedIndex,h=[],i=a.options,j=a.type==="select-one";if(g<0)return null;c=j?g:0,d=j?g+1:i.length;for(;c=0}),c.length||(a.selectedIndex=-1);return c}}},attrFn:{val:!0,css:!0,html:!0,text:!0,data:!0,width:!0,height:!0,offset:!0},attr:function(a,c,d,e){var g,h,i,j=a.nodeType;if(!!a&&j!==3&&j!==8&&j!==2){if(e&&c in f.attrFn)return f(a)[c](d);if(typeof a.getAttribute=="undefined")return f.prop(a,c,d);i=j!==1||!f.isXMLDoc(a),i&&(c=c.toLowerCase(),h=f.attrHooks[c]||(u.test(c)?x:w));if(d!==b){if(d===null){f.removeAttr(a,c);return}if(h&&"set"in h&&i&&(g=h.set(a,d,c))!==b)return g;a.setAttribute(c,""+d);return d}if(h&&"get"in h&&i&&(g=h.get(a,c))!==null)return g;g=a.getAttribute(c);return g===null?b:g}},removeAttr:function(a,b){var c,d,e,g,h=0;if(b&&a.nodeType===1){d=b.toLowerCase().split(p),g=d.length;for(;h=0}})});var z=/^(?:textarea|input|select)$/i,A=/^([^\.]*)?(?:\.(.+))?$/,B=/\bhover(\.\S+)?\b/,C=/^key/,D=/^(?:mouse|contextmenu)|click/,E=/^(?:focusinfocus|focusoutblur)$/,F=/^(\w*)(?:#([\w\-]+))?(?:\.([\w\-]+))?$/,G=function(a){var b=F.exec(a);b&&(b[1]=(b[1]||"").toLowerCase(),b[3]=b[3]&&new RegExp("(?:^|\\s)"+b[3]+"(?:\\s|$)"));return b},H=function(a,b){var c=a.attributes||{};return(!b[1]||a.nodeName.toLowerCase()===b[1])&&(!b[2]||(c.id||{}).value===b[2])&&(!b[3]||b[3].test((c["class"]||{}).value))},I=function(a){return f.event.special.hover?a:a.replace(B,"mouseenter$1 mouseleave$1")}; -f.event={add:function(a,c,d,e,g){var h,i,j,k,l,m,n,o,p,q,r,s;if(!(a.nodeType===3||a.nodeType===8||!c||!d||!(h=f._data(a)))){d.handler&&(p=d,d=p.handler),d.guid||(d.guid=f.guid++),j=h.events,j||(h.events=j={}),i=h.handle,i||(h.handle=i=function(a){return typeof f!="undefined"&&(!a||f.event.triggered!==a.type)?f.event.dispatch.apply(i.elem,arguments):b},i.elem=a),c=f.trim(I(c)).split(" ");for(k=0;k=0&&(h=h.slice(0,-1),k=!0),h.indexOf(".")>=0&&(i=h.split("."),h=i.shift(),i.sort());if((!e||f.event.customEvent[h])&&!f.event.global[h])return;c=typeof c=="object"?c[f.expando]?c:new f.Event(h,c):new f.Event(h),c.type=h,c.isTrigger=!0,c.exclusive=k,c.namespace=i.join("."),c.namespace_re=c.namespace?new RegExp("(^|\\.)"+i.join("\\.(?:.*\\.)?")+"(\\.|$)"):null,o=h.indexOf(":")<0?"on"+h:"";if(!e){j=f.cache;for(l in j)j[l].events&&j[l].events[h]&&f.event.trigger(c,d,j[l].handle.elem,!0);return}c.result=b,c.target||(c.target=e),d=d!=null?f.makeArray(d):[],d.unshift(c),p=f.event.special[h]||{};if(p.trigger&&p.trigger.apply(e,d)===!1)return;r=[[e,p.bindType||h]];if(!g&&!p.noBubble&&!f.isWindow(e)){s=p.delegateType||h,m=E.test(s+h)?e:e.parentNode,n=null;for(;m;m=m.parentNode)r.push([m,s]),n=m;n&&n===e.ownerDocument&&r.push([n.defaultView||n.parentWindow||a,s])}for(l=0;le&&i.push({elem:this,matches:d.slice(e)});for(j=0;j0?this.on(b,null,a,c):this.trigger(b)},f.attrFn&&(f.attrFn[b]=!0),C.test(b)&&(f.event.fixHooks[b]=f.event.keyHooks),D.test(b)&&(f.event.fixHooks[b]=f.event.mouseHooks)}),function(){function x(a,b,c,e,f,g){for(var h=0,i=e.length;h0){k=j;break}}j=j[a]}e[h]=k}}}function w(a,b,c,e,f,g){for(var h=0,i=e.length;h+~,(\[\\]+)+|[>+~])(\s*,\s*)?((?:.|\r|\n)*)/g,d="sizcache"+(Math.random()+"").replace(".",""),e=0,g=Object.prototype.toString,h=!1,i=!0,j=/\\/g,k=/\r\n/g,l=/\W/;[0,0].sort(function(){i=!1;return 0});var m=function(b,d,e,f){e=e||[],d=d||c;var h=d;if(d.nodeType!==1&&d.nodeType!==9)return[];if(!b||typeof b!="string")return e;var i,j,k,l,n,q,r,t,u=!0,v=m.isXML(d),w=[],x=b;do{a.exec(""),i=a.exec(x);if(i){x=i[3],w.push(i[1]);if(i[2]){l=i[3];break}}}while(i);if(w.length>1&&p.exec(b))if(w.length===2&&o.relative[w[0]])j=y(w[0]+w[1],d,f);else{j=o.relative[w[0]]?[d]:m(w.shift(),d);while(w.length)b=w.shift(),o.relative[b]&&(b+=w.shift()),j=y(b,j,f)}else{!f&&w.length>1&&d.nodeType===9&&!v&&o.match.ID.test(w[0])&&!o.match.ID.test(w[w.length-1])&&(n=m.find(w.shift(),d,v),d=n.expr?m.filter(n.expr,n.set)[0]:n.set[0]);if(d){n=f?{expr:w.pop(),set:s(f)}:m.find(w.pop(),w.length===1&&(w[0]==="~"||w[0]==="+")&&d.parentNode?d.parentNode:d,v),j=n.expr?m.filter(n.expr,n.set):n.set,w.length>0?k=s(j):u=!1;while(w.length)q=w.pop(),r=q,o.relative[q]?r=w.pop():q="",r==null&&(r=d),o.relative[q](k,r,v)}else k=w=[]}k||(k=j),k||m.error(q||b);if(g.call(k)==="[object Array]")if(!u)e.push.apply(e,k);else if(d&&d.nodeType===1)for(t=0;k[t]!=null;t++)k[t]&&(k[t]===!0||k[t].nodeType===1&&m.contains(d,k[t]))&&e.push(j[t]);else for(t=0;k[t]!=null;t++)k[t]&&k[t].nodeType===1&&e.push(j[t]);else s(k,e);l&&(m(l,h,e,f),m.uniqueSort(e));return e};m.uniqueSort=function(a){if(u){h=i,a.sort(u);if(h)for(var b=1;b0},m.find=function(a,b,c){var d,e,f,g,h,i;if(!a)return[];for(e=0,f=o.order.length;e":function(a,b){var c,d=typeof b=="string",e=0,f=a.length;if(d&&!l.test(b)){b=b.toLowerCase();for(;e=0)?c||d.push(h):c&&(b[g]=!1));return!1},ID:function(a){return a[1].replace(j,"")},TAG:function(a,b){return a[1].replace(j,"").toLowerCase()},CHILD:function(a){if(a[1]==="nth"){a[2]||m.error(a[0]),a[2]=a[2].replace(/^\+|\s*/g,"");var b=/(-?)(\d*)(?:n([+\-]?\d*))?/.exec(a[2]==="even"&&"2n"||a[2]==="odd"&&"2n+1"||!/\D/.test(a[2])&&"0n+"+a[2]||a[2]);a[2]=b[1]+(b[2]||1)-0,a[3]=b[3]-0}else a[2]&&m.error(a[0]);a[0]=e++;return a},ATTR:function(a,b,c,d,e,f){var g=a[1]=a[1].replace(j,"");!f&&o.attrMap[g]&&(a[1]=o.attrMap[g]),a[4]=(a[4]||a[5]||"").replace(j,""),a[2]==="~="&&(a[4]=" "+a[4]+" ");return a},PSEUDO:function(b,c,d,e,f){if(b[1]==="not")if((a.exec(b[3])||"").length>1||/^\w/.test(b[3]))b[3]=m(b[3],null,null,c);else{var g=m.filter(b[3],c,d,!0^f);d||e.push.apply(e,g);return!1}else if(o.match.POS.test(b[0])||o.match.CHILD.test(b[0]))return!0;return b},POS:function(a){a.unshift(!0);return a}},filters:{enabled:function(a){return a.disabled===!1&&a.type!=="hidden"},disabled:function(a){return a.disabled===!0},checked:function(a){return a.checked===!0},selected:function(a){a.parentNode&&a.parentNode.selectedIndex;return a.selected===!0},parent:function(a){return!!a.firstChild},empty:function(a){return!a.firstChild},has:function(a,b,c){return!!m(c[3],a).length},header:function(a){return/h\d/i.test(a.nodeName)},text:function(a){var b=a.getAttribute("type"),c=a.type;return a.nodeName.toLowerCase()==="input"&&"text"===c&&(b===c||b===null)},radio:function(a){return a.nodeName.toLowerCase()==="input"&&"radio"===a.type},checkbox:function(a){return a.nodeName.toLowerCase()==="input"&&"checkbox"===a.type},file:function(a){return a.nodeName.toLowerCase()==="input"&&"file"===a.type},password:function(a){return a.nodeName.toLowerCase()==="input"&&"password"===a.type},submit:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"submit"===a.type},image:function(a){return a.nodeName.toLowerCase()==="input"&&"image"===a.type},reset:function(a){var b=a.nodeName.toLowerCase();return(b==="input"||b==="button")&&"reset"===a.type},button:function(a){var b=a.nodeName.toLowerCase();return b==="input"&&"button"===a.type||b==="button"},input:function(a){return/input|select|textarea|button/i.test(a.nodeName)},focus:function(a){return a===a.ownerDocument.activeElement}},setFilters:{first:function(a,b){return b===0},last:function(a,b,c,d){return b===d.length-1},even:function(a,b){return b%2===0},odd:function(a,b){return b%2===1},lt:function(a,b,c){return bc[3]-0},nth:function(a,b,c){return c[3]-0===b},eq:function(a,b,c){return c[3]-0===b}},filter:{PSEUDO:function(a,b,c,d){var e=b[1],f=o.filters[e];if(f)return f(a,c,b,d);if(e==="contains")return(a.textContent||a.innerText||n([a])||"").indexOf(b[3])>=0;if(e==="not"){var g=b[3];for(var h=0,i=g.length;h=0}},ID:function(a,b){return a.nodeType===1&&a.getAttribute("id")===b},TAG:function(a,b){return b==="*"&&a.nodeType===1||!!a.nodeName&&a.nodeName.toLowerCase()===b},CLASS:function(a,b){return(" "+(a.className||a.getAttribute("class"))+" ").indexOf(b)>-1},ATTR:function(a,b){var c=b[1],d=m.attr?m.attr(a,c):o.attrHandle[c]?o.attrHandle[c](a):a[c]!=null?a[c]:a.getAttribute(c),e=d+"",f=b[2],g=b[4];return d==null?f==="!=":!f&&m.attr?d!=null:f==="="?e===g:f==="*="?e.indexOf(g)>=0:f==="~="?(" "+e+" ").indexOf(g)>=0:g?f==="!="?e!==g:f==="^="?e.indexOf(g)===0:f==="$="?e.substr(e.length-g.length)===g:f==="|="?e===g||e.substr(0,g.length+1)===g+"-":!1:e&&d!==!1},POS:function(a,b,c,d){var e=b[2],f=o.setFilters[e];if(f)return f(a,c,b,d)}}},p=o.match.POS,q=function(a,b){return"\\"+(b-0+1)};for(var r in o.match)o.match[r]=new RegExp(o.match[r].source+/(?![^\[]*\])(?![^\(]*\))/.source),o.leftMatch[r]=new RegExp(/(^(?:.|\r|\n)*?)/.source+o.match[r].source.replace(/\\(\d+)/g,q));var s=function(a,b){a=Array.prototype.slice.call(a,0);if(b){b.push.apply(b,a);return b}return a};try{Array.prototype.slice.call(c.documentElement.childNodes,0)[0].nodeType}catch(t){s=function(a,b){var c=0,d=b||[];if(g.call(a)==="[object Array]")Array.prototype.push.apply(d,a);else if(typeof a.length=="number")for(var e=a.length;c",e.insertBefore(a,e.firstChild),c.getElementById(d)&&(o.find.ID=function(a,c,d){if(typeof c.getElementById!="undefined"&&!d){var e=c.getElementById(a[1]);return e?e.id===a[1]||typeof e.getAttributeNode!="undefined"&&e.getAttributeNode("id").nodeValue===a[1]?[e]:b:[]}},o.filter.ID=function(a,b){var c=typeof a.getAttributeNode!="undefined"&&a.getAttributeNode("id");return a.nodeType===1&&c&&c.nodeValue===b}),e.removeChild(a),e=a=null}(),function(){var a=c.createElement("div");a.appendChild(c.createComment("")),a.getElementsByTagName("*").length>0&&(o.find.TAG=function(a,b){var c=b.getElementsByTagName(a[1]);if(a[1]==="*"){var d=[];for(var e=0;c[e];e++)c[e].nodeType===1&&d.push(c[e]);c=d}return c}),a.innerHTML="",a.firstChild&&typeof a.firstChild.getAttribute!="undefined"&&a.firstChild.getAttribute("href")!=="#"&&(o.attrHandle.href=function(a){return a.getAttribute("href",2)}),a=null}(),c.querySelectorAll&&function(){var a=m,b=c.createElement("div"),d="__sizzle__";b.innerHTML="

                                ";if(!b.querySelectorAll||b.querySelectorAll(".TEST").length!==0){m=function(b,e,f,g){e=e||c;if(!g&&!m.isXML(e)){var h=/^(\w+$)|^\.([\w\-]+$)|^#([\w\-]+$)/.exec(b);if(h&&(e.nodeType===1||e.nodeType===9)){if(h[1])return s(e.getElementsByTagName(b),f);if(h[2]&&o.find.CLASS&&e.getElementsByClassName)return s(e.getElementsByClassName(h[2]),f)}if(e.nodeType===9){if(b==="body"&&e.body)return s([e.body],f);if(h&&h[3]){var i=e.getElementById(h[3]);if(!i||!i.parentNode)return s([],f);if(i.id===h[3])return s([i],f)}try{return s(e.querySelectorAll(b),f)}catch(j){}}else if(e.nodeType===1&&e.nodeName.toLowerCase()!=="object"){var k=e,l=e.getAttribute("id"),n=l||d,p=e.parentNode,q=/^\s*[+~]/.test(b);l?n=n.replace(/'/g,"\\$&"):e.setAttribute("id",n),q&&p&&(e=e.parentNode);try{if(!q||p)return s(e.querySelectorAll("[id='"+n+"'] "+b),f)}catch(r){}finally{l||k.removeAttribute("id")}}}return a(b,e,f,g)};for(var e in a)m[e]=a[e];b=null}}(),function(){var a=c.documentElement,b=a.matchesSelector||a.mozMatchesSelector||a.webkitMatchesSelector||a.msMatchesSelector;if(b){var d=!b.call(c.createElement("div"),"div"),e=!1;try{b.call(c.documentElement,"[test!='']:sizzle")}catch(f){e=!0}m.matchesSelector=function(a,c){c=c.replace(/\=\s*([^'"\]]*)\s*\]/g,"='$1']");if(!m.isXML(a))try{if(e||!o.match.PSEUDO.test(c)&&!/!=/.test(c)){var f=b.call(a,c);if(f||!d||a.document&&a.document.nodeType!==11)return f}}catch(g){}return m(c,null,null,[a]).length>0}}}(),function(){var a=c.createElement("div");a.innerHTML="
                                ";if(!!a.getElementsByClassName&&a.getElementsByClassName("e").length!==0){a.lastChild.className="e";if(a.getElementsByClassName("e").length===1)return;o.order.splice(1,0,"CLASS"),o.find.CLASS=function(a,b,c){if(typeof b.getElementsByClassName!="undefined"&&!c)return b.getElementsByClassName(a[1])},a=null}}(),c.documentElement.contains?m.contains=function(a,b){return a!==b&&(a.contains?a.contains(b):!0)}:c.documentElement.compareDocumentPosition?m.contains=function(a,b){return!!(a.compareDocumentPosition(b)&16)}:m.contains=function(){return!1},m.isXML=function(a){var b=(a?a.ownerDocument||a:0).documentElement;return b?b.nodeName!=="HTML":!1};var y=function(a,b,c){var d,e=[],f="",g=b.nodeType?[b]:b;while(d=o.match.PSEUDO.exec(a))f+=d[0],a=a.replace(o.match.PSEUDO,"");a=o.relative[a]?a+"*":a;for(var h=0,i=g.length;h0)for(h=g;h=0:f.filter(a,this).length>0:this.filter(a).length>0)},closest:function(a,b){var c=[],d,e,g=this[0];if(f.isArray(a)){var h=1;while(g&&g.ownerDocument&&g!==b){for(d=0;d-1:f.find.matchesSelector(g,a)){c.push(g);break}g=g.parentNode;if(!g||!g.ownerDocument||g===b||g.nodeType===11)break}}c=c.length>1?f.unique(c):c;return this.pushStack(c,"closest",a)},index:function(a){if(!a)return this[0]&&this[0].parentNode?this.prevAll().length:-1;if(typeof a=="string")return f.inArray(this[0],f(a));return f.inArray(a.jquery?a[0]:a,this)},add:function(a,b){var c=typeof a=="string"?f(a,b):f.makeArray(a&&a.nodeType?[a]:a),d=f.merge(this.get(),c);return this.pushStack(S(c[0])||S(d[0])?d:f.unique(d))},andSelf:function(){return this.add(this.prevObject)}}),f.each({parent:function(a){var b=a.parentNode;return b&&b.nodeType!==11?b:null},parents:function(a){return f.dir(a,"parentNode")},parentsUntil:function(a,b,c){return f.dir(a,"parentNode",c)},next:function(a){return f.nth(a,2,"nextSibling")},prev:function(a){return f.nth(a,2,"previousSibling")},nextAll:function(a){return f.dir(a,"nextSibling")},prevAll:function(a){return f.dir(a,"previousSibling")},nextUntil:function(a,b,c){return f.dir(a,"nextSibling",c)},prevUntil:function(a,b,c){return f.dir(a,"previousSibling",c)},siblings:function(a){return f.sibling(a.parentNode.firstChild,a)},children:function(a){return f.sibling(a.firstChild)},contents:function(a){return f.nodeName(a,"iframe")?a.contentDocument||a.contentWindow.document:f.makeArray(a.childNodes)}},function(a,b){f.fn[a]=function(c,d){var e=f.map(this,b,c);L.test(a)||(d=c),d&&typeof d=="string"&&(e=f.filter(d,e)),e=this.length>1&&!R[a]?f.unique(e):e,(this.length>1||N.test(d))&&M.test(a)&&(e=e.reverse());return this.pushStack(e,a,P.call(arguments).join(","))}}),f.extend({filter:function(a,b,c){c&&(a=":not("+a+")");return b.length===1?f.find.matchesSelector(b[0],a)?[b[0]]:[]:f.find.matches(a,b)},dir:function(a,c,d){var e=[],g=a[c];while(g&&g.nodeType!==9&&(d===b||g.nodeType!==1||!f(g).is(d)))g.nodeType===1&&e.push(g),g=g[c];return e},nth:function(a,b,c,d){b=b||1;var e=0;for(;a;a=a[c])if(a.nodeType===1&&++e===b)break;return a},sibling:function(a,b){var c=[];for(;a;a=a.nextSibling)a.nodeType===1&&a!==b&&c.push(a);return c}});var V="abbr|article|aside|audio|canvas|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",W=/ jQuery\d+="(?:\d+|null)"/g,X=/^\s+/,Y=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/ig,Z=/<([\w:]+)/,$=/",""],legend:[1,"
                                ","
                                "],thead:[1,"","
                                "],tr:[2,"","
                                "],td:[3,"","
                                "],col:[2,"","
                                "],area:[1,"",""],_default:[0,"",""]},bh=U(c);bg.optgroup=bg.option,bg.tbody=bg.tfoot=bg.colgroup=bg.caption=bg.thead,bg.th=bg.td,f.support.htmlSerialize||(bg._default=[1,"div
                                ","
                                "]),f.fn.extend({text:function(a){if(f.isFunction(a))return this.each(function(b){var c=f(this);c.text(a.call(this,b,c.text()))});if(typeof a!="object"&&a!==b)return this.empty().append((this[0]&&this[0].ownerDocument||c).createTextNode(a));return f.text(this)},wrapAll:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapAll(a.call(this,b))});if(this[0]){var b=f(a,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&b.insertBefore(this[0]),b.map(function(){var a=this;while(a.firstChild&&a.firstChild.nodeType===1)a=a.firstChild;return a}).append(this)}return this},wrapInner:function(a){if(f.isFunction(a))return this.each(function(b){f(this).wrapInner(a.call(this,b))});return this.each(function(){var b=f(this),c=b.contents();c.length?c.wrapAll(a):b.append(a)})},wrap:function(a){var b=f.isFunction(a);return this.each(function(c){f(this).wrapAll(b?a.call(this,c):a)})},unwrap:function(){return this.parent().each(function(){f.nodeName(this,"body")||f(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.appendChild(a)})},prepend:function(){return this.domManip(arguments,!0,function(a){this.nodeType===1&&this.insertBefore(a,this.firstChild)})},before:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this)});if(arguments.length){var a=f.clean(arguments);a.push.apply(a,this.toArray());return this.pushStack(a,"before",arguments)}},after:function(){if(this[0]&&this[0].parentNode)return this.domManip(arguments,!1,function(a){this.parentNode.insertBefore(a,this.nextSibling)});if(arguments.length){var a=this.pushStack(this,"after",arguments);a.push.apply(a,f.clean(arguments));return a}},remove:function(a,b){for(var c=0,d;(d=this[c])!=null;c++)if(!a||f.filter(a,[d]).length)!b&&d.nodeType===1&&(f.cleanData(d.getElementsByTagName("*")),f.cleanData([d])),d.parentNode&&d.parentNode.removeChild(d);return this},empty:function() -{for(var a=0,b;(b=this[a])!=null;a++){b.nodeType===1&&f.cleanData(b.getElementsByTagName("*"));while(b.firstChild)b.removeChild(b.firstChild)}return this},clone:function(a,b){a=a==null?!1:a,b=b==null?a:b;return this.map(function(){return f.clone(this,a,b)})},html:function(a){if(a===b)return this[0]&&this[0].nodeType===1?this[0].innerHTML.replace(W,""):null;if(typeof a=="string"&&!ba.test(a)&&(f.support.leadingWhitespace||!X.test(a))&&!bg[(Z.exec(a)||["",""])[1].toLowerCase()]){a=a.replace(Y,"<$1>");try{for(var c=0,d=this.length;c1&&l0?this.clone(!0):this).get();f(e[h])[b](j),d=d.concat(j)}return this.pushStack(d,a,e.selector)}}),f.extend({clone:function(a,b,c){var d,e,g,h=f.support.html5Clone||!bc.test("<"+a.nodeName)?a.cloneNode(!0):bo(a);if((!f.support.noCloneEvent||!f.support.noCloneChecked)&&(a.nodeType===1||a.nodeType===11)&&!f.isXMLDoc(a)){bk(a,h),d=bl(a),e=bl(h);for(g=0;d[g];++g)e[g]&&bk(d[g],e[g])}if(b){bj(a,h);if(c){d=bl(a),e=bl(h);for(g=0;d[g];++g)bj(d[g],e[g])}}d=e=null;return h},clean:function(a,b,d,e){var g;b=b||c,typeof b.createElement=="undefined"&&(b=b.ownerDocument||b[0]&&b[0].ownerDocument||c);var h=[],i;for(var j=0,k;(k=a[j])!=null;j++){typeof k=="number"&&(k+="");if(!k)continue;if(typeof k=="string")if(!_.test(k))k=b.createTextNode(k);else{k=k.replace(Y,"<$1>");var l=(Z.exec(k)||["",""])[1].toLowerCase(),m=bg[l]||bg._default,n=m[0],o=b.createElement("div");b===c?bh.appendChild(o):U(b).appendChild(o),o.innerHTML=m[1]+k+m[2];while(n--)o=o.lastChild;if(!f.support.tbody){var p=$.test(k),q=l==="table"&&!p?o.firstChild&&o.firstChild.childNodes:m[1]===""&&!p?o.childNodes:[];for(i=q.length-1;i>=0;--i)f.nodeName(q[i],"tbody")&&!q[i].childNodes.length&&q[i].parentNode.removeChild(q[i])}!f.support.leadingWhitespace&&X.test(k)&&o.insertBefore(b.createTextNode(X.exec(k)[0]),o.firstChild),k=o.childNodes}var r;if(!f.support.appendChecked)if(k[0]&&typeof (r=k.length)=="number")for(i=0;i=0)return b+"px"}}}),f.support.opacity||(f.cssHooks.opacity={get:function(a,b){return br.test((b&&a.currentStyle?a.currentStyle.filter:a.style.filter)||"")?parseFloat(RegExp.$1)/100+"":b?"1":""},set:function(a,b){var c=a.style,d=a.currentStyle,e=f.isNumeric(b)?"alpha(opacity="+b*100+")":"",g=d&&d.filter||c.filter||"";c.zoom=1;if(b>=1&&f.trim(g.replace(bq,""))===""){c.removeAttribute("filter");if(d&&!d.filter)return}c.filter=bq.test(g)?g.replace(bq,e):g+" "+e}}),f(function(){f.support.reliableMarginRight||(f.cssHooks.marginRight={get:function(a,b){var c;f.swap(a,{display:"inline-block"},function(){b?c=bz(a,"margin-right","marginRight"):c=a.style.marginRight});return c}})}),c.defaultView&&c.defaultView.getComputedStyle&&(bA=function(a,b){var c,d,e;b=b.replace(bs,"-$1").toLowerCase(),(d=a.ownerDocument.defaultView)&&(e=d.getComputedStyle(a,null))&&(c=e.getPropertyValue(b),c===""&&!f.contains(a.ownerDocument.documentElement,a)&&(c=f.style(a,b)));return c}),c.documentElement.currentStyle&&(bB=function(a,b){var c,d,e,f=a.currentStyle&&a.currentStyle[b],g=a.style;f===null&&g&&(e=g[b])&&(f=e),!bt.test(f)&&bu.test(f)&&(c=g.left,d=a.runtimeStyle&&a.runtimeStyle.left,d&&(a.runtimeStyle.left=a.currentStyle.left),g.left=b==="fontSize"?"1em":f||0,f=g.pixelLeft+"px",g.left=c,d&&(a.runtimeStyle.left=d));return f===""?"auto":f}),bz=bA||bB,f.expr&&f.expr.filters&&(f.expr.filters.hidden=function(a){var b=a.offsetWidth,c=a.offsetHeight;return b===0&&c===0||!f.support.reliableHiddenOffsets&&(a.style&&a.style.display||f.css(a,"display"))==="none"},f.expr.filters.visible=function(a){return!f.expr.filters.hidden(a)});var bD=/%20/g,bE=/\[\]$/,bF=/\r?\n/g,bG=/#.*$/,bH=/^(.*?):[ \t]*([^\r\n]*)\r?$/mg,bI=/^(?:color|date|datetime|datetime-local|email|hidden|month|number|password|range|search|tel|text|time|url|week)$/i,bJ=/^(?:about|app|app\-storage|.+\-extension|file|res|widget):$/,bK=/^(?:GET|HEAD)$/,bL=/^\/\//,bM=/\?/,bN=/)<[^<]*)*<\/script>/gi,bO=/^(?:select|textarea)/i,bP=/\s+/,bQ=/([?&])_=[^&]*/,bR=/^([\w\+\.\-]+:)(?:\/\/([^\/?#:]*)(?::(\d+))?)?/,bS=f.fn.load,bT={},bU={},bV,bW,bX=["*/"]+["*"];try{bV=e.href}catch(bY){bV=c.createElement("a"),bV.href="",bV=bV.href}bW=bR.exec(bV.toLowerCase())||[],f.fn.extend({load:function(a,c,d){if(typeof a!="string"&&bS)return bS.apply(this,arguments);if(!this.length)return this;var e=a.indexOf(" ");if(e>=0){var g=a.slice(e,a.length);a=a.slice(0,e)}var h="GET";c&&(f.isFunction(c)?(d=c,c=b):typeof c=="object"&&(c=f.param(c,f.ajaxSettings.traditional),h="POST"));var i=this;f.ajax({url:a,type:h,dataType:"html",data:c,complete:function(a,b,c){c=a.responseText,a.isResolved()&&(a.done(function(a){c=a}),i.html(g?f("
                                ").append(c.replace(bN,"")).find(g):c)),d&&i.each(d,[c,b,a])}});return this},serialize:function(){return f.param(this.serializeArray())},serializeArray:function(){return this.map(function(){return this.elements?f.makeArray(this.elements):this}).filter(function(){return this.name&&!this.disabled&&(this.checked||bO.test(this.nodeName)||bI.test(this.type))}).map(function(a,b){var c=f(this).val();return c==null?null:f.isArray(c)?f.map(c,function(a,c){return{name:b.name,value:a.replace(bF,"\r\n")}}):{name:b.name,value:c.replace(bF,"\r\n")}}).get()}}),f.each("ajaxStart ajaxStop ajaxComplete ajaxError ajaxSuccess ajaxSend".split(" "),function(a,b){f.fn[b]=function(a){return this.on(b,a)}}),f.each(["get","post"],function(a,c){f[c]=function(a,d,e,g){f.isFunction(d)&&(g=g||e,e=d,d=b);return f.ajax({type:c,url:a,data:d,success:e,dataType:g})}}),f.extend({getScript:function(a,c){return f.get(a,b,c,"script")},getJSON:function(a,b,c){return f.get(a,b,c,"json")},ajaxSetup:function(a,b){b?b_(a,f.ajaxSettings):(b=a,a=f.ajaxSettings),b_(a,b);return a},ajaxSettings:{url:bV,isLocal:bJ.test(bW[1]),global:!0,type:"GET",contentType:"application/x-www-form-urlencoded",processData:!0,async:!0,accepts:{xml:"application/xml, text/xml",html:"text/html",text:"text/plain",json:"application/json, text/javascript","*":bX},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":a.String,"text html":!0,"text json":f.parseJSON,"text xml":f.parseXML},flatOptions:{context:!0,url:!0}},ajaxPrefilter:bZ(bT),ajaxTransport:bZ(bU),ajax:function(a,c){function w(a,c,l,m){if(s!==2){s=2,q&&clearTimeout(q),p=b,n=m||"",v.readyState=a>0?4:0;var o,r,u,w=c,x=l?cb(d,v,l):b,y,z;if(a>=200&&a<300||a===304){if(d.ifModified){if(y=v.getResponseHeader("Last-Modified"))f.lastModified[k]=y;if(z=v.getResponseHeader("Etag"))f.etag[k]=z}if(a===304)w="notmodified",o=!0;else try{r=cc(d,x),w="success",o=!0}catch(A){w="parsererror",u=A}}else{u=w;if(!w||a)w="error",a<0&&(a=0)}v.status=a,v.statusText=""+(c||w),o?h.resolveWith(e,[r,w,v]):h.rejectWith(e,[v,w,u]),v.statusCode(j),j=b,t&&g.trigger("ajax"+(o?"Success":"Error"),[v,d,o?r:u]),i.fireWith(e,[v,w]),t&&(g.trigger("ajaxComplete",[v,d]),--f.active||f.event.trigger("ajaxStop"))}}typeof a=="object"&&(c=a,a=b),c=c||{};var d=f.ajaxSetup({},c),e=d.context||d,g=e!==d&&(e.nodeType||e instanceof f)?f(e):f.event,h=f.Deferred(),i=f.Callbacks("once memory"),j=d.statusCode||{},k,l={},m={},n,o,p,q,r,s=0,t,u,v={readyState:0,setRequestHeader:function(a,b){if(!s){var c=a.toLowerCase();a=m[c]=m[c]||a,l[a]=b}return this},getAllResponseHeaders:function(){return s===2?n:null},getResponseHeader:function(a){var c;if(s===2){if(!o){o={};while(c=bH.exec(n))o[c[1].toLowerCase()]=c[2]}c=o[a.toLowerCase()]}return c===b?null:c},overrideMimeType:function(a){s||(d.mimeType=a);return this},abort:function(a){a=a||"abort",p&&p.abort(a),w(0,a);return this}};h.promise(v),v.success=v.done,v.error=v.fail,v.complete=i.add,v.statusCode=function(a){if(a){var b;if(s<2)for(b in a)j[b]=[j[b],a[b]];else b=a[v.status],v.then(b,b)}return this},d.url=((a||d.url)+"").replace(bG,"").replace(bL,bW[1]+"//"),d.dataTypes=f.trim(d.dataType||"*").toLowerCase().split(bP),d.crossDomain==null&&(r=bR.exec(d.url.toLowerCase()),d.crossDomain=!(!r||r[1]==bW[1]&&r[2]==bW[2]&&(r[3]||(r[1]==="http:"?80:443))==(bW[3]||(bW[1]==="http:"?80:443)))),d.data&&d.processData&&typeof d.data!="string"&&(d.data=f.param(d.data,d.traditional)),b$(bT,d,c,v);if(s===2)return!1;t=d.global,d.type=d.type.toUpperCase(),d.hasContent=!bK.test(d.type),t&&f.active++===0&&f.event.trigger("ajaxStart");if(!d.hasContent){d.data&&(d.url+=(bM.test(d.url)?"&":"?")+d.data,delete d.data),k=d.url;if(d.cache===!1){var x=f.now(),y=d.url.replace(bQ,"$1_="+x);d.url=y+(y===d.url?(bM.test(d.url)?"&":"?")+"_="+x:"")}}(d.data&&d.hasContent&&d.contentType!==!1||c.contentType)&&v.setRequestHeader("Content-Type",d.contentType),d.ifModified&&(k=k||d.url,f.lastModified[k]&&v.setRequestHeader("If-Modified-Since",f.lastModified[k]),f.etag[k]&&v.setRequestHeader("If-None-Match",f.etag[k])),v.setRequestHeader("Accept",d.dataTypes[0]&&d.accepts[d.dataTypes[0]]?d.accepts[d.dataTypes[0]]+(d.dataTypes[0]!=="*"?", "+bX+"; q=0.01":""):d.accepts["*"]);for(u in d.headers)v.setRequestHeader(u,d.headers[u]);if(d.beforeSend&&(d.beforeSend.call(e,v,d)===!1||s===2)){v.abort();return!1}for(u in{success:1,error:1,complete:1})v[u](d[u]);p=b$(bU,d,c,v);if(!p)w(-1,"No Transport");else{v.readyState=1,t&&g.trigger("ajaxSend",[v,d]),d.async&&d.timeout>0&&(q=setTimeout(function(){v.abort("timeout")},d.timeout));try{s=1,p.send(l,w)}catch(z){if(s<2)w(-1,z);else throw z}}return v},param:function(a,c){var d=[],e=function(a,b){b=f.isFunction(b)?b():b,d[d.length]=encodeURIComponent(a)+"="+encodeURIComponent(b)};c===b&&(c=f.ajaxSettings.traditional);if(f.isArray(a)||a.jquery&&!f.isPlainObject(a))f.each(a,function(){e(this.name,this.value)});else for(var g in a)ca(g,a[g],c,e);return d.join("&").replace(bD,"+")}}),f.extend({active:0,lastModified:{},etag:{}});var cd=f.now(),ce=/(\=)\?(&|$)|\?\?/i;f.ajaxSetup({jsonp:"callback",jsonpCallback:function(){return f.expando+"_"+cd++}}),f.ajaxPrefilter("json jsonp",function(b,c,d){var e=b.contentType==="application/x-www-form-urlencoded"&&typeof b.data=="string";if(b.dataTypes[0]==="jsonp"||b.jsonp!==!1&&(ce.test(b.url)||e&&ce.test(b.data))){var g,h=b.jsonpCallback=f.isFunction(b.jsonpCallback)?b.jsonpCallback():b.jsonpCallback,i=a[h],j=b.url,k=b.data,l="$1"+h+"$2";b.jsonp!==!1&&(j=j.replace(ce,l),b.url===j&&(e&&(k=k.replace(ce,l)),b.data===k&&(j+=(/\?/.test(j)?"&":"?")+b.jsonp+"="+h))),b.url=j,b.data=k,a[h]=function(a){g=[a]},d.always(function(){a[h]=i,g&&f.isFunction(i)&&a[h](g[0])}),b.converters["script json"]=function(){g||f.error(h+" was not called");return g[0]},b.dataTypes[0]="json";return"script"}}),f.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/javascript|ecmascript/},converters:{"text script":function(a){f.globalEval(a);return a}}}),f.ajaxPrefilter("script",function(a){a.cache===b&&(a.cache=!1),a.crossDomain&&(a.type="GET",a.global=!1)}),f.ajaxTransport("script",function(a){if(a.crossDomain){var d,e=c.head||c.getElementsByTagName("head")[0]||c.documentElement;return{send:function(f,g){d=c.createElement("script"),d.async="async",a.scriptCharset&&(d.charset=a.scriptCharset),d.src=a.url,d.onload=d.onreadystatechange=function(a,c){if(c||!d.readyState||/loaded|complete/.test(d.readyState))d.onload=d.onreadystatechange=null,e&&d.parentNode&&e.removeChild(d),d=b,c||g(200,"success")},e.insertBefore(d,e.firstChild)},abort:function(){d&&d.onload(0,1)}}}});var cf=a.ActiveXObject?function(){for(var a in ch)ch[a](0,1)}:!1,cg=0,ch;f.ajaxSettings.xhr=a.ActiveXObject?function(){return!this.isLocal&&ci()||cj()}:ci,function(a){f.extend(f.support,{ajax:!!a,cors:!!a&&"withCredentials"in a})}(f.ajaxSettings.xhr()),f.support.ajax&&f.ajaxTransport(function(c){if(!c.crossDomain||f.support.cors){var d;return{send:function(e,g){var h=c.xhr(),i,j;c.username?h.open(c.type,c.url,c.async,c.username,c.password):h.open(c.type,c.url,c.async);if(c.xhrFields)for(j in c.xhrFields)h[j]=c.xhrFields[j];c.mimeType&&h.overrideMimeType&&h.overrideMimeType(c.mimeType),!c.crossDomain&&!e["X-Requested-With"]&&(e["X-Requested-With"]="XMLHttpRequest");try{for(j in e)h.setRequestHeader(j,e[j])}catch(k){}h.send(c.hasContent&&c.data||null),d=function(a,e){var j,k,l,m,n;try{if(d&&(e||h.readyState===4)){d=b,i&&(h.onreadystatechange=f.noop,cf&&delete ch[i]);if(e)h.readyState!==4&&h.abort();else{j=h.status,l=h.getAllResponseHeaders(),m={},n=h.responseXML,n&&n.documentElement&&(m.xml=n),m.text=h.responseText;try{k=h.statusText}catch(o){k=""}!j&&c.isLocal&&!c.crossDomain?j=m.text?200:404:j===1223&&(j=204)}}}catch(p){e||g(-1,p)}m&&g(j,k,m,l)},!c.async||h.readyState===4?d():(i=++cg,cf&&(ch||(ch={},f(a).unload(cf)),ch[i]=d),h.onreadystatechange=d)},abort:function(){d&&d(0,1)}}}});var ck={},cl,cm,cn=/^(?:toggle|show|hide)$/,co=/^([+\-]=)?([\d+.\-]+)([a-z%]*)$/i,cp,cq=[["height","marginTop","marginBottom","paddingTop","paddingBottom"],["width","marginLeft","marginRight","paddingLeft","paddingRight"],["opacity"]],cr;f.fn.extend({show:function(a,b,c){var d,e;if(a||a===0)return this.animate(cu("show",3),a,b,c);for(var g=0,h=this.length;g=i.duration+this.startTime){this.now=this.end,this.pos=this.state=1,this.update(),i.animatedProperties[this.prop]=!0;for(b in i.animatedProperties)i.animatedProperties[b]!==!0&&(g=!1);if(g){i.overflow!=null&&!f.support.shrinkWrapBlocks&&f.each(["","X","Y"],function(a,b){h.style["overflow"+b]=i.overflow[a]}),i.hide&&f(h).hide();if(i.hide||i.show)for(b in i.animatedProperties)f.style(h,b,i.orig[b]),f.removeData(h,"fxshow"+b,!0),f.removeData(h,"toggle"+b,!0);d=i.complete,d&&(i.complete=!1,d.call(h))}return!1}i.duration==Infinity?this.now=e:(c=e-this.startTime,this.state=c/i.duration,this.pos=f.easing[i.animatedProperties[this.prop]](this.state,c,0,1,i.duration),this.now=this.start+(this.end-this.start)*this.pos),this.update();return!0}},f.extend(f.fx,{tick:function(){var a,b=f.timers,c=0;for(;c-1,k={},l={},m,n;j?(l=e.position(),m=l.top,n=l.left):(m=parseFloat(h)||0,n=parseFloat(i)||0),f.isFunction(b)&&(b=b.call(a,c,g)),b.top!=null&&(k.top=b.top-g.top+m),b.left!=null&&(k.left=b.left-g.left+n),"using"in b?b.using.call(a,k):e.css(k)}},f.fn.extend({position:function(){if(!this[0])return null;var a=this[0],b=this.offsetParent(),c=this.offset(),d=cx.test(b[0].nodeName)?{top:0,left:0}:b.offset();c.top-=parseFloat(f.css(a,"marginTop"))||0,c.left-=parseFloat(f.css(a,"marginLeft"))||0,d.top+=parseFloat(f.css(b[0],"borderTopWidth"))||0,d.left+=parseFloat(f.css(b[0],"borderLeftWidth"))||0;return{top:c.top-d.top,left:c.left-d.left}},offsetParent:function(){return this.map(function(){var a=this.offsetParent||c.body;while(a&&!cx.test(a.nodeName)&&f.css(a,"position")==="static")a=a.offsetParent;return a})}}),f.each(["Left","Top"],function(a,c){var d="scroll"+c;f.fn[d]=function(c){var e,g;if(c===b){e=this[0];if(!e)return null;g=cy(e);return g?"pageXOffset"in g?g[a?"pageYOffset":"pageXOffset"]:f.support.boxModel&&g.document.documentElement[d]||g.document.body[d]:e[d]}return this.each(function(){g=cy(this),g?g.scrollTo(a?f(g).scrollLeft():c,a?c:f(g).scrollTop()):this[d]=c})}}),f.each(["Height","Width"],function(a,c){var d=c.toLowerCase();f.fn["inner"+c]=function(){var a=this[0];return a?a.style?parseFloat(f.css(a,d,"padding")):this[d]():null},f.fn["outer"+c]=function(a){var b=this[0];return b?b.style?parseFloat(f.css(b,d,a?"margin":"border")):this[d]():null},f.fn[d]=function(a){var e=this[0];if(!e)return a==null?null:this;if(f.isFunction(a))return this.each(function(b){var c=f(this);c[d](a.call(this,b,c[d]()))});if(f.isWindow(e)){var g=e.document.documentElement["client"+c],h=e.document.body;return e.document.compatMode==="CSS1Compat"&&g||h&&h["client"+c]||g}if(e.nodeType===9)return Math.max(e.documentElement["client"+c],e.body["scroll"+c],e.documentElement["scroll"+c],e.body["offset"+c],e.documentElement["offset"+c]);if(a===b){var i=f.css(e,d),j=parseFloat(i);return f.isNumeric(j)?j:i}return this.css(d,typeof a=="string"?a:a+"px")}}),a.jQuery=a.$=f,typeof define=="function"&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return f})})(window); \ No newline at end of file diff --git a/src/main/webapp/js/webqq/jquery-smartMenu-min.js b/src/main/webapp/js/webqq/jquery-smartMenu-min.js deleted file mode 100644 index cab3a203c2464d9b2e2e4af8d8a51e3a9c4a597c..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/webqq/jquery-smartMenu-min.js +++ /dev/null @@ -1,10 +0,0 @@ -/* - * smartMenu.js 智能上下文菜单插件 - * http://www.zhangxinxu.com/ - * - * Copyright 2011, zhangxinxu - * - * 2011-05-26 v1.0 编写 - * 2011-06-03 v1.1 修复func中this失准问题 - */ -(function(a){var b=a(document).data("func",{}),c=a("body");a.smartMenu=a.noop;a.fn.smartMenu=function(g,d){var h={name:"",offsetX:2,offsetY:2,textLimit:6,beforeShow:a.noop,afterShow:a.noop};var i=a.extend(h,d||{});var f=function(k){var m=k||g,j=k?Math.random().toString():i.name,o="",n="",l="smart_menu_";if(a.isArray(m)&&m.length){o='
                                  ';a.each(m,function(q,p){if(q){o=o+'
                                •  
                                • '}if(a.isArray(p)){a.each(p,function(s,v){var w=v.text,u="",r="",t=Math.random().toString().replace(".","");if(w){if(w.length>i.textLimit){w=w.slice(0,i.textLimit)+"…";r=' title="'+v.text+'"'}if(a.isArray(v.data)&&v.data.length){u='
                                • '+f(v.data)+''+w+"
                                • "}else{u='
                                • '+w+"
                                • "}o+=u;var x=b.data("func");x[t]=v.func;b.data("func",x)}})}});o=o+"
                                "}return o},e=function(){var j="#smartMenu_",l="smart_menu_",k=a(j+i.name);if(!k.size()){a("body").append(f());a(j+i.name+" a").bind("click",function(){var m=a(this).attr("data-key"),n=b.data("func")[m];if(a.isFunction(n)){n.call(b.data("trigger"))}a.smartMenu.hide();return false});a(j+i.name+" li").each(function(){var m=a(this).attr("data-hover"),n=l+"li_hover";if(m){a(this).hover(function(){a(this).addClass(n).children("."+l+"box").show();a(this).children("."+l+"a").addClass(l+"a_hover")},function(){a(this).removeClass(n).children("."+l+"box").hide();a(this).children("."+l+"a").removeClass(l+"a_hover")})}});return a(j+i.name)}return k};a(this).each(function(){this.oncontextmenu=function(l){if(a.isFunction(i.beforeShow)){i.beforeShow.call(this)}l=l||window.event;l.cancelBubble=true;if(l.stopPropagation){l.stopPropagation()}a.smartMenu.hide();var k=b.scrollTop();var j=e();if(j){j.css({display:"block",left:l.clientX+i.offsetX,top:l.clientY+k+i.offsetY});b.data("target",j);b.data("trigger",this);if(a.isFunction(i.afterShow)){i.afterShow.call(this)}return false}}});if(!c.data("bind")){c.bind("click",a.smartMenu.hide).data("bind",true)}};a.extend(a.smartMenu,{hide:function(){var d=b.data("target");if(d&&d.css("display")==="block"){d.hide()}},remove:function(){var d=b.data("target");if(d){d.remove()}}})})(jQuery); \ No newline at end of file diff --git a/src/main/webapp/js/webqq/jquery-ui-1.8.18.custom.min.js b/src/main/webapp/js/webqq/jquery-ui-1.8.18.custom.min.js deleted file mode 100644 index 39fa94582327eaa3a43c894896c2ae9bfc314be3..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/webqq/jquery-ui-1.8.18.custom.min.js +++ /dev/null @@ -1,102 +0,0 @@ -/*! - * jQuery UI 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI - */(function(a,b){function d(b){return!a(b).parents().andSelf().filter(function(){return a.curCSS(this,"visibility")==="hidden"||a.expr.filters.hidden(this)}).length}function c(b,c){var e=b.nodeName.toLowerCase();if("area"===e){var f=b.parentNode,g=f.name,h;if(!b.href||!g||f.nodeName.toLowerCase()!=="map")return!1;h=a("img[usemap=#"+g+"]")[0];return!!h&&d(h)}return(/input|select|textarea|button|object/.test(e)?!b.disabled:"a"==e?b.href||c:c)&&d(b)}a.ui=a.ui||{};a.ui.version||(a.extend(a.ui,{version:"1.8.18",keyCode:{ALT:18,BACKSPACE:8,CAPS_LOCK:20,COMMA:188,COMMAND:91,COMMAND_LEFT:91,COMMAND_RIGHT:93,CONTROL:17,DELETE:46,DOWN:40,END:35,ENTER:13,ESCAPE:27,HOME:36,INSERT:45,LEFT:37,MENU:93,NUMPAD_ADD:107,NUMPAD_DECIMAL:110,NUMPAD_DIVIDE:111,NUMPAD_ENTER:108,NUMPAD_MULTIPLY:106,NUMPAD_SUBTRACT:109,PAGE_DOWN:34,PAGE_UP:33,PERIOD:190,RIGHT:39,SHIFT:16,SPACE:32,TAB:9,UP:38,WINDOWS:91}}),a.fn.extend({propAttr:a.fn.prop||a.fn.attr,_focus:a.fn.focus,focus:function(b,c){return typeof b=="number"?this.each(function(){var d=this;setTimeout(function(){a(d).focus(),c&&c.call(d)},b)}):this._focus.apply(this,arguments)},scrollParent:function(){var b;a.browser.msie&&/(static|relative)/.test(this.css("position"))||/absolute/.test(this.css("position"))?b=this.parents().filter(function(){return/(relative|absolute|fixed)/.test(a.curCSS(this,"position",1))&&/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0):b=this.parents().filter(function(){return/(auto|scroll)/.test(a.curCSS(this,"overflow",1)+a.curCSS(this,"overflow-y",1)+a.curCSS(this,"overflow-x",1))}).eq(0);return/fixed/.test(this.css("position"))||!b.length?a(document):b},zIndex:function(c){if(c!==b)return this.css("zIndex",c);if(this.length){var d=a(this[0]),e,f;while(d.length&&d[0]!==document){e=d.css("position");if(e==="absolute"||e==="relative"||e==="fixed"){f=parseInt(d.css("zIndex"),10);if(!isNaN(f)&&f!==0)return f}d=d.parent()}}return 0},disableSelection:function(){return this.bind((a.support.selectstart?"selectstart":"mousedown")+".ui-disableSelection",function(a){a.preventDefault()})},enableSelection:function(){return this.unbind(".ui-disableSelection")}}),a.each(["Width","Height"],function(c,d){function h(b,c,d,f){a.each(e,function(){c-=parseFloat(a.curCSS(b,"padding"+this,!0))||0,d&&(c-=parseFloat(a.curCSS(b,"border"+this+"Width",!0))||0),f&&(c-=parseFloat(a.curCSS(b,"margin"+this,!0))||0)});return c}var e=d==="Width"?["Left","Right"]:["Top","Bottom"],f=d.toLowerCase(),g={innerWidth:a.fn.innerWidth,innerHeight:a.fn.innerHeight,outerWidth:a.fn.outerWidth,outerHeight:a.fn.outerHeight};a.fn["inner"+d]=function(c){if(c===b)return g["inner"+d].call(this);return this.each(function(){a(this).css(f,h(this,c)+"px")})},a.fn["outer"+d]=function(b,c){if(typeof b!="number")return g["outer"+d].call(this,b);return this.each(function(){a(this).css(f,h(this,b,!0,c)+"px")})}}),a.extend(a.expr[":"],{data:function(b,c,d){return!!a.data(b,d[3])},focusable:function(b){return c(b,!isNaN(a.attr(b,"tabindex")))},tabbable:function(b){var d=a.attr(b,"tabindex"),e=isNaN(d);return(e||d>=0)&&c(b,!e)}}),a(function(){var b=document.body,c=b.appendChild(c=document.createElement("div"));c.offsetHeight,a.extend(c.style,{minHeight:"100px",height:"auto",padding:0,borderWidth:0}),a.support.minHeight=c.offsetHeight===100,a.support.selectstart="onselectstart"in c,b.removeChild(c).style.display="none"}),a.extend(a.ui,{plugin:{add:function(b,c,d){var e=a.ui[b].prototype;for(var f in d)e.plugins[f]=e.plugins[f]||[],e.plugins[f].push([c,d[f]])},call:function(a,b,c){var d=a.plugins[b];if(!!d&&!!a.element[0].parentNode)for(var e=0;e0)return!0;b[d]=1,e=b[d]>0,b[d]=0;return e},isOverAxis:function(a,b,c){return a>b&&a=9)&&!b.button)return this._mouseUp(b);if(this._mouseStarted){this._mouseDrag(b);return b.preventDefault()}this._mouseDistanceMet(b)&&this._mouseDelayMet(b)&&(this._mouseStarted=this._mouseStart(this._mouseDownEvent,b)!==!1,this._mouseStarted?this._mouseDrag(b):this._mouseUp(b));return!this._mouseStarted},_mouseUp:function(b){a(document).unbind("mousemove."+this.widgetName,this._mouseMoveDelegate).unbind("mouseup."+this.widgetName,this._mouseUpDelegate),this._mouseStarted&&(this._mouseStarted=!1,b.target==this._mouseDownEvent.target&&a.data(b.target,this.widgetName+".preventClickEvent",!0),this._mouseStop(b));return!1},_mouseDistanceMet:function(a){return Math.max(Math.abs(this._mouseDownEvent.pageX-a.pageX),Math.abs(this._mouseDownEvent.pageY-a.pageY))>=this.options.distance},_mouseDelayMet:function(a){return this.mouseDelayMet},_mouseStart:function(a){},_mouseDrag:function(a){},_mouseStop:function(a){},_mouseCapture:function(a){return!0}})})(jQuery);/* - * jQuery UI Position 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Position - */(function(a,b){a.ui=a.ui||{};var c=/left|center|right/,d=/top|center|bottom/,e="center",f={},g=a.fn.position,h=a.fn.offset;a.fn.position=function(b){if(!b||!b.of)return g.apply(this,arguments);b=a.extend({},b);var h=a(b.of),i=h[0],j=(b.collision||"flip").split(" "),k=b.offset?b.offset.split(" "):[0,0],l,m,n;i.nodeType===9?(l=h.width(),m=h.height(),n={top:0,left:0}):i.setTimeout?(l=h.width(),m=h.height(),n={top:h.scrollTop(),left:h.scrollLeft()}):i.preventDefault?(b.at="left top",l=m=0,n={top:b.of.pageY,left:b.of.pageX}):(l=h.outerWidth(),m=h.outerHeight(),n=h.offset()),a.each(["my","at"],function(){var a=(b[this]||"").split(" ");a.length===1&&(a=c.test(a[0])?a.concat([e]):d.test(a[0])?[e].concat(a):[e,e]),a[0]=c.test(a[0])?a[0]:e,a[1]=d.test(a[1])?a[1]:e,b[this]=a}),j.length===1&&(j[1]=j[0]),k[0]=parseInt(k[0],10)||0,k.length===1&&(k[1]=k[0]),k[1]=parseInt(k[1],10)||0,b.at[0]==="right"?n.left+=l:b.at[0]===e&&(n.left+=l/2),b.at[1]==="bottom"?n.top+=m:b.at[1]===e&&(n.top+=m/2),n.left+=k[0],n.top+=k[1];return this.each(function(){var c=a(this),d=c.outerWidth(),g=c.outerHeight(),h=parseInt(a.curCSS(this,"marginLeft",!0))||0,i=parseInt(a.curCSS(this,"marginTop",!0))||0,o=d+h+(parseInt(a.curCSS(this,"marginRight",!0))||0),p=g+i+(parseInt(a.curCSS(this,"marginBottom",!0))||0),q=a.extend({},n),r;b.my[0]==="right"?q.left-=d:b.my[0]===e&&(q.left-=d/2),b.my[1]==="bottom"?q.top-=g:b.my[1]===e&&(q.top-=g/2),f.fractions||(q.left=Math.round(q.left),q.top=Math.round(q.top)),r={left:q.left-h,top:q.top-i},a.each(["left","top"],function(c,e){a.ui.position[j[c]]&&a.ui.position[j[c]][e](q,{targetWidth:l,targetHeight:m,elemWidth:d,elemHeight:g,collisionPosition:r,collisionWidth:o,collisionHeight:p,offset:k,my:b.my,at:b.at})}),a.fn.bgiframe&&c.bgiframe(),c.offset(a.extend(q,{using:b.using}))})},a.ui.position={fit:{left:function(b,c){var d=a(window),e=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft();b.left=e>0?b.left-e:Math.max(b.left-c.collisionPosition.left,b.left)},top:function(b,c){var d=a(window),e=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop();b.top=e>0?b.top-e:Math.max(b.top-c.collisionPosition.top,b.top)}},flip:{left:function(b,c){if(c.at[0]!==e){var d=a(window),f=c.collisionPosition.left+c.collisionWidth-d.width()-d.scrollLeft(),g=c.my[0]==="left"?-c.elemWidth:c.my[0]==="right"?c.elemWidth:0,h=c.at[0]==="left"?c.targetWidth:-c.targetWidth,i=-2*c.offset[0];b.left+=c.collisionPosition.left<0?g+h+i:f>0?g+h+i:0}},top:function(b,c){if(c.at[1]!==e){var d=a(window),f=c.collisionPosition.top+c.collisionHeight-d.height()-d.scrollTop(),g=c.my[1]==="top"?-c.elemHeight:c.my[1]==="bottom"?c.elemHeight:0,h=c.at[1]==="top"?c.targetHeight:-c.targetHeight,i=-2*c.offset[1];b.top+=c.collisionPosition.top<0?g+h+i:f>0?g+h+i:0}}}},a.offset.setOffset||(a.offset.setOffset=function(b,c){/static/.test(a.curCSS(b,"position"))&&(b.style.position="relative");var d=a(b),e=d.offset(),f=parseInt(a.curCSS(b,"top",!0),10)||0,g=parseInt(a.curCSS(b,"left",!0),10)||0,h={top:c.top-e.top+f,left:c.left-e.left+g};"using"in c?c.using.call(b,h):d.css(h)},a.fn.offset=function(b){var c=this[0];if(!c||!c.ownerDocument)return null;if(b)return this.each(function(){a.offset.setOffset(this,b)});return h.call(this)}),function(){var b=document.getElementsByTagName("body")[0],c=document.createElement("div"),d,e,g,h,i;d=document.createElement(b?"div":"body"),g={visibility:"hidden",width:0,height:0,border:0,margin:0,background:"none"},b&&a.extend(g,{position:"absolute",left:"-1000px",top:"-1000px"});for(var j in g)d.style[j]=g[j];d.appendChild(c),e=b||document.documentElement,e.insertBefore(d,e.firstChild),c.style.cssText="position: absolute; left: 10.7432222px; top: 10.432325px; height: 30px; width: 201px;",h=a(c).offset(function(a,b){return b}).offset(),d.innerHTML="",e.removeChild(d),i=h.top+h.left+(b?2e3:0),f.fractions=i>21&&i<22}()})(jQuery);/* - * jQuery UI Draggable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Draggables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */(function(a,b){a.widget("ui.draggable",a.ui.mouse,{widgetEventPrefix:"drag",options:{addClasses:!0,appendTo:"parent",axis:!1,connectToSortable:!1,containment:!1,cursor:"auto",cursorAt:!1,grid:!1,handle:!1,helper:"original",iframeFix:!1,opacity:!1,refreshPositions:!1,revert:!1,revertDuration:500,scope:"default",scroll:!0,scrollSensitivity:20,scrollSpeed:20,snap:!1,snapMode:"both",snapTolerance:20,stack:!1,zIndex:!1},_create:function(){this.options.helper=="original"&&!/^(?:r|a|f)/.test(this.element.css("position"))&&(this.element[0].style.position="relative"),this.options.addClasses&&this.element.addClass("ui-draggable"),this.options.disabled&&this.element.addClass("ui-draggable-disabled"),this._mouseInit()},destroy:function(){if(!!this.element.data("draggable")){this.element.removeData("draggable").unbind(".draggable").removeClass("ui-draggable ui-draggable-dragging ui-draggable-disabled"),this._mouseDestroy();return this}},_mouseCapture:function(b){var c=this.options;if(this.helper||c.disabled||a(b.target).is(".ui-resizable-handle"))return!1;this.handle=this._getHandle(b);if(!this.handle)return!1;c.iframeFix&&a(c.iframeFix===!0?"iframe":c.iframeFix).each(function(){a('
                                ').css({width:this.offsetWidth+"px",height:this.offsetHeight+"px",position:"absolute",opacity:"0.001",zIndex:1e3}).css(a(this).offset()).appendTo("body")});return!0},_mouseStart:function(b){var c=this.options;this.helper=this._createHelper(b),this._cacheHelperProportions(),a.ui.ddmanager&&(a.ui.ddmanager.current=this),this._cacheMargins(),this.cssPosition=this.helper.css("position"),this.scrollParent=this.helper.scrollParent(),this.offset=this.positionAbs=this.element.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this.position=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,c.cursorAt&&this._adjustOffsetFromHelper(c.cursorAt),c.containment&&this._setContainment();if(this._trigger("start",b)===!1){this._clear();return!1}this._cacheHelperProportions(),a.ui.ddmanager&&!c.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this.helper.addClass("ui-draggable-dragging"),this._mouseDrag(b,!0),a.ui.ddmanager&&a.ui.ddmanager.dragStart(this,b);return!0},_mouseDrag:function(b,c){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo("absolute");if(!c){var d=this._uiHash();if(this._trigger("drag",b,d)===!1){this._mouseUp({});return!1}this.position=d.position}if(!this.options.axis||this.options.axis!="y")this.helper[0].style.left=this.position.left+"px";if(!this.options.axis||this.options.axis!="x")this.helper[0].style.top=this.position.top+"px";a.ui.ddmanager&&a.ui.ddmanager.drag(this,b);return!1},_mouseStop:function(b){var c=!1;a.ui.ddmanager&&!this.options.dropBehaviour&&(c=a.ui.ddmanager.drop(this,b)),this.dropped&&(c=this.dropped,this.dropped=!1);if((!this.element[0]||!this.element[0].parentNode)&&this.options.helper=="original")return!1;if(this.options.revert=="invalid"&&!c||this.options.revert=="valid"&&c||this.options.revert===!0||a.isFunction(this.options.revert)&&this.options.revert.call(this.element,c)){var d=this;a(this.helper).animate(this.originalPosition,parseInt(this.options.revertDuration,10),function(){d._trigger("stop",b)!==!1&&d._clear()})}else this._trigger("stop",b)!==!1&&this._clear();return!1},_mouseUp:function(b){this.options.iframeFix===!0&&a("div.ui-draggable-iframeFix").each(function(){this.parentNode.removeChild(this)}),a.ui.ddmanager&&a.ui.ddmanager.dragStop(this,b);return a.ui.mouse.prototype._mouseUp.call(this,b)},cancel:function(){this.helper.is(".ui-draggable-dragging")?this._mouseUp({}):this._clear();return this},_getHandle:function(b){var c=!this.options.handle||!a(this.options.handle,this.element).length?!0:!1;a(this.options.handle,this.element).find("*").andSelf().each(function(){this==b.target&&(c=!0)});return c},_createHelper:function(b){var c=this.options,d=a.isFunction(c.helper)?a(c.helper.apply(this.element[0],[b])):c.helper=="clone"?this.element.clone().removeAttr("id"):this.element;d.parents("body").length||d.appendTo(c.appendTo=="parent"?this.element[0].parentNode:c.appendTo),d[0]!=this.element[0]&&!/(fixed|absolute)/.test(d.css("position"))&&d.css("position","absolute");return d},_adjustOffsetFromHelper:function(b){typeof b=="string"&&(b=b.split(" ")),a.isArray(b)&&(b={left:+b[0],top:+b[1]||0}),"left"in b&&(this.offset.click.left=b.left+this.margins.left),"right"in b&&(this.offset.click.left=this.helperProportions.width-b.right+this.margins.left),"top"in b&&(this.offset.click.top=b.top+this.margins.top),"bottom"in b&&(this.offset.click.top=this.helperProportions.height-b.bottom+this.margins.top)},_getParentOffset:function(){this.offsetParent=this.helper.offsetParent();var b=this.offsetParent.offset();this.cssPosition=="absolute"&&this.scrollParent[0]!=document&&a.ui.contains(this.scrollParent[0],this.offsetParent[0])&&(b.left+=this.scrollParent.scrollLeft(),b.top+=this.scrollParent.scrollTop());if(this.offsetParent[0]==document.body||this.offsetParent[0].tagName&&this.offsetParent[0].tagName.toLowerCase()=="html"&&a.browser.msie)b={top:0,left:0};return{top:b.top+(parseInt(this.offsetParent.css("borderTopWidth"),10)||0),left:b.left+(parseInt(this.offsetParent.css("borderLeftWidth"),10)||0)}},_getRelativeOffset:function(){if(this.cssPosition=="relative"){var a=this.element.position();return{top:a.top-(parseInt(this.helper.css("top"),10)||0)+this.scrollParent.scrollTop(),left:a.left-(parseInt(this.helper.css("left"),10)||0)+this.scrollParent.scrollLeft()}}return{top:0,left:0}},_cacheMargins:function(){this.margins={left:parseInt(this.element.css("marginLeft"),10)||0,top:parseInt(this.element.css("marginTop"),10)||0,right:parseInt(this.element.css("marginRight"),10)||0,bottom:parseInt(this.element.css("marginBottom"),10)||0}},_cacheHelperProportions:function(){this.helperProportions={width:this.helper.outerWidth(),height:this.helper.outerHeight()}},_setContainment:function(){var b=this.options;b.containment=="parent"&&(b.containment=this.helper[0].parentNode);if(b.containment=="document"||b.containment=="window")this.containment=[b.containment=="document"?0:a(window).scrollLeft()-this.offset.relative.left-this.offset.parent.left,b.containment=="document"?0:a(window).scrollTop()-this.offset.relative.top-this.offset.parent.top,(b.containment=="document"?0:a(window).scrollLeft())+a(b.containment=="document"?document:window).width()-this.helperProportions.width-this.margins.left,(b.containment=="document"?0:a(window).scrollTop())+(a(b.containment=="document"?document:window).height()||document.body.parentNode.scrollHeight)-this.helperProportions.height-this.margins.top];if(!/^(document|window|parent)$/.test(b.containment)&&b.containment.constructor!=Array){var c=a(b.containment),d=c[0];if(!d)return;var e=c.offset(),f=a(d).css("overflow")!="hidden";this.containment=[(parseInt(a(d).css("borderLeftWidth"),10)||0)+(parseInt(a(d).css("paddingLeft"),10)||0),(parseInt(a(d).css("borderTopWidth"),10)||0)+(parseInt(a(d).css("paddingTop"),10)||0),(f?Math.max(d.scrollWidth,d.offsetWidth):d.offsetWidth)-(parseInt(a(d).css("borderLeftWidth"),10)||0)-(parseInt(a(d).css("paddingRight"),10)||0)-this.helperProportions.width-this.margins.left-this.margins.right,(f?Math.max(d.scrollHeight,d.offsetHeight):d.offsetHeight)-(parseInt(a(d).css("borderTopWidth"),10)||0)-(parseInt(a(d).css("paddingBottom"),10)||0)-this.helperProportions.height-this.margins.top-this.margins.bottom],this.relative_container=c}else b.containment.constructor==Array&&(this.containment=b.containment)},_convertPositionTo:function(b,c){c||(c=this.position);var d=b=="absolute"?1:-1,e=this.options,f=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,g=/(html|body)/i.test(f[0].tagName);return{top:c.top+this.offset.relative.top*d+this.offset.parent.top*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollTop():g?0:f.scrollTop())*d),left:c.left+this.offset.relative.left*d+this.offset.parent.left*d-(a.browser.safari&&a.browser.version<526&&this.cssPosition=="fixed"?0:(this.cssPosition=="fixed"?-this.scrollParent.scrollLeft():g?0:f.scrollLeft())*d)}},_generatePosition:function(b){var c=this.options,d=this.cssPosition=="absolute"&&(this.scrollParent[0]==document||!a.ui.contains(this.scrollParent[0],this.offsetParent[0]))?this.offsetParent:this.scrollParent,e=/(html|body)/i.test(d[0].tagName),f=b.pageX,g=b.pageY;if(this.originalPosition){var h;if(this.containment){if(this.relative_container){var i=this.relative_container.offset();h=[this.containment[0]+i.left,this.containment[1]+i.top,this.containment[2]+i.left,this.containment[3]+i.top]}else h=this.containment;b.pageX-this.offset.click.lefth[2]&&(f=h[2]+this.offset.click.left),b.pageY-this.offset.click.top>h[3]&&(g=h[3]+this.offset.click.top)}if(c.grid){var j=c.grid[1]?this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1]:this.originalPageY;g=h?j-this.offset.click.toph[3]?j-this.offset.click.toph[2]?k-this.offset.click.left=0;k--){var l=d.snapElements[k].left,m=l+d.snapElements[k].width,n=d.snapElements[k].top,o=n+d.snapElements[k].height;if(!(l-f=k&&g<=l||h>=k&&h<=l||gl)&&(e>=i&&e<=j||f>=i&&f<=j||ej);default:return!1}},a.ui.ddmanager={current:null,droppables:{"default":[]},prepareOffsets:function(b,c){var d=a.ui.ddmanager.droppables[b.options.scope]||[],e=c?c.type:null,f=(b.currentItem||b.element).find(":data(droppable)").andSelf();droppablesLoop:for(var g=0;g
                                ').css({position:this.element.css("position"),width:this.element.outerWidth(),height:this.element.outerHeight(),top:this.element.css("top"),left:this.element.css("left")})),this.element=this.element.parent().data("resizable",this.element.data("resizable")),this.elementIsWrapper=!0,this.element.css({marginLeft:this.originalElement.css("marginLeft"),marginTop:this.originalElement.css("marginTop"),marginRight:this.originalElement.css("marginRight"),marginBottom:this.originalElement.css("marginBottom")}),this.originalElement.css({marginLeft:0,marginTop:0,marginRight:0,marginBottom:0}),this.originalResizeStyle=this.originalElement.css("resize"),this.originalElement.css("resize","none"),this._proportionallyResizeElements.push(this.originalElement.css({position:"static",zoom:1,display:"block"})),this.originalElement.css({margin:this.originalElement.css("margin")}),this._proportionallyResize()),this.handles=c.handles||(a(".ui-resizable-handle",this.element).length?{n:".ui-resizable-n",e:".ui-resizable-e",s:".ui-resizable-s",w:".ui-resizable-w",se:".ui-resizable-se",sw:".ui-resizable-sw",ne:".ui-resizable-ne",nw:".ui-resizable-nw"}:"e,s,se");if(this.handles.constructor==String){this.handles=="all"&&(this.handles="n,e,s,w,se,sw,ne,nw");var d=this.handles.split(",");this.handles={};for(var e=0;e');/sw|se|ne|nw/.test(f)&&h.css({zIndex:++c.zIndex}),"se"==f&&h.addClass("ui-icon ui-icon-gripsmall-diagonal-se"),this.handles[f]=".ui-resizable-"+f,this.element.append(h)}}this._renderAxis=function(b){b=b||this.element;for(var c in this.handles){this.handles[c].constructor==String&&(this.handles[c]=a(this.handles[c],this.element).show());if(this.elementIsWrapper&&this.originalElement[0].nodeName.match(/textarea|input|select|button/i)){var d=a(this.handles[c],this.element),e=0;e=/sw|ne|nw|se|n|s/.test(c)?d.outerHeight():d.outerWidth();var f=["padding",/ne|nw|n/.test(c)?"Top":/se|sw|s/.test(c)?"Bottom":/^e$/.test(c)?"Right":"Left"].join("");b.css(f,e),this._proportionallyResize()}if(!a(this.handles[c]).length)continue}},this._renderAxis(this.element),this._handles=a(".ui-resizable-handle",this.element).disableSelection(),this._handles.mouseover(function(){if(!b.resizing){if(this.className)var a=this.className.match(/ui-resizable-(se|sw|ne|nw|n|e|s|w)/i);b.axis=a&&a[1]?a[1]:"se"}}),c.autoHide&&(this._handles.hide(),a(this.element).addClass("ui-resizable-autohide").hover(function(){c.disabled||(a(this).removeClass("ui-resizable-autohide"),b._handles.show())},function(){c.disabled||b.resizing||(a(this).addClass("ui-resizable-autohide"),b._handles.hide())})),this._mouseInit()},destroy:function(){this._mouseDestroy();var b=function(b){a(b).removeClass("ui-resizable ui-resizable-disabled ui-resizable-resizing").removeData("resizable").unbind(".resizable").find(".ui-resizable-handle").remove()};if(this.elementIsWrapper){b(this.element);var c=this.element;c.after(this.originalElement.css({position:c.css("position"),width:c.outerWidth(),height:c.outerHeight(),top:c.css("top"),left:c.css("left")})).remove()}this.originalElement.css("resize",this.originalResizeStyle),b(this.originalElement);return this},_mouseCapture:function(b){var c=!1;for(var d in this.handles)a(this.handles[d])[0]==b.target&&(c=!0);return!this.options.disabled&&c},_mouseStart:function(b){var d=this.options,e=this.element.position(),f=this.element;this.resizing=!0,this.documentScroll={top:a(document).scrollTop(),left:a(document).scrollLeft()},(f.is(".ui-draggable")||/absolute/.test(f.css("position")))&&f.css({position:"absolute",top:e.top,left:e.left}),this._renderProxy();var g=c(this.helper.css("left")),h=c(this.helper.css("top"));d.containment&&(g+=a(d.containment).scrollLeft()||0,h+=a(d.containment).scrollTop()||0),this.offset=this.helper.offset(),this.position={left:g,top:h},this.size=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalSize=this._helper?{width:f.outerWidth(),height:f.outerHeight()}:{width:f.width(),height:f.height()},this.originalPosition={left:g,top:h},this.sizeDiff={width:f.outerWidth()-f.width(),height:f.outerHeight()-f.height()},this.originalMousePosition={left:b.pageX,top:b.pageY},this.aspectRatio=typeof d.aspectRatio=="number"?d.aspectRatio:this.originalSize.width/this.originalSize.height||1;var i=a(".ui-resizable-"+this.axis).css("cursor");a("body").css("cursor",i=="auto"?this.axis+"-resize":i),f.addClass("ui-resizable-resizing"),this._propagate("start",b);return!0},_mouseDrag:function(b){var c=this.helper,d=this.options,e={},f=this,g=this.originalMousePosition,h=this.axis,i=b.pageX-g.left||0,j=b.pageY-g.top||0,k=this._change[h];if(!k)return!1;var l=k.apply(this,[b,i,j]),m=a.browser.msie&&a.browser.version<7,n=this.sizeDiff;this._updateVirtualBoundaries(b.shiftKey);if(this._aspectRatio||b.shiftKey)l=this._updateRatio(l,b);l=this._respectSize(l,b),this._propagate("resize",b),c.css({top:this.position.top+"px",left:this.position.left+"px",width:this.size.width+"px",height:this.size.height+"px"}),!this._helper&&this._proportionallyResizeElements.length&&this._proportionallyResize(),this._updateCache(l),this._trigger("resize",b,this.ui());return!1},_mouseStop:function(b){this.resizing=!1;var c=this.options,d=this;if(this._helper){var e=this._proportionallyResizeElements,f=e.length&&/textarea/i.test(e[0].nodeName),g=f&&a.ui.hasScroll(e[0],"left")?0:d.sizeDiff.height,h=f?0:d.sizeDiff.width,i={width:d.helper.width()-h,height:d.helper.height()-g},j=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,k=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;c.animate||this.element.css(a.extend(i,{top:k,left:j})),d.helper.height(d.size.height),d.helper.width(d.size.width),this._helper&&!c.animate&&this._proportionallyResize()}a("body").css("cursor","auto"),this.element.removeClass("ui-resizable-resizing"),this._propagate("stop",b),this._helper&&this.helper.remove();return!1},_updateVirtualBoundaries:function(a){var b=this.options,c,e,f,g,h;h={minWidth:d(b.minWidth)?b.minWidth:0,maxWidth:d(b.maxWidth)?b.maxWidth:Infinity,minHeight:d(b.minHeight)?b.minHeight:0,maxHeight:d(b.maxHeight)?b.maxHeight:Infinity};if(this._aspectRatio||a)c=h.minHeight*this.aspectRatio,f=h.minWidth/this.aspectRatio,e=h.maxHeight*this.aspectRatio,g=h.maxWidth/this.aspectRatio,c>h.minWidth&&(h.minWidth=c),f>h.minHeight&&(h.minHeight=f),ea.width,k=d(a.height)&&e.minHeight&&e.minHeight>a.height;j&&(a.width=e.minWidth),k&&(a.height=e.minHeight),h&&(a.width=e.maxWidth),i&&(a.height=e.maxHeight);var l=this.originalPosition.left+this.originalSize.width,m=this.position.top+this.size.height,n=/sw|nw|w/.test(g),o=/nw|ne|n/.test(g);j&&n&&(a.left=l-e.minWidth),h&&n&&(a.left=l-e.maxWidth),k&&o&&(a.top=m-e.minHeight),i&&o&&(a.top=m-e.maxHeight);var p=!a.width&&!a.height;p&&!a.left&&a.top?a.top=null:p&&!a.top&&a.left&&(a.left=null);return a},_proportionallyResize:function(){var b=this.options;if(!!this._proportionallyResizeElements.length){var c=this.helper||this.element;for(var d=0;d');var d=a.browser.msie&&a.browser.version<7,e=d?1:0,f=d?2:-1;this.helper.addClass(this._helper).css({width:this.element.outerWidth()+f,height:this.element.outerHeight()+f,position:"absolute",left:this.elementOffset.left-e+"px",top:this.elementOffset.top-e+"px",zIndex:++c.zIndex}),this.helper.appendTo("body").disableSelection()}else this.helper=this.element},_change:{e:function(a,b,c){return{width:this.originalSize.width+b}},w:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{left:f.left+b,width:e.width-b}},n:function(a,b,c){var d=this.options,e=this.originalSize,f=this.originalPosition;return{top:f.top+c,height:e.height-c}},s:function(a,b,c){return{height:this.originalSize.height+c}},se:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},sw:function(b,c,d){return a.extend(this._change.s.apply(this,arguments),this._change.w.apply(this,[b,c,d]))},ne:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.e.apply(this,[b,c,d]))},nw:function(b,c,d){return a.extend(this._change.n.apply(this,arguments),this._change.w.apply(this,[b,c,d]))}},_propagate:function(b,c){a.ui.plugin.call(this,b,[c,this.ui()]),b!="resize"&&this._trigger(b,c,this.ui())},plugins:{},ui:function(){return{originalElement:this.originalElement,element:this.element,helper:this.helper,position:this.position,size:this.size,originalSize:this.originalSize,originalPosition:this.originalPosition}}}),a.extend(a.ui.resizable,{version:"1.8.18"}),a.ui.plugin.add("resizable","alsoResize",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=function(b){a(b).each(function(){var b=a(this);b.data("resizable-alsoresize",{width:parseInt(b.width(),10),height:parseInt(b.height(),10),left:parseInt(b.css("left"),10),top:parseInt(b.css("top"),10)})})};typeof e.alsoResize=="object"&&!e.alsoResize.parentNode?e.alsoResize.length?(e.alsoResize=e.alsoResize[0],f(e.alsoResize)):a.each(e.alsoResize,function(a){f(a)}):f(e.alsoResize)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.originalSize,g=d.originalPosition,h={height:d.size.height-f.height||0,width:d.size.width-f.width||0,top:d.position.top-g.top||0,left:d.position.left-g.left||0},i=function(b,d){a(b).each(function(){var b=a(this),e=a(this).data("resizable-alsoresize"),f={},g=d&&d.length?d:b.parents(c.originalElement[0]).length?["width","height"]:["width","height","top","left"];a.each(g,function(a,b){var c=(e[b]||0)+(h[b]||0);c&&c>=0&&(f[b]=c||null)}),b.css(f)})};typeof e.alsoResize=="object"&&!e.alsoResize.nodeType?a.each(e.alsoResize,function(a,b){i(a,b)}):i(e.alsoResize)},stop:function(b,c){a(this).removeData("resizable-alsoresize")}}),a.ui.plugin.add("resizable","animate",{stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d._proportionallyResizeElements,g=f.length&&/textarea/i.test(f[0].nodeName),h=g&&a.ui.hasScroll(f[0],"left")?0:d.sizeDiff.height,i=g?0:d.sizeDiff.width,j={width:d.size.width-i,height:d.size.height-h},k=parseInt(d.element.css("left"),10)+(d.position.left-d.originalPosition.left)||null,l=parseInt(d.element.css("top"),10)+(d.position.top-d.originalPosition.top)||null;d.element.animate(a.extend(j,l&&k?{top:l,left:k}:{}),{duration:e.animateDuration,easing:e.animateEasing,step:function(){var c={width:parseInt(d.element.css("width"),10),height:parseInt(d.element.css("height"),10),top:parseInt(d.element.css("top"),10),left:parseInt(d.element.css("left"),10)};f&&f.length&&a(f[0]).css({width:c.width,height:c.height}),d._updateCache(c),d._propagate("resize",b)}})}}),a.ui.plugin.add("resizable","containment",{start:function(b,d){var e=a(this).data("resizable"),f=e.options,g=e.element,h=f.containment,i=h instanceof a?h.get(0):/parent/.test(h)?g.parent().get(0):h;if(!!i){e.containerElement=a(i);if(/document/.test(h)||h==document)e.containerOffset={left:0,top:0},e.containerPosition={left:0,top:0},e.parentData={element:a(document),left:0,top:0,width:a(document).width(),height:a(document).height()||document.body.parentNode.scrollHeight};else{var j=a(i),k=[];a(["Top","Right","Left","Bottom"]).each(function(a,b){k[a]=c(j.css("padding"+b))}),e.containerOffset=j.offset(),e.containerPosition=j.position(),e.containerSize={height:j.innerHeight()-k[3],width:j.innerWidth()-k[1]};var l=e.containerOffset,m=e.containerSize.height,n=e.containerSize.width,o=a.ui.hasScroll(i,"left")?i.scrollWidth:n,p=a.ui.hasScroll(i)?i.scrollHeight:m;e.parentData={element:i,left:l.left,top:l.top,width:o,height:p}}}},resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.containerSize,g=d.containerOffset,h=d.size,i=d.position,j=d._aspectRatio||b.shiftKey,k={top:0,left:0},l=d.containerElement;l[0]!=document&&/static/.test(l.css("position"))&&(k=g),i.left<(d._helper?g.left:0)&&(d.size.width=d.size.width+(d._helper?d.position.left-g.left:d.position.left-k.left),j&&(d.size.height=d.size.width/e.aspectRatio),d.position.left=e.helper?g.left:0),i.top<(d._helper?g.top:0)&&(d.size.height=d.size.height+(d._helper?d.position.top-g.top:d.position.top),j&&(d.size.width=d.size.height*e.aspectRatio),d.position.top=d._helper?g.top:0),d.offset.left=d.parentData.left+d.position.left,d.offset.top=d.parentData.top+d.position.top;var m=Math.abs((d._helper?d.offset.left-k.left:d.offset.left-k.left)+d.sizeDiff.width),n=Math.abs((d._helper?d.offset.top-k.top:d.offset.top-g.top)+d.sizeDiff.height),o=d.containerElement.get(0)==d.element.parent().get(0),p=/relative|absolute/.test(d.containerElement.css("position"));o&&p&&(m-=d.parentData.left),m+d.size.width>=d.parentData.width&&(d.size.width=d.parentData.width-m,j&&(d.size.height=d.size.width/d.aspectRatio)),n+d.size.height>=d.parentData.height&&(d.size.height=d.parentData.height-n,j&&(d.size.width=d.size.height*d.aspectRatio))},stop:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.position,g=d.containerOffset,h=d.containerPosition,i=d.containerElement,j=a(d.helper),k=j.offset(),l=j.outerWidth()-d.sizeDiff.width,m=j.outerHeight()-d.sizeDiff.height;d._helper&&!e.animate&&/relative/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m}),d._helper&&!e.animate&&/static/.test(i.css("position"))&&a(this).css({left:k.left-h.left-g.left,width:l,height:m})}}),a.ui.plugin.add("resizable","ghost",{start:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size;d.ghost=d.originalElement.clone(),d.ghost.css({opacity:.25,display:"block",position:"relative",height:f.height,width:f.width,margin:0,left:0,top:0}).addClass("ui-resizable-ghost").addClass(typeof e.ghost=="string"?e.ghost:""),d.ghost.appendTo(d.helper)},resize:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.ghost.css({position:"relative",height:d.size.height,width:d.size.width})},stop:function(b,c){var d=a(this).data("resizable"),e=d.options;d.ghost&&d.helper&&d.helper.get(0).removeChild(d.ghost.get(0))}}),a.ui.plugin.add("resizable","grid",{resize:function(b,c){var d=a(this).data("resizable"),e=d.options,f=d.size,g=d.originalSize,h=d.originalPosition,i=d.axis,j=e._aspectRatio||b.shiftKey;e.grid=typeof e.grid=="number"?[e.grid,e.grid]:e.grid;var k=Math.round((f.width-g.width)/(e.grid[0]||1))*(e.grid[0]||1),l=Math.round((f.height-g.height)/(e.grid[1]||1))*(e.grid[1]||1);/^(se|s|e)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l):/^(ne)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l):/^(sw)$/.test(i)?(d.size.width=g.width+k,d.size.height=g.height+l,d.position.left=h.left-k):(d.size.width=g.width+k,d.size.height=g.height+l,d.position.top=h.top-l,d.position.left=h.left-k)}});var c=function(a){return parseInt(a,10)||0},d=function(a){return!isNaN(parseInt(a,10))}})(jQuery);/* - * jQuery UI Selectable 1.8.18 - * - * Copyright 2011, AUTHORS.txt (http://jqueryui.com/about) - * Dual licensed under the MIT or GPL Version 2 licenses. - * http://jquery.org/license - * - * http://docs.jquery.com/UI/Selectables - * - * Depends: - * jquery.ui.core.js - * jquery.ui.mouse.js - * jquery.ui.widget.js - */(function(a,b){a.widget("ui.selectable",a.ui.mouse,{options:{appendTo:"body",autoRefresh:!0,distance:0,filter:"*",tolerance:"touch"},_create:function(){var b=this;this.element.addClass("ui-selectable"),this.dragged=!1;var c;this.refresh=function(){c=a(b.options.filter,b.element[0]),c.addClass("ui-selectee"),c.each(function(){var b=a(this),c=b.offset();a.data(this,"selectable-item",{element:this,$element:b,left:c.left,top:c.top,right:c.left+b.outerWidth(),bottom:c.top+b.outerHeight(),startselected:!1,selected:b.hasClass("ui-selected"),selecting:b.hasClass("ui-selecting"),unselecting:b.hasClass("ui-unselecting")})})},this.refresh(),this.selectees=c.addClass("ui-selectee"),this._mouseInit(),this.helper=a("
                                ")},destroy:function(){this.selectees.removeClass("ui-selectee").removeData("selectable-item"),this.element.removeClass("ui-selectable ui-selectable-disabled").removeData("selectable").unbind(".selectable"),this._mouseDestroy();return this},_mouseStart:function(b){var c=this;this.opos=[b.pageX,b.pageY];if(!this.options.disabled){var d=this.options;this.selectees=a(d.filter,this.element[0]),this._trigger("start",b),a(d.appendTo).append(this.helper),this.helper.css({left:b.clientX,top:b.clientY,width:0,height:0}),d.autoRefresh&&this.refresh(),this.selectees.filter(".ui-selected").each(function(){var d=a.data(this,"selectable-item");d.startselected=!0,!b.metaKey&&!b.ctrlKey&&(d.$element.removeClass("ui-selected"),d.selected=!1,d.$element.addClass("ui-unselecting"),d.unselecting=!0,c._trigger("unselecting",b,{unselecting:d.element}))}),a(b.target).parents().andSelf().each(function(){var d=a.data(this,"selectable-item");if(d){var e=!b.metaKey&&!b.ctrlKey||!d.$element.hasClass("ui-selected");d.$element.removeClass(e?"ui-unselecting":"ui-selected").addClass(e?"ui-selecting":"ui-unselecting"),d.unselecting=!e,d.selecting=e,d.selected=e,e?c._trigger("selecting",b,{selecting:d.element}):c._trigger("unselecting",b,{unselecting:d.element});return!1}})}},_mouseDrag:function(b){var c=this;this.dragged=!0;if(!this.options.disabled){var d=this.options,e=this.opos[0],f=this.opos[1],g=b.pageX,h=b.pageY;if(e>g){var i=g;g=e,e=i}if(f>h){var i=h;h=f,f=i}this.helper.css({left:e,top:f,width:g-e,height:h-f}),this.selectees.each(function(){var i=a.data(this,"selectable-item");if(!!i&&i.element!=c.element[0]){var j=!1;d.tolerance=="touch"?j=!(i.left>g||i.righth||i.bottome&&i.rightf&&i.bottom *",opacity:!1,placeholder:!1,revert:!1,scroll:!0,scrollSensitivity:20,scrollSpeed:20,scope:"default",tolerance:"intersect",zIndex:1e3},_create:function(){var a=this.options;this.containerCache={},this.element.addClass("ui-sortable"),this.refresh(),this.floating=this.items.length?a.axis==="x"||/left|right/.test(this.items[0].item.css("float"))||/inline|table-cell/.test(this.items[0].item.css("display")):!1,this.offset=this.element.offset(),this._mouseInit(),this.ready=!0},destroy:function(){a.Widget.prototype.destroy.call(this),this.element.removeClass("ui-sortable ui-sortable-disabled"),this._mouseDestroy();for(var b=this.items.length-1;b>=0;b--)this.items[b].item.removeData(this.widgetName+"-item");return this},_setOption:function(b,c){b==="disabled"?(this.options[b]=c,this.widget()[c?"addClass":"removeClass"]("ui-sortable-disabled")):a.Widget.prototype._setOption.apply(this,arguments)},_mouseCapture:function(b,c){var d=this;if(this.reverting)return!1;if(this.options.disabled||this.options.type=="static")return!1;this._refreshItems(b);var e=null,f=this,g=a(b.target).parents().each(function(){if(a.data(this,d.widgetName+"-item")==f){e=a(this);return!1}});a.data(b.target,d.widgetName+"-item")==f&&(e=a(b.target));if(!e)return!1;if(this.options.handle&&!c){var h=!1;a(this.options.handle,e).find("*").andSelf().each(function(){this==b.target&&(h=!0)});if(!h)return!1}this.currentItem=e,this._removeCurrentsFromItems();return!0},_mouseStart:function(b,c,d){var e=this.options,f=this;this.currentContainer=this,this.refreshPositions(),this.helper=this._createHelper(b),this._cacheHelperProportions(),this._cacheMargins(),this.scrollParent=this.helper.scrollParent(),this.offset=this.currentItem.offset(),this.offset={top:this.offset.top-this.margins.top,left:this.offset.left-this.margins.left},this.helper.css("position","absolute"),this.cssPosition=this.helper.css("position"),a.extend(this.offset,{click:{left:b.pageX-this.offset.left,top:b.pageY-this.offset.top},parent:this._getParentOffset(),relative:this._getRelativeOffset()}),this.originalPosition=this._generatePosition(b),this.originalPageX=b.pageX,this.originalPageY=b.pageY,e.cursorAt&&this._adjustOffsetFromHelper(e.cursorAt),this.domPosition={prev:this.currentItem.prev()[0],parent:this.currentItem.parent()[0]},this.helper[0]!=this.currentItem[0]&&this.currentItem.hide(),this._createPlaceholder(),e.containment&&this._setContainment(),e.cursor&&(a("body").css("cursor")&&(this._storedCursor=a("body").css("cursor")),a("body").css("cursor",e.cursor)),e.opacity&&(this.helper.css("opacity")&&(this._storedOpacity=this.helper.css("opacity")),this.helper.css("opacity",e.opacity)),e.zIndex&&(this.helper.css("zIndex")&&(this._storedZIndex=this.helper.css("zIndex")),this.helper.css("zIndex",e.zIndex)),this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"&&(this.overflowOffset=this.scrollParent.offset()),this._trigger("start",b,this._uiHash()),this._preserveHelperProportions||this._cacheHelperProportions();if(!d)for(var g=this.containers.length-1;g>=0;g--)this.containers[g]._trigger("activate",b,f._uiHash(this));a.ui.ddmanager&&(a.ui.ddmanager.current=this),a.ui.ddmanager&&!e.dropBehaviour&&a.ui.ddmanager.prepareOffsets(this,b),this.dragging=!0,this.helper.addClass("ui-sortable-helper"),this._mouseDrag(b);return!0},_mouseDrag:function(b){this.position=this._generatePosition(b),this.positionAbs=this._convertPositionTo("absolute"),this.lastPositionAbs||(this.lastPositionAbs=this.positionAbs);if(this.options.scroll){var c=this.options,d=!1;this.scrollParent[0]!=document&&this.scrollParent[0].tagName!="HTML"?(this.overflowOffset.top+this.scrollParent[0].offsetHeight-b.pageY=0;e--){var f=this.items[e],g=f.item[0],h=this._intersectsWithPointer(f);if(!h)continue;if(g!=this.currentItem[0]&&this.placeholder[h==1?"next":"prev"]()[0]!=g&&!a.ui.contains(this.placeholder[0],g)&&(this.options.type=="semi-dynamic"?!a.ui.contains(this.element[0],g):!0)){this.direction=h==1?"down":"up";if(this.options.tolerance=="pointer"||this._intersectsWithSides(f))this._rearrange(b,f);else break;this._trigger("change",b,this._uiHash());break}}this._contactContainers(b),a.ui.ddmanager&&a.ui.ddmanager.drag(this,b),this._trigger("sort",b,this._uiHash()),this.lastPositionAbs=this.positionAbs;return!1},_mouseStop:function(b,c){if(!!b){a.ui.ddmanager&&!this.options.dropBehaviour&&a.ui.ddmanager.drop(this,b);if(this.options.revert){var d=this,e=d.placeholder.offset();d.reverting=!0,a(this.helper).animate({left:e.left-this.offset.parent.left-d.margins.left+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollLeft),top:e.top-this.offset.parent.top-d.margins.top+(this.offsetParent[0]==document.body?0:this.offsetParent[0].scrollTop)},parseInt(this.options.revert,10)||500,function(){d._clear(b)})}else this._clear(b,c);return!1}},cancel:function(){var b=this;if(this.dragging){this._mouseUp({target:null}),this.options.helper=="original"?this.currentItem.css(this._storedCSS).removeClass("ui-sortable-helper"):this.currentItem.show();for(var c=this.containers.length-1;c>=0;c--)this.containers[c]._trigger("deactivate",null,b._uiHash(this)),this.containers[c].containerCache.over&&(this.containers[c]._trigger("out",null,b._uiHash(this)),this.containers[c].containerCache.over=0)}this.placeholder&&(this.placeholder[0].parentNode&&this.placeholder[0].parentNode.removeChild(this.placeholder[0]),this.options.helper!="original"&&this.helper&&this.helper[0].parentNode&&this.helper.remove(),a.extend(this,{helper:null,dragging:!1,reverting:!1,_noFinalSort:null}),this.domPosition.prev?a(this.domPosition.prev).after(this.currentItem):a(this.domPosition.parent).prepend(this.currentItem));return this},serialize:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];b=b||{},a(c).each(function(){var c=(a(b.item||this).attr(b.attribute||"id")||"").match(b.expression||/(.+)[-=_](.+)/);c&&d.push((b.key||c[1]+"[]")+"="+(b.key&&b.expression?c[1]:c[2]))}),!d.length&&b.key&&d.push(b.key+"=");return d.join("&")},toArray:function(b){var c=this._getItemsAsjQuery(b&&b.connected),d=[];b=b||{},c.each(function(){d.push(a(b.item||this).attr(b.attribute||"id")||"")});return d},_intersectsWith:function(a){var b=this.positionAbs.left,c=b+this.helperProportions.width,d=this.positionAbs.top,e=d+this.helperProportions.height,f=a.left,g=f+a.width,h=a.top,i=h+a.height,j=this.offset.click.top,k=this.offset.click.left,l=d+j>h&&d+jf&&b+ka[this.floating?"width":"height"]?l:f0?"down":"up")},_getDragHorizontalDirection:function(){var a=this.positionAbs.left-this.lastPositionAbs.left;return a!=0&&(a>0?"right":"left")},refresh:function(a){this._refreshItems(a),this.refreshPositions();return this},_connectWith:function(){var a=this.options;return a.connectWith.constructor==String?[a.connectWith]:a.connectWith},_getItemsAsjQuery:function(b){var c=this,d=[],e=[],f=this._connectWith();if(f&&b)for(var g=f.length-1;g>=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&e.push([a.isFunction(j.options.items)?j.options.items.call(j.element):a(j.options.items,j.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),j])}}e.push([a.isFunction(this.options.items)?this.options.items.call(this.element,null,{options:this.options,item:this.currentItem}):a(this.options.items,this.element).not(".ui-sortable-helper").not(".ui-sortable-placeholder"),this]);for(var g=e.length-1;g>=0;g--)e[g][0].each(function(){d.push(this)});return a(d)},_removeCurrentsFromItems:function(){var a=this.currentItem.find(":data("+this.widgetName+"-item)");for(var b=0;b=0;g--){var h=a(f[g]);for(var i=h.length-1;i>=0;i--){var j=a.data(h[i],this.widgetName);j&&j!=this&&!j.options.disabled&&(e.push([a.isFunction(j.options.items)?j.options.items.call(j.element[0],b,{item:this.currentItem}):a(j.options.items,j.element),j]),this.containers.push(j))}}for(var g=e.length-1;g>=0;g--){var k=e[g][1],l=e[g][0];for(var i=0,m=l.length;i=0;c--){var d=this.items[c];if(d.instance!=this.currentContainer&&this.currentContainer&&d.item[0]!=this.currentItem[0])continue;var e=this.options.toleranceElement?a(this.options.toleranceElement,d.item):d.item;b||(d.width=e.outerWidth(),d.height=e.outerHeight());var f=e.offset();d.left=f.left,d.top=f.top}if(this.options.custom&&this.options.custom.refreshContainers)this.options.custom.refreshContainers.call(this);else for(var c=this.containers.length-1;c>=0;c--){var f=this.containers[c].element.offset();this.containers[c].containerCache.left=f.left,this.containers[c].containerCache.top=f.top,this.containers[c].containerCache.width=this.containers[c].element.outerWidth(),this.containers[c].containerCache.height=this.containers[c].element.outerHeight()}return this},_createPlaceholder:function(b){var c=b||this,d=c.options;if(!d.placeholder||d.placeholder.constructor==String){var e=d.placeholder;d.placeholder={element:function(){var b=a(document.createElement(c.currentItem[0].nodeName)).addClass(e||c.currentItem[0].className+" ui-sortable-placeholder").removeClass("ui-sortable-helper")[0];e||(b.style.visibility="hidden");return b},update:function(a,b){if(!e||!!d.forcePlaceholderSize)b.height()||b.height(c.currentItem.innerHeight()-parseInt(c.currentItem.css("paddingTop")||0,10)-parseInt(c.currentItem.css("paddingBottom")||0,10)),b.width()||b.width(c.currentItem.innerWidth()-parseInt(c.currentItem.css("paddingLeft")||0,10)-parseInt(c.currentItem.css("paddingRight")||0,10))}}}c.placeholder=a(d.placeholder.element.call(c.element,c.currentItem)),c.currentItem.after(c.placeholder),d.placeholder.update(c,c.placeholder)},_contactContainers:function(b){var c=null,d=null;for(var e=this.containers.length-1;e>=0;e--){if(a.ui.contains(this.currentItem[0],this.containers[e].element[0]))continue;if(this._intersectsWith(this.containers[e].containerCache)){if(c&&a.ui.contains(this.containers[e].element[0],c.element[0]))continue;c=this.containers[e],d=e}else this.containers[e].containerCache.over&&(this.containers[e]._trigger("out",b,this._uiHash(this)),this.containers[e].containerCache.over=0)}if(!!c)if(this.containers.length===1)this.containers[d]._trigger("over",b,this._uiHash(this)),this.containers[d].containerCache.over=1;else if(this.currentContainer!=this.containers[d]){var f=1e4,g=null,h=this.positionAbs[this.containers[d].floating?"left":"top"];for(var i=this.items.length-1;i>=0;i--){if(!a.ui.contains(this.containers[d].element[0],this.items[i].item[0]))continue;var j=this.items[i][this.containers[d].floating?"left":"top"];Math.abs(j-h)this.containment[2]&&(f=this.containment[2]+this.offset.click.left),b.pageY-this.offset.click.top>this.containment[3]&&(g=this.containment[3]+this.offset.click.top));if(c.grid){var h=this.originalPageY+Math.round((g-this.originalPageY)/c.grid[1])*c.grid[1];g=this.containment?h-this.offset.click.topthis.containment[3]?h-this.offset.click.topthis.containment[2]?i-this.offset.click.left=0;f--)a.ui.contains(this.containers[f].element[0],this.currentItem[0])&&!c&&(d.push(function(a){return function(b){a._trigger("receive",b,this._uiHash(this))}}.call(this,this.containers[f])),d.push(function(a){return function(b){a._trigger("update",b,this._uiHash(this))}}.call(this,this.containers[f])))}for(var f=this.containers.length-1;f>=0;f--)c||d.push(function(a){return function(b){a._trigger("deactivate",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over&&(d.push(function(a){return function(b){a._trigger("out",b,this._uiHash(this))}}.call(this,this.containers[f])),this.containers[f].containerCache.over=0);this._storedCursor&&a("body").css("cursor",this._storedCursor),this._storedOpacity&&this.helper.css("opacity",this._storedOpacity),this._storedZIndex&&this.helper.css("zIndex",this._storedZIndex=="auto"?"":this._storedZIndex),this.dragging=!1;if(this.cancelHelperRemoval){if(!c){this._trigger("beforeStop",b,this._uiHash());for(var f=0;f 255)){ - intLength=intLength+2; - }else{ - intLength=intLength+1; - } - } - return intLength - }, - //加载进度条 - progressBar:function(){ - $("
                                正在加载,请稍等O(∩_∩)O哈!
                                ").appendTo('body'); - var w=$(window).width(),h=$(window).height(); - $('#myCover').css({'width':'100%','height':h,'position':'absolute','background':'#fff','z-index':9999,'left':0,'top':0}).fadeTo('slow',0.8); - $('#loadimg').css({'position':'absolute','background':'url(themes/default/images/loading.gif) no-repeat center center','z-index':10000,'width':'110px','height':'64px','left':(w-110)/2,'top':((h-64)/2)-50}).find('span').css({'position':'absolute','left':0,'bottom':'-40px','width':110,'display':'block','height':40,'text-align':'center'}); - }, - //停止进度条 - stopProgress:function(){ - $('#myCover').remove(); - $('#loadimg').remove(); - }, - getImgWh:function(url, callback) { - var width, height, intervalId, check, div, img = new Image(), - body = document.body; - img.src = url; - - //从缓存中读取 - if (img.complete) { - return callback(img.width, img.height); - }; - - //通过占位提前获取图片头部数据 - if (body) { - div = document.createElement('div'); - div.style.cssText = 'visibility:hidden;position:absolute;left:0;top:0;width:1px;height:1px;overflow:hidden'; - div.appendChild(img) - body.appendChild(div); - width = img.offsetWidth; - height = img.offsetHeight; - check = function() { - if (img.offsetWidth !== width || img.offsetHeight !== height) { - clearInterval(intervalId); - callback(img.offsetWidth, img.clientHeight); - img.onload = null; - div.innerHTML = ''; - div.parentNode.removeChild(div); - }; - }; - intervalId = setInterval(check, 150); - }; - // 加载完毕后方式获取 - img.onload = function() { - callback(img.width, img.height); - img.onload = img.onerror = null; - clearInterval(intervalId); - body && img.parentNode.removeChild(img); - }; - }, - //全屏 - fullscreen:function(){ - var docElm = document.documentElement; - if (docElm.requestFullscreen) { - docElm.requestFullscreen(); - } - else if (docElm.mozRequestFullScreen) { - docElm.mozRequestFullScreen(); - } - else if (docElm.webkitRequestFullScreen) { - docElm.webkitRequestFullScreen(); - } - }, - //退出全屏 - exitFullscreen:function(){ - if (document.exitFullscreen) { - document.exitFullscreen(); - } - else if (document.mozCancelFullScreen) { - document.mozCancelFullScreen(); - } - else if (document.webkitCancelFullScreen) { - document.webkitCancelFullScreen(); - } - }, - //IE全屏 - fullscreenIE:function(){ - if($.browser.msie){ - var wsh = new ActiveXObject("WScript.Shell"); - wsh.sendKeys("{F11}"); - } - } - } - -/*------------------------------------------ - *jquery扩展,加载技术文件和css文件 --------------------------------------------*/ -$.extend({ - includePath: '', - include: function(file) - { - var files = typeof file == "string" ? [file] : file; - for (var i = 0; i < files.length; i++) - { - var name = files[i].replace(/^\s|\s$/g, ""); - var att = name.split('.'); - var ext = att[att.length - 1].toLowerCase(); - var isCSS = ext == "css"; - var tag = isCSS ? "link" : "script"; - var attr = isCSS ? " type='text/css' rel='stylesheet' " : " language='javascript' type='text/javascript' "; - var link = (isCSS ? "href" : "src") + "='" + $.includePath + name + "'"; - if ($(tag + "[" + link + "]").length == 0) document.write("<" + tag + attr + link + ">"); - } - } -}); \ No newline at end of file diff --git a/src/main/webapp/js/wth.js b/src/main/webapp/js/wth.js deleted file mode 100644 index cabf4643702ab31d9d52d4265f1c7279e475506d..0000000000000000000000000000000000000000 --- a/src/main/webapp/js/wth.js +++ /dev/null @@ -1,121 +0,0 @@ -// JavaScript Document -function switchTableRow(conid,evenRowClassName,hoverRowClassName) -{ - $(conid + " tr:even").addClass(evenRowClassName); - $(conid + " tr").hover(function() - { - $(this).addClass(hoverRowClassName); - }, - function() - { - $(this).removeClass(hoverRowClassName); - }); -} -function switchTableRowView(conid,evenRowClassName) -{ - $(conid + " tr:odd").addClass(evenRowClassName); -} -function selectAll(selectAll,selectName) -{ - var checkboxName = document.getElementsByName(selectName); - for (var i=0; i
                                "+dT+"
                                "+dData+"
                                "); - $("#dialog img").css({margin:"0 5px 0 0"}); - } - else if(tipstyle == 1) - { - $("body").append("
                                "+dT+"
                                "+dData+"
                                "); - $("#dialog img").css({margin:"0 5px 0 0"}); - } - else - { - $("body").append("
                                "+dT+"
                                "+dData+"
                                "); - } - } - else - { - $("body").append("
                                "+dT+"
                                "); - } - var leftpx = (webW-dW)/2; - var toppx = (webH-dH-headH)/2; - $("#dialog").css({height:(dH)+"px",width:dW+"px",left:leftpx+"px",top:toppx+"px"}); - $("#dialogFrame").css({height:(dH-32-33)+"px",width:dW+"px",margin:"2px 0 0 0"}); - $("#dialog_bg").css({height:webSH+"px"}); - $("#dialog_btnlist").css({width:(dW-30)+"px","padding-left":"30px"}); - $(obj).blur(); - MoveWindow('dialog_title','dialog') - $("#dialog_close").click(function() - { - $("#dialog").remove(); - $("#dialog_bg").remove(); - }); - $("#dialog_btnlist").click(function() - { - $("#dialog").remove(); - $("#dialog_bg").remove(); - }); - - -} -function MoveWindow(hanldID,windowID) -{ - var posx,posy,posx1,posx1,posx2,posx2,mbx,mby; - document.getElementById(hanldID).style.cursor = "move"; - var handle = document.getElementById(hanldID); - var moveWindow = document.getElementById(windowID); - function mdown(event) - { - event = window.event || event; - posx = event.clientX; - posy = event.clientY; - mbx = event.clientX - moveWindow.offsetLeft; - mby = event.clientY - moveWindow.offsetTop; - moveWindow.onmousemove = mmove; - moveWindow.onmouseup = mup; - moveWindow.onmouseout = mout; - } - var mmove = function(event) - { - event = window.event || event; - posx1 = event.clientX; - posy1 = event.clientY; - moveWindow.style.left = posx1 - mbx + "px"; - moveWindow.style.top = posy1 - mby + "px"; - } - function mup(event) - { - event = window.event || event; - posx2 = event.clientX; - posy2 = event.clientY; - moveWindow.onmousemove = ""; - } - function mout(event) - { - event = window.event || event; - moveWindow.onmousemove = ""; - } - handle.onmousedown = mdown; -} \ No newline at end of file diff --git a/src/main/webapp/login.jsp b/src/main/webapp/login.jsp deleted file mode 100644 index 2ba2e716a4a964d62100c8c8937b17a1c4ee606b..0000000000000000000000000000000000000000 --- a/src/main/webapp/login.jsp +++ /dev/null @@ -1,184 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - ERP系统 - - - - - - - - - -
                                -
                                -
                                -

                                login

                                -

                                - -

                                -

                                - -

                                - - - - - -
                                - -
                                -
                                - - - \ No newline at end of file diff --git a/src/main/webapp/logout.jsp b/src/main/webapp/logout.jsp deleted file mode 100644 index 1497cb1dbf705ac9c7469bff366ca6ece23ce9d9..0000000000000000000000000000000000000000 --- a/src/main/webapp/logout.jsp +++ /dev/null @@ -1,26 +0,0 @@ -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; -%> - - - - - - + - - - - - - - - - -
                                - diff --git a/src/main/webapp/pages/asset/asset.jsp b/src/main/webapp/pages/asset/asset.jsp deleted file mode 100644 index 2560b9a0fd5fcf02c80abd137e44f94ebbc0a2a8..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/asset/asset.jsp +++ /dev/null @@ -1,1463 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - - -
                                - -
                                - - - - - - - - - - - - - - - - - - - - - - - - - -
                                资产名称: - -   资产类型: - -   用户姓名: - -
                                状        态: - -   供  应  商: - -     - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                资产名称: - -   增加资产 -   状        态: - -
                                 
                                位        置: - -   用        户: - -    -
                                 
                                订购单价: -   元 -   购买日期: - -
                                 
                                有效日期: - -   保修日期: - -
                                 
                                资产编号: - -   序   列   号: - -
                                 
                                资产标签: - -   供   应   商: - -   增加供应商 -
                                 
                                描        述: - -
                                - -
                                -
                                - - -
                                -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - -
                                -
                                - -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - -
                                -
                                -
                                - - -
                                - -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                - 保存 - 取消 -
                                -
                                - - -
                                -
                                - - -
                                - -
                                - - -
                                - -
                                - 保存 - 取消 -
                                -
                                - - -
                                -
                                -
                                - - -
                                - - -
                                - 导入 - 取消 -
                                -
                                -
                                - -
                                -
                                编辑
                                -
                                删除
                                - -
                                取消
                                -
                                - - - \ No newline at end of file diff --git a/src/main/webapp/pages/asset/home.jsp b/src/main/webapp/pages/asset/home.jsp deleted file mode 100644 index 5392f0e0ca5565e302d09e0fb1d55c50293a9331..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/asset/home.jsp +++ /dev/null @@ -1,87 +0,0 @@ -<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; -%> - - - - - - - - - 首页说明 - - - - - - - - - - - - - -
                                -    - 资产管理 -
                                -

                                -      - 资产管理是记录资产明细,包括资产名称、资产类型、供应商、使用用户等信息,通过资产管理,可以记录平时资产明细,管理资产信息。资产管理包括增加,修改,删除、搜索消费信息等功能点。报表图表最多显示十条报表记录。 -

                                - - \ No newline at end of file diff --git a/src/main/webapp/pages/asset/report.jsp b/src/main/webapp/pages/asset/report.jsp deleted file mode 100644 index 82d167bad2300eb6627da43a05da8ecc0c4c083d..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/asset/report.jsp +++ /dev/null @@ -1,964 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - - - - - -
                                - -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                资产名称: - -   资产类型: - -   用户姓名: - -   状        态: - -
                                供    应    商: - -   统计类型: - -   是否前十: - -     - 查询   - 重置 -
                                -
                                - - -<%--
                                --%> -<%--
                                --%> -<%--
                                --%> - -
                                -
                                -
                                -
                                综合图
                                -
                                -
                                -
                                柱状图
                                -
                                -
                                -
                                饼状图
                                -
                                -
                                -
                                折现图
                                -
                                -
                                - -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/common/admin.jsp b/src/main/webapp/pages/common/admin.jsp deleted file mode 100644 index 90ec374bb55f6af2f3c4d8da9700d508c6e1ea9a..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/common/admin.jsp +++ /dev/null @@ -1,24 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - ERP系统 - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/common/foot.jsp b/src/main/webapp/pages/common/foot.jsp deleted file mode 100644 index b3337b56ae93c3a63512f37fe33faedd373cfd4f..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/common/foot.jsp +++ /dev/null @@ -1,19 +0,0 @@ -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; -%> - - - - 资产管理 - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/common/head.jsp b/src/main/webapp/pages/common/head.jsp deleted file mode 100644 index 9bfb5003512fb18a4c0221ec6314cd97d6c26c61..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/common/head.jsp +++ /dev/null @@ -1,161 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/common/home.jsp b/src/main/webapp/pages/common/home.jsp deleted file mode 100644 index db2b8b947c8553a12cf2122d4accc820ceeee695..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/common/home.jsp +++ /dev/null @@ -1,728 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); - String type = request.getParameter("type"); - String location = "首页"; - if (null != type) - location = "资产管理 >资产概况"; -%> - - - - erp - - - - - - - - - - - - - - -
                                - -
                                -
                                -
                                -
                                综合图
                                -
                                -
                                - -
                                -
                                -
                                折现图
                                -
                                -
                                -
                                -
                                -
                                饼状图
                                -
                                -
                                -
                                - - -
                                -
                                -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/common/main.jsp b/src/main/webapp/pages/common/main.jsp deleted file mode 100644 index a00ad90616c1d4d79f401539780eafc96aee2892..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/common/main.jsp +++ /dev/null @@ -1,131 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - - ERP系统 - - - - -
                                - -
                                -
                                -
                                您正在使用的IE浏览器版本过低,
                                我们建议您升级或者更换浏览器,以便体验顺畅、兼容、安全的互联网。
                                -
                                选择一款浏览器吧
                                - - -
                                -
                                - -
                                -
                                -
                                - ×
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                - - - - - ${sessionScope.user.username} - -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/common/menu.jsp b/src/main/webapp/pages/common/menu.jsp deleted file mode 100644 index 47efd963e07ff87c9247cce81967649e0ab90c59..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/common/menu.jsp +++ /dev/null @@ -1,237 +0,0 @@ -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; -%> - - - - - - - - - - - - - - - - - - - - - -
                                - -
                                -
                                -
                                -
                                -
                                -
                                - 刷新 -
                                - -
                                - 关闭 -
                                -
                                - 全部关闭 -
                                -
                                - 关闭其他页 -
                                - -
                                - 关闭右侧页面 -
                                -
                                - 关闭左侧页面 -
                                - -
                                - 华夏ERP官网 -
                                -
                                - - \ No newline at end of file diff --git a/src/main/webapp/pages/common/templateforjsp.jsp b/src/main/webapp/pages/common/templateforjsp.jsp deleted file mode 100644 index 3eb054acaaad473831b625587e5179e36754c46b..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/common/templateforjsp.jsp +++ /dev/null @@ -1,32 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/financial/advance_in.jsp b/src/main/webapp/pages/financial/advance_in.jsp deleted file mode 100644 index b8a2f2d5e0d5f69788b945f8f0c9e7113b5737cf..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/financial/advance_in.jsp +++ /dev/null @@ -1,162 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 收预付款 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - -
                                单据编号: - - 单据日期: - - - - -   - 查询  - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - -
                                付款会员: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                - -
                                优惠金额: - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - -
                                付款会员: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                单据备注: - -
                                优惠金额: - -
                                -
                                - - diff --git a/src/main/webapp/pages/financial/giro.jsp b/src/main/webapp/pages/financial/giro.jsp deleted file mode 100644 index 810803d2b34a01d2ab9f3418e08b9668dc4f9135..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/financial/giro.jsp +++ /dev/null @@ -1,167 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 转账单 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - -
                                单据编号: - - 单据日期: - - - - -   - 查询  - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - -
                                经手人: - - 单据日期: - - 单据编号: - - -
                                - -
                                -
                                - -
                                付款账户: - - 实付金额: - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - -
                                经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                单据备注: - -
                                付款账户: - - 实付金额: - -
                                -
                                - - diff --git a/src/main/webapp/pages/financial/item_in.jsp b/src/main/webapp/pages/financial/item_in.jsp deleted file mode 100644 index 11cea606c284d5a1e26115588bf9a43e3f5d5178..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/financial/item_in.jsp +++ /dev/null @@ -1,170 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 收入单 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - -
                                单据编号: - - 单据日期: - - - - -   - 查询  - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - -
                                往来单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                - -
                                收款账户: - - 收款金额: - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - -
                                往来单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                单据备注: - -
                                收款账户: - - 收款金额: - -
                                -
                                - - diff --git a/src/main/webapp/pages/financial/item_out.jsp b/src/main/webapp/pages/financial/item_out.jsp deleted file mode 100644 index f53ed06d0e40533c112948f9fa69ba5fb900fe1d..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/financial/item_out.jsp +++ /dev/null @@ -1,167 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 支出单 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - -
                                单据编号: - - 单据日期: - - - - -   - 查询  - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - -
                                往来单位: - - 单据日期: - - 单据编号: - - -
                                - -
                                -
                                - -
                                付款账户: - - 付款金额: - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - -
                                往来单位: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                单据备注: - -
                                付款账户: - - 付款金额: - -
                                -
                                - - diff --git a/src/main/webapp/pages/financial/money_in.jsp b/src/main/webapp/pages/financial/money_in.jsp deleted file mode 100644 index 1986574ed29c39f87a8255b0b54eae1019e07cff..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/financial/money_in.jsp +++ /dev/null @@ -1,162 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 收款单 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - -
                                单据编号: - - 单据日期: - - - - -   - 查询  - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - -
                                付款单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                - -
                                优惠金额: - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - -
                                付款单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                单据备注: - -
                                优惠金额: - -
                                -
                                - - diff --git a/src/main/webapp/pages/financial/money_out.jsp b/src/main/webapp/pages/financial/money_out.jsp deleted file mode 100644 index 7d4e015535ba29c8342cbd314aff456242dd9b31..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/financial/money_out.jsp +++ /dev/null @@ -1,161 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 付款单 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - -
                                单据编号: - - 单据日期: - - - - -   - 查询  - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - -
                                收款单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                - -
                                优惠金额: - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - -
                                收款单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                - -
                                -
                                单据备注: - -
                                优惠金额: - -
                                -
                                - - diff --git a/src/main/webapp/pages/manage/account.jsp b/src/main/webapp/pages/manage/account.jsp deleted file mode 100644 index 72c42bedb7b3c99b2ffa877876d72d150a6c3849..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/account.jsp +++ /dev/null @@ -1,635 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 结算账户 - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - - - - - -
                                名    称: - -   编    号: - -   备    注: - -    - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                -
                                -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                -
                                -
                                -
                                - - - - diff --git a/src/main/webapp/pages/manage/app.jsp b/src/main/webapp/pages/manage/app.jsp deleted file mode 100644 index 5e93dce75fe5ebce227eacf69f44add1ceabd68f..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/app.jsp +++ /dev/null @@ -1,570 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 应用管理 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - -
                                名称: - -   种类: - -     - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                代号名称拉伸
                                类型链接最大化
                                宽度高度Flash
                                排序号种类启用
                                备注
                                图标 -
                                -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/assetname.jsp b/src/main/webapp/pages/manage/assetname.jsp deleted file mode 100644 index 04b97a7898f0eeacd56ee04ddce8e378aa7f04ff..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/assetname.jsp +++ /dev/null @@ -1,682 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - - -
                                - -
                                - - - - - - - - - - - - - - - - - - - - - - - - - -
                                类型名称: - -   资产类型: -   是否耗材: - -    
                                描        述: - -     - 查询   - 重置 -  
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                -
                                - - -
                                -
                                - - -   增加资产类型 -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - -
                                -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/category.jsp b/src/main/webapp/pages/manage/category.jsp deleted file mode 100644 index 8d4194625d634e03b7adb6cd0f53ad1f9fea0d76..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/category.jsp +++ /dev/null @@ -1,460 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - - -
                                - -
                                - - - - - - - - - - - - - -
                                类型名称: - -   描        述: - -     - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/customer.jsp b/src/main/webapp/pages/manage/customer.jsp deleted file mode 100644 index 6df4d9945e5e4064da9a34d414d360777f490fbd..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/customer.jsp +++ /dev/null @@ -1,198 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 客户信息 - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - - - - -
                                名    称: - -  手机号码: - -  联系电话: - -  备        注: - -   - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                名称 - - 联系人 - -
                                手机号码 - - 电子邮箱 - -
                                联系电话 - - 传真 - -
                                期初应收 - - 期初应付 - -
                                累计应收 - - 累计应付 - -
                                纳税人识别号 - - 税率 - -
                                开户行 - - 账号 - -
                                地址 - -
                                备注 - -
                                -
                                -
                                -
                                - 保存 - 取消 -
                                - - -
                                -
                                -
                                - - -
                                -
                                - (预收款、期初应收、期初应付、税率均为数值且要大于0;另外期初应收、期初应付不能同时输入) -
                                - - -
                                - 导入 - 取消 -
                                -
                                -
                                - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/depot.jsp b/src/main/webapp/pages/manage/depot.jsp deleted file mode 100644 index 85f50294f1a2aa97a2404f0d22e34ecea627f0b3..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/depot.jsp +++ /dev/null @@ -1,496 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 仓库管理 - - - - - - - - - - - - - - -
                                - - - - - - - - - - -
                                仓库名称: - -  描述: - -   - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - -
                                仓库名称 - -
                                仓库地址 - -
                                仓储费 -  元/天/KG -
                                搬运费 -  元 -
                                排序 - -
                                描述 - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/depotGift.jsp b/src/main/webapp/pages/manage/depotGift.jsp deleted file mode 100644 index 5a356a5adaa7413bc549dc69a17743a258c3d9d8..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/depotGift.jsp +++ /dev/null @@ -1,487 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 礼品卡管理 - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - -
                                礼品卡名称: - -   描        述: - -     - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/functions.jsp b/src/main/webapp/pages/manage/functions.jsp deleted file mode 100644 index f5cca0f083ce86aa033ec15f8e686cc06ca6e9ba..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/functions.jsp +++ /dev/null @@ -1,547 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 功能管理 - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - -
                                名称: - -   类型:  - -    - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                编号
                                名称
                                上级编号
                                链接
                                排序
                                功能按钮 - -
                                收缩
                                启用
                                类型 -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/home.jsp b/src/main/webapp/pages/manage/home.jsp deleted file mode 100644 index 0116300d74b05c03769bf7db8dce77d32cbb2ba4..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/home.jsp +++ /dev/null @@ -1,87 +0,0 @@ -<%@page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; -%> - - - - - - - - - 首页说明 - - - - - - - - - - - - - -
                                -    - 系统管理 -
                                -

                                -      - 系统管理是管理系统中的基础数据设置信息,包括供应商、资产类型、资产名称、用户管理等,通过系统管理,可以为系统提供基础数据支持。日志管理主要包括供应商、资产类型、资产名称、用户管理等的增删改查等功能点。 -

                                - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/inOutItem.jsp b/src/main/webapp/pages/manage/inOutItem.jsp deleted file mode 100644 index dda82e24cd3faca96de29000da0ed672beb9daf5..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/inOutItem.jsp +++ /dev/null @@ -1,471 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 收支项目 - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - - - - - -
                                名    称: - -   类    型: - -   备    注: - -    - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                -
                                -
                                -
                                - - -
                                -
                                - - -
                                -
                                - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - - diff --git a/src/main/webapp/pages/manage/log.jsp b/src/main/webapp/pages/manage/log.jsp deleted file mode 100644 index 852d3d594ed4b06e3b424906f0dc87938ef4fca0..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/log.jsp +++ /dev/null @@ -1,281 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                操作模块: - -   操作人员: -   操作IP: - -   操作状态: - -
                                开始时间: - -   结束时间: - -   操作详情: - -   - 查询 - 重置 -
                                -
                                - - -
                                -
                                -
                                - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/member.jsp b/src/main/webapp/pages/manage/member.jsp deleted file mode 100644 index 78a97440f90747ec99dc4bef36135a10286f4c5c..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/member.jsp +++ /dev/null @@ -1,198 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 会员信息 - - - - - - - - - - - - - - - - -
                                - - - - - - - - - - - - - - - - -
                                名    称: - -  手机号码: - -  联系电话: - -  备        注: - -   - 查询   - 重置 -
                                -
                                - - -
                                -
                                -
                                -
                                -
                                - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                名称 - - 联系人 - -
                                手机号码 - - 电子邮箱 - -
                                联系电话 - - 传真 - -
                                期初应收 - - 期初应付 - -
                                累计应收 - - 累计应付 - -
                                纳税人识别号 - - 税率 - -
                                开户行 - - 账号 - -
                                地址 - -
                                备注 - -
                                -
                                -
                                -
                                - 保存 - 取消 -
                                - - -
                                -
                                -
                                - - -
                                -
                                - (预收款、期初应收、期初应付、税率均为数值且要大于0;另外期初应收、期初应付不能同时输入) -
                                - - -
                                - 导入 - 取消 -
                                -
                                -
                                - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/role.jsp b/src/main/webapp/pages/manage/role.jsp deleted file mode 100644 index 14b7882274542c192283f576dd9f2e4681caf29d..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/role.jsp +++ /dev/null @@ -1,482 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 角色管理 - - - - - - - - - - - - - - - - - -
                                - - - - - - - - - -
                                角色名称: - -     - 查询   - 重置   - 分配应用   - 分配功能   - 分配按钮 -
                                -
                                - - -
                                -
                                -
                                - -
                                -
                                - - - - - -
                                - -
                                -
                                -
                                - 保存 - 取消 -
                                - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/roleApp.jsp b/src/main/webapp/pages/manage/roleApp.jsp deleted file mode 100644 index ef101413187d91ecfbd62ea1d7cd8eee7da3817c..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/roleApp.jsp +++ /dev/null @@ -1,139 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 角色对应应用 - - - - - - - - - - - - - - -
                                - 保存 -
                                -
                                -
                                  -
                                  - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/roleFunctions.jsp b/src/main/webapp/pages/manage/roleFunctions.jsp deleted file mode 100644 index be7f04047a3e4a478e8999270d6f6351868a426e..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/roleFunctions.jsp +++ /dev/null @@ -1,138 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 角色对应应用 - - - - - - - - - - - - - - -
                                  - 保存 -
                                  -
                                  -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/rolePushBtn.jsp b/src/main/webapp/pages/manage/rolePushBtn.jsp deleted file mode 100644 index 7135af8ee82bb00edb7b0f11f37343d73ddc6cd2..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/rolePushBtn.jsp +++ /dev/null @@ -1,265 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 角色分配按钮 - - - - - - - - - - - - - - -
                                    - 保存 -
                                    -
                                    - -
                                    -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/systemConfig.jsp b/src/main/webapp/pages/manage/systemConfig.jsp deleted file mode 100644 index 06cc9d559cb3404e5ef55d5d17626504981a230c..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/systemConfig.jsp +++ /dev/null @@ -1,142 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 系统配置 - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    公司名称: - -
                                    联系人: - -
                                    公司地址: - -
                                    公司电话: - -
                                    公司传真: - -
                                    公司邮编: - -
                                    - 保存信息 -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/unit.jsp b/src/main/webapp/pages/manage/unit.jsp deleted file mode 100644 index a9cbb747d3da721e9c883c7182a34d5b646c2cd9..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/unit.jsp +++ /dev/null @@ -1,455 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 计量单位管理 - - - - - - - - - - - - - - -
                                    - - - - - - - -
                                    计量单位: - -   - 查询   - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - -
                                    基本单位 - - 基本单位应为最小度量单位 -
                                    副单位 - - = - - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/user.jsp b/src/main/webapp/pages/manage/user.jsp deleted file mode 100644 index 0ee16d952478cf8ef59d1aa77eca9f179b6f7221..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/user.jsp +++ /dev/null @@ -1,581 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 用户管理 - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    用户名称: - -   登录名称: - -     - 查询   - 重置   - 分配角色   - 分配仓库   - 分配客户 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    -
                                    - - -
                                    -
                                    - - - 初始密码:123456 -
                                    -
                                    - - -
                                    -
                                    - - -
                                    -
                                    - - -
                                    -
                                    - - -
                                    -
                                    - - -
                                    - -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/manage/vendor.jsp b/src/main/webapp/pages/manage/vendor.jsp deleted file mode 100644 index 7794c6cfb67b36f917ccd0d448e93d2241e61f51..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/manage/vendor.jsp +++ /dev/null @@ -1,199 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 供应商信息 - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - - - -
                                    名    称: - -  手机号码: - -  联系电话: - -  备        注: - -   - 查询   - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    名称 - - 联系人 - -
                                    手机号码 - - 电子邮箱 - -
                                    联系电话 - - 传真 - -
                                    期初应收 - - 期初应付 - -
                                    累计应收 - - 累计应付 - -
                                    纳税人识别号 - - 税率 - -
                                    开户行 - - 账号 - -
                                    地址 - -
                                    备注 - -
                                    -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - -
                                    -
                                    -
                                    - - -
                                    -
                                    - (预收款、期初应收、期初应付、税率均为数值且要大于0;另外期初应收、期初应付不能同时输入) -
                                    - - -
                                    - 导入 - 取消 -
                                    -
                                    -
                                    - - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/allocation_out_list.jsp b/src/main/webapp/pages/materials/allocation_out_list.jsp deleted file mode 100644 index 40b73a8101b3ec5944cd22a049fafcbad1b09817..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/allocation_out_list.jsp +++ /dev/null @@ -1,146 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 调拨出库 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/assemble_list.jsp b/src/main/webapp/pages/materials/assemble_list.jsp deleted file mode 100644 index e0e38400b6e5f9a28ab4541c5add03b918786248..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/assemble_list.jsp +++ /dev/null @@ -1,146 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 组装单 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/bill_detail.jsp b/src/main/webapp/pages/materials/bill_detail.jsp deleted file mode 100644 index 26429664ba8259ff0d5e182dfa16d2527ee6d2f6..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/bill_detail.jsp +++ /dev/null @@ -1,905 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 单据明细 - - - - - - - - - - - - - - - - -
                                    - <%--零售出库--%> -
                                    - - - - - - - - - - - - - - - - - - -
                                    会员卡号: - - 单据日期: - - 单据编号: - - 付款类型: - -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    实收金额
                                    - -
                                    收款金额
                                    - -
                                    找零
                                    - -
                                    收款账户: - -
                                    -
                                    - -
                                    -
                                    - <%--零售退货--%> -
                                    - - - - - - - - - - - - - - - - - - -
                                    会员卡号: - - 单据日期: - - 单据编号: - - -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    实付金额
                                    - -
                                    付款金额
                                    - -
                                    找零
                                    - -
                                    付款账户: - -
                                    -
                                    - -
                                    -
                                    - <%--采购入库--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    供应商: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 付款优惠: - - 优惠后金额: - - 本次付款: - -
                                    结算账户: - - 本次欠款: - - 采购费用: - - 结算天数: - -
                                    -
                                    - <%--采购退货--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    供应商: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 付款优惠: - - 优惠后金额: - - 本次付款: - -
                                    结算账户: - - 本次欠款: - - 采购费用: - - -
                                    -
                                    - <%--销售出库--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 销售人员: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 收款优惠: - - 优惠后金额: - - 本次收款: - -
                                    结算账户: - - 本次欠款: - - 销售费用: - - 结算天数: - -
                                    -
                                    - <%--销售退货--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 销售人员: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 退款优惠: - - 优惠后金额: - - 本次退款: - -
                                    结算账户: - - 本次欠款: - - 销售费用: - - -
                                    -
                                    - <%--其它入库--%> -
                                    - - - - - - - - - - - - - - - - - - - -
                                    供应商: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - <%--其它出库--%> -
                                    - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - <%--调拨出库--%> -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - <%--礼品充值--%> -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - <%--礼品销售--%> -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - <%--收入单--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    往来单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    收款账户: - - 收款金额: - -
                                    -
                                    - <%--支出单--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    往来单位: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    付款账户: - - 付款金额: - -
                                    -
                                    - <%--收款单--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    付款单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠金额: - -
                                    -
                                    - <%--付款单--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    收款单位: - - 经手人: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠金额: - -
                                    -
                                    - <%--转账单--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    经手人: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    付款账户: - - 实付金额: - -
                                    -
                                    - <%--收预付款--%> -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    付款会员: - - 经手人: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠金额: - -
                                    -
                                    -
                                    - - diff --git a/src/main/webapp/pages/materials/disassemble_list.jsp b/src/main/webapp/pages/materials/disassemble_list.jsp deleted file mode 100644 index 2b8ad4cb24b339081faeb49b946757c018325dd7..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/disassemble_list.jsp +++ /dev/null @@ -1,146 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 拆卸单 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/gift_out_list.jsp b/src/main/webapp/pages/materials/gift_out_list.jsp deleted file mode 100644 index fddd39316337fc32d6cf8c549b4dcc5ba8425823..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/gift_out_list.jsp +++ /dev/null @@ -1,146 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 礼品销售 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/gift_recharge_list.jsp b/src/main/webapp/pages/materials/gift_recharge_list.jsp deleted file mode 100644 index 9cc53c1ec3b7d8b93f4f56b7ec6edc4f00da742a..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/gift_recharge_list.jsp +++ /dev/null @@ -1,146 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 礼品充值 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - -
                                    单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/material.jsp b/src/main/webapp/pages/materials/material.jsp deleted file mode 100644 index 97246527800d97f11342d0ce75780a8ddb522db8..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/material.jsp +++ /dev/null @@ -1,1639 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 商品信息 - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    品名: - -  型号: - -  类别: - - - -   - 查询   - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    -
                                    - -
                                    -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    品名 - - 型号 - -
                                    类别 - - - - - 修改 -
                                    备注 - -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    安全存量 - - 单位 - - - - 多单位 -
                                    首选出库单位 - - 首选入库单位 - -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    价格列表计量单位零售价最低售价预计采购价批发价
                                    基本单位
                                    副单位
                                    -
                                    零售价最低售价
                                    预计采购价批发价
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    颜色 - -
                                    规格 - -
                                    制造商 - -
                                    自定义1 - -
                                    自定义2 - -
                                    自定义3 - -
                                    -
                                    -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - -
                                    -
                                    -
                                    - - -
                                    -
                                    - (多单位清空下,价格请用斜线隔开) -
                                    - - -
                                    - 导入 - 取消 -
                                    -
                                    -
                                    - - - diff --git a/src/main/webapp/pages/materials/materialProperty.jsp b/src/main/webapp/pages/materials/materialProperty.jsp deleted file mode 100644 index 337994be1b18a91ff825ad864f3981e8669b5f71..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/materialProperty.jsp +++ /dev/null @@ -1,301 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 商品属性 - - - - - - - - - - - - - - -
                                    - - - - - - - -
                                    名称: - -   - 查询   - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - -
                                    名称 - -
                                    是否启用 - -
                                    排序 - -
                                    别名 - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/materialcategory.jsp b/src/main/webapp/pages/materials/materialcategory.jsp deleted file mode 100644 index c8b2d33011ce07170d7ed2f52634eaa84efbb24e..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/materialcategory.jsp +++ /dev/null @@ -1,551 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 商品类别管理 - - - - - - - - - - - - - - -
                                    - - - - - - - - - - -
                                    名称: - -  类别: - - - -   - 查询   - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - -
                                    名称
                                    层次 - -
                                    上级 - - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/other_in_list.jsp b/src/main/webapp/pages/materials/other_in_list.jsp deleted file mode 100644 index 7a407a52fec1a871e06d8c8f9c3b5046b4cdb1d2..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/other_in_list.jsp +++ /dev/null @@ -1,157 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 其它入库 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    供应商: -
                                    - -
                                    -
                                    - 增加供应商 -
                                    -
                                    单据日期: - - 单据编号: - - -
                                    - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - -
                                    供应商: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - - diff --git a/src/main/webapp/pages/materials/other_out_list.jsp b/src/main/webapp/pages/materials/other_out_list.jsp deleted file mode 100644 index e741e6fcf40cb280d6f36147753bef8f9baa1787..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/other_out_list.jsp +++ /dev/null @@ -1,151 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 其它出库 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    客户: - - 单据日期: - - 单据编号: - - -
                                    - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/person.jsp b/src/main/webapp/pages/materials/person.jsp deleted file mode 100644 index 45e14d3142048f50429ac0ce6fba422bf0697878..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/person.jsp +++ /dev/null @@ -1,467 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 经手人管理 - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - -
                                    姓名: - - 类型: - -     - 查询   - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - -
                                    类型 - -
                                    姓名 - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/purchase_back_list.jsp b/src/main/webapp/pages/materials/purchase_back_list.jsp deleted file mode 100644 index 0ef26f22daffb31b506e530b7d58b5f209fde276..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/purchase_back_list.jsp +++ /dev/null @@ -1,390 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 采购退货 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    供应商: -
                                    - -
                                    -
                                    - 增加供应商 -
                                    -
                                    单据日期: - - 单据编号: - - -
                                    - -
                                    -
                                    - -
                                    优惠率: - - % - 退款优惠: - - 优惠后金额: - - 本次退款: - -
                                    结算账户: - - - 本次欠款: - - 采购费用: - - - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    供应商: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 付款优惠: - - 优惠后金额: - - 本次付款: - -
                                    结算账户: - - 本次欠款: - - 采购费用: - - -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - -
                                    结算账户金额
                                    合计:
                                    - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    名称 - - 联系人 - -
                                    联系电话 - - 手机 - -
                                    电子邮箱 - - 传真 - -
                                    期初应收 - - 期初应付 - -
                                    累计应收 - - 累计应付 - -
                                    纳税人识别号 - - 税率 - -
                                    开户行 - - 账号 - -
                                    地址 - -
                                    备注 - -
                                    -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - diff --git a/src/main/webapp/pages/materials/purchase_in_list.jsp b/src/main/webapp/pages/materials/purchase_in_list.jsp deleted file mode 100644 index 07a7d57c11fe05e00905ab30d92d219f74d32cff..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/purchase_in_list.jsp +++ /dev/null @@ -1,393 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 采购入库 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    供应商: -
                                    - -
                                    -
                                    - 增加供应商 -
                                    -
                                    单据日期: - - 单据编号: - - -
                                    - -
                                    -
                                    - -
                                    优惠率: - - % - 付款优惠: - - 优惠后金额: - - 本次付款: - -
                                    结算账户: - - - 本次欠款: - - 采购费用: - - - 结算天数: - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    供应商: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 付款优惠: - - 优惠后金额: - - 本次付款: - -
                                    结算账户: - - 本次欠款: - - 采购费用: - - 结算天数: - -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - -
                                    结算账户金额
                                    合计:
                                    - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    名称 - - 联系人 - -
                                    联系电话 - - 手机 - -
                                    电子邮箱 - - 传真 - -
                                    期初应收 - - 期初应付 - -
                                    累计应收 - - 累计应付 - -
                                    纳税人识别号 - - 税率 - -
                                    开户行 - - 账号 - -
                                    地址 - -
                                    备注 - -
                                    -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - diff --git a/src/main/webapp/pages/materials/retail_back_list.jsp b/src/main/webapp/pages/materials/retail_back_list.jsp deleted file mode 100644 index ec162cf4cefa343f19d008da1e830f8851db5fd4..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/retail_back_list.jsp +++ /dev/null @@ -1,222 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 零售退货 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    会员卡号: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    实付金额
                                    - -
                                    付款金额
                                    - -
                                    找零
                                    - -
                                    付款账户: - - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    会员卡号: - - 单据日期: - - 单据编号: - - -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    实付金额
                                    - -
                                    付款金额
                                    - -
                                    找零
                                    - -
                                    付款账户: - -
                                    -
                                    - -
                                    -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/retail_out_list.jsp b/src/main/webapp/pages/materials/retail_out_list.jsp deleted file mode 100644 index 4b3c1eeeefff0a70c033d0add270debe2b1f129c..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/retail_out_list.jsp +++ /dev/null @@ -1,253 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 零售出库 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    会员卡号: - - 单据日期: - - 单据编号: - - 付款类型: - -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    实收金额
                                    - -
                                    收款金额
                                    - -
                                    找零
                                    - -
                                    收款账户: - - -
                                    -
                                    - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    会员卡号: - - 单据日期: - - 单据编号: - - 付款类型: - -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - -
                                    实收金额
                                    - -
                                    收款金额
                                    - -
                                    找零
                                    - -
                                    收款账户: - -
                                    -
                                    - -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/sale_back_list.jsp b/src/main/webapp/pages/materials/sale_back_list.jsp deleted file mode 100644 index f6c8a611d3bd12b6b615cd1dc1d2ba8dcabf8f53..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/sale_back_list.jsp +++ /dev/null @@ -1,285 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 销售退货 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 销售人员: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - -
                                    优惠率: - - % - 退款优惠: - - 优惠后金额: - - 本次退款: - -
                                    结算账户: - - - 本次欠款: - - 销售费用: - - - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 销售人员: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 退款优惠: - - 优惠后金额: - - 本次退款: - -
                                    结算账户: - - 本次欠款: - - 销售费用: - - -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - -
                                    结算账户金额
                                    合计:
                                    - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/materials/sale_out_list.jsp b/src/main/webapp/pages/materials/sale_out_list.jsp deleted file mode 100644 index 439ca738f4f148f8b8373ca75b3fa69721ff36c3..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/materials/sale_out_list.jsp +++ /dev/null @@ -1,289 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 销售出库 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - -
                                    单据编号: - - 商品信息: - - 单据日期: - - - - -   - 查询  - 重置 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 销售人员: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    - -
                                    优惠率: - - % - 收款优惠: - - 优惠后金额: - - 本次收款: - -
                                    结算账户: - - - 本次欠款: - - 销售费用: - - - 结算天数: - -
                                    - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
                                    客户: - - 销售人员: - - 单据日期: - - 单据编号: - -
                                    - -
                                    -
                                    单据备注: - -
                                    优惠率: - - % - 收款优惠: - - 优惠后金额: - - 本次收款: - -
                                    结算账户: - - 本次欠款: - - 销售费用: - - 结算天数: - -
                                    -
                                    -
                                    - - - - - - - - - - - - - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    -
                                    - - - - - - - - - - - -
                                    结算账户金额
                                    合计:
                                    - - - - - - -
                                    -
                                    -
                                    - 保存 - 取消 -
                                    - - - \ No newline at end of file diff --git a/src/main/webapp/pages/other/clock.jsp b/src/main/webapp/pages/other/clock.jsp deleted file mode 100644 index 0abe8b5cbb4c00f238254b35058b2824efd45583..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/other/clock.jsp +++ /dev/null @@ -1,145 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 资产管理 - - - - - - - - - - - - - - - - - - -
                                    - - - \ No newline at end of file diff --git a/src/main/webapp/pages/other/preview.jsp b/src/main/webapp/pages/other/preview.jsp deleted file mode 100644 index 3de873f0eef761b4e963df014658a5a58108ac31..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/other/preview.jsp +++ /dev/null @@ -1,42 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - Simple Map - - - - - - - - -
                                    - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/account_report.jsp b/src/main/webapp/pages/reports/account_report.jsp deleted file mode 100644 index 9a5b1538c136b13ae87f53723732519e17ae9c0e..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/account_report.jsp +++ /dev/null @@ -1,316 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 结算账户查询 - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - -
                                    名称: - -   编号: - -   - 查询 -    - 打印 -
                                    -
                                    - - -
                                    -
                                    -
                                    - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/buy_in_report.jsp b/src/main/webapp/pages/reports/buy_in_report.jsp deleted file mode 100644 index f761bc06f10f88e32cc627de99edf9d2664f7437..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/buy_in_report.jsp +++ /dev/null @@ -1,256 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 进货统计 - - - - - - - - - - - - - - - - -
                                    - - - - - - - - -
                                    月份: - -    - 查询 -    - 打印 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/customer_account.jsp b/src/main/webapp/pages/reports/customer_account.jsp deleted file mode 100644 index eae7f30a5e9e5b7ba993d9f1372fd99848c21784..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/customer_account.jsp +++ /dev/null @@ -1,364 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 客户对账 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - -
                                    客户: - -  单据日期: - - - - -   - 查询 -    - 打印 -   - 期初应收:0   - 期末应收:0 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/gift_manage_report.jsp b/src/main/webapp/pages/reports/gift_manage_report.jsp deleted file mode 100644 index 5e1dbad4cffc144e2e0f79bbdceb7c88ca13b0d7..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/gift_manage_report.jsp +++ /dev/null @@ -1,264 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 礼品卡统计 - - - - - - - - - - - - - - - -
                                    - - - - - - - -
                                    礼品卡: - -   - 查询 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/in_detail.jsp b/src/main/webapp/pages/reports/in_detail.jsp deleted file mode 100644 index f7a6ff7691ba0a05e7059f91d3fb28cff1d8d4f9..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/in_detail.jsp +++ /dev/null @@ -1,332 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 入库明细 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - - -
                                    供应商: - -  仓库: - -  单据日期: - - - - -   - 查询 -    - 打印 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/in_material_count.jsp b/src/main/webapp/pages/reports/in_material_count.jsp deleted file mode 100644 index 4dfd423a2f5e388e700f76560ef25b0accf472ad..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/in_material_count.jsp +++ /dev/null @@ -1,321 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 入库汇总 - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - - -
                                    供应商: - -  仓库: - -  单据日期: - - - - -   - 查询 -    - 打印 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/in_out_stock_report.jsp b/src/main/webapp/pages/reports/in_out_stock_report.jsp deleted file mode 100644 index c343dc0c0ec64739c435c191f4912b6fbe46318f..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/in_out_stock_report.jsp +++ /dev/null @@ -1,422 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 库存状况 - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - -
                                    仓库: - -  月份: - -   - 查询 -    - 导出 -    - 打印 -    -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/out_detail.jsp b/src/main/webapp/pages/reports/out_detail.jsp deleted file mode 100644 index ede34c43487065028a0e2a38ee4027d13188e4b9..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/out_detail.jsp +++ /dev/null @@ -1,332 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 出库明细 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - - -
                                    客户: - -  仓库: - -  单据日期: - - - - -   - 查询 -    - 打印 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/out_material_count.jsp b/src/main/webapp/pages/reports/out_material_count.jsp deleted file mode 100644 index c897c2d01539a0ac37ab70c348759f21422dbb66..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/out_material_count.jsp +++ /dev/null @@ -1,321 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 出库汇总 - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - - -
                                    客户: - -  仓库: - -  单据日期: - - - - -   - 查询 -    - 打印 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/sale_out_report.jsp b/src/main/webapp/pages/reports/sale_out_report.jsp deleted file mode 100644 index a2f3fd83115b57f6760f8a68bee2315d58ed057f..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/sale_out_report.jsp +++ /dev/null @@ -1,259 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 销售统计 - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - -
                                    月份: - -    - 查询 -    - 打印 - 注:此处包含零售+批发销售
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/reports/vendor_account.jsp b/src/main/webapp/pages/reports/vendor_account.jsp deleted file mode 100644 index 462d5c84477e888b9fa2b31edbf9c69bcf19b898..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/reports/vendor_account.jsp +++ /dev/null @@ -1,364 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 供应商对账 - - - - - - - - - - - - - - - - - - -
                                    - - - - - - - - - - - - - - -
                                    供应商: - -  单据日期: - - - - -   - 查询 -    - 打印 -   - 期初应付:0   - 期末应付:0 -
                                    -
                                    - - -
                                    -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/user/password.jsp b/src/main/webapp/pages/user/password.jsp deleted file mode 100644 index c233af87e1d1387d3e7e941bc4fcff913f44cc7a..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/user/password.jsp +++ /dev/null @@ -1,139 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 个人资料 - - - - - - - - - - - - -
                                    -
                                    -
                                    - - - -
                                    -
                                    - - - -
                                    -
                                    - - - -
                                    - -
                                    -
                                     
                                    -
                                    - 保存 - 重置 -
                                    -
                                    - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/user/userCustomer.jsp b/src/main/webapp/pages/user/userCustomer.jsp deleted file mode 100644 index 5d1498f9946150a6433e312affbbf820f1c5f230..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/user/userCustomer.jsp +++ /dev/null @@ -1,137 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String clientIp = Tools.getLocalIp(request); -%> - - - - 用户对应客户 - - - - - - - - - - - - - - -
                                    - 保存 -
                                    -
                                    -
                                      -
                                      - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/user/userDepot.jsp b/src/main/webapp/pages/user/userDepot.jsp deleted file mode 100644 index 1c25d33b84f9fadc26b9555d164e4ea45decc8c9..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/user/userDepot.jsp +++ /dev/null @@ -1,138 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 用户对应部门 - - - - - - - - - - - - - - -
                                      - 保存 -
                                      -
                                      -
                                        -
                                        - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/user/userRole.jsp b/src/main/webapp/pages/user/userRole.jsp deleted file mode 100644 index cadb1f09a89a03509413466b759ad18f8ded8853..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/user/userRole.jsp +++ /dev/null @@ -1,138 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 用户对应角色 - - - - - - - - - - - - - - -
                                        - 保存 -
                                        -
                                        -
                                          -
                                          - - - - \ No newline at end of file diff --git a/src/main/webapp/pages/user/userinfo.jsp b/src/main/webapp/pages/user/userinfo.jsp deleted file mode 100644 index a4b85ac47ce670dafd6302f56c3ef7bd747e51cf..0000000000000000000000000000000000000000 --- a/src/main/webapp/pages/user/userinfo.jsp +++ /dev/null @@ -1,188 +0,0 @@ -<%@page import="com.jsh.util.Tools" %> -<%@ page language="java" pageEncoding="utf-8" %> -<% - String path = request.getContextPath(); - String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort() + path + "/"; - String clientIp = Tools.getLocalIp(request); -%> - - - - 个人资料 - - - - - - - - - - - - -
                                          -
                                          -
                                          -
                                          - - -
                                          - -
                                          - - -
                                          -
                                          - - -
                                          -
                                          - - -
                                          -
                                          - - -
                                          -
                                          - - -
                                          - - -
                                          -
                                           
                                          -
                                          - 修改 - 取消 -
                                          -
                                          -
                                          - - - - \ No newline at end of file diff --git a/src/main/webapp/upload/images/deskIcon/0000000001.png b/src/main/webapp/upload/images/deskIcon/0000000001.png deleted file mode 100644 index dcfdbb0e25df36c6006163bb2b3c788dab8b36c0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000001.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000002.png b/src/main/webapp/upload/images/deskIcon/0000000002.png deleted file mode 100644 index 098c451dec5ceb163b6c7c7daa245ea96f90a827..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000002.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000003.png b/src/main/webapp/upload/images/deskIcon/0000000003.png deleted file mode 100644 index 30a751b4b5c262e4eff917a1d6dd1922bda39ba1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000003.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000004.png b/src/main/webapp/upload/images/deskIcon/0000000004.png deleted file mode 100644 index 5b0b2593f8d913473c609c0fc9989c921fe997f1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000004.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000005.png b/src/main/webapp/upload/images/deskIcon/0000000005.png deleted file mode 100644 index 5cba187ab0dd15249aa68e9d16fecb254ee59d0a..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000005.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000006.png b/src/main/webapp/upload/images/deskIcon/0000000006.png deleted file mode 100644 index a67f99f11135b5f6cf2991e202623b429d6b66fa..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000006.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000008.png b/src/main/webapp/upload/images/deskIcon/0000000008.png deleted file mode 100644 index 46e3ecf18e7dfd4b5752ec59e0dc46260841d598..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000008.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000009.png b/src/main/webapp/upload/images/deskIcon/0000000009.png deleted file mode 100644 index 7ee1e15141531d8f1e020af6fbbddb2b6e2b0d42..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000009.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000010.png b/src/main/webapp/upload/images/deskIcon/0000000010.png deleted file mode 100644 index e4c94be7b8b0b0826abc645c9a9bc79fd7dafd6d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000010.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000011.png b/src/main/webapp/upload/images/deskIcon/0000000011.png deleted file mode 100644 index 17877aab946e06c215d73542ae0d9177c4f6bdd1..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000011.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000012.png b/src/main/webapp/upload/images/deskIcon/0000000012.png deleted file mode 100644 index 838d168a02cc1585c5cb8864a75c656fac0d1642..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000012.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000013.png b/src/main/webapp/upload/images/deskIcon/0000000013.png deleted file mode 100644 index 745ed7fa2da66d03fcf18a032e4bb5f99179739e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000013.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000014.png b/src/main/webapp/upload/images/deskIcon/0000000014.png deleted file mode 100644 index 04a164351b6c8434e3eb9dbff19fdce63f25fe4d..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000014.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000015.png b/src/main/webapp/upload/images/deskIcon/0000000015.png deleted file mode 100644 index 44ea974a2b6b5e6092d04a413112180bed5220a4..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000015.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000016.png b/src/main/webapp/upload/images/deskIcon/0000000016.png deleted file mode 100644 index 9091066298999a81719f72dd9061fb4e387a80fe..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000016.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000017.png b/src/main/webapp/upload/images/deskIcon/0000000017.png deleted file mode 100644 index fec1d88a0ca234a6eb76d7cd2df0e6f8985ae7c0..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000017.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000018.jpg b/src/main/webapp/upload/images/deskIcon/0000000018.jpg deleted file mode 100644 index 74f66da294d74ef2dc7cdab919b8a7fe20c2ce3e..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000018.jpg and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000018.png b/src/main/webapp/upload/images/deskIcon/0000000018.png deleted file mode 100644 index c692ad31cbeefb2eef882dab06aadb3480079e17..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000018.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000019.png b/src/main/webapp/upload/images/deskIcon/0000000019.png deleted file mode 100644 index a1612636ff3275d495fdb5eb2335328db1ac1087..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000019.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000020.png b/src/main/webapp/upload/images/deskIcon/0000000020.png deleted file mode 100644 index c215e98f6dc94866320acfb3177ed81413880380..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000020.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000021.png b/src/main/webapp/upload/images/deskIcon/0000000021.png deleted file mode 100644 index 400e253d1ea1eec99d8f3b9c5a1b481df048e035..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000021.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000022.png b/src/main/webapp/upload/images/deskIcon/0000000022.png deleted file mode 100644 index 60272742272d9c776773db75bc440575ccb36902..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000022.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000023.png b/src/main/webapp/upload/images/deskIcon/0000000023.png deleted file mode 100644 index ac70dba3ba56c0a69a1afd9ec3b99e5d5b19d2d2..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000023.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000024.png b/src/main/webapp/upload/images/deskIcon/0000000024.png deleted file mode 100644 index 93da4ba0c2005ec3dd946a6d9db1a820b583af9b..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000024.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/0000000025.png b/src/main/webapp/upload/images/deskIcon/0000000025.png deleted file mode 100644 index 4eb0d1d424a5e2abe5711a988d87e727c6061ea8..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/0000000025.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/buy.png b/src/main/webapp/upload/images/deskIcon/buy.png deleted file mode 100644 index 1189d1736fc1cb0889706a06c33c483372be1f64..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/buy.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/depot.png b/src/main/webapp/upload/images/deskIcon/depot.png deleted file mode 100644 index 0aee92703bb40d688a6b20c9531ed10cb14b9e11..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/depot.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/money.png b/src/main/webapp/upload/images/deskIcon/money.png deleted file mode 100644 index a32a1fd8ffc9262186ade66f780cd59c9fa65d33..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/money.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/resizeApi.png b/src/main/webapp/upload/images/deskIcon/resizeApi.png deleted file mode 100644 index 7c8324b4644597400ad7f124ca805f7ad667e2aa..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/resizeApi.png and /dev/null differ diff --git a/src/main/webapp/upload/images/deskIcon/sale.png b/src/main/webapp/upload/images/deskIcon/sale.png deleted file mode 100644 index f27d7979e95ac07794645ab914f52477c9e28c29..0000000000000000000000000000000000000000 Binary files a/src/main/webapp/upload/images/deskIcon/sale.png and /dev/null differ diff --git a/src/test/java/Test.java b/src/test/java/Test.java new file mode 100644 index 0000000000000000000000000000000000000000..e92507677723274844c61019aa26fba9002fca7c --- /dev/null +++ b/src/test/java/Test.java @@ -0,0 +1,12 @@ +import java.text.SimpleDateFormat; +import java.util.Date; + +public class Test { + + public static void main(String args[]){ + Date date = new Date(); + SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss"); + String dateString = formatter.format(date); + System.out.println(dateString); + } +} diff --git a/src/test/java/com/jsh/test/MyRunnable.java b/src/test/java/com/jsh/test/MyRunnable.java deleted file mode 100644 index 6b3ede28e920c07c0acdd1079fe7a2bb5b34027a..0000000000000000000000000000000000000000 --- a/src/test/java/com/jsh/test/MyRunnable.java +++ /dev/null @@ -1,9 +0,0 @@ -package com.jsh.test; - -public class MyRunnable implements Runnable {//实现Runnable接口 - public void run(){ - for(int i=0; i<30; i++){ - System.out.println(Thread.currentThread().getName()+"运行, "+i); //获取当前线程的名称 - } - } -} \ No newline at end of file diff --git a/src/test/java/com/jsh/test/MyThread.java b/src/test/java/com/jsh/test/MyThread.java deleted file mode 100644 index 32193875238c4ebf3867a2d1cd8d03c8571dc1bd..0000000000000000000000000000000000000000 --- a/src/test/java/com/jsh/test/MyThread.java +++ /dev/null @@ -1,10 +0,0 @@ -package com.jsh.test; - -public class MyThread { - public static void main(String[] args) { - for (int i = 0; i < 3; i++) { - MyRunnable mt = new MyRunnable(); //定义Runnable子类对象 - new Thread(mt, "第" + i + "个线程").start(); - } - } -} diff --git a/src/test/java/com/jsh/test/Test.java b/src/test/java/com/jsh/test/Test.java deleted file mode 100644 index 69971e07e9f21e7c53632af241a2849d2b6970de..0000000000000000000000000000000000000000 --- a/src/test/java/com/jsh/test/Test.java +++ /dev/null @@ -1,8 +0,0 @@ -package com.jsh.test; - -public class Test { - public static void main(String[] args) { - //This is test - - } -} diff --git a/src/test/resources/generatorConfig.xml b/src/test/resources/generatorConfig.xml new file mode 100644 index 0000000000000000000000000000000000000000..b4b30c31759ca1c10877b3028fb11f04f7fdde2c --- /dev/null +++ b/src/test/resources/generatorConfig.xml @@ -0,0 +1,68 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +
                                          +