diff --git a/erp_web/js/pages/materials/bill_detail.js b/erp_web/js/pages/materials/bill_detail.js index a533bd24..77f4892f 100644 --- a/erp_web/js/pages/materials/bill_detail.js +++ b/erp_web/js/pages/materials/bill_detail.js @@ -210,6 +210,7 @@ $("#bill .OrganIdShow").text(data.organName); $("#bill .OperTimeShow").text(data.opertimeStr); $("#bill .NumberShow").text(data.number); + $("#bill .LinkNumberShow").text(data.linknumber? data.linknumber : ""); $("#bill .RemarkShow").text(data.remark); $("#bill .DiscountShow").text(data.discount); $("#bill .DiscountMoneyShow").text(data.discountmoney); diff --git a/erp_web/js/pages/materials/in_out.js b/erp_web/js/pages/materials/in_out.js index cf9395e3..430b802f 100644 --- a/erp_web/js/pages/materials/in_out.js +++ b/erp_web/js/pages/materials/in_out.js @@ -1,5 +1,6 @@ //初始化界面 var kid = sessionStorage.getItem("userId"); + var pageType = getUrlParam('t'); //获取页面类型传值 var depotList = null; var depotID = null; var supplierList = null; @@ -447,6 +448,10 @@ //初始化表格数据 function initTableData(){ + if(pageType === "skip") { + var oldRowInfo = sessionStorage.getItem("rowInfo"); + editDepotHead(oldRowInfo); //自动弹出编辑框,带缓存数据 + } var hideType = undefined; var isHiddenStatus = true; if(payTypeTitle === "隐藏"){ @@ -515,6 +520,18 @@ organNameTitle = "会员卡号"; } } + var opWidth = 90; //操作宽度 + var isShowSkip = false; //是否显示跳转按钮 + var opTitle = ""; //跳转按钮的标题 + if(listTitle == "采购订单列表") { + opWidth = 120; + isShowSkip = true; + opTitle = "转采购入库"; + } else if(listTitle == "销售订单列表") { + opWidth = 120; + isShowSkip = true; + opTitle = "转销售出库"; + } $('#tableData').datagrid({ height:heightInfo, rownumbers: false, @@ -531,7 +548,7 @@ pageList: initPageNum, columns:[[ { field: 'id',width:35,align:"center",checkbox:true}, - { title: '操作',field: 'op',align:"center",width:90, + { title: '操作',field: 'op',align:"center",width:opWidth, formatter:function(value,rec) { var str = ''; var rowInfo = rec.id + 'AaBb' + rec.projectid+ 'AaBb' + rec.number+ 'AaBb' + rec.operpersonname @@ -542,18 +559,29 @@ + 'AaBb' + rec.allocationProjectName + 'AaBb' + rec.paytype + 'AaBb' + rec.salesman + 'AaBb' + rec.discount + 'AaBb' + rec.discountmoney + 'AaBb' + rec.discountlastmoney + 'AaBb' + rec.accountidlist + 'AaBb' + rec.accountmoneylist - + 'AaBb' + rec.othermoney + 'AaBb' + rec.othermoneylist + 'AaBb' + rec.othermoneyitem + 'AaBb' + rec.accountday; + + 'AaBb' + rec.othermoney + 'AaBb' + rec.othermoneylist + 'AaBb' + rec.othermoneyitem + + 'AaBb' + rec.accountday + 'AaBb' + rec.linknumber; rowInfo = rowInfo.replace(/\"/g, ""); rowInfo = rowInfo.replace(/\[|]/g,""); var orgId = rec.organid? rec.organid:0; str += '   '; str += '   '; str += ''; + if(isShowSkip) { + str += '   '; + } return str; } }, { title: organNameTitle, field: 'organName',width:120, hidden:isShowOrganNameColumn}, - { title: '单据编号',field: 'number',width:125}, + { title: '单据编号',field: 'number',width:135, formatter:function (value,rec) { + if(rec.linknumber) { + return value + "[转]"; + } else { + return value; + } + } + }, { title: '商品信息',field: 'materialsList',width:180,formatter:function(value){ if(value) { return value.replace(",",","); @@ -570,7 +598,17 @@ { title: '优惠后金额',field: 'discountlastmoney',hidden:isShowLastMoneyColumn,width:80}, { title: payTypeTitle,field: 'changeamount',width:50,hidden:hideType}, { title: '状态',field: 'status',hidden:isHiddenStatus, width:70,align:"center",formatter:function(value){ - return value? "已审核":"未审核"; + if(value === "0") { + return "未审核"; + } else if(value === "1") { + return "已审核"; + } else if(value === "2") { + if(listTitle == "采购订单列表") { + return "已转采购"; + } else if(listTitle == "销售订单列表") { + return "已转销售"; + } + } } } ]], @@ -1110,6 +1148,16 @@ }); data.footer = array; $("#materialData").datagrid('loadData',data); + //如果是订单跳转到采购或销售 + if(pageType === "skip") { + var skipList = $("#depotHeadFM .datagrid-body tr"); + //逐条自动点击每行数据 + skipList.each(function (i) { + setTimeout(function () { + skipList.eq(i).find("[field='Stock']").click(); + },(i+1)*1000); + }); + } } }, error:function() { @@ -1232,8 +1280,8 @@ //删除单据信息 function deleteDepotHead(depotHeadID, thisOrganId, totalPrice, status){ - if(status) { - $.messager.alert('删除提示','已审核的单据不能删除!','warning'); + if(status == "1" || status == "2") { + $.messager.alert('删除提示','已审核和已转的单据不能删除!','warning'); return; } $.messager.confirm('删除确认','确定要删除此单据信息吗?',function(r) { @@ -1285,6 +1333,20 @@ }); } + //订单转采购或销售 + function skipDepotHead(rowInfo, status){ + if(status == "0" || status == "2") { + $.messager.alert('提示','未审核和已转的单据禁止操作!','warning'); + } else { + sessionStorage.setItem("rowInfo", rowInfo); //将单据信息存入缓存中 + if(listTitle == "采购订单列表") { + parent.addTab("订单转采购", "../materials/purchase_in_list.html?t=skip", ""); + } else if(listTitle == "销售订单列表") { + parent.addTab("订单转销售", "../materials/sale_out_list.html?t=skip", ""); + } + } + } + //批量删除单据信息 function batDeleteDepotHead(){ var row = $('#tableData').datagrid('getChecked'); @@ -1297,67 +1359,69 @@ { $.messager.confirm('删除确认','确定要删除选中的' + row.length + '条单据信息吗?',function(r) { - if (r) - { - var ids = ""; - for(var i = 0;i < row.length; i++) - { - if(i == row.length-1) - { - ids += row[i].id; - break; - } - //alert(row[i].id); - ids += row[i].id + ","; - } - //批量更新会员的预收款信息 - for(var i = 0;i < row.length; i ++) { - if(listSubType === "零售") { - $.ajax({ - type:"post", - url: "/supplier/updateAdvanceIn", - dataType: "json", - data:{ - supplierId: row[i].organid, //会员id - advanceIn: row[i].totalprice //删除时同时返还用户的预付款 - }, - success: function(res){ - if(res && res.code === 200) { - //保存会员预收款成功 - } - }, - error: function(){ - $.messager.alert('提示','保存信息异常,请稍后再试!','error'); - return; - } - }); - } - } - //批量删除 - $.ajax({ - type:"post", - // url: "/depotHead/batchDelete", - url: "/depotHead/batchDeleteDepotHeadAndDetail", - dataType: "json", - async : false, - data: ({ - ids : ids - }), - success: function (res) { - if(res && res.code === 200) { - $("#searchBtn").click(); - $(":checkbox").attr("checked", false); - } else { - $.messager.alert('删除提示', '删除单据信息失败,请稍后再试!', 'error'); + if (r) { + var ids = ""; + for (var i = 0; i < row.length; i++) { + if (i == row.length - 1) { + if (row[i].status == 0) { + ids += row[i].id; } - }, - //此处添加错误处理 - error:function() { - $.messager.alert('删除提示','删除单据信息异常,请稍后再试!','error'); - return; - } - }); - } + break; + } + ids += row[i].id + ","; + } + if (ids) { + //批量更新会员的预收款信息 + for (var i = 0; i < row.length; i++) { + if (listSubType === "零售") { + $.ajax({ + type: "post", + url: "/supplier/updateAdvanceIn", + dataType: "json", + data: { + supplierId: row[i].organid, //会员id + advanceIn: row[i].totalprice //删除时同时返还用户的预付款 + }, + success: function (res) { + if (res && res.code === 200) { + //保存会员预收款成功 + } + }, + error: function () { + $.messager.alert('提示', '保存信息异常,请稍后再试!', 'error'); + return; + } + }); + } + } + //批量删除 + $.ajax({ + type: "post", + // url: "/depotHead/batchDelete", + url: "/depotHead/batchDeleteDepotHeadAndDetail", + dataType: "json", + async: false, + data: ({ + ids: ids + }), + success: function (res) { + if (res && res.code === 200) { + $("#searchBtn").click(); + $(":checkbox").attr("checked", false); + } else { + $.messager.alert('删除提示', '删除单据信息失败,请稍后再试!', 'error'); + } + }, + //此处添加错误处理 + error: function () { + $.messager.alert('删除提示', '删除单据信息异常,请稍后再试!', 'error'); + return; + } + }); + } else { + $.messager.alert('删除提示','没有能删除的单据!','warning'); + } + } }); } } @@ -1379,34 +1443,40 @@ { if(i == row.length-1) { - ids += row[i].id; + if(row[i].status != "2") { + ids += row[i].id; + } break; } ids += row[i].id + ","; } - $.ajax({ - type:"post", - url: "/depotHead/batchSetStatus", - dataType: "json", - async : false, - data: ({ - status: true, - depotHeadIDs : ids - }), - success: function (res) { - if(res && res.code === 200) { - $("#searchBtn").click(); - $(":checkbox").attr("checked", false); - } else { - $.messager.alert('审核提示', '审核信息失败,请稍后再试!', 'error'); + if(ids) { + $.ajax({ + type:"post", + url: "/depotHead/batchSetStatus", + dataType: "json", + async : false, + data: ({ + status: "1", + depotHeadIDs : ids + }), + success: function (res) { + if(res && res.code === 200) { + $("#searchBtn").click(); + $(":checkbox").attr("checked", false); + } else { + $.messager.alert('审核提示', '审核信息失败,请稍后再试!', 'error'); + } + }, + //此处添加错误处理 + error:function() { + $.messager.alert('审核提示','审核信息异常,请稍后再试!','error'); + return; } - }, - //此处添加错误处理 - error:function() { - $.messager.alert('审核提示','审核信息异常,请稍后再试!','error'); - return; - } - }); + }); + } else { + $.messager.alert('审核提示','没有能审核的单据!','warning'); + } } }); } @@ -1431,70 +1501,70 @@ { if(i == row.length-1) { - ids += row[i].id; + if(row[i].status != "2") { + ids += row[i].id; + } break; } ids += row[i].id + ","; } - $.ajax({ - type:"post", - url: "/depotHead/batchSetStatus", - dataType: "json", - async : false, - data: ({ - status: false, - depotHeadIDs : ids - }), - success: function (res) { - if(res && res.code === 200) { - $("#searchBtn").click(); - $(":checkbox").attr("checked", false); - } else { - $.messager.alert('反审核提示', '反审核信息失败,请稍后再试!', 'error'); + if(ids) { + $.ajax({ + type: "post", + url: "/depotHead/batchSetStatus", + dataType: "json", + async: false, + data: ({ + status: "0", + depotHeadIDs: ids + }), + success: function (res) { + if (res && res.code === 200) { + $("#searchBtn").click(); + $(":checkbox").attr("checked", false); + } else { + $.messager.alert('反审核提示', '反审核信息失败,请稍后再试!', 'error'); + } + }, + //此处添加错误处理 + error: function () { + $.messager.alert('反审核提示', '反审核信息异常,请稍后再试!', 'error'); + return; } - }, - //此处添加错误处理 - error:function() { - $.messager.alert('反审核提示','反审核信息异常,请稍后再试!','error'); - return; - } - }); + }); + } else { + $.messager.alert('反审核提示','没有能反审核的单据!','warning'); + } } }); } } + //生成单据编号 + function buildNumber() { + $.ajax({ + type: "get", + url: "/depotHead/buildNumber", + success:function(res){ + if(res && res.code === 200){ + var obj = res.data; + var defaultNumber = obj.DefaultNumber; + var newNumber = amountNum + defaultNumber; + $("#Number").val(newNumber).attr("data-defaultNumber",newNumber); + } + }, + error:function(){ + $.messager.alert('提示','生成单据编号失败!','error'); + } + }); + } + //新增信息 function addDepotHead(){ $('#depotHeadFM').form('clear'); var thisDateTime = getNowFormatDateTime(); //当前时间 $("#OperTime").val(thisDateTime); - var thisNumber = getNowFormatDateNum(); //根据时间生成编号 - var thisDate = getNowFormatDate(); //当前日期 - var beginTime = thisDate + " 00:00:00"; - var endTime = thisDate + " 23:59:59"; - //生成单据编号 - $.ajax({ - type: "get", - url: "/depotHead/buildNumber", - data: { - type: listType, - subType: listSubType, - beginTime: beginTime, - endTime: endTime - }, - success:function(res){ - if(res && res.code === 200){ - var obj = res.data; - var defaultNumber = obj.DefaultNumber; - var newNumber = amountNum + defaultNumber - $("#Number").val(newNumber).attr("data-defaultNumber",newNumber); - } - }, - error:function(){ - $.messager.alert('提示','生成单据编号失败!','error'); - } - }); + buildNumber(); //生成单据编号 //初始化优惠率、优惠金额、优惠后金额、本次付|收款、本次欠款 为0 $("#Discount").val(0); $("#DiscountMoney").val(0); @@ -1561,8 +1631,8 @@ //编辑信息 function editDepotHead(depotHeadTotalInfo, status){ - if(status) { - $.messager.alert('编辑提示','已审核的单据不能编辑!','warning'); + if(status == "1" || status == "2") { + $.messager.alert('编辑提示','已审核和已转的单据不能编辑!','warning'); return; } var depotHeadInfo = depotHeadTotalInfo.split("AaBb"); @@ -1572,20 +1642,30 @@ initSystemData_person(ProjectId); initSelectInfo_person(); } - $("#Number").val(depotHeadInfo[2]).attr("data-defaultNumber",depotHeadInfo[2]); - $("#OperTime").val(depotHeadInfo[4]); + var TotalPrice = depotHeadInfo[14]; //合计金额 + if(pageType === "skip") { //从订单跳转过来 + buildNumber(); //生成单据编号 + var thisDateTime = getNowFormatDateTime(); //当前时间 + $("#OperTime").val(thisDateTime); + $("#LinkNumber").val(depotHeadInfo[2]); //关联订单号 + $("#AccountId").val(defaultAccountId); //初始化默认的账户Id + $("#DiscountLastMoney").val(TotalPrice); //优惠后金额 + $("#ChangeAmount").val(TotalPrice).attr("data-changeamount", TotalPrice); + } else { + $("#Number").val(depotHeadInfo[2]).attr("data-defaultNumber",depotHeadInfo[2]); + $("#OperTime").val(depotHeadInfo[4]); + $("#LinkNumber").val(depotHeadInfo[28].replace("undefined","")); //关联订单号 + $("#AccountId").val(depotHeadInfo[7]); //账户Id + $("#DiscountLastMoney").val(depotHeadInfo[21].replace("undefined","0.00")); //优惠后金额 + $("#ChangeAmount").val(depotHeadInfo[8]).attr("data-changeamount", depotHeadInfo[8]); + } $('#OrganId').combobox('setValue', depotHeadInfo[5]=='undefined'?'':depotHeadInfo[5]); $("#HandsPersonId").val(depotHeadInfo[6]); - $("#AccountId").val(depotHeadInfo[7]); - $("#ChangeAmount").val(depotHeadInfo[8]); - $("#ChangeAmount").attr("data-changeamount", depotHeadInfo[8]); $("#Remark").val(depotHeadInfo[9]); - $("#Discount").val(depotHeadInfo[19]); - $("#DiscountMoney").val(depotHeadInfo[20]); - $("#DiscountLastMoney").val(depotHeadInfo[21]); - $("#Debt").val((depotHeadInfo[21]-depotHeadInfo[8]).toFixed(2)); + $("#Discount").val(depotHeadInfo[19].replace("undefined","0")); + $("#DiscountMoney").val(depotHeadInfo[20].replace("undefined","0.00")); + $("#Debt").val((depotHeadInfo[21].replace("undefined","0.00")-depotHeadInfo[8]).toFixed(2)); $("#AccountDay").val(depotHeadInfo[27].replace("undefined","")); //结算天数 - var TotalPrice = depotHeadInfo[14]; preTotalPrice = depotHeadInfo[14]; //记录前一次合计金额,用于扣预付款 $("#AllocationProjectId").val(depotHeadInfo[15]); oldNumber = depotHeadInfo[2]; //记录编辑前的单据编号 @@ -1657,8 +1737,14 @@ } initTableData_material("edit",TotalPrice); //商品列表 - reject(); //撤销下、刷新商品列表 - url = '/depotHead/updateDepotHeadAndDetail?id=' + depotHeadInfo[0]; + reject(); //撤销下、刷新商品列表 + if(pageType === "skip") { + url = '/depotHead/addDepotHeadAndDetail'; //如果是从订单跳转过来,则此处为新增的接口 + //jshjshjsh + $("#depotHeadFM .datagrid-body").find("[field='DepotId']").click(); + } else { + url = '/depotHead/updateDepotHeadAndDetail?id=' + depotHeadInfo[0]; //更新接口 + } } //查看信息 @@ -1700,6 +1786,7 @@ $("#DiscountLastMoneyShow").text(depotHeadInfo[21]); $("#DebtShow").text((depotHeadInfo[21]-depotHeadInfo[8]).toFixed(2)); $("#AccountDayShow").text(depotHeadInfo[27].replace("undefined","")); //结算天数 + $("#LinkNumberShow").text(depotHeadInfo[28].replace("undefined","")); //关联订单号 if(depotHeadInfo[25] && depotHeadInfo[26]){ var itemArr = depotHeadInfo[25].split(","); //支出项目id列表 var itemMoneyArr = depotHeadInfo[26].split(","); //支出项目金额列表 @@ -2027,6 +2114,7 @@ AllocationProjectId: AllocationProjectId, DefaultNumber: $.trim($("#Number").attr("data-defaultNumber")),//初始编号 Number: $.trim($("#Number").val()), + LinkNumber: $.trim($("#LinkNumber").val()), OperTime: $("#OperTime").val(), OrganId: OrganId, HandsPersonId: $.trim($("#HandsPersonId").val()), @@ -2970,7 +3058,12 @@ * 新增单据主表及单据子表 * */ function addDepotHeadAndDetail(url,infoStr){ - var inserted = $("#materialData").datagrid('getChanges', "inserted"); + var inserted = null; + if(pageType === "skip") { + inserted = $("#materialData").datagrid('getChanges', "updated"); + } else { + inserted = $("#materialData").datagrid('getChanges', "inserted"); + } var deleted = $("#materialData").datagrid('getChanges', "deleted"); var updated = $("#materialData").datagrid('getChanges', "updated"); $.ajax({ diff --git a/erp_web/js/print/print.js b/erp_web/js/print/print.js index e2bb9064..2465b50d 100644 --- a/erp_web/js/print/print.js +++ b/erp_web/js/print/print.js @@ -21,11 +21,9 @@ function CreateFormPage(strPrintName, printDatagrid) { if (res && res.code === 200) { if(res.data && res.data.page) { var array = res.data.page.rows; - for (var i = 0; i < array.length; i++) { - var name = array[i].name; - if (name === "company_name") { - companyName = array[i].value; - } + if(array.length > 0) { + var info = array[0]; + companyName = info.companyName; } } } diff --git a/erp_web/pages/manage/systemConfig.html b/erp_web/pages/manage/systemConfig.html index df8e36df..d9da5789 100644 --- a/erp_web/pages/manage/systemConfig.html +++ b/erp_web/pages/manage/systemConfig.html @@ -16,128 +16,418 @@ - -
+ +
- - - + + - - - - - - - - - - - - - - - - - - - - + 查询   +
公司名称: - +
联系人:   - -
公司地址: - -
公司电话: - -
公司传真: - -
公司邮编: - -
- 保存信息 -
+ + +
+
+
+ +
+
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+ + +
+
+
+
+ 保存 + 取消 +
+ \ No newline at end of file diff --git a/erp_web/pages/materials/bill_detail.html b/erp_web/pages/materials/bill_detail.html index e66173c9..a33c9da6 100644 --- a/erp_web/pages/materials/bill_detail.html +++ b/erp_web/pages/materials/bill_detail.html @@ -173,8 +173,10 @@ - - + 关联订单: + + + @@ -222,10 +224,8 @@ - 结算天数: - - - + + @@ -312,18 +312,18 @@ - 销售人员: - - - - 单据日期: + 单据日期: - 单据编号: + 单据编号: + 关联订单: + + + @@ -371,9 +371,9 @@ - 结算天数: + 销售人员: - + @@ -388,10 +388,6 @@ - 销售人员: - - - 单据日期: @@ -400,6 +396,8 @@ + + @@ -447,8 +445,9 @@ - + 销售人员: + diff --git a/erp_web/pages/materials/purchase_in_list.html b/erp_web/pages/materials/purchase_in_list.html index e1fe1487..5b0bc979 100644 --- a/erp_web/pages/materials/purchase_in_list.html +++ b/erp_web/pages/materials/purchase_in_list.html @@ -82,8 +82,9 @@ - + 关联订单: + @@ -135,10 +136,8 @@ - 结算天数: + - @@ -167,8 +166,10 @@ - - + 关联订单: + + + @@ -216,10 +217,8 @@ - 结算天数: - - - + + diff --git a/erp_web/pages/materials/sale_back_list.html b/erp_web/pages/materials/sale_back_list.html index 092aa2c0..f56eb9e7 100644 --- a/erp_web/pages/materials/sale_back_list.html +++ b/erp_web/pages/materials/sale_back_list.html @@ -65,10 +65,6 @@ - 销售人员: - - - 单据日期: + + @@ -130,8 +128,9 @@ - + 销售人员: + @@ -151,10 +150,6 @@ - 销售人员: - - - 单据日期: @@ -163,6 +158,8 @@ + + @@ -210,8 +207,9 @@ - + 销售人员: + diff --git a/erp_web/pages/materials/sale_orders_list.html b/erp_web/pages/materials/sale_orders_list.html index 757474c5..61f67174 100644 --- a/erp_web/pages/materials/sale_orders_list.html +++ b/erp_web/pages/materials/sale_orders_list.html @@ -65,21 +65,21 @@ - 销售人员: - - - - 单据日期: + 单据日期: - 单据编号: + 单据编号: + 销售人员: + + + @@ -110,18 +110,18 @@ - 销售人员: - - - - 单据日期: + 单据日期: - 单据编号: + 单据编号: + 销售人员: + + + diff --git a/erp_web/pages/materials/sale_out_list.html b/erp_web/pages/materials/sale_out_list.html index 54993250..431f80f5 100644 --- a/erp_web/pages/materials/sale_out_list.html +++ b/erp_web/pages/materials/sale_out_list.html @@ -65,21 +65,21 @@ - 销售人员: - - - - 单据日期: + 单据日期: - 单据编号: + 单据编号: + 关联订单: + + + @@ -130,10 +130,9 @@ - 结算天数: + 销售人员: - + @@ -153,18 +152,18 @@ - 销售人员: - - - - 单据日期: + 单据日期: - 单据编号: + 单据编号: + 关联订单: + + + @@ -212,9 +211,9 @@ - 结算天数: + 销售人员: - + diff --git a/erp_web/pages/reports/customer_account.html b/erp_web/pages/reports/customer_account.html index f3966d01..83f9868b 100644 --- a/erp_web/pages/reports/customer_account.html +++ b/erp_web/pages/reports/customer_account.html @@ -47,7 +47,7 @@   期初应收:0   - 期末应收:0 + 期末应收:0(请选择客户) @@ -241,7 +241,7 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -254,13 +254,14 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收 var moneyBeginNeedPay = beginNeedPay - 0; //期初应付 money = (money + moneyBeginNeedGet - moneyBeginNeedPay).toFixed(2); $(".first-total").text(money); //期初结存 + $("#pleaseSelect").hide(); } }, error: function () { @@ -289,7 +290,7 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -302,13 +303,14 @@ supType: "customer" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收 var moneyBeginNeedPay = beginNeedPay - 0; //期初应付 money = (money + moneyBeginNeedGet - moneyBeginNeedPay).toFixed(2); $(".last-total").text(money); //期末合计 + $("#pleaseSelect").hide(); } }, error: function () { diff --git a/erp_web/pages/reports/vendor_account.html b/erp_web/pages/reports/vendor_account.html index c5cb9740..d944caa7 100644 --- a/erp_web/pages/reports/vendor_account.html +++ b/erp_web/pages/reports/vendor_account.html @@ -47,7 +47,7 @@   期初应付:0   - 期末应付:0 + 期末应付:0(请选择供应商) @@ -240,7 +240,7 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -253,13 +253,14 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收 var moneyBeginNeedPay = beginNeedPay - 0; //期初应付 money = (money + moneyBeginNeedPay - moneyBeginNeedGet).toFixed(2); $(".first-total").text(money); //期初结存 + $("#pleaseSelect").hide(); } }, error: function () { @@ -288,7 +289,7 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyA = res.data.rows.getAllMoney.toFixed(2) - 0; $.ajax({ type: "get", @@ -301,13 +302,14 @@ supType: "vendor" }), success: function (res) { - if (res && res.code === 200 && res.data && res.data.rows && res.data.rows.getAllMoney) { + if (res && res.code === 200 && res.data && res.data.rows) { var moneyB = res.data.rows.getAllMoney.toFixed(2) - 0; var money = moneyA + moneyB; var moneyBeginNeedGet = beginNeedGet - 0; //期初应收 var moneyBeginNeedPay = beginNeedPay - 0; //期初应付 money = (money + moneyBeginNeedPay - moneyBeginNeedGet).toFixed(2); $(".last-total").text(money); //期末合计 + $("#pleaseSelect").hide(); } }, error: function () { diff --git a/sql/jsh_erp.sql b/sql/jsh_erp.sql index d9777ac0..597bd2e6 100644 --- a/sql/jsh_erp.sql +++ b/sql/jsh_erp.sql @@ -1307,10 +1307,57 @@ INSERT INTO `jsh_functions`(`Number`, `Name`, `PNumber`, `URL`, `State`, `Sort`, -- 添加根机构 -- ---------------------------- INSERT INTO `jsh_organization`(`org_no`, `org_full_name`, `org_abr`, `org_tpcd`, `org_stcd`, `org_parent_no`, `sort`, `remark`, `create_time`, `creator`, `update_time`, `updater`, `org_create_time`, `org_stop_time`) VALUES ('01', '根机构', '根机构', NULL, '2', '-1', '1', '根机构,初始化存在', NULL, NULL, NULL, NULL, NULL, NULL); + -- ---------------------------- --- 时间:2019年3月8日 +-- 时间:2019年3月9日 -- version:1.0.6 -- 此次更新 +-- 整改jsh_systemconfig表的字段 +-- ---------------------------- +alter table jsh_systemconfig drop type; +alter table jsh_systemconfig drop name; +alter table jsh_systemconfig drop value; +alter table jsh_systemconfig drop description; +alter table jsh_systemconfig add company_name varchar(50) DEFAULT null COMMENT '公司名称'; +alter table jsh_systemconfig add company_contacts varchar(20) DEFAULT null COMMENT '公司联系人'; +alter table jsh_systemconfig add company_address varchar(50) DEFAULT null COMMENT '公司地址'; +alter table jsh_systemconfig add company_tel varchar(20) DEFAULT null COMMENT '公司电话'; +alter table jsh_systemconfig add company_fax varchar(20) DEFAULT null COMMENT '公司传真'; +alter table jsh_systemconfig add company_post_code varchar(20) DEFAULT null COMMENT '公司邮编'; +delete from jsh_systemconfig; +insert into jsh_systemconfig (`company_name`, `company_contacts`, `company_address`, `company_tel`, `company_fax`, `company_post_code`) values("南通jshERP公司","张三","南通市通州区某某路","0513-10101010","0513-18181818","226300"); + +-- ---------------------------- +-- 时间:2019年3月9日 +-- version:1.0.7 +-- 改管理员的功能权限 +-- ---------------------------- +update jsh_userbusiness SET +Value = '[13][12][16][243][14][15][234][236][22][23][220][240][25][217][218][26][194][195][31][59][207][208][209][226][227][228][229][235][237][210][211][241][33][199][242][41][200][201][202][40][232][233][197][203][204][205][206][212]' +where Id = 5; +-- ---------------------------- +-- 给订单功能加审核和反审核的功能按钮权限 +-- ---------------------------- +update jsh_functions SET PushBtn = '3' where Number = '050202' and PNumber = '0502'; +update jsh_functions SET PushBtn = '3' where Number = '060301' and PNumber = '0603'; +-- ---------------------------- +-- 改管理员的按钮权限 +-- ---------------------------- +update jsh_userbusiness SET +BtnStr = '[{"funId":"25","btnStr":"1"},{"funId":"217","btnStr":"1"},{"funId":"218","btnStr":"1"},{"funId":"241","btnStr":"3"},{"funId":"242","btnStr":"3"}]' +where Id = 5; + +-- ---------------------------- +-- 时间:2019年3月10日 +-- version:1.0.8 +-- 改状态字段的类型,增加关联单据字段 +-- ---------------------------- +alter table jsh_depothead change Status Status varchar(1) DEFAULT '0' COMMENT '状态,0未审核、1已审核、2已转采购|销售'; +alter table jsh_depothead add `LinkNumber` varchar(50) DEFAULT null COMMENT '关联订单号'; +-- ---------------------------- +-- 时间:2019年3月12日 +-- version:1.0.9 +-- 此次更新 -- 1、根据本地用户表中现有部门生成机构表数据,同时重建机构和用户的关联关系 -- 特别提醒:之后的sql都是在之前基础上迭代,可以对已存在的系统进行数据保留更新 -- ---------------------------- diff --git a/src/main/java/com/jsh/erp/constants/BusinessConstants.java b/src/main/java/com/jsh/erp/constants/BusinessConstants.java index 454d3511..e9fb5f21 100644 --- a/src/main/java/com/jsh/erp/constants/BusinessConstants.java +++ b/src/main/java/com/jsh/erp/constants/BusinessConstants.java @@ -51,6 +51,12 @@ public class BusinessConstants { * */ public static final String ENABLE_SERIAL_NUMBER_ENABLED = "1"; public static final String ENABLE_SERIAL_NUMBER_NOT_ENABLED = "0"; + /** + * 单据状态 billsStatus '0'未审核 '1'审核 '2'已转采购|销售 + * */ + public static final String BILLS_STATUS_UN_AUDIT = "0"; + public static final String BILLS_STATUS_AUDIT = "1"; + public static final String BILLS_STATUS_SKIP = "2"; /** * 出入库分类 *采购、采购退货、其它、零售、销售、调拨 diff --git a/src/main/java/com/jsh/erp/controller/DepotHeadController.java b/src/main/java/com/jsh/erp/controller/DepotHeadController.java index 27664eae..4b2dd0fd 100644 --- a/src/main/java/com/jsh/erp/controller/DepotHeadController.java +++ b/src/main/java/com/jsh/erp/controller/DepotHeadController.java @@ -51,7 +51,7 @@ public class DepotHeadController { * @return */ @PostMapping(value = "/batchSetStatus") - public String batchSetStatus(@RequestParam("status") Boolean status, + public String batchSetStatus(@RequestParam("status") String status, @RequestParam("depotHeadIDs") String depotHeadIDs, HttpServletRequest request) { Map objectMap = new HashMap(); @@ -64,20 +64,12 @@ public class DepotHeadController { } /** - * 单据编号生成接口,规则:查找当前类型单据下的当天最大的单据号,并加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) { + public BaseResponseInfo buildNumber(HttpServletRequest request) { BaseResponseInfo res = new BaseResponseInfo(); Map map = new HashMap(); try { diff --git a/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java b/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java index 496da9ce..f5775ea3 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotHead.java @@ -1,902 +1,934 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -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 BigDecimal 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 BigDecimal 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 BigDecimal discount; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depothead.DiscountMoney - * - * @mbggenerated - */ - private BigDecimal discountmoney; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depothead.DiscountLastMoney - * - * @mbggenerated - */ - private BigDecimal discountlastmoney; - - /** - * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_depothead.OtherMoney - * - * @mbggenerated - */ - private BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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; - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +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 BigDecimal 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 BigDecimal 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 BigDecimal discount; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.DiscountMoney + * + * @mbggenerated + */ + private BigDecimal discountmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.DiscountLastMoney + * + * @mbggenerated + */ + private BigDecimal discountlastmoney; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.OtherMoney + * + * @mbggenerated + */ + private BigDecimal 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 String status; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_depothead.LinkNumber + * + * @mbggenerated + */ + private String linknumber; + + /** + * 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 BigDecimal 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(BigDecimal 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 String 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(String status) { + this.status = status == null ? null : status.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_depothead.LinkNumber + * + * @return the value of jsh_depothead.LinkNumber + * + * @mbggenerated + */ + public String getLinknumber() { + return linknumber; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_depothead.LinkNumber + * + * @param linknumber the value for jsh_depothead.LinkNumber + * + * @mbggenerated + */ + public void setLinknumber(String linknumber) { + this.linknumber = linknumber == null ? null : linknumber.trim(); + } } \ 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 index 6663597a..4bfbcb14 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/DepotHeadExample.java @@ -1,2104 +1,2184 @@ -package com.jsh.erp.datasource.entities; - -import java.math.BigDecimal; -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(BigDecimal value) { - addCriterion("ChangeAmount =", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountNotEqualTo(BigDecimal value) { - addCriterion("ChangeAmount <>", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountGreaterThan(BigDecimal value) { - addCriterion("ChangeAmount >", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("ChangeAmount >=", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountLessThan(BigDecimal value) { - addCriterion("ChangeAmount <", value, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { - addCriterion("ChangeAmount between", value1, value2, "changeamount"); - return (Criteria) this; - } - - public Criteria andChangeamountNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { - addCriterion("TotalPrice =", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceNotEqualTo(BigDecimal value) { - addCriterion("TotalPrice <>", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceGreaterThan(BigDecimal value) { - addCriterion("TotalPrice >", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("TotalPrice >=", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceLessThan(BigDecimal value) { - addCriterion("TotalPrice <", value, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { - addCriterion("TotalPrice between", value1, value2, "totalprice"); - return (Criteria) this; - } - - public Criteria andTotalpriceNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { - addCriterion("Discount =", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountNotEqualTo(BigDecimal value) { - addCriterion("Discount <>", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountGreaterThan(BigDecimal value) { - addCriterion("Discount >", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("Discount >=", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountLessThan(BigDecimal value) { - addCriterion("Discount <", value, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { - addCriterion("Discount between", value1, value2, "discount"); - return (Criteria) this; - } - - public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { - addCriterion("DiscountMoney =", value, "discountmoney"); - return (Criteria) this; - } - - public Criteria andDiscountmoneyNotEqualTo(BigDecimal value) { - addCriterion("DiscountMoney <>", value, "discountmoney"); - return (Criteria) this; - } - - public Criteria andDiscountmoneyGreaterThan(BigDecimal value) { - addCriterion("DiscountMoney >", value, "discountmoney"); - return (Criteria) this; - } - - public Criteria andDiscountmoneyGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("DiscountMoney >=", value, "discountmoney"); - return (Criteria) this; - } - - public Criteria andDiscountmoneyLessThan(BigDecimal value) { - addCriterion("DiscountMoney <", value, "discountmoney"); - return (Criteria) this; - } - - public Criteria andDiscountmoneyLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { - addCriterion("DiscountMoney between", value1, value2, "discountmoney"); - return (Criteria) this; - } - - public Criteria andDiscountmoneyNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { - addCriterion("DiscountLastMoney =", value, "discountlastmoney"); - return (Criteria) this; - } - - public Criteria andDiscountlastmoneyNotEqualTo(BigDecimal value) { - addCriterion("DiscountLastMoney <>", value, "discountlastmoney"); - return (Criteria) this; - } - - public Criteria andDiscountlastmoneyGreaterThan(BigDecimal value) { - addCriterion("DiscountLastMoney >", value, "discountlastmoney"); - return (Criteria) this; - } - - public Criteria andDiscountlastmoneyGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("DiscountLastMoney >=", value, "discountlastmoney"); - return (Criteria) this; - } - - public Criteria andDiscountlastmoneyLessThan(BigDecimal value) { - addCriterion("DiscountLastMoney <", value, "discountlastmoney"); - return (Criteria) this; - } - - public Criteria andDiscountlastmoneyLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { - addCriterion("DiscountLastMoney between", value1, value2, "discountlastmoney"); - return (Criteria) this; - } - - public Criteria andDiscountlastmoneyNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { - addCriterion("OtherMoney =", value, "othermoney"); - return (Criteria) this; - } - - public Criteria andOthermoneyNotEqualTo(BigDecimal value) { - addCriterion("OtherMoney <>", value, "othermoney"); - return (Criteria) this; - } - - public Criteria andOthermoneyGreaterThan(BigDecimal value) { - addCriterion("OtherMoney >", value, "othermoney"); - return (Criteria) this; - } - - public Criteria andOthermoneyGreaterThanOrEqualTo(BigDecimal value) { - addCriterion("OtherMoney >=", value, "othermoney"); - return (Criteria) this; - } - - public Criteria andOthermoneyLessThan(BigDecimal value) { - addCriterion("OtherMoney <", value, "othermoney"); - return (Criteria) this; - } - - public Criteria andOthermoneyLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { - addCriterion("OtherMoney between", value1, value2, "othermoney"); - return (Criteria) this; - } - - public Criteria andOthermoneyNotBetween(BigDecimal value1, BigDecimal 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); - } - } +package com.jsh.erp.datasource.entities; + +import java.math.BigDecimal; +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(BigDecimal value) { + addCriterion("ChangeAmount =", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotEqualTo(BigDecimal value) { + addCriterion("ChangeAmount <>", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThan(BigDecimal value) { + addCriterion("ChangeAmount >", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("ChangeAmount >=", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThan(BigDecimal value) { + addCriterion("ChangeAmount <", value, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { + addCriterion("ChangeAmount between", value1, value2, "changeamount"); + return (Criteria) this; + } + + public Criteria andChangeamountNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { + addCriterion("TotalPrice =", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotEqualTo(BigDecimal value) { + addCriterion("TotalPrice <>", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThan(BigDecimal value) { + addCriterion("TotalPrice >", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("TotalPrice >=", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThan(BigDecimal value) { + addCriterion("TotalPrice <", value, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { + addCriterion("TotalPrice between", value1, value2, "totalprice"); + return (Criteria) this; + } + + public Criteria andTotalpriceNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { + addCriterion("Discount =", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotEqualTo(BigDecimal value) { + addCriterion("Discount <>", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThan(BigDecimal value) { + addCriterion("Discount >", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("Discount >=", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThan(BigDecimal value) { + addCriterion("Discount <", value, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { + addCriterion("Discount between", value1, value2, "discount"); + return (Criteria) this; + } + + public Criteria andDiscountNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { + addCriterion("DiscountMoney =", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyNotEqualTo(BigDecimal value) { + addCriterion("DiscountMoney <>", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyGreaterThan(BigDecimal value) { + addCriterion("DiscountMoney >", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("DiscountMoney >=", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyLessThan(BigDecimal value) { + addCriterion("DiscountMoney <", value, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { + addCriterion("DiscountMoney between", value1, value2, "discountmoney"); + return (Criteria) this; + } + + public Criteria andDiscountmoneyNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { + addCriterion("DiscountLastMoney =", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyNotEqualTo(BigDecimal value) { + addCriterion("DiscountLastMoney <>", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyGreaterThan(BigDecimal value) { + addCriterion("DiscountLastMoney >", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("DiscountLastMoney >=", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyLessThan(BigDecimal value) { + addCriterion("DiscountLastMoney <", value, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { + addCriterion("DiscountLastMoney between", value1, value2, "discountlastmoney"); + return (Criteria) this; + } + + public Criteria andDiscountlastmoneyNotBetween(BigDecimal value1, BigDecimal 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(BigDecimal value) { + addCriterion("OtherMoney =", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyNotEqualTo(BigDecimal value) { + addCriterion("OtherMoney <>", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyGreaterThan(BigDecimal value) { + addCriterion("OtherMoney >", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyGreaterThanOrEqualTo(BigDecimal value) { + addCriterion("OtherMoney >=", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyLessThan(BigDecimal value) { + addCriterion("OtherMoney <", value, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyLessThanOrEqualTo(BigDecimal 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(BigDecimal value1, BigDecimal value2) { + addCriterion("OtherMoney between", value1, value2, "othermoney"); + return (Criteria) this; + } + + public Criteria andOthermoneyNotBetween(BigDecimal value1, BigDecimal 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(String value) { + addCriterion("Status =", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotEqualTo(String value) { + addCriterion("Status <>", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThan(String value) { + addCriterion("Status >", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusGreaterThanOrEqualTo(String value) { + addCriterion("Status >=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThan(String value) { + addCriterion("Status <", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLessThanOrEqualTo(String value) { + addCriterion("Status <=", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusLike(String value) { + addCriterion("Status like", value, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotLike(String value) { + addCriterion("Status not like", 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(String value1, String value2) { + addCriterion("Status between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andStatusNotBetween(String value1, String value2) { + addCriterion("Status not between", value1, value2, "status"); + return (Criteria) this; + } + + public Criteria andLinknumberIsNull() { + addCriterion("LinkNumber is null"); + return (Criteria) this; + } + + public Criteria andLinknumberIsNotNull() { + addCriterion("LinkNumber is not null"); + return (Criteria) this; + } + + public Criteria andLinknumberEqualTo(String value) { + addCriterion("LinkNumber =", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberNotEqualTo(String value) { + addCriterion("LinkNumber <>", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberGreaterThan(String value) { + addCriterion("LinkNumber >", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberGreaterThanOrEqualTo(String value) { + addCriterion("LinkNumber >=", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberLessThan(String value) { + addCriterion("LinkNumber <", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberLessThanOrEqualTo(String value) { + addCriterion("LinkNumber <=", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberLike(String value) { + addCriterion("LinkNumber like", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberNotLike(String value) { + addCriterion("LinkNumber not like", value, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberIn(List values) { + addCriterion("LinkNumber in", values, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberNotIn(List values) { + addCriterion("LinkNumber not in", values, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberBetween(String value1, String value2) { + addCriterion("LinkNumber between", value1, value2, "linknumber"); + return (Criteria) this; + } + + public Criteria andLinknumberNotBetween(String value1, String value2) { + addCriterion("LinkNumber not between", value1, value2, "linknumber"); + 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/SystemConfig.java b/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java index 177a5153..a083073c 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java +++ b/src/main/java/com/jsh/erp/datasource/entities/SystemConfig.java @@ -11,35 +11,51 @@ public class SystemConfig { /** * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_systemconfig.type + * This field corresponds to the database column jsh_systemconfig.company_name * * @mbggenerated */ - private String type; + private String companyName; /** * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_systemconfig.name + * This field corresponds to the database column jsh_systemconfig.company_contacts * * @mbggenerated */ - private String name; + private String companyContacts; /** * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_systemconfig.value + * This field corresponds to the database column jsh_systemconfig.company_address * * @mbggenerated */ - private String value; + private String companyAddress; /** * This field was generated by MyBatis Generator. - * This field corresponds to the database column jsh_systemconfig.description + * This field corresponds to the database column jsh_systemconfig.company_tel * * @mbggenerated */ - private String description; + private String companyTel; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.company_fax + * + * @mbggenerated + */ + private String companyFax; + + /** + * This field was generated by MyBatis Generator. + * This field corresponds to the database column jsh_systemconfig.company_post_code + * + * @mbggenerated + */ + private String companyPostCode; /** * This method was generated by MyBatis Generator. @@ -67,97 +83,145 @@ public class SystemConfig { /** * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_systemconfig.type + * This method returns the value of the database column jsh_systemconfig.company_name * - * @return the value of jsh_systemconfig.type + * @return the value of jsh_systemconfig.company_name * * @mbggenerated */ - public String getType() { - return type; + public String getCompanyName() { + return companyName; } /** * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_systemconfig.type + * This method sets the value of the database column jsh_systemconfig.company_name * - * @param type the value for jsh_systemconfig.type + * @param companyName the value for jsh_systemconfig.company_name * * @mbggenerated */ - public void setType(String type) { - this.type = type == null ? null : type.trim(); + public void setCompanyName(String companyName) { + this.companyName = companyName == null ? null : companyName.trim(); } /** * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_systemconfig.name + * This method returns the value of the database column jsh_systemconfig.company_contacts * - * @return the value of jsh_systemconfig.name + * @return the value of jsh_systemconfig.company_contacts * * @mbggenerated */ - public String getName() { - return name; + public String getCompanyContacts() { + return companyContacts; } /** * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_systemconfig.name + * This method sets the value of the database column jsh_systemconfig.company_contacts * - * @param name the value for jsh_systemconfig.name + * @param companyContacts the value for jsh_systemconfig.company_contacts * * @mbggenerated */ - public void setName(String name) { - this.name = name == null ? null : name.trim(); + public void setCompanyContacts(String companyContacts) { + this.companyContacts = companyContacts == null ? null : companyContacts.trim(); } /** * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_systemconfig.value + * This method returns the value of the database column jsh_systemconfig.company_address * - * @return the value of jsh_systemconfig.value + * @return the value of jsh_systemconfig.company_address * * @mbggenerated */ - public String getValue() { - return value; + public String getCompanyAddress() { + return companyAddress; } /** * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_systemconfig.value + * This method sets the value of the database column jsh_systemconfig.company_address * - * @param value the value for jsh_systemconfig.value + * @param companyAddress the value for jsh_systemconfig.company_address * * @mbggenerated */ - public void setValue(String value) { - this.value = value == null ? null : value.trim(); + public void setCompanyAddress(String companyAddress) { + this.companyAddress = companyAddress == null ? null : companyAddress.trim(); } /** * This method was generated by MyBatis Generator. - * This method returns the value of the database column jsh_systemconfig.description + * This method returns the value of the database column jsh_systemconfig.company_tel * - * @return the value of jsh_systemconfig.description + * @return the value of jsh_systemconfig.company_tel * * @mbggenerated */ - public String getDescription() { - return description; + public String getCompanyTel() { + return companyTel; } /** * This method was generated by MyBatis Generator. - * This method sets the value of the database column jsh_systemconfig.description + * This method sets the value of the database column jsh_systemconfig.company_tel * - * @param description the value for jsh_systemconfig.description + * @param companyTel the value for jsh_systemconfig.company_tel * * @mbggenerated */ - public void setDescription(String description) { - this.description = description == null ? null : description.trim(); + public void setCompanyTel(String companyTel) { + this.companyTel = companyTel == null ? null : companyTel.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.company_fax + * + * @return the value of jsh_systemconfig.company_fax + * + * @mbggenerated + */ + public String getCompanyFax() { + return companyFax; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_systemconfig.company_fax + * + * @param companyFax the value for jsh_systemconfig.company_fax + * + * @mbggenerated + */ + public void setCompanyFax(String companyFax) { + this.companyFax = companyFax == null ? null : companyFax.trim(); + } + + /** + * This method was generated by MyBatis Generator. + * This method returns the value of the database column jsh_systemconfig.company_post_code + * + * @return the value of jsh_systemconfig.company_post_code + * + * @mbggenerated + */ + public String getCompanyPostCode() { + return companyPostCode; + } + + /** + * This method was generated by MyBatis Generator. + * This method sets the value of the database column jsh_systemconfig.company_post_code + * + * @param companyPostCode the value for jsh_systemconfig.company_post_code + * + * @mbggenerated + */ + public void setCompanyPostCode(String companyPostCode) { + this.companyPostCode = companyPostCode == null ? null : companyPostCode.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 index bf71a761..35efad8a 100644 --- a/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java +++ b/src/main/java/com/jsh/erp/datasource/entities/SystemConfigExample.java @@ -254,283 +254,423 @@ public class SystemConfigExample { return (Criteria) this; } - public Criteria andTypeIsNull() { - addCriterion("type is null"); + public Criteria andCompanyNameIsNull() { + addCriterion("company_name is null"); return (Criteria) this; } - public Criteria andTypeIsNotNull() { - addCriterion("type is not null"); + public Criteria andCompanyNameIsNotNull() { + addCriterion("company_name is not null"); return (Criteria) this; } - public Criteria andTypeEqualTo(String value) { - addCriterion("type =", value, "type"); + public Criteria andCompanyNameEqualTo(String value) { + addCriterion("company_name =", value, "companyName"); return (Criteria) this; } - public Criteria andTypeNotEqualTo(String value) { - addCriterion("type <>", value, "type"); + public Criteria andCompanyNameNotEqualTo(String value) { + addCriterion("company_name <>", value, "companyName"); return (Criteria) this; } - public Criteria andTypeGreaterThan(String value) { - addCriterion("type >", value, "type"); + public Criteria andCompanyNameGreaterThan(String value) { + addCriterion("company_name >", value, "companyName"); return (Criteria) this; } - public Criteria andTypeGreaterThanOrEqualTo(String value) { - addCriterion("type >=", value, "type"); + public Criteria andCompanyNameGreaterThanOrEqualTo(String value) { + addCriterion("company_name >=", value, "companyName"); return (Criteria) this; } - public Criteria andTypeLessThan(String value) { - addCriterion("type <", value, "type"); + public Criteria andCompanyNameLessThan(String value) { + addCriterion("company_name <", value, "companyName"); return (Criteria) this; } - public Criteria andTypeLessThanOrEqualTo(String value) { - addCriterion("type <=", value, "type"); + public Criteria andCompanyNameLessThanOrEqualTo(String value) { + addCriterion("company_name <=", value, "companyName"); return (Criteria) this; } - public Criteria andTypeLike(String value) { - addCriterion("type like", value, "type"); + public Criteria andCompanyNameLike(String value) { + addCriterion("company_name like", value, "companyName"); return (Criteria) this; } - public Criteria andTypeNotLike(String value) { - addCriterion("type not like", value, "type"); + public Criteria andCompanyNameNotLike(String value) { + addCriterion("company_name not like", value, "companyName"); return (Criteria) this; } - public Criteria andTypeIn(List values) { - addCriterion("type in", values, "type"); + public Criteria andCompanyNameIn(List values) { + addCriterion("company_name in", values, "companyName"); return (Criteria) this; } - public Criteria andTypeNotIn(List values) { - addCriterion("type not in", values, "type"); + public Criteria andCompanyNameNotIn(List values) { + addCriterion("company_name not in", values, "companyName"); return (Criteria) this; } - public Criteria andTypeBetween(String value1, String value2) { - addCriterion("type between", value1, value2, "type"); + public Criteria andCompanyNameBetween(String value1, String value2) { + addCriterion("company_name between", value1, value2, "companyName"); return (Criteria) this; } - public Criteria andTypeNotBetween(String value1, String value2) { - addCriterion("type not between", value1, value2, "type"); + public Criteria andCompanyNameNotBetween(String value1, String value2) { + addCriterion("company_name not between", value1, value2, "companyName"); return (Criteria) this; } - public Criteria andNameIsNull() { - addCriterion("name is null"); + public Criteria andCompanyContactsIsNull() { + addCriterion("company_contacts is null"); return (Criteria) this; } - public Criteria andNameIsNotNull() { - addCriterion("name is not null"); + public Criteria andCompanyContactsIsNotNull() { + addCriterion("company_contacts is not null"); return (Criteria) this; } - public Criteria andNameEqualTo(String value) { - addCriterion("name =", value, "name"); + public Criteria andCompanyContactsEqualTo(String value) { + addCriterion("company_contacts =", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameNotEqualTo(String value) { - addCriterion("name <>", value, "name"); + public Criteria andCompanyContactsNotEqualTo(String value) { + addCriterion("company_contacts <>", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameGreaterThan(String value) { - addCriterion("name >", value, "name"); + public Criteria andCompanyContactsGreaterThan(String value) { + addCriterion("company_contacts >", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameGreaterThanOrEqualTo(String value) { - addCriterion("name >=", value, "name"); + public Criteria andCompanyContactsGreaterThanOrEqualTo(String value) { + addCriterion("company_contacts >=", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameLessThan(String value) { - addCriterion("name <", value, "name"); + public Criteria andCompanyContactsLessThan(String value) { + addCriterion("company_contacts <", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameLessThanOrEqualTo(String value) { - addCriterion("name <=", value, "name"); + public Criteria andCompanyContactsLessThanOrEqualTo(String value) { + addCriterion("company_contacts <=", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameLike(String value) { - addCriterion("name like", value, "name"); + public Criteria andCompanyContactsLike(String value) { + addCriterion("company_contacts like", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameNotLike(String value) { - addCriterion("name not like", value, "name"); + public Criteria andCompanyContactsNotLike(String value) { + addCriterion("company_contacts not like", value, "companyContacts"); return (Criteria) this; } - public Criteria andNameIn(List values) { - addCriterion("name in", values, "name"); + public Criteria andCompanyContactsIn(List values) { + addCriterion("company_contacts in", values, "companyContacts"); return (Criteria) this; } - public Criteria andNameNotIn(List values) { - addCriterion("name not in", values, "name"); + public Criteria andCompanyContactsNotIn(List values) { + addCriterion("company_contacts not in", values, "companyContacts"); return (Criteria) this; } - public Criteria andNameBetween(String value1, String value2) { - addCriterion("name between", value1, value2, "name"); + public Criteria andCompanyContactsBetween(String value1, String value2) { + addCriterion("company_contacts between", value1, value2, "companyContacts"); return (Criteria) this; } - public Criteria andNameNotBetween(String value1, String value2) { - addCriterion("name not between", value1, value2, "name"); + public Criteria andCompanyContactsNotBetween(String value1, String value2) { + addCriterion("company_contacts not between", value1, value2, "companyContacts"); return (Criteria) this; } - public Criteria andValueIsNull() { - addCriterion("value is null"); + public Criteria andCompanyAddressIsNull() { + addCriterion("company_address is null"); return (Criteria) this; } - public Criteria andValueIsNotNull() { - addCriterion("value is not null"); + public Criteria andCompanyAddressIsNotNull() { + addCriterion("company_address is not null"); return (Criteria) this; } - public Criteria andValueEqualTo(String value) { - addCriterion("value =", value, "value"); + public Criteria andCompanyAddressEqualTo(String value) { + addCriterion("company_address =", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueNotEqualTo(String value) { - addCriterion("value <>", value, "value"); + public Criteria andCompanyAddressNotEqualTo(String value) { + addCriterion("company_address <>", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueGreaterThan(String value) { - addCriterion("value >", value, "value"); + public Criteria andCompanyAddressGreaterThan(String value) { + addCriterion("company_address >", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueGreaterThanOrEqualTo(String value) { - addCriterion("value >=", value, "value"); + public Criteria andCompanyAddressGreaterThanOrEqualTo(String value) { + addCriterion("company_address >=", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueLessThan(String value) { - addCriterion("value <", value, "value"); + public Criteria andCompanyAddressLessThan(String value) { + addCriterion("company_address <", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueLessThanOrEqualTo(String value) { - addCriterion("value <=", value, "value"); + public Criteria andCompanyAddressLessThanOrEqualTo(String value) { + addCriterion("company_address <=", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueLike(String value) { - addCriterion("value like", value, "value"); + public Criteria andCompanyAddressLike(String value) { + addCriterion("company_address like", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueNotLike(String value) { - addCriterion("value not like", value, "value"); + public Criteria andCompanyAddressNotLike(String value) { + addCriterion("company_address not like", value, "companyAddress"); return (Criteria) this; } - public Criteria andValueIn(List values) { - addCriterion("value in", values, "value"); + public Criteria andCompanyAddressIn(List values) { + addCriterion("company_address in", values, "companyAddress"); return (Criteria) this; } - public Criteria andValueNotIn(List values) { - addCriterion("value not in", values, "value"); + public Criteria andCompanyAddressNotIn(List values) { + addCriterion("company_address not in", values, "companyAddress"); return (Criteria) this; } - public Criteria andValueBetween(String value1, String value2) { - addCriterion("value between", value1, value2, "value"); + public Criteria andCompanyAddressBetween(String value1, String value2) { + addCriterion("company_address between", value1, value2, "companyAddress"); return (Criteria) this; } - public Criteria andValueNotBetween(String value1, String value2) { - addCriterion("value not between", value1, value2, "value"); + public Criteria andCompanyAddressNotBetween(String value1, String value2) { + addCriterion("company_address not between", value1, value2, "companyAddress"); return (Criteria) this; } - public Criteria andDescriptionIsNull() { - addCriterion("description is null"); + public Criteria andCompanyTelIsNull() { + addCriterion("company_tel is null"); return (Criteria) this; } - public Criteria andDescriptionIsNotNull() { - addCriterion("description is not null"); + public Criteria andCompanyTelIsNotNull() { + addCriterion("company_tel is not null"); return (Criteria) this; } - public Criteria andDescriptionEqualTo(String value) { - addCriterion("description =", value, "description"); + public Criteria andCompanyTelEqualTo(String value) { + addCriterion("company_tel =", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionNotEqualTo(String value) { - addCriterion("description <>", value, "description"); + public Criteria andCompanyTelNotEqualTo(String value) { + addCriterion("company_tel <>", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionGreaterThan(String value) { - addCriterion("description >", value, "description"); + public Criteria andCompanyTelGreaterThan(String value) { + addCriterion("company_tel >", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionGreaterThanOrEqualTo(String value) { - addCriterion("description >=", value, "description"); + public Criteria andCompanyTelGreaterThanOrEqualTo(String value) { + addCriterion("company_tel >=", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionLessThan(String value) { - addCriterion("description <", value, "description"); + public Criteria andCompanyTelLessThan(String value) { + addCriterion("company_tel <", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionLessThanOrEqualTo(String value) { - addCriterion("description <=", value, "description"); + public Criteria andCompanyTelLessThanOrEqualTo(String value) { + addCriterion("company_tel <=", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionLike(String value) { - addCriterion("description like", value, "description"); + public Criteria andCompanyTelLike(String value) { + addCriterion("company_tel like", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionNotLike(String value) { - addCriterion("description not like", value, "description"); + public Criteria andCompanyTelNotLike(String value) { + addCriterion("company_tel not like", value, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionIn(List values) { - addCriterion("description in", values, "description"); + public Criteria andCompanyTelIn(List values) { + addCriterion("company_tel in", values, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionNotIn(List values) { - addCriterion("description not in", values, "description"); + public Criteria andCompanyTelNotIn(List values) { + addCriterion("company_tel not in", values, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionBetween(String value1, String value2) { - addCriterion("description between", value1, value2, "description"); + public Criteria andCompanyTelBetween(String value1, String value2) { + addCriterion("company_tel between", value1, value2, "companyTel"); return (Criteria) this; } - public Criteria andDescriptionNotBetween(String value1, String value2) { - addCriterion("description not between", value1, value2, "description"); + public Criteria andCompanyTelNotBetween(String value1, String value2) { + addCriterion("company_tel not between", value1, value2, "companyTel"); + return (Criteria) this; + } + + public Criteria andCompanyFaxIsNull() { + addCriterion("company_fax is null"); + return (Criteria) this; + } + + public Criteria andCompanyFaxIsNotNull() { + addCriterion("company_fax is not null"); + return (Criteria) this; + } + + public Criteria andCompanyFaxEqualTo(String value) { + addCriterion("company_fax =", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxNotEqualTo(String value) { + addCriterion("company_fax <>", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxGreaterThan(String value) { + addCriterion("company_fax >", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxGreaterThanOrEqualTo(String value) { + addCriterion("company_fax >=", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxLessThan(String value) { + addCriterion("company_fax <", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxLessThanOrEqualTo(String value) { + addCriterion("company_fax <=", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxLike(String value) { + addCriterion("company_fax like", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxNotLike(String value) { + addCriterion("company_fax not like", value, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxIn(List values) { + addCriterion("company_fax in", values, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxNotIn(List values) { + addCriterion("company_fax not in", values, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxBetween(String value1, String value2) { + addCriterion("company_fax between", value1, value2, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyFaxNotBetween(String value1, String value2) { + addCriterion("company_fax not between", value1, value2, "companyFax"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeIsNull() { + addCriterion("company_post_code is null"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeIsNotNull() { + addCriterion("company_post_code is not null"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeEqualTo(String value) { + addCriterion("company_post_code =", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeNotEqualTo(String value) { + addCriterion("company_post_code <>", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeGreaterThan(String value) { + addCriterion("company_post_code >", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeGreaterThanOrEqualTo(String value) { + addCriterion("company_post_code >=", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeLessThan(String value) { + addCriterion("company_post_code <", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeLessThanOrEqualTo(String value) { + addCriterion("company_post_code <=", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeLike(String value) { + addCriterion("company_post_code like", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeNotLike(String value) { + addCriterion("company_post_code not like", value, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeIn(List values) { + addCriterion("company_post_code in", values, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeNotIn(List values) { + addCriterion("company_post_code not in", values, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeBetween(String value1, String value2) { + addCriterion("company_post_code between", value1, value2, "companyPostCode"); + return (Criteria) this; + } + + public Criteria andCompanyPostCodeNotBetween(String value1, String value2) { + addCriterion("company_post_code not between", value1, value2, "companyPostCode"); return (Criteria) this; } } diff --git a/src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java b/src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java index 2cdef7b9..3a0badbf 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/DepotHeadMapper.java @@ -1,103 +1,96 @@ -package com.jsh.erp.datasource.mappers; - -import com.jsh.erp.datasource.entities.DepotHead; -import com.jsh.erp.datasource.entities.DepotHeadExample; - -import java.math.BigDecimal; -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); +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 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); } \ No newline at end of file diff --git a/src/main/java/com/jsh/erp/datasource/mappers/SystemConfigMapperEx.java b/src/main/java/com/jsh/erp/datasource/mappers/SystemConfigMapperEx.java index 041b697f..8ad32ced 100644 --- a/src/main/java/com/jsh/erp/datasource/mappers/SystemConfigMapperEx.java +++ b/src/main/java/com/jsh/erp/datasource/mappers/SystemConfigMapperEx.java @@ -9,8 +9,10 @@ import java.util.List; public interface SystemConfigMapperEx { List selectByConditionSystemConfig( + @Param("companyName") String companyName, @Param("offset") Integer offset, @Param("rows") Integer rows); - Long countsBySystemConfig(); + Long countsBySystemConfig( + @Param("companyName") String companyName); } \ 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 index ed1b2131..fa8372fb 100644 --- a/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java +++ b/src/main/java/com/jsh/erp/datasource/vo/DepotHeadVo4List.java @@ -59,7 +59,9 @@ public class DepotHeadVo4List { private Integer accountday; - private Boolean status; + private String status; + + private String linknumber; private String projectName; @@ -291,14 +293,22 @@ public class DepotHeadVo4List { this.accountday = accountday; } - public Boolean getStatus() { + public String getStatus() { return status; } - public void setStatus(Boolean status) { + public void setStatus(String status) { this.status = status; } + public String getLinknumber() { + return linknumber; + } + + public void setLinknumber(String linknumber) { + this.linknumber = linknumber; + } + public String getProjectName() { return projectName; } diff --git a/src/main/java/com/jsh/erp/service/depotHead/DepotHeadService.java b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadService.java index 9cec4056..8cbed09c 100644 --- a/src/main/java/com/jsh/erp/service/depotHead/DepotHeadService.java +++ b/src/main/java/com/jsh/erp/service/depotHead/DepotHeadService.java @@ -106,7 +106,7 @@ public class DepotHeadService { depotHead.setOperpersonname(uName); } depotHead.setCreatetime(new Timestamp(System.currentTimeMillis())); - depotHead.setStatus(false); + depotHead.setStatus(BusinessConstants.BILLS_STATUS_UN_AUDIT); return depotHeadMapper.insert(depotHead); } @@ -142,7 +142,7 @@ public class DepotHeadService { } @Transactional(value = "transactionManager", rollbackFor = Exception.class) - public int batchSetStatus(Boolean status, String depotHeadIDs) { + public int batchSetStatus(String status, String depotHeadIDs) { List ids = StringUtil.strToLongList(depotHeadIDs); DepotHead depotHead = new DepotHead(); depotHead.setStatus(status); @@ -275,7 +275,7 @@ public class DepotHeadService { User userInfo=userService.getCurrentUser(); depotHead.setOperpersonname(userInfo==null?null:userInfo.getUsername()); depotHead.setCreatetime(new Timestamp(System.currentTimeMillis())); - depotHead.setStatus(false); + depotHead.setStatus(BusinessConstants.BILLS_STATUS_UN_AUDIT); depotHeadMapperEx.adddepotHead(depotHead); /**入库和出库处理预付款信息*/ if(BusinessConstants.PAY_TYPE_PREPAID.equals(depotHead.getPaytype())){ @@ -285,6 +285,14 @@ public class DepotHeadService { } /**入库和出库处理单据子表信息*/ depotItemService.saveDetials(inserted,deleted,updated,depotHead.getId()); + /**如果关联单据号非空则更新订单的状态为2 */ + if(depotHead.getLinknumber()!=null) { + DepotHead depotHeadOrders = new DepotHead(); + depotHeadOrders.setStatus(BusinessConstants.BILLS_STATUS_SKIP); + DepotHeadExample example = new DepotHeadExample(); + example.createCriteria().andNumberEqualTo(depotHead.getLinknumber()); + depotHeadMapper.updateByExampleSelective(depotHeadOrders, example); + } } /** * create by: cjl diff --git a/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigComponent.java b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigComponent.java index e0becafd..65a6f771 100644 --- a/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigComponent.java +++ b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigComponent.java @@ -31,13 +31,17 @@ public class SystemConfigComponent implements ICommonQuery { } private List getSystemConfigList(Map map) { + String search = map.get(Constants.SEARCH); + String companyName = StringUtil.getInfo(search, "companyName"); String order = QueryUtils.order(map); - return systemConfigService.select(QueryUtils.offset(map), QueryUtils.rows(map)); + return systemConfigService.select(companyName, QueryUtils.offset(map), QueryUtils.rows(map)); } @Override public Long counts(Map map) { - return systemConfigService.countSystemConfig(); + String search = map.get(Constants.SEARCH); + String companyName = StringUtil.getInfo(search, "companyName"); + return systemConfigService.countSystemConfig(companyName); } @Override diff --git a/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigService.java b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigService.java index ae492731..9b83bfb4 100644 --- a/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigService.java +++ b/src/main/java/com/jsh/erp/service/systemConfig/SystemConfigService.java @@ -33,12 +33,12 @@ public class SystemConfigService { SystemConfigExample example = new SystemConfigExample(); return systemConfigMapper.selectByExample(example); } - public List select(int offset, int rows) { - return systemConfigMapperEx.selectByConditionSystemConfig(offset, rows); + public List select(String companyName, int offset, int rows) { + return systemConfigMapperEx.selectByConditionSystemConfig(companyName, offset, rows); } - public Long countSystemConfig() { - return systemConfigMapperEx.countsBySystemConfig(); + public Long countSystemConfig(String companyName) { + return systemConfigMapperEx.countsBySystemConfig(companyName); } @Transactional(value = "transactionManager", rollbackFor = Exception.class) @@ -69,7 +69,7 @@ public class SystemConfigService { public int checkIsNameExist(Long id, String name) { SystemConfigExample example = new SystemConfigExample(); - example.createCriteria().andIdNotEqualTo(id).andNameEqualTo(name); + example.createCriteria().andIdNotEqualTo(id).andCompanyNameEqualTo(name); List list = systemConfigMapper.selectByExample(example); return list.size(); } diff --git a/src/main/resources/mapper_xml/DepotHeadMapper.xml b/src/main/resources/mapper_xml/DepotHeadMapper.xml index 1a7e35c2..11e03aaf 100644 --- a/src/main/resources/mapper_xml/DepotHeadMapper.xml +++ b/src/main/resources/mapper_xml/DepotHeadMapper.xml @@ -1,5 +1,5 @@ - - + + - - - - + + + + + + - id, type, name, value, description + id, company_name, company_contacts, company_address, company_tel, company_fax, company_post_code \ No newline at end of file diff --git a/src/test/resources/generatorConfig.xml b/src/test/resources/generatorConfig.xml index 78241a6a..9cba9eca 100644 --- a/src/test/resources/generatorConfig.xml +++ b/src/test/resources/generatorConfig.xml @@ -5,7 +5,7 @@ + location="E:\maven-repository\mysql\mysql-connector-java\5.1.47\mysql-connector-java-5.1.47.jar"/> @@ -59,12 +59,12 @@
-
+
-->
-
+ - +
+
-->