一对多主从案例

1.一对多主从案例

1.一对多主从

效果图
一对多主从案例

目录结构
目录结构1

1.1.html页面

1.1.html页面


<!-- - Author(s):java业务平台代码生成工具 - Date: 2018年07月12日 09点45分18秒 - Copyright Notice:版权声明 厦门吉联科技, 版权所有 违者必究 - @(#) - Description: businessType:,pageType:manage - <功能>主对象TestExam3201(TestExam3201)管理页面 - 文件名称: testExam3201Manage.html --> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="X-UA-Compatible" content="IE=Edge"> <title>TestExam3201管理页面</title> <link rel="stylesheet" href="/static/css/iconfont.css"/> <link rel="stylesheet" href="/static/css/controls.css"/> <link rel="stylesheet" href="/bower_components/bootstrap/css/bootstrap.min.css"/> <!-- <link rel="stylesheet" href="/resource/js/lib/bootstrap/css/bootstrap.min.css" /> --> <link rel="stylesheet" href="/resource/css/main.css" /> <link rel="stylesheet" href="/resource/css/custom.css" /> <script src="/bower_components/requirejs/require.js" data-main="/static/app.js" data-bootstrap-modules="['sample/test/testExam3201Manage']"></script> <style> [ng-cloak],[g-per] { display: none!important; } </style> </head> <body ng-controller="testExam3201Controller" g-dict="ReceiptType,ReceiptModel,PackingClass"class="showColor" style="min-width:inherit" on-finish-render> <div class="module" > <div class="container-fluid col-md-0 col-xs-0 col-sm-0 col-lg-0" > <form autocomplete="off" name="Form_F0_0_0" role="form" g-tabindex > <!-- 2d4ec524-0a9b-4ae2-8a87-b141b2abc2f6 -cellName:F0-0-0--> <div class="col-md-0 col-xs-0 col-sm-0 col-lg-0" > <div class="row" > <div class="col-md-3 col-xs-3 col-sm-3 col-lg-3" > <div class="form-group form-group-padding"> <label for="asnNo" class="col-md-4 col-xs-4 col-sm-4 col-lg-4 control-label" > 入库单号: </label> <div class="col-md-8 col-xs-8 col-sm-8 col-lg-8 "> <input id="search.asnNo" name="search.asnNo" class="input form-control" ng-model="search.asnNo" type="text" g-focus-select /> </div> </div> </div> <div class="col-md-3 col-xs-3 col-sm-3 col-lg-3" > <div class="form-group form-group-padding"> <label for="custNo" class="col-md-4 col-xs-4 col-sm-4 col-lg-4 control-label" > 客户订单号: </label> <div class="col-md-8 col-xs-8 col-sm-8 col-lg-8 "> <input id="search.custNo" name="search.custNo" class="input form-control" ng-model="search.custNo" type="text" g-focus-select /> </div> </div> </div> <div class="col-md-3 col-xs-3 col-sm-3 col-lg-3" > <div class="form-group form-group-padding"> <label for="custName" class="col-md-4 col-xs-4 col-sm-4 col-lg-4 control-label" > 货主名称: </label> <div class="col-md-8 col-xs-8 col-sm-8 col-lg-8 "> <input id="search.custName" name="search.custName" class="input form-control" ng-model="search.custName" type="text" g-focus-select /> </div> </div> </div> <div class="col-md-3 col-xs-3 col-sm-3 col-lg-3" > <div class="form-group form-group-padding"> <label for="receiptType" class="col-md-4 col-xs-4 col-sm-4 col-lg-4 control-label" > 入库单类型: </label> <div class="col-md-8 col-xs-8 col-sm-8 col-lg-8 "> <g-dropdown g-focus-select show-event="click" name="search.receiptType" placeholder="请选择" unmatch-remove="true" ng-model="search.receiptType" source="$dict.ReceiptType" display-express="value" value-prop="key" ></g-dropdown> </div> </div> </div> </div> <div class="row" > <div class="col-md-3 col-xs-3 col-sm-3 col-lg-3" > <div class="form-group form-group-padding"> <label for="arriveTime" class="col-md-4 col-xs-4 col-sm-4 col-lg-4 control-label" > 到货时间从: </label> <div class="col-md-8 col-xs-8 col-sm-8 col-lg-8 "> <g-date g-focus-select name="search.arriveTime.start" ng-model="search.arriveTime.start" format="yyyy-MM-dd" after-select="checkDateRang('到货时间','search.arriveTime.start')" ></g-date> </div> </div> </div> <div class="col-md-3 col-xs-3 col-sm-3 col-lg-3" > <div class="form-group form-group-padding"> <label for="arriveTime" class="col-md-4 col-xs-4 col-sm-4 col-lg-4 control-label" > 到货时间到: </label> <div class="col-md-8 col-xs-8 col-sm-8 col-lg-8 "> <g-date g-focus-select name="search.arriveTime.end" ng-model="search.arriveTime.end" format="yyyy-MM-dd" after-select="checkDateRang('到货时间','search.arriveTime.end')" ></g-date> </div> </div> </div> </div> </div> </Form> <div class="row" > <div class="col-md-12 col-xs-12 col-sm-12 col-lg-12"> <div class="col-md-0 col-xs-0 col-sm-0 col-lg-0" > <div id="groupFilter" style="display:none"> <button id="testExam3201.queryConditon" type="button" class="button-default" ng-click="queryConditon(groupFilter)" ng-repeat="groupFilter in groupFilters" >{{groupFilter.filterTitle}}<span class="badge">{{groupFilter.totalNum}}</span> </button> </div> </div> </div> </div> <div class="row" > <div class="col-md-12 col-xs-12 col-sm-12 col-lg-12"> <div class="col-md-0 col-xs-0 col-sm-0 col-lg-0" > <button id="testExam3201.queryTestExam3201" type="button" ng-click="queryTestExam3201()" g-per="/testExam3201/query" ng-class="button-blue" class="button-blue" > 查询 </button> <button id="testExam3201.reset" type="button" ng-click="reset()" g-per="/testExam3201/query" ng-class="button-default" class="button-default" > <i class="iconbt-reset"></i> 重置 </button> <button id="testExam3201.addTestExam3201" type="button" ng-click="addTestExam3201()" g-per="/html/sample/test/testExam3201Add.html" ng-class="button-primary" class="button-primary" > 新增 </button> <button id="testExam3201.deleteTestExam3201s" type="button" ng-click="deleteTestExam3201s()" g-per="/testExam3201/deletes" ng-show="(testExam3201.isPartDelivery=='N')" class="button-primary" > 批量删除 </button> <button id="testExam3201.saveOrUpdates" type="button" ng-click="saveOrUpdates()" g-per="/testExam3201/saveOrUpdates" ng-class="button-primary" class="button-primary" > 批量保存 </button> <button id="testExam3201.openShopTestExam3201" type="button" ng-click="openShopTestExam3201()" g-per="/testExam3201/openShop" ng-class="button-primary" class="button-primary" > 购物车<span class="badge">{{ssn}}</span> </button> <button id="testExam3201.uploadFileTestExam3201" type="button" ng-click="uploadFileTestExam3201()" g-per="/testExam3201/uploadFile" ng-class="button-primary" class="button-primary" > 下载模板 </button> <g-import-excel key="TestExam3201" show-waiting-dialog="true" g-per="/testExam3201/importTestExam3201Data" callback="importCallbackTestExam3201(response)" import_url="{{$config.ctx}}/import/excel?" display-express="导入ExcelExcel" css-class="button-primary-div" ></g-import-excel> <button id="testExam3201.exportExcelTestExam3201" type="button" ng-click="exportExcelTestExam3201()" g-per="/testExam3201/exportTestExam3201Data" ng-class="button-primary" class="button-primary" > 导出Excel </button> </div> </div> </div> <div class="row" > <div class="col-md-12 col-xs-12 col-sm-12 col-lg-12"> <div class="col-md-0 col-xs-0 col-sm-0 col-lg-0" > <g-data-source data-source-name="TestExam3201SourceExport" page="true" url="{{$config.ctx }}/testExam3201/query?gridKey=86527b4c-2769-4b91-b283-fa47db50483e_0" params="queryTestExam3201ParamsExport" page-size-param="pageSize" page-size="10" current-page-param="currentPage" total-record-prop="total" records-prop="testExam3201s" allow-auto-load="false"> </g-data-source> <g-data-source data-source-name="TestExam3201Source" page="true" url="{{$config.ctx }}/testExam3201/query?gridKey=86527b4c-2769-4b91-b283-fa47db50483e_0" params="queryTestExam3201Params" page-size-param="pageSize" page-size="10" current-page-param="currentPage" total-record-prop="total" records-prop="testExam3201s" allow-auto-load="false" before-load="dataSourceBeforeLoad" after-load="dataSourceAfterLoad"> </g-data-source> <g-data-grid ng-cloak data-source-name="TestExam3201Source" tbody-height="200px" lazy-render-layout="false" lazy="false" col-settings-key="TestExam3201Grid" data-validator-name="TestExam3201_Default" new-row-func="addTestExam3201" g-item-class=" { 'redGridStyleExpress':row.receiptType == '1' ,' blueGridStyleExpress':row.receiptType=='2' } " on-before-select="beforeSelectedTestExam3201($event, record ,grid)" on-load-success="loadSuccessTestExam3201Grid(grid,source)" on-check="testExam3201ManageOnCheck($event,record,isChecked)" on-render="initTestExam3201Grid(grid)" selected-row="testExam3201SelectedRow" drag-check="true" checked-rows="testExam3201CheckedRows"> <g-checkbox-column></g-checkbox-column> <g-column cell-align="left" width="150" data="asnNo" filter="text" > 入库单号 <g-column-tmpl> <span title="{{row.asnNo}}" > {{row.asnNo}} </span> </g-column-tmpl> </g-column> <g-column cell-align="left" width="150" data="custNo" filter="text" > 客户订单号 <g-column-editor> <input g-focus-select class="input form-control" ng-model="row.custNo" type="text" name="testExam3201.custNo" id="testExam3201.custNo" /> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="custName" filter="text" > 货主名称 <g-column-editor> <input g-focus-select class="input form-control" ng-model="row.custName" type="text" name="testExam3201.custName" id="testExam3201.custName" /> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="arriveTime | date:'yyyy-MM-dd' | limitTo:10" filter="text" > 到货时间 <g-column-filter> <g-date g-focus-select format="yyyy-MM-dd"></g-date> </g-column-filter> <g-column-editor> <g-date g-focus-select ng-model="row.arriveTime" format="yyyy-MM-dd" name="testExam3201.arriveTime" id="testExam3201.arriveTime" ></g-date> </g-column-editor> </g-column> <g-column cell-align="center" width="150" data="isPartDelivery" > 分批到货 <g-column-filter> <input style="vertical-align:middle;margin-right:4px;" type="checkbox" ng-true-value="Y" ng-false-value="N" /> </g-column-filter> <g-column-tmpl> <div class="form-group check"> <input ng-change="_changEvnt(row);" id="isPartDelivery_${{rowIndex}}" style="vertical-align:middle;margin-right:4px;" type="checkbox" ng-model="row.isPartDelivery" ng-true-value="Y" ng-false-value="N" name="testExam3201.isPartDelivery" id="testExam3201.isPartDelivery" /> </div> </g-column-tmpl> </g-column> <g-column cell-align="left" width="150" data="receiptType | ReceiptType" > 入库单类型 <g-column-filter> <g-dropdown g-focus-select show-event="click" unmatch-remove="true" placeholder="请选择" source="$parent.$dict.ReceiptType" display-express="value" value-prop="key" > </g-dropdown> </g-column-filter> <g-column-editor> <g-dropdown g-focus-select show-event="click" ng-model="row.receiptType" unmatch-remove="true" placeholder="请选择" source="$dict.ReceiptType" name="testExam3201.receiptType" id="testExam3201.receiptType" display-express="value" value-prop="key" > </g-dropdown> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="receiveTime | date:'yyyy-MM-dd' | limitTo:10" filter="text" > 开始收货时间 <g-column-filter> <g-date g-focus-select format="yyyy-MM-dd"></g-date> </g-column-filter> <g-column-editor> <g-date g-focus-select ng-model="row.receiveTime" format="yyyy-MM-dd" name="testExam3201.receiveTime" id="testExam3201.receiveTime" ></g-date> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="isEnableReceive" filter="text" > 允许收货 <g-column-editor> <input g-focus-select class="input form-control" ng-model="row.isEnableReceive" type="text" name="testExam3201.isEnableReceive" id="testExam3201.isEnableReceive" /> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="receiptMethod | ReceiptModel" g-item-class=" { 'greenGridStyleExpress':row.receiptMethod=='A' ,' brownGridStyleExpress':row.receiptMethod=='B' } " > 收货方式 <g-column-filter> <g-dropdown g-focus-select show-event="click" unmatch-remove="true" placeholder="请选择" source="$parent.$dict.ReceiptModel" display-express="value" value-prop="key" > </g-dropdown> </g-column-filter> <g-column-editor> <g-dropdown g-focus-select show-event="click" ng-model="row.receiptMethod" unmatch-remove="true" placeholder="请选择" source="$dict.ReceiptModel" name="testExam3201.receiptMethod" id="testExam3201.receiptMethod" display-express="value" value-prop="key" > </g-dropdown> </g-column-editor> </g-column> <g-column hidden data="testExam3201Id" > 主键 <g-column-editor> <input ng-model="row.testExam3201Id" type="text" name="testExam3201.testExam3201Id" /> </g-column-editor> </g-column> </g-data-grid> <g-pagination-navi source-name="TestExam3201Source" refreshable="false"></g-pagination-navi> <g-pagination-size page-size-list="5,10,20,30,50" source-name="TestExam3201Source"></g-pagination-size> </div> </div> </div> <div class="row" > <div class="col-md-12 col-xs-12 col-sm-12 col-lg-12"> <div class="col-md-0 col-xs-0 col-sm-0 col-lg-0" > <button id="testExam3201Detail.addTestExam3201Detail" type="button" ng-click="addTestExam3201Detail()" g-per="/html/sample/test/testExam3201DetailAdd.html" ng-class="button-primary" class="button-primary" > 新增 </button> <button id="testExam3201Detail.deleteTestExam3201Details" type="button" ng-click="deleteTestExam3201Details()" g-per="/testExam3201Detail/deletes" class="button-primary" > 批量删除 </button> </div> </div> </div> <div class="row" > <div class="col-md-12 col-xs-12 col-sm-12 col-lg-12"> <div class="col-md-0 col-xs-0 col-sm-0 col-lg-0" > <g-data-source data-source-name="TestExam3201DetailSource" page="true" url="{{$config.ctx }}/testExam3201Detail/query?gridKey=1c68083c-971d-4572-98f6-e36404fee529_0" params="queryTestExam3201DetailParams" page-size-param="pageSize" page-size="10" current-page-param="currentPage" total-record-prop="total" records-prop="testExam3201Details" allow-auto-load="true" before-load="dataSourceBeforeLoad" after-load="dataSourceAfterLoad"> </g-data-source> <g-data-grid ng-cloak data-source-name="TestExam3201DetailSource" tbody-height="200px" lazy-render-layout="false" lazy="false" data-validator-name="TestExam3201Detail_Default" new-row-func="addTestExam3201Detail" on-before-select="beforeSelectedTestExam3201Detail($event, record ,grid)" on-load-success="loadSuccessTestExam3201DetailGrid(grid,source)" on-render="initTestExam3201DetailGrid(grid)" selected-row="testExam3201DetailSelectedRow" drag-check="true" checked-rows="testExam3201DetailCheckedRows"> <g-checkbox-column></g-checkbox-column> <g-column cell-align="left" width="150" data="itemName" > 商品名称 <g-column-tmpl> {{row.itemName}} </g-column-tmpl> <g-column-editor> <g-data-source data-source-name="itemNameTestExam3201DetailGSource" page="true"url="{{$config.ctx}}/testExam3101/query" page-size-param="pageSize" params="queryItemNameTestExam3201DetailGParams" name="testExam3201Detail.itemId" current-page-param="currentPage" total-record-prop="total" records-prop="testExam3101s" allow-auto-load="false"> </g-data-source> <g-associate g-focus-select show-event="click" name="testExam3201Detail.itemName" unmatch-remove="true" space-clear="false" ng-cloak data-source-name="itemNameTestExam3201DetailGSource" selected-row="$editingScope.itemNameTestExam3201DetailGSelectedRow" keyword="$parent.search_TestExam3201Detail_itemName" on-select="" ng-model="row.itemId" display-init="row.itemName" value-prop="testExam3101Id" display-express="itemName" keyword-prop="itemName" > <g-associate-column display-express="itemCode" >商品代码</g-associate-column> <g-associate-column display-express="itemName" >商品名称</g-associate-column> <g-associate-column display-express="packingClass | PackingClass " >包装类别</g-associate-column> </g-associate> </g-column-editor> </g-column> <g-column data="itemIdAlias" hidden="true" > <g-column-editor> <input g-data-bind="$editingScope.itemNameTestExam3201DetailGSelectedRow" name="testExam3201Detail.itemName" value-prop="itemName" ng-model="row.itemName" /> </g-column-editor> </g-column> <g-column data="custNameAlias" hidden="true" > <g-column-editor> <input g-data-bind="$editingScope.itemNameTestExam3201DetailGSelectedRow" value-prop="itemName" ng-model="row.custName" /> </g-column-editor> </g-column> <g-column cell-align="right" width="150" data="planQty " > 计划数量 <g-column-editor> <input g-focus-select g-numeric allow-float="false" allow-negative="true" empty-zero="false" max-length="18" class="input form-control" ng-model="row.planQty" type="text" name="testExam3201Detail.planQty" id="testExam3201Detail.planQty" ng-blur="testExam3201Detail.openQty=testExam3201Detail.planQty*1-testExam3201Detail.receiveQty*1" /> </g-column-editor> </g-column> <g-column cell-align="right" width="150" data="receiveQty " > 已入库数量 <g-column-editor> <input g-focus-select g-numeric allow-float="false" allow-negative="true" empty-zero="false" max-length="18" class="input form-control" ng-model="row.receiveQty" type="text" name="testExam3201Detail.receiveQty" id="testExam3201Detail.receiveQty" ng-blur="testExam3201Detail.openQty=testExam3201Detail.planQty*1-testExam3201Detail.receiveQty*1" /> </g-column-editor> </g-column> <g-column cell-align="right" width="150" data="openQty" > 待入库数量 <g-column-tmpl> <span title="{{row.openQty}}" > {{row.openQty}} </span> </g-column-tmpl> </g-column> <g-column cell-align="left" width="150" data="custName" > 货主名称 <g-column-editor> <input g-focus-select class="input form-control" ng-model="row.custName" type="text" name="testExam3201Detail.custName" id="testExam3201Detail.custName" /> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="custOrderNo" > 客户订单编号 <g-column-editor> <input g-focus-select class="input form-control" ng-model="row.custOrderNo" type="text" name="testExam3201Detail.custOrderNo" id="testExam3201Detail.custOrderNo" /> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="manufactureDate | date:'yyyy-MM-dd' | limitTo:10" > 生产日期 <g-column-editor> <g-date g-focus-select ng-model="row.manufactureDate" format="yyyy-MM-dd" name="testExam3201Detail.manufactureDate" id="testExam3201Detail.manufactureDate" ></g-date> </g-column-editor> </g-column> <g-column cell-align="left" width="150" data="expirationDate | date:'yyyy-MM-dd' | limitTo:10" > 失效日期 <g-column-editor> <g-date g-focus-select ng-model="row.expirationDate" format="yyyy-MM-dd" name="testExam3201Detail.expirationDate" id="testExam3201Detail.expirationDate" ></g-date> </g-column-editor> </g-column> <g-column hidden data="testExam3201DetailId" > 主键 <g-column-editor> <input ng-model="row.testExam3201DetailId" type="text" name="testExam3201Detail.testExam3201DetailId" /> </g-column-editor> </g-column> <g-column hidden data="testExam3201Id" > 外键 <g-column-editor> <input ng-model="row.testExam3201Id" type="text" name="testExam3201Detail.testExam3201Id" /> </g-column-editor> </g-column> </g-data-grid> <g-pagination-navi source-name="TestExam3201DetailSource" refreshable="false"></g-pagination-navi> <g-pagination-size page-size-list="5,10,20,30,50" source-name="TestExam3201DetailSource"></g-pagination-size> </div> </div> </div> </div> </div> </body> </html>

1.2.入口JS

1.2.入口JS

/**
 * Author(s):java业务平台代码生成工具
 * Date: 2018年07月12日 09点45分16秒
 * Copyright Notice:版权声明  厦门吉联科技, 版权所有 违者必究
 * @(#)
 * Description:   businessType:,pageType:manage
 * <功能>主对象TestExam3201(TestExam3201)管理页面JS
 * 文件名称: testExam3201Manage.js
 */


define([
  'angular',
  'sample/test/testExam3201ManageCtrl', 'layer',
  'framework/datasource/DataSourceModule',
  'framework/dict/GillionDictModule',
  'framework/date/DateModule',
  'framework/time/TimeModule',
  'framework/associate/GillionAssociateModule',
  'framework/dropdown/GillionDropdownModule',
  'framework/dropdownbtn/GillionDropDownBtnModule',
  'framework/dataGrid/DataGridModule',
  'framework/pagination/GillionPaginationModule',
  'framework/exportexcel/GillionExportExcelModule',
  'framework/importexcel/GillionImportExcelModule',
  'framework/dynamic/dynamicForm',
  'service/RuleService',
  'collapsejs',
  'framework/msg/GillionMsgModule',
  'framework/clickbox/GillionClickBoxModule',
  'framework/grid/fixgrid'
], function(angular, testExam3201ManageCtrl, layer) {

  var module = angular.module('testExam3201Manage', ['DataSourceModule', 'GillionDictModule', 'DateModule', 'TimeModule', 'GillionAssociateModule', 'GillionDropdownModule', 'DataGridModule', 'GillionPaginationModule', 'GillionExportExcelModule', 'GillionImportExcelModule', 'dynamicForm', 'RuleService', 'GillionMsgModule', 'GillionClickBoxModule', 'GillionDropDownBtnModule']).controller('testExam3201Controller', function($scope, $rootScope, $compile, $q, $filter, $dataSource, $dataSourceManager, $http, $timeout, Params, Arrays, GillionMsgService, $exportExcelService, RuleService, GillionMsg, AssociatePromiseService) {

    var controller = new testExam3201ManageCtrl({
      rootScope: $rootScope,
      grid: true,
      form: true,
      scope: $scope,
      config: $config
    });
    controller.init();
  });

  getCommonDirective(module).YesOrNo().wrapNoneLeaf().onFinishRender(false, true);

  return module;
});

1.3.BsCtrl.js

1.3.BsCtrl.js



/** * ###########【本文件不允许修改,需要二次开发扩展请修改文件****Ctrl.js文件】################ * Author(s):java业务平台代码生成工具 * Date: 2018年07月12日 09点45分17秒 * Copyright Notice:版权声明 厦门吉联科技, 版权所有 违者必究 * @(#) * Description: businessType:,pageType:manage * <功能>主对象TestExam3201(TestExam3201)管理页面 base controller JS * 文件名称: testExam3201ManageBsCtrl.js */ define([ 'underscore', 'layer', 'main/BaseController', 'service/utils' ], function ( _, layer, BaseController) { var Controller = inherit(function (options) { BaseController.call(this, options); var _this = this, $scope = _this.scope, $config = _this.config, injector = angular.element(document).injector(), Params = injector.get("Params"), $rootScope = injector.get("$rootScope"), $dataSourceManager = injector.get("$dataSourceManager"), $http = injector.get("$http"), $q = injector.get("$q"), $timeout = injector.get("$timeout"), $compile = injector.get("$compile"), RuleService = injector.get("RuleService"), AssociatePromiseService = injector.get("AssociatePromiseService"), $exportExcelService = injector.get("$exportExcelService"), GillionMsg = injector.get("GillionMsg"), GillionMsgService = injector.get("GillionMsgService"), Arrays = injector.get("Arrays"); $scope.__initDefaultValueFlag = true; $scope.__initQueryDefaultValueFlag = true; $scope.__initGridDefaultValueFlag = true; $scope.formArrays = []; $scope.gridOptions = {}; $scope.gridArrays = []; $scope.gridArrays.push("testExam3201Detail"); $scope.gridOptions.settings = {scope: "$scope",grid: $scope.gridArrays}; _this.initPageState({ config:$config, pageType:"manage", boInsName:"testExam3201", isNewConfig:true, isTabPage:false },[ ]); /** * TODO GLPaaS生成 * */ $scope.__reloadCurentPage = function(modelName){ if($scope.reset && !modelName){$scope.reset();} if($scope.getTestExam3201 && (!modelName || modelName=="TestExam3201")) $scope.getTestExam3201($scope.testExam3201.testExam3201Id); var gridVerifyArr = [ { scope:"$scope" ,grid:["testExam3201"] ,resetValid:"G" }, { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"G" ,reset:true ,callback:"getTestExam3201DetailPages" } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); if($scope.getTestExam3201DetailPages && (!modelName || modelName=="TestExam3201Detail")) $scope.getTestExam3201DetailPages(); }; $scope.isLoading = false; //是否载入中 //manage $scope.search = {}; $scope.searchMode="0"; $scope.$$oldsearchMode = $scope.searchMode; //B //testExam3201 13 $scope.testExam3201 = { testExam3201Id : Params.testExam3201Id, }; $scope.search = {}; $scope.search.asnNo=null; $scope.search.custNo=null; $scope.search.custName=null; $scope.search.receiptType=null; $scope.search.arriveTime = {}; //$scope.search.arriveTime.type = "D"; $scope.search.arriveTime.start=null; $scope.search.arriveTime.end=null; /** * TODO GLPaaS生成 * 重置 */ $scope.reset = function() { $scope.search = {}; $scope.search.asnNo=null; $scope.search.custNo=null; $scope.search.custName=null; $scope.search.receiptType=null; $scope.search.arriveTime = {}; //$scope.search.arriveTime.type = "D"; $scope.search.arriveTime.start=null; $scope.search.arriveTime.end=null; //接收参数 if($scope.initQueryDefaultValue && $scope.__initQueryDefaultValueFlag) $scope.initQueryDefaultValue(); $scope.initFocus && $scope.initFocus(); }; /** * TODO GLPaaS生成 * 根据主键取值 */ $scope.getTestExam3201 = function(testExam3201Id){ var param = {}; param.testExam3201Id = testExam3201Id || ""; param.cascade = false; var tip = layer.load(0, {shade: false}); $http.get($config.ctx + '/testExam3201/getTestExam3201',{params:param}).success(function(data){ layer.close(tip); if (data.success != undefined && data.success == true) { $scope.testExam3201 = data.testExam3201; if(data.testExam3201.testExam3201Details){ $scope.testExam3201Details.splice(0,$scope.testExam3201Details.length); Arrays.pushAll(data.testExam3201.testExam3201Details,$scope.testExam3201Details); } if($scope.workFlowTaskId) { $scope.testExam3201.workFlowTaskId = $scope.workFlowTaskId; } var processState = $scope.testExam3201.processState; if(!processState){ processState = Params.processState; $scope.testExam3201.processState = processState; } if(processState && $scope.isEntryProcess==false) $scope.isSubmited = true ; $scope.initAcceptParams && $scope.initAcceptParams(); if($scope._pageState) $scope._pageState.resetDataState(); $timeout(function() { $rootScope.$broadcast('pageRenderFinish'); },1); } }).error(function(){ layer.close(tip); }); }; /** * TODO GLPaaS生成 * 查询 */ $scope.queryTestExam3201 = function() { if($scope.Form_F0_0_0 && $scope.Form_F0_0_0.$validator){ $scope.Form_F0_0_0.verify(); } if($scope.Form_F0_0_0 && !$scope.Form_F0_0_0.$valid){ return; } $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); if($scope._pageState._dataState == $config.dataState.MODIFY){ GillionMsg.confirm(null, "是否保存编辑的数据?", function (btn) { if (btn) { } else { $scope.testExam3201Grid.$$currentSelKey = undefined; $scope.testExam3201s = []; $scope._pageState._dataState = $config.dataState.NORMAL; $scope.queryTestExam3201(); } }); return; } if($scope.testExam3201Grid.formController){ var $validator = $scope.testExam3201Grid.formController.$validator; $validator.disable(); $validator.reset(); } $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); if($scope.testExam3201Grid.formController){ $validator.enable(); } $scope.testExam3201Grid._reset(); var gridVerifyArr = [ { scope:"$scope" ,grid:["testExam3201"] ,resetValid:"G" }, { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"G" ,reset:true } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); $scope.testExam3201Grid._clearFilter(null, true, function() { $scope.getTestExam3201Pages(); }); $scope.testExam3201Grid.$$currentSelKey = undefined; if($scope._pageState) $scope._pageState.resetDataState(); }; $scope.newTestExam3201GridId = -9223372036; /** * TODO GLPaaS生成 * 新增TestExam3201 */ $scope.addTestExam3201 = function() { $scope.__testExam3201ButtonEvent = true; if($scope.testExam3201Grid && $scope.testExam3201Grid.formController && $scope.testExam3201Grid.formController.verify){ $scope.testExam3201Grid.formController.verify(); } if($scope.testExam3201Grid && $scope.testExam3201Grid.formController && $scope.testExam3201Grid.formController.$valid==false) return ; $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); //0 TestExam3201 var newRow = { isPartDelivery:'N', testExam3201Id : $scope.newTestExam3201GridId++, rowStatus : 4 }; //表格单号规则处理代码 var defaultParams =[]; defaultParams.push({ut:'01',ivt:'-1',dv:'',field:'TestExam3201_asnNo',boName:'TestExam3201'}); _this.initGridDefaultValueCommon(_this,$http,"add",defaultParams,function(){ newRow.asnNo = $scope.$$gridDefaultValue.testExam3201_asnNo; $scope.testExam3201DataSource.totalRecord=$scope.testExam3201DataSource.totalRecord+1; }); var addRowIndex = $config.gridAddRowPos === 'bottom' ? $scope.testExam3201s.length : 0; if($scope.testExam3201Grid.changeDataSourced) $scope.testExam3201Grid.changeDataSourced = false; $scope.testExam3201 = newRow; $scope.testExam3201Grid.$$added=true; if($config.gridAddRowPos === 'bottom'){ $scope.testExam3201s.push(newRow); } else { $scope.testExam3201s.unshift(newRow); } flag = false; var gridVerifyArr = [ { scope:"$scope" ,grid:["testExam3201"] ,resetValid:"G" }, { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"E" ,reset:true } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); if($scope._pageState && $scope._pageState.setDataStateModify) $scope._pageState.setDataStateModify(); }; /** * TODO GLPaaS生成 * 批量删除TestExam3201 */ $scope.deleteTestExam3201s = function(){ var ids = Arrays.extract($scope.testExam3201CheckedRows, 'testExam3201Id').join(','); if(ids.length == 0){ GillionMsg.alert("提示","请选择要删除的记录!"); return; } GillionMsg.confirm(null,'确认删除?',function(btn) { if (btn) { if($scope.testExam3201Grid.formController){ var $validator = $scope.testExam3201Grid.formController.$validator; $validator.disable(); $validator.reset(); } if($scope.testExam3201Grid.formController){ $validator.enable(); } $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); $http.post($config.ctx + '/testExam3201/deletes',{ids : ids}).success(function(data){ if (data.success != undefined && data.success == true) { $scope.getTestExam3201Pages(); if($scope._pageState) $scope._pageState.resetDataState(); var gridVerifyArr = [ { scope:"$scope" ,grid:["testExam3201"] ,resetValid:"G" }, { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"E" ,reset:true } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); GillionMsg.alert("提示", data.msg); $timeout(function(){ if($scope._pageState) $scope._pageState.resetDataState(); }); } }); } }); }; /** * TODO GLPaaS生成 * 批量保存 TestExam3201 */ $scope.saveOrUpdates = function(){ AssociatePromiseService.callback(function(){ var gridRequiresPromises = []; if($scope.testExam3201Grid && $scope.testExam3201Grid.tbody.rows[0]){ var testExam3201RequiresPromise = $scope.testExam3201Grid.verifySourceRequires(); gridRequiresPromises.push(testExam3201RequiresPromise); } if(gridRequiresPromises && gridRequiresPromises.length>0) { $q.all(gridRequiresPromises).then(function() { callback(); })['catch'](function (result){ console.log("数据经验未通过!"); })['finally'](function(result){ console.log("执行表格非空经验."); }); } else { callback(); } var callback = function(){ //callback if($scope.testExam3201Grid && $scope.testExam3201Grid.formController && $scope.testExam3201Grid.formController.verify){ $scope.testExam3201Grid.formController.verify(); } if($scope.testExam3201Grid && $scope.testExam3201Grid.formController && $scope.testExam3201Grid.formController.$valid==false) return ; $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); var gridVerifyArr = [ { scope:"$scope" ,grid:["testExam3201"] ,resetValid:"G" }, { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"G" } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); for(var i=0;i<$scope.testExam3201s.length;i++) { if($scope.testExam3201DetailGrid && $scope.testExam3201DetailGrid.formController && $scope.testExam3201DetailGrid.formController.$valid==false) return ; if($scope.testExam3201.testExam3201Id&&$scope.testExam3201s[i].testExam3201Id&&$scope.testExam3201.testExam3201Id==$scope.testExam3201s[i].testExam3201Id){ $scope.testExam3201s[i].testExam3201Details=$scope.testExam3201Details; } if(!$scope.testExam3201s[i].testExam3201Details) $scope.testExam3201s[i].testExam3201Details=[]; if($scope&&$scope.testExam3201DetailDeleteds) $scope.testExam3201s[i].testExam3201Details.concat($scope.testExam3201DetailDeleteds); } var param = $scope.testExam3201s.concat($scope.testExam3201Deleteds); $http.post($config.ctx + '/testExam3201/saveOrUpdates',param).success(function(data){ if (data.success != undefined && data.success == true){ $scope.getTestExam3201Pages(); $scope.testExam3201s = data.testExam3201s; $scope.perTestExam3201s = data.testExam3201s; $scope.testExam3201Grid._reset(); $scope.testExam3201Deleteds=[]; if($scope._pageState) $scope._pageState.resetDataState(); var gridVerifyArr = [ { scope:"$scope" ,grid:["testExam3201"] ,resetValid:"G" }, { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"G" ,reset:true } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); GillionMsg.alert("提示", data.msg); } }).error(function(){ }); } //end callback }); }; var $$openShop = false ; /** * TODO GLPaaS生成 * 购物车TestExam3201 TOOLBAR */ $scope.openShopTestExam3201 = function() { var html = Arrays.extract(checkRows, 'testExam3201Id').join(','); $$openShop = true ; $scope.search.checkedId = html; $scope.testExam3201Grid._clearFilter(null, true, function() { $scope.getTestExam3201Pages(function(){ $scope.search.checkedId = ""; }); }); }; /** * TODO GLPaaS生成 ddd * 下载模板TestExam3201 TOOLBAR */ $scope.uploadFileTestExam3201 = function(){ var param = {}; window.location.href=$config.ctx + "/uploadFiles/local/TestExam3101Template.xlsx"; }; $scope.importCallbackTestExam3201= function (response){ if(response.success){ RuleService.callBack($scope)(eval('('+response.data+')')); }else{ GillionMsg.alert("提示", response.errorMessages[0],function(){},{maxHeight:400}); } console.log(response); } //导出Excel /** * TODO GLPaaS生成 * */ $scope.exportExcelTestExam3201 = function(){ var key = ["TestExam3201","0", "86527b4c-2769-4b91-b283-fa47db50483e_0"]; /** * TODO GLPaaS生成 * 参数1 : 导出数据源名称(动态) * 参数2 : POI设置的ID(动态) * 参数3 : 是否导出所有页 * 参数4 : 导出服务的请求地址(固定) */ $exportExcelService.exportBackData('TestExam3201SourceExport', key, 'true', $config.ctx + '/export/excel',null,function(data){ if(!data.success){ GillionMsg.alert("提示", data.errorMessages[0],function(){},{maxHeight:400}); } }); }; $scope.testExam3201 = {}; $scope.testExam3201s = []; $scope.perTestExam3201s = []; $scope.testExam3201Deleteds = []; /** * TODO GLPaaS生成 * */ $scope.$on('TestExam3201Source',function(context,dataSource){ if(dataSource.records != undefined){ $scope.testExam3201s = dataSource.records ; $scope.perTestExam3201s = angular.copy(dataSource.records) ; } //$scope.tableTestExam3201EditStatus=false; }); /** * TODO GLPaaS生成 * TestExam3201Source */ $dataSourceManager.getDataSource('TestExam3201Source').then(function(dataSource){ $scope.testExam3201DataSource = dataSource; $scope.getTestExam3201Pages = function () { var grid = $scope.testExam3201Grid; if(grid) grid._reset(); dataSource.doRequestData(1, null, function() { },null); }; if(Params.searchParams){ $scope.search=JSON.parse(Params.searchParams); $scope.queryTestExam3201(); } }); /** * TODO GLPaaS生成 */ $scope.$watchCollection('testExam3201s', function(){ if($scope.testExam3201DataSource){ $scope.testExam3201DataSource.records = $scope.testExam3201s; $scope.testExam3201DataSource.totalRecord = $scope.testExam3201DataSource.records.length; if(!$scope.testExam3201DataSource.totalPage) $scope.testExam3201DataSource.totalPage = 1; var checkRowTempIndex =[]; if($scope.testExam3201Grid.scope.checkedRows && $scope.testExam3201Grid.scope.checkedRows.length >0){ angular.forEach($scope.testExam3201Grid.scope.checkedRows,function(row,index){ var rowIndexTemp = _.findIndex($scope.testExam3201DataSource.records,row); checkRowTempIndex.push(rowIndexTemp); }); } $dataSourceManager.$rootScope.$broadcast("TestExam3201Source", $scope.testExam3201DataSource); if(checkRowTempIndex && checkRowTempIndex.length > 0){ angular.forEach(checkRowTempIndex,function(dataIndex,index){ var row = $scope.testExam3201DataSource.records[dataIndex]; var checked = Arrays.exists($scope.testExam3201Grid.scope.checkedRows, row); if (!checked) { $scope.testExam3201Grid.scope.checkedRows.push(row); } }); checkRowIndex=[]; } } }); /** * TODO GLPaaS生成 * */ $scope.beforeSelectedTestExam3201 = function($event, record ,grid){ var $target = angular.element($event.target); var $row = $target.closest('tr'); var innerRowIndex = $row[0].rowIndex; $scope.testExam3201CurRow = $row.scope(); if($scope.testExam3201Grid && $scope.testExam3201Grid.formController && $scope.testExam3201Grid.formController.$valid==false) return ; if(record.rowStatus && record.rowStatus == 2 ){ //record.rowStatus = 16; } $scope.testExam3201 = record; var gridVerifyArr = [ { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"G" ,reset:true } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); if(record.testExam3201Details && $scope.testExam3201Details){ if($scope.testExam3201DetailGrid && $scope.testExam3201DetailGrid.changeDataSourced) $scope.testExam3201DetailGrid.changeDataSourced = false; for(var i=0; i<record.testExam3201Details.length; i++){ if(record.testExam3201Details[i].rowStatus && record.testExam3201Details[i].rowStatus == 8) continue; $scope.testExam3201Details.push(record.testExam3201Details[i]); } } var rowIndex = innerRowIndex || Arrays.indexOf($scope.testExam3201s, $scope.testExam3201); $scope.testExam3201.$$rowIndex = rowIndex ; var editIndex = grid.__editingRowIndex; if(editIndex == innerRowIndex) return true; $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); if($target[0].parentNode.childNodes.length === 1 || editIndex !== innerRowIndex){ $scope.testExam3201PrimaryKey($target, record, grid); } grid.startEdit(innerRowIndex); //table edit cell focus() var $editor = $target.closest('td').find('[data-role="editor"]'); $input = $editor.find(':input'); var disabled = false; if ($input.prop('disabled') || $input.prop('readonly')) { disabled = true; } if(!!($editor.length) && !disabled){ if($input.length){ $input[0].focus(); setTimeout(function() { $input[0].select(); }, 10); } }else{ $input = $row.find('[data-role="editor"]').first().find(':input'); if($input.length){ $input[0].focus(); setTimeout(function() { $input[0].select(); }, 10); } } grid.$$currentSelKey = record.testExam3201Id; }; /** * TODO GLPaaS生成 * */ $scope.testExam3201PrimaryKey = function($target, row, grid){ } /** * 选中行事件 */ var checkRows = []; $scope.ssn = 0; /** * TODO GLPaaS生成 * */ $scope.testExam3201ManageOnCheck= function($event,record,isChecked){ if(isChecked){ var idss = Arrays.exists($scope.testExam3201CheckedRows,record); if (idss){ var isExistRecord = false; angular.forEach(checkRows,function(item){ if(item.testExam3201Id==record.testExam3201Id){ isExistRecord = true; } }); if (!isExistRecord){ checkRows.push(record); } } }else{ Arrays.remove(checkRows,record); angular.forEach(checkRows,function(item){ if(item.testExam3201Id==record.testExam3201Id) Arrays.remove(checkRows,item); }); } $scope.ssn = checkRows.length; } /** * TODO GLPaaS生成 * */ $scope.queryTestExam3201ParamsExport = function(){ $dataSourceManager.dataSources['TestExam3201SourceExport'].sortName = $dataSourceManager.dataSources['TestExam3201Source'].sortName ; $dataSourceManager.dataSources['TestExam3201SourceExport'].sortDirection = $dataSourceManager.dataSources['TestExam3201Source'].sortDirection ; //说明手功选中记录导出 if(!$scope.paramResult) $scope.paramResult = $scope.queryTestExam3201Params(); $scope.paramResult.columnFilter=JSON.stringify($scope.testExam3201Grid.getColumnDropFilters(),function(k,v){ if(k !="" && _.isArray(v)){ angular.forEach(v,function(data,index){ if (data === undefined) { data = null; } }); } return v; }); var ids = Arrays.extract($scope.testExam3201CheckedRows, 'testExam3201Id').join(','); if(ids.length > 0){ $scope.paramResult.ids = ids; $scope.paramResult.flag = "S"; //selected recode }else{ $scope.paramResult.flag = "A"; //all recode } return $scope.paramResult; } /** * TODO GLPaaS生成 * */ $scope.queryTestExam3201Params = function() { var searchColumns = []; if ($scope.searchMode == '0') { if($scope.search.asnNo){ searchColumns.push({ propertyName:'asnNo', columnName:'ASN_NO', dataType:'S', value:$scope.search.asnNo, operation:'LIKEIC' }); }; if($scope.search.custNo){ searchColumns.push({ propertyName:'custNo', columnName:'CUST_NO', dataType:'S', value:$scope.search.custNo, operation:'LIKEIC' }); }; if($scope.search.custName){ searchColumns.push({ propertyName:'custName', columnName:'CUST_NAME', dataType:'S', value:$scope.search.custName, operation:'LIKEIC' }); }; if($scope.search.receiptType){ searchColumns.push({ propertyName:'receiptType', columnName:'RECEIPT_TYPE', dataType:'S', value:$scope.search.receiptType, operation:'EQ' }); }; if($scope.search.arriveTime.start || $scope.search.arriveTime.end){ searchColumns.push({ propertyName:'arriveTime', columnName:'ARRIVE_TIME', dataType:'D', startValue:$scope.search.arriveTime.start, endValue:$scope.search.arriveTime.end, operation:'GELE' }); } } //TODO 选中项条件 //checkedId if(checkRows&&checkRows.length>0&&$scope.search.checkedId){ searchColumns.push({ propertyName:'testExam3201Id', columnName:'TEST_EXAM_3201_ID', dataType:'S', value:$scope.search.checkedId, operation:'IN' }); } //动态筛选 if(filterColumns){ for(var i=0;i<filterColumns.length;i++){ searchColumns.push(filterColumns[i]); } } var orderColumns = [] $scope.paramResult = {"searchColumns":searchColumns,"queryResultType":"page","sum":false , "orderColumns": orderColumns}; return $scope.paramResult; } /** * TODO GLPaaS生成 * initTestExam3201Grid */ $scope.initTestExam3201Grid = function(grid){ $scope.testExam3201Grid = grid; $scope.testExam3201Grid.$$added=false; if($scope._pageState) $scope._pageState.resetDataState(); }; /** * TODO GLPaaS生成 * */ $scope.loadSuccessTestExam3201Grid = function(grid,source){ if($scope.testExam3201Grid.$$added==true){ if(source && source.length>0){ $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); //var $$index = (source && source.length>0) ? source.length-1 : 0; //grid.startEdit($$index); $timeout(function () { var selectRowIndex = $config.gridAddRowPos === 'bottom' ? $scope.testExam3201s.length -1 : 0; $scope.testExam3201SelectedRow = source[selectRowIndex]; grid.startEdit(selectRowIndex); if(selectRowIndex!==0) grid.$gridBody.scrollTop($(grid.tbody).height()); }); var $element = grid.element; var $tr = $element.find('.grid-body').find('tr').eq(0); var firstInput = $tr.find('[data-role=editor]').find(':input')[0]; firstInput && firstInput.focus(); $scope.testExam3201PrimaryKey(angular.element(grid.tbody.rows[0].cells[0]), source[0], grid); //grid.formController.verify(); if(grid.formController && grid.formController.verify) $timeout(grid.formController.verify,100); $scope.testExam3201Grid.$$added=false; } } else { var innerRowIndex = 0; if(grid.tbody.rows[0]){ var record = source[0]; var $target = angular.element(grid.tbody.rows[0].cells[0]); var $row = $target.closest('tr'); if(record.rowStatus && record.rowStatus == 2){ //record.rowStatus = 16; } $scope.testExam3201 = record; //当查询成功或手动点下一页时需要把校验初使化 if(grid.formController){ var $validator = grid.formController.$validator; $validator.reset(); } var gridVerifyArr = [ { scope:"$scope" ,grid:["testExam3201"] ,resetValid:"G" }, { scope:"$scope" ,property:"testExam3201Details" ,grid:["testExam3201Detail"] ,loadOneToOneSubBoData:false ,resetValid:"G" ,reset:true } ]; _this.gridVerify({boName:"TestExam3201",scope:$scope,settings:gridVerifyArr}); if(record.testExam3201Details && $scope.testExam3201Details){ if($scope.testExam3201DetailGrid && $scope.testExam3201DetailGrid.changeDataSourced) $scope.testExam3201DetailGrid.changeDataSourced = false; for(var i=0; i<record.testExam3201Details.length; i++){ if(record.testExam3201Details[i].rowStatus && record.testExam3201Details[i].rowStatus == 8) continue; $scope.testExam3201Details.push(record.testExam3201Details[i]); } } var rowIndex = innerRowIndex || Arrays.indexOf($scope.testExam3201s,$scope.testExam3201); $scope.testExam3201.$$rowIndex = rowIndex ; var editIndex = grid.__editingRowIndex; if(editIndex == innerRowIndex) return true; $scope._finishEditGridWrap($scope.testExam3201Grid,$scope.testExam3201s,$scope); if(grid.formController){ grid.formController.$validator.enable(); } if($target[0].parentNode.childNodes.length === 1 || editIndex !== innerRowIndex){ $scope.testExam3201PrimaryKey($target, record, grid); } $scope.$$isAddEvent = $scope.testExam3201Grid.$$added; $timeout(function () { //$scope.testExam3201SelectedRow = record; //grid.startEdit(innerRowIndex); var $$currentSelKey = grid.$$currentSelKey; var $$hasSelectPrimaryKey = false; if(grid.$$currentSelKey && !$scope.$$isAddEvent){ angular.forEach(source,function(data,index){ if($$currentSelKey == data.testExam3201Id){ $scope.testExam3201SelectedRow = data; $$hasSelectPrimaryKey = true; } }); if(!$$hasSelectPrimaryKey){ $scope.testExam3201SelectedRow = record; } } else{ $scope.testExam3201SelectedRow = record; } }); angular.element(grid.tbody.rows[0]).attr("active",true); }else{ if($scope.testExam3201Details) $scope.testExam3201Details = []; } } for(var i=0;i<checkRows.length;i++){ var testExam3201Id = checkRows[i].testExam3201Id; for(var j=0;j<source.length;j++){ if(testExam3201Id==source[j].testExam3201Id){ $scope.testExam3201CheckedRows.push(source[j]); } } } if($scope.groupFilters&&groupFilterId){ angular.forEach($scope.groupFilters,function(item){ if(item.ipfFilterGroupId==groupFilterId) item.totalNum = $scope.testExam3201DataSource.totalRecord; }); groupFilterId= null; } }; //<!-- gridEditType="G" // isGridFilter X $scope.newTestExam3201DetailGridId = -9223372036; /** * TODO GLPaaS生成 * 新增订单明细表 */ $scope.addTestExam3201Detail = function() { $scope.__testExam3201DetailButtonEvent = true; if($scope.testExam3201DetailGrid && $scope.testExam3201DetailGrid.formController && $scope.testExam3201DetailGrid.formController.verify){ $scope.testExam3201DetailGrid.formController.verify(); } if($scope.testExam3201DetailGrid && $scope.testExam3201DetailGrid.formController && $scope.testExam3201DetailGrid.formController.$valid==false) return ; $scope._finishEditGridWrap($scope.testExam3201DetailGrid,$scope.testExam3201Details,$scope); //1 TestExam3201Detail var record = $scope.testExam3201SelectedRow; if(!record) { GillionMsg.alert("提示", "请选择【TestExam3201】数据。"); return; } if(!record.testExam3201Details) record.testExam3201Details = []; var newRow = { testExam3201Id : $scope.testExam3201.testExam3201Id, testExam3201DetailId : $scope.newTestExam3201DetailGridId++, rowStatus : 4 }; //表格单号规则处理代码 var defaultParams =[]; _this.initGridDefaultValueCommon(_this,$http,"add",defaultParams,function(){ $scope.testExam3201DetailDataSource.totalRecord=$scope.testExam3201DetailDataSource.totalRecord+1; }); var addRowIndex = $config.gridAddRowPos === 'bottom' ? $scope.testExam3201Details.length : 0; if($scope.testExam3201DetailGrid.changeDataSourced) $scope.testExam3201DetailGrid.changeDataSourced = false; $scope.testExam3201Detail = newRow; $scope.testExam3201DetailGrid.$$added=true; if($config.gridAddRowPos === 'bottom'){ $scope.testExam3201Details.push(newRow); } else { $scope.testExam3201Details.unshift(newRow); } record.testExam3201Details.push(newRow); flag = false; var gridVerifyArr = [ ]; _this.gridVerify({boName:"TestExam3201Detail",scope:$scope,settings:gridVerifyArr}); if($scope._pageState && $scope._pageState.setDataStateModify) $scope._pageState.setDataStateModify(); }; /** * TODO GLPaaS生成 * 批量删除订单明细表 */ $scope.deleteTestExam3201Details = function(){ var ids = Arrays.extract($scope.testExam3201DetailCheckedRows, 'testExam3201DetailId').join(','); if(ids.length == 0){ GillionMsg.alert("提示","请选择要删除的记录!"); return; } GillionMsg.confirm(null,'确认删除?',function(btn) { if (btn) { if($scope.testExam3201DetailGrid.formController){ var $validator = $scope.testExam3201DetailGrid.formController.$validator; $validator.disable(); $validator.reset(); } if($scope.testExam3201DetailGrid.formController){ $validator.enable(); } $scope._finishEditGridWrap($scope.testExam3201DetailGrid,$scope.testExam3201Details,$scope); for(var i=0; i<$scope.testExam3201Details.length; i++){ //TODO 选中行 $scope.testExam3201DetailGrid.scope.$checkedRows.length 笔数 for(var j=0; j<$scope.testExam3201DetailGrid.scope.$checkedRows.length; j++){ if($scope.testExam3201Details[i].testExam3201DetailId == $scope.testExam3201DetailGrid.scope.$checkedRows[j].testExam3201DetailId){ $scope.testExam3201Details[i].rowStatus = 8; $scope.testExam3201DetailDeleteds.push($scope.testExam3201Details[i]); $scope.testExam3201Details.splice(i,1); $scope.testExam3201DetailGrid.scope.$checkedRows.splice(j,1); i--; j--; break; } } } var gridVerifyArr = [ ]; _this.gridVerify({boName:"TestExam3201Detail",scope:$scope,settings:gridVerifyArr}); if(!$scope.$root.$$phase){ $scope.$apply(); } $http.post($config.ctx + '/testExam3201Detail/deletes',{ids : ids}).success(function(data){ if (data.success != undefined && data.success == true) { $scope.testExam3201DetailDeleteds = []; GillionMsg.alert("提示", data.msg); } }); } }); }; /** * TODO GLPaaS生成 * */ $scope.itemNameTestExam3201DetailGchangeRow = function(list,item,spilt){ angular.element(list.element).scope().row["itemId"] = item ?item["testExam3101Id"]: undefined;//2 angular.element(list.element).scope().row["custName"] = item ? item["itemName"]: undefined;//2 }; /** * TODO GLPaaS生成 */ $scope.$watch('testExam3201Detail.itemName', function(newVal){ if(!newVal) { $scope.testExam3201Detail.itemId = null; } }); $scope.testExam3201Detail = {}; $scope.testExam3201Details = []; $scope.perTestExam3201Details = []; $scope.testExam3201DetailDeleteds = []; /** * TODO GLPaaS生成 * */ $scope.$on('TestExam3201DetailSource',function(context,dataSource){ if(dataSource.records != undefined){ $scope.testExam3201Details = dataSource.records ; $scope.perTestExam3201Details = angular.copy(dataSource.records) ; } //$scope.tableTestExam3201DetailEditStatus=false; }); /** * TODO GLPaaS生成 * TestExam3201DetailSource */ $dataSourceManager.getDataSource('TestExam3201DetailSource').then(function(dataSource){ $scope.testExam3201DetailDataSource = dataSource; $scope.getTestExam3201DetailPages = function () { var grid = $scope.testExam3201DetailGrid; if(grid) grid._reset(); dataSource.doRequestData(1, null, function() { },null); }; if(Params.searchParams){ $scope.search=JSON.parse(Params.searchParams); $scope.queryTestExam3201Detail(); } }); /** * TODO GLPaaS生成 */ $scope.$watchCollection('testExam3201Details', function(){ if($scope.testExam3201DetailDataSource){ $scope.testExam3201DetailDataSource.records = $scope.testExam3201Details; $scope.testExam3201DetailDataSource.totalRecord = $scope.testExam3201DetailDataSource.records.length; if(!$scope.testExam3201DetailDataSource.totalPage) $scope.testExam3201DetailDataSource.totalPage = 1; var checkRowTempIndex =[]; if($scope.testExam3201DetailGrid.scope.checkedRows && $scope.testExam3201DetailGrid.scope.checkedRows.length >0){ angular.forEach($scope.testExam3201DetailGrid.scope.checkedRows,function(row,index){ var rowIndexTemp = _.findIndex($scope.testExam3201DetailDataSource.records,row); checkRowTempIndex.push(rowIndexTemp); }); } $dataSourceManager.$rootScope.$broadcast("TestExam3201DetailSource", $scope.testExam3201DetailDataSource); if(checkRowTempIndex && checkRowTempIndex.length > 0){ angular.forEach(checkRowTempIndex,function(dataIndex,index){ var row = $scope.testExam3201DetailDataSource.records[dataIndex]; var checked = Arrays.exists($scope.testExam3201DetailGrid.scope.checkedRows, row); if (!checked) { $scope.testExam3201DetailGrid.scope.checkedRows.push(row); } }); checkRowIndex=[]; } } }); /** * TODO GLPaaS生成 * */ $scope.beforeSelectedTestExam3201Detail = function($event, record ,grid){ var $target = angular.element($event.target); var $row = $target.closest('tr'); var innerRowIndex = $row[0].rowIndex; $scope.testExam3201DetailCurRow = $row.scope(); if($scope.testExam3201DetailGrid && $scope.testExam3201DetailGrid.formController && $scope.testExam3201DetailGrid.formController.$valid==false) return ; if(record.rowStatus && record.rowStatus == 2 ){ //record.rowStatus = 16; } $scope.testExam3201Detail = record; var gridVerifyArr = [ ]; _this.gridVerify({boName:"TestExam3201Detail",scope:$scope,settings:gridVerifyArr}); var rowIndex = innerRowIndex || Arrays.indexOf($scope.testExam3201Details, $scope.testExam3201Detail); $scope.testExam3201Detail.$$rowIndex = rowIndex ; var editIndex = grid.__editingRowIndex; if(editIndex == innerRowIndex) return true; $scope._finishEditGridWrap($scope.testExam3201DetailGrid,$scope.testExam3201Details,$scope); if($target[0].parentNode.childNodes.length === 1 || editIndex !== innerRowIndex){ $scope.testExam3201DetailPrimaryKey($target, record, grid); } grid.startEdit(innerRowIndex); //table edit cell focus() var $editor = $target.closest('td').find('[data-role="editor"]'); $input = $editor.find(':input'); var disabled = false; if ($input.prop('disabled') || $input.prop('readonly')) { disabled = true; } if(!!($editor.length) && !disabled){ if($input.length){ $input[0].focus(); setTimeout(function() { $input[0].select(); }, 10); } }else{ $input = $row.find('[data-role="editor"]').first().find(':input'); if($input.length){ $input[0].focus(); setTimeout(function() { $input[0].select(); }, 10); } } grid.$$currentSelKey = record.testExam3201DetailId; }; /** * TODO GLPaaS生成 * */ $scope.testExam3201DetailPrimaryKey = function($target, row, grid){ } /** * TODO GLPaaS生成 * */ $scope.queryTestExam3201DetailParams = function() { var searchColumns = []; searchColumns.push({ propertyName:'testExam3201Id', columnName:'TEST_EXAM_3201_ID', dataType:'S', value:$scope.testExam3201.testExam3201Id || "", operation:'EQ' }); //动态筛选 if(filterColumns){ for(var i=0;i<filterColumns.length;i++){ searchColumns.push(filterColumns[i]); } } var orderColumns = [] return {"searchColumns":searchColumns,"queryResultType":"page","sum":false , "orderColumns": orderColumns}; } /** * TODO GLPaaS生成 * initTestExam3201DetailGrid */ $scope.initTestExam3201DetailGrid = function(grid){ $scope.testExam3201DetailGrid = grid; $scope.testExam3201DetailGrid.$$added=false; if($scope._pageState) $scope._pageState.resetDataState(); }; /** * TODO GLPaaS生成 * */ $scope.loadSuccessTestExam3201DetailGrid = function(grid,source){ if($scope.testExam3201DetailGrid.$$added==true){ if(source && source.length>0){ $scope._finishEditGridWrap($scope.testExam3201DetailGrid,$scope.testExam3201Details,$scope); //var $$index = (source && source.length>0) ? source.length-1 : 0; //grid.startEdit($$index); $timeout(function () { var selectRowIndex = $config.gridAddRowPos === 'bottom' ? $scope.testExam3201Details.length -1 : 0; $scope.testExam3201DetailSelectedRow = source[selectRowIndex]; grid.startEdit(selectRowIndex); if(selectRowIndex!==0) grid.$gridBody.scrollTop($(grid.tbody).height()); }); var $element = grid.element; var $tr = $element.find('.grid-body').find('tr').eq(0); var firstInput = $tr.find('[data-role=editor]').find(':input')[0]; firstInput && firstInput.focus(); $scope.testExam3201DetailPrimaryKey(angular.element(grid.tbody.rows[0].cells[0]), source[0], grid); //grid.formController.verify(); if(grid.formController && grid.formController.verify) $timeout(grid.formController.verify,100); $scope.testExam3201DetailGrid.$$added=false; } } else { var innerRowIndex = 0; if(grid.tbody.rows[0]){ var record = source[0]; var $target = angular.element(grid.tbody.rows[0].cells[0]); var $row = $target.closest('tr'); if(record.rowStatus && record.rowStatus == 2){ //record.rowStatus = 16; } $scope.testExam3201Detail = record; //当查询成功或手动点下一页时需要把校验初使化 if(grid.formController){ var $validator = grid.formController.$validator; $validator.reset(); } var gridVerifyArr = [ ]; _this.gridVerify({boName:"TestExam3201Detail",scope:$scope,settings:gridVerifyArr}); var rowIndex = innerRowIndex || Arrays.indexOf($scope.testExam3201Details,$scope.testExam3201Detail); $scope.testExam3201Detail.$$rowIndex = rowIndex ; var editIndex = grid.__editingRowIndex; if(editIndex == innerRowIndex) return true; $scope._finishEditGridWrap($scope.testExam3201DetailGrid,$scope.testExam3201Details,$scope); if(grid.formController){ grid.formController.$validator.enable(); } if($target[0].parentNode.childNodes.length === 1 || editIndex !== innerRowIndex){ $scope.testExam3201DetailPrimaryKey($target, record, grid); } $scope.$$isAddEvent = $scope.testExam3201DetailGrid.$$added; $timeout(function () { //$scope.testExam3201DetailSelectedRow = record; //grid.startEdit(innerRowIndex); var $$currentSelKey = grid.$$currentSelKey; var $$hasSelectPrimaryKey = false; if(grid.$$currentSelKey && !$scope.$$isAddEvent){ angular.forEach(source,function(data,index){ if($$currentSelKey == data.testExam3201DetailId){ $scope.testExam3201DetailSelectedRow = data; $$hasSelectPrimaryKey = true; } }); if(!$$hasSelectPrimaryKey){ $scope.testExam3201DetailSelectedRow = record; } } else{ $scope.testExam3201DetailSelectedRow = record; } }); angular.element(grid.tbody.rows[0]).attr("active",true); }else{ } } if($scope.groupFilters&&groupFilterId){ angular.forEach($scope.groupFilters,function(item){ if(item.ipfFilterGroupId==groupFilterId) item.totalNum = $scope.testExam3201DetailDataSource.totalRecord; }); groupFilterId= null; } }; //<!-- gridEditType="G" /** * TODO GLPaaS生成 * 查询参数拼装方法 * shlpName:ShIpTestExam3101 TestExam3101 */ $scope.queryItemNameTestExam3201DetailGParams = function() { var itemNameTestExam3201DetailGSource = $dataSourceManager.dataSources["itemNameTestExam3201DetailGSource"]; var searchColumns = []; if(itemNameTestExam3201DetailGSource && itemNameTestExam3201DetailGSource.$$keyword) { searchColumns.push({ propertyName:'itemCode', columnName:'ITEM_CODE', dataType:'S', junction:'or', value:itemNameTestExam3201DetailGSource.$$keyword , operation:'LIKEIC' }); } if(itemNameTestExam3201DetailGSource && itemNameTestExam3201DetailGSource.$$keyword) { searchColumns.push({ propertyName:'itemName', columnName:'ITEM_NAME', dataType:'S', junction:'or', value:itemNameTestExam3201DetailGSource.$$keyword , operation:'LIKEIC' }); } if(itemNameTestExam3201DetailGSource && itemNameTestExam3201DetailGSource.$$keyword) { searchColumns.push({ propertyName:'packingClass', columnName:'PACKING_CLASS', dataType:'S', junction:'or', value:itemNameTestExam3201DetailGSource.$$keyword , operation:'LIKEIC' }); } var sortColumns = []; return {"searchColumns":searchColumns,"sortColumns":sortColumns,"queryResultType":"page","sum":false}; }; //自定义JS方法 boName:TestExam3201 layoutBoName:TestExam3201Detail //自定义JS方法 boName:TestExam3201 layoutBoName:TestExam3201 //generatorBoExportAndImportJs haveOrGenTabPage: page:manage boName:TestExam3201 /**generatorSearchColumnDefaultValueJSNew **/ /** * TODO GLPaaS生成 * 初使值处理 */ $scope.initQueryDefaultValue = function(){ var param =[ {ut:'01',ivt:'-1',dv:'',field:'asnNo'} ]; if(param.length > 0){ $http.post($config.ctx + '/defaultValue/getDefaultValue',param).success(function(data){ if (data.success != undefined && data.success == true) { if(data.defaultValueInfos != undefined && data.defaultValueInfos != null){ $scope.search.asnNo = data.defaultValueInfos["asnNo"]; } } }); } } /** * TODO GLPaaS生成 * */ $scope.checkDateRang = function(txt,searchFlag){ RuleService._checkDateRang($scope,txt,searchFlag); } $scope.initLeftGridWidth = function(){ $timeout(function(){ }); } /** * TODO GLPaaS生成 * 动态加载组合筛选按钮 */ $scope.queryGroupFilter = function(){ var param = { baseViewId: Params.baseViewId, boName: "TestExam3201" }; var tip = layer.load(0, {shade: false}); $http.get($config.ctx + '/groupFilter/queryGroupFilter?gridKey=86527b4c-2769-4b91-b283-fa47db50483e_0',{params:param}).success(function(data){ layer.close(tip); if (data.success != undefined && data.success == true) { $scope.groupFilters = data.groupFilters; param = { groupFilters: data.groupFilters, gridKey:"86527b4c-2769-4b91-b283-fa47db50483e_0" }; $http.post($config.ctx + '/testExam3201/filterGroup2NumQuery', {params: param}).success(function (data) { if (data.success != undefined && data.success == true) { angular.forEach(data.resultList, function (obj1) { angular.forEach($scope.groupFilters, function (obj2) { if (obj2.ipfFilterGroupId == obj1.ipfFilterGroupId) { obj2.totalNum = obj1.totalNum; } }); }); } }); } }).error(function(data, status){ layer.close(tip); }); }; var filterColumns = []; var groupFilterId = null; var preFilterId = null; /** * TODO GLPaaS生成 * 组合筛选查询 */ $scope.queryConditon = function(groupFilter){ if(groupFilter) { if(preFilterId && preFilterId!=groupFilter.ipfFilterGroupId) { groupFilterId = groupFilter.ipfFilterGroupId; preFilterId = groupFilter.ipfFilterGroupId; } var filterObj = {}; if(groupFilter.filterGroupDetails&&groupFilter.filterGroupDetails.length>0) { angular.forEach(groupFilter.filterGroupDetails,function(item){ filterObj[item.propertyName] = item.filterValue; }); } if( $scope.testExam3201Grid.scope.filter ==undefined){ $scope.testExam3201Grid.scope.filter = {}; } $scope.testExam3201Grid.scope.filter=filterObj; } }; /** * TODO GLPaaS生成 * initDefaultValue */ $scope.initDefaultValue = function(){ var defaultParams = []; $scope.$$defaultValue = {}; if(defaultParams.length > 0){ $http.post($config.ctx + '/defaultValue/getDefaultValue',defaultParams).success(function(data){ if (data.success != undefined && data.success == true) { if(data.defaultValueInfos != undefined && data.defaultValueInfos != null){ angular.forEach(defaultParams,function(defaultParam,index){ var fieldProperty = defaultParam.field.charAt(0).toLocaleLowerCase()+defaultParam.field.substring(1); if(defaultParam.ut == '11') { $scope.$$defaultValue[fieldProperty] = data.defaultValueInfos[defaultParam.field].split(":")[0]; } else { $scope.$$defaultValue[fieldProperty] = data.defaultValueInfos[defaultParam.field]; } }); if($scope._pageState) $scope._pageState.resetDataState(); } } }); } }; $scope.defaultValueCallBack = function(){ }; $scope.$$gridDefaultValue = {}; /** * TODO GLPaaS生成 * boName:TestExam3201 */ $scope.initGridDefaultValue = function(){ var defaultParams =[]; if(defaultParams.length > 0){ $http.post($config.ctx + '/defaultValue/getDefaultValue',defaultParams).success(function(data){ if (data.success != undefined && data.success == true) { if(data.defaultValueInfos != undefined && data.defaultValueInfos != null){ angular.forEach(defaultParams,function(defaultParam,index){ var fieldProperty = defaultParam.field.charAt(0).toLocaleLowerCase()+defaultParam.field.substring(1); if(defaultParam.ut == '11') { $scope.$$gridDefaultValue[fieldProperty] = data.defaultValueInfos[defaultParam.field].split(":")[0]; } else { $scope.$$gridDefaultValue[fieldProperty] = data.defaultValueInfos[defaultParam.field]; } }); if($scope._pageState) $scope._pageState.resetDataState(); } } }); } }; /** * TODO GLPaaS生成 * 规则中调用或其它按钮调用刷新父窗口中的表格eg:objectName = LinjxBas,eg:LinjxBas2 */ $scope.refreshParent = function(objectName){ var indexScope = top.angular.element("body").scope(); var objectNames = objectName.split(","); angular.forEach(objectNames,function(data){ //2 = 弹出框刷新底层窗口 indexScope.refresh($scope.openType,data); }); }; /** * TODO GLPaaS生成 * 规则中调用或其它按钮调用刷新父窗口中的所有表格和form表单内容 */ $scope.refreshUperLayer = function(){ var indexScope = top.angular.element("body").scope(); indexScope.refreshUperLayer($scope.openType); } /** * TODO GLPaaS生成 * */ $scope.refreshCurrentPage = function(modelName){ if($scope.__reloadCurentPage){ $scope.__reloadCurentPage(modelName); } }; $scope.onBeforeColumnSortEvent = function(grid,col,sortName,sortDirection){ grid.select(0, col); } /** * TODO GLPaaS生成 * */ $scope.initAcceptParams = function(){ } /** * TODO GLPaaS生成 * */ $scope.initialize = function(){ if($scope.initDefaultValue && $scope.__initDefaultValueFlag) $scope.initDefaultValue(); if($scope.initQueryDefaultValue && $scope.__initQueryDefaultValueFlag) $scope.initQueryDefaultValue(); if($scope.initGridDefaultValue && $scope.__initGridDefaultValueFlag) $scope.initGridDefaultValue(); $scope.openType = Params.openType; $scope.pageType = "manage"; $scope.workFlowTaskId = Params.workFlowTaskId; if($scope.workFlowTaskId) $scope.isEntryProcess = true ; $scope.testExam3201.workFlowTaskId = $scope.workFlowTaskId; $scope.initAcceptParams && $scope.initAcceptParams(); if($scope.queryGroupFilter) { $scope.queryGroupFilter(); } if ($scope.customTestExam3201Init) { $scope.customTestExam3201Init(); } if($scope._pageState) $scope._pageState.resetDataState(); }; $scope.initialize(); }, BaseController); var Proto = Controller.prototype; return Controller; });

1.4.html页面

1.4.Ctrl.js


/** * ###########【本文件为用户二次开发文件,可在次文件添加修改自定义代码或覆盖BsCtrl.js中默认的方法实现,可修改但不能删除.】################ * Author(s):java业务平台代码生成工具 * Date: 2018年07月12日 09点45分18秒 * Copyright Notice:版权声明 厦门吉联科技, 版权所有 违者必究 * @(#) * Description: businessType:,pageType:manage * <功能>主对象TestExam3201(TestExam3201)管理页面 controller JS * 文件名称: testExam3201ManageCtrl.js */ define([ 'angular', 'underscore', 'sample/test/testExam3201ManageBsCtrl', 'service/utils' ], function (angular, _, testExam3201ManageBsCtrl) { var Controller = inherit(function (options) { testExam3201ManageBsCtrl.call(this, options); this.scope.customThree = function () { alert("请配置方法实现"); }; this.scope.controlOneTestSysStBooking = function (aa, bb, cc) { alert('dfd'); }; },testExam3201ManageBsCtrl); var Proto = Controller.prototype; return Controller; });

1.6.主表校验文件

1.5.主表校验文件


define({ rules: [{ min: 0, max: 200, property: "testExam3201.asnNo", ruleName: "richLength", message: "RichLength.testExam3201.asnNo" }, { min: 0, max: 200, property: "testExam3201.carrierName", ruleName: "richLength", message: "RichLength.testExam3201.carrierName" }, { min: 0, max: 50, property: "testExam3201.custCode", ruleName: "richLength", message: "RichLength.testExam3201.custCode" }, { min: 0, max: 50, property: "testExam3201.custId", ruleName: "richLength", message: "RichLength.testExam3201.custId" }, { min: 0, max: 200, property: "testExam3201.custName", ruleName: "richLength", message: "RichLength.testExam3201.custName" }, { min: 0, max: 200, property: "testExam3201.custNo", ruleName: "richLength", message: "RichLength.testExam3201.custNo" }, { min: 0, max: 200, property: "testExam3201.deadlineDate", ruleName: "richLength", message: "RichLength.testExam3201.deadlineDate" }, { min: 0, max: 50, property: "testExam3201.expectArriveTime", ruleName: "richLength", message: "RichLength.testExam3201.expectArriveTime" }, { min: 0, max: 50, property: "testExam3201.processState", ruleName: "richLength", message: "RichLength.testExam3201.processState" }, { min: 0, max: 1000, property: "testExam3201.receiptDesc", ruleName: "richLength", message: "RichLength.testExam3201.receiptDesc" }, { min: 0, max: 50, property: "testExam3201.receiptMethod", ruleName: "richLength", message: "RichLength.testExam3201.receiptMethod" }, { min: 0, max: 50, property: "testExam3201.receiptModel", ruleName: "richLength", message: "RichLength.testExam3201.receiptModel" }, { min: 0, max: 50, property: "testExam3201.receiptOrderNo", ruleName: "richLength", message: "RichLength.testExam3201.receiptOrderNo" }, { min: 0, max: 50, property: "testExam3201.receiptStatus", ruleName: "richLength", message: "RichLength.testExam3201.receiptStatus" }, { min: 0, max: 50, property: "testExam3201.receiptType", ruleName: "richLength", message: "RichLength.testExam3201.receiptType" }, { min: 0, max: 50, property: "testExam3201.receivePersonName", ruleName: "richLength", message: "RichLength.testExam3201.receivePersonName" }, { than: "GREATER_EQ", property: "testExam3201.receiveTime", ruleName: "compare", listenProperties: ["testExam3201.receiveTime", "testExam3201.arriveTime"], compareTo: "testExam3201.arriveTime", message: "Compare.testExam3201.receiveTime" }, { property: "testExam3201.receiveTime", ruleName: "notGreaterCurDate", message: "NotGreaterCurDate.testExam3201.receiveTime" }, { min: 0, max: 1000, property: "testExam3201.remark", ruleName: "richLength", message: "RichLength.testExam3201.remark" }, { min: 0, max: 50, property: "testExam3201.vendorId", ruleName: "richLength", message: "RichLength.testExam3201.vendorId" }, { min: 0, max: 200, property: "testExam3201.vendorName", ruleName: "richLength", message: "RichLength.testExam3201.vendorName" }, { min: 0, max: 50, property: "testExam3201.warehouseOfficeId", ruleName: "richLength", message: "RichLength.testExam3201.warehouseOfficeId" }, { min: 0, max: 50, property: "testExam3201.wmsInbAsnId", ruleName: "richLength", message: "RichLength.testExam3201.wmsInbAsnId" }] });

1.6.主表校验提示信息

1.6.主表校验提示信息

define({
    "root": {
        "Compare.testExam3201.receiveTime": "【开始收货时间】必须大于等于【到货时间】",
        "NotGreaterCurDate.testExam3201.receiveTime": "【开始收货时间】不得大于当前日期",
        "RichLength.testExam3201.asnNo": "【入库单号】长度必须小于等于200",
        "RichLength.testExam3201.carrierName": "【承运商名】长度必须小于等于200",
        "RichLength.testExam3201.custCode": "【货主代码】长度必须小于等于50",
        "RichLength.testExam3201.custId": "【货主ID】长度必须小于等于50",
        "RichLength.testExam3201.custName": "【货主名称】长度必须小于等于200",
        "RichLength.testExam3201.custNo": "【客户订单号】长度必须小于等于200",
        "RichLength.testExam3201.deadlineDate": "【最后收货期限】长度必须小于等于200",
        "RichLength.testExam3201.expectArriveTime": "【预计到货时间】长度必须小于等于50",
        "RichLength.testExam3201.processState": "【工作流状态】长度必须小于等于50",
        "RichLength.testExam3201.receiptDesc": "【收货方式描述】长度必须小于等于1,000",
        "RichLength.testExam3201.receiptMethod": "【收货方式】长度必须小于等于50",
        "RichLength.testExam3201.receiptModel": "【收货模式】长度必须小于等于50",
        "RichLength.testExam3201.receiptOrderNo": "【入库单编号】长度必须小于等于50",
        "RichLength.testExam3201.receiptStatus": "【入库单状态】长度必须小于等于50",
        "RichLength.testExam3201.receiptType": "【入库单类型】长度必须小于等于50",
        "RichLength.testExam3201.receivePersonName": "【收货人】长度必须小于等于50",
        "RichLength.testExam3201.remark": "【备注】长度必须小于等于1,000",
        "RichLength.testExam3201.vendorId": "【供应商ID】长度必须小于等于50",
        "RichLength.testExam3201.vendorName": "【供应商名称】长度必须小于等于200",
        "RichLength.testExam3201.warehouseOfficeId": "【仓库】长度必须小于等于50",
        "RichLength.testExam3201.wmsInbAsnId": "【入库计划ID】长度必须小于等于50"
    }
});

1.7.子表校验信息

1.7.子表校验信息

define({
    rules: [{
        min: 0,
        max: 200,
        property: "testExam3201Detail.asnDetailNo",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.asnDetailNo"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.barCode",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.barCode"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.custCode",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.custCode"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.custId",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.custId"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.custItemCode",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.custItemCode"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.custName",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.custName"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.custOrderNo",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.custOrderNo"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.damageQty",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.damageQty"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.expectInvStsDesc",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.expectInvStsDesc"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.expirationDate",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.expirationDate"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.itemCode",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.itemCode"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.itemId",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.itemId"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.itemName",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.itemName"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.itemQuality",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.itemQuality"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.itemUom",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.itemUom"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr01",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr01"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr02",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr02"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr03",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr03"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr04",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr04"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr05",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr05"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr06",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr06"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr07",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr07"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr08",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr08"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr09",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr09"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr10",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr10"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr11",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr11"
    }, {
        min: 0,
        max: 200,
        property: "testExam3201Detail.lotAttr12",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotAttr12"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.lotNo",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.lotNo"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.manufactureDate",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.manufactureDate"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.receiptOrderNo",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.receiptOrderNo"
    }, {
        min: 0,
        max: 1000,
        property: "testExam3201Detail.remark",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.remark"
    }, {
        min: 0,
        max: 50,
        property: "testExam3201Detail.warehouseOfficeId",
        ruleName: "richLength",
        message: "RichLength.testExam3201Detail.warehouseOfficeId"
    }]
});

1.8.子表校验提示信息

1.8.子表校验提示信息

define({
    "root": {
        "RichLength.testExam3201Detail.asnDetailNo": "【ASN明细编号】长度必须小于等于200",
        "RichLength.testExam3201Detail.barCode": "【商品条码】长度必须小于等于50",
        "RichLength.testExam3201Detail.custCode": "【货主代码】长度必须小于等于50",
        "RichLength.testExam3201Detail.custId": "【货主ID】长度必须小于等于50",
        "RichLength.testExam3201Detail.custItemCode": "【货主商品编码】长度必须小于等于50",
        "RichLength.testExam3201Detail.custName": "【货主名称】长度必须小于等于200",
        "RichLength.testExam3201Detail.custOrderNo": "【客户订单编号】长度必须小于等于200",
        "RichLength.testExam3201Detail.damageQty": "【残次品数量】长度必须小于等于200",
        "RichLength.testExam3201Detail.expectInvStsDesc": "【预期库存状态名称】长度必须小于等于200",
        "RichLength.testExam3201Detail.expirationDate": "【失效日期】长度必须小于等于50",
        "RichLength.testExam3201Detail.itemCode": "【商品代码】长度必须小于等于50",
        "RichLength.testExam3201Detail.itemId": "【商品】长度必须小于等于50",
        "RichLength.testExam3201Detail.itemName": "【商品名称】长度必须小于等于200",
        "RichLength.testExam3201Detail.itemQuality": "【商品品质】长度必须小于等于50",
        "RichLength.testExam3201Detail.itemUom": "【件数单位】长度必须小于等于50",
        "RichLength.testExam3201Detail.lotAttr01": "【批次属性01】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr02": "【批次属性02】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr03": "【批次属性03】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr04": "【批次属性04】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr05": "【批次属性05】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr06": "【批次属性06】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr07": "【批次属性07】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr08": "【批次属性08】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr09": "【批次属性09】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr10": "【批次属性10】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr11": "【批次属性11】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotAttr12": "【批次属性12】长度必须小于等于200",
        "RichLength.testExam3201Detail.lotNo": "【批次号】长度必须小于等于50",
        "RichLength.testExam3201Detail.manufactureDate": "【生产日期】长度必须小于等于50",
        "RichLength.testExam3201Detail.receiptOrderNo": "【入库单编号】长度必须小于等于50",
        "RichLength.testExam3201Detail.remark": "【备注】长度必须小于等于1,000",
        "RichLength.testExam3201Detail.warehouseOfficeId": "【仓库】长度必须小于等于50"
    }
});

1.9.主表实体类

1.9.主表实体类

/*
 * @(#)TestExam3201.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分16秒
 *  描 述:创建
 */

package com.gillion.sample.test.domain;
import java.util.Set;
import java.util.Map;
import java.util.List;

import javax.validation.Valid;
import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.gillion.platform.framework.core.domain.BaseObject;
import com.gillion.platform.utils.DateUtils;
import com.gillion.platform.serialize.DateTimeString;
import com.gillion.platform.serialize.DateString;

import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.bo.service.impl.BusinessObjectService;
import com.gillion.platform.framework.component.rtm.domain.DynamicForm;
import java.math.BigDecimal;
import com.gillion.platform.serialize.DateString;
import com.gillion.platform.serialize.DateTimeString;
import com.gillion.platform.serialize.YearMonthString;
import com.gfa4j.validation.annotation.Compare;
import com.gfa4j.validation.annotation.RichLength;
import com.gillion.platform.validation.annotation.NotGreaterCurDate;
import com.gillion.sample.test.domain.TestExam3201Detail;

/**
 * <pre>
 * TestExam3201(TestExam3201)实体类
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@Entity
@Table(name = "TEST_EXAM_3201")
//@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@SuppressWarnings("all")
@JsonIgnoreProperties
@Compare(property="receiveTime", compareTo="arriveTime", than = Compare.Than.GREATER_EQ, groups={TestExam3201.Default.class})
public class TestExam3201 extends BaseObject
{
    /** The field serialVersionUID **/
    private static final long serialVersionUID = 1L;
    /** 总箱数 */
    public final static String ACTUALCASEQTY = "ACTUAL_CASE_QTY";
    /** 到货时间 */
    public final static String ARRIVETIME = "ARRIVE_TIME";
    /** 入库单号 */
    public final static String ASNNO = "ASN_NO";
    /** 取消时间 */
    public final static String CANCELTIME = "CANCEL_TIME";
    /** 承运商名 */
    public final static String CARRIERNAME = "CARRIER_NAME";
    /** 关闭时间 */
    public final static String CLOSETIME = "CLOSE_TIME";
    /** 创建人所属组织 */
    public final static String CREATEOFFICE = "CREATE_OFFICE";
    /** 创建人时区 */
    public final static String CREATETIMEZONE = "CREATE_TIME_ZONE";
    /** 货主代码 */
    public final static String CUSTCODE = "CUST_CODE";
    /** 货主ID */
    public final static String CUSTID = "CUST_ID";
    /** 货主名称 */
    public final static String CUSTNAME = "CUST_NAME";
    /** 客户订单号 */
    public final static String CUSTNO = "CUST_NO";
    /** 最后收货期限 */
    public final static String DEADLINEDATE = "DEADLINE_DATE";
    /** 预计到货时间 */
    public final static String EXPECTARRIVETIME = "EXPECT_ARRIVE_TIME";
    /** 允许收货 */
    public final static String ISENABLERECEIVE = "IS_ENABLE_RECEIVE";
    /** 分批到货 */
    public final static String ISPARTDELIVERY = "IS_PART_DELIVERY";
    /** 最后修改人所属组织 */
    public final static String LASTMODIFYOFFICE = "LAST_MODIFY_OFFICE";
    /** 最后修改人时区 */
    public final static String LASTMODIFYTIMEZONE = "LAST_MODIFY_TIME_ZONE";
    /** 云服务分组代码 */
    public final static String PRINCIPALGROUPCODE = "PRINCIPAL_GROUP_CODE";
    /** 优先级 */
    public final static String PRIORITY = "PRIORITY";
    /** 工作流状态 */
    public final static String PROCESSSTATE = "PROCESS_STATE";
    /** 收货方式描述 */
    public final static String RECEIPTDESC = "RECEIPT_DESC";
    /** 收货方式 */
    public final static String RECEIPTMETHOD = "RECEIPT_METHOD";
    /** 收货模式 */
    public final static String RECEIPTMODEL = "RECEIPT_MODEL";
    /** 入库单编号 */
    public final static String RECEIPTORDERNO = "RECEIPT_ORDER_NO";
    /** 入库单状态 */
    public final static String RECEIPTSTATUS = "RECEIPT_STATUS";
    /** 入库单类型 */
    public final static String RECEIPTTYPE = "RECEIPT_TYPE";
    /** 收货人 */
    public final static String RECEIVEPERSONNAME = "RECEIVE_PERSON_NAME";
    /** 开始收货时间 */
    public final static String RECEIVETIME = "RECEIVE_TIME";
    /** 备注 */
    public final static String REMARK = "REMARK";
    /** 总SKU数 */
    public final static String SKUCOUNT = "SKU_COUNT";
    /** 订单明细表 */
    public final static String TESTEXAM3201DETAILS = "";
    /** 入库单ID */
    public final static String TESTEXAM3201ID = "TEST_EXAM_3201_ID";
    /** 总数量 */
    public final static String TOTALPLANQTY = "TOTAL_PLAN_QTY";
    /** 供应商ID */
    public final static String VENDORID = "VENDOR_ID";
    /** 供应商名称 */
    public final static String VENDORNAME = "VENDOR_NAME";
    /** 仓库 */
    public final static String WAREHOUSEOFFICEID = "WAREHOUSE_OFFICE_ID";
    /** 入库计划ID */
    public final static String WMSINBASNID = "WMS_INB_ASN_ID";
    /** The Class Default 默认分组*/
    public interface Default{};
    //fields
    /** 总箱数 */
    @Column(name="ACTUAL_CASE_QTY",nullable = true,precision=12,scale=3,length=12)
    private BigDecimal actualCaseQty;

    /** 到货时间 */
    @Column(name="ARRIVE_TIME",nullable = true,length=200)
    @DateString
    private String arriveTime;

    /** 入库单号 */
    @Column(name="ASN_NO",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String asnNo;

    /** 取消时间 */
    @Column(name="CANCEL_TIME",nullable = true,length=200)
    @DateTimeString
    private String cancelTime;

    /** 承运商名 */
    @Column(name="CARRIER_NAME",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String carrierName;

    /** 关闭时间 */
    @Column(name="CLOSE_TIME",nullable = true,length=200)
    @YearMonthString
    private String closeTime;



    /** 货主代码 */
    @Column(name="CUST_CODE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String custCode;

    /** 货主ID */
    @Column(name="CUST_ID",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String custId;

    /** 货主名称 */
    @Column(name="CUST_NAME",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String custName;

    /** 客户订单号 */
    @Column(name="CUST_NO",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String custNo;

    /** 最后收货期限 */
    @Column(name="DEADLINE_DATE",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String deadlineDate;

    /** 预计到货时间 */
    @Column(name="EXPECT_ARRIVE_TIME",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String expectArriveTime;

    /** 允许收货 */
    @Column(name="IS_ENABLE_RECEIVE",nullable = true,length=1)
    private String isEnableReceive;

    /** 分批到货 */
    @Column(name="IS_PART_DELIVERY",nullable = true,length=1)
    private String isPartDelivery;




    /** 优先级 */
    @Column(name="PRIORITY",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal priority;

    /** 工作流状态 */
    @Column(name="PROCESS_STATE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String processState;

    /** 收货方式描述 */
    @Column(name="RECEIPT_DESC",nullable = true,length=1000)
    @RichLength(max=1000,min=0,groups={Default.class})
    private String receiptDesc;

    /** 收货方式 */
    @Column(name="RECEIPT_METHOD",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String receiptMethod;

    /** 收货模式 */
    @Column(name="RECEIPT_MODEL",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String receiptModel;

    /** 入库单编号 */
    @Column(name="RECEIPT_ORDER_NO",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String receiptOrderNo;

    /** 入库单状态 */
    @Column(name="RECEIPT_STATUS",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String receiptStatus;

    /** 入库单类型 */
    @Column(name="RECEIPT_TYPE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String receiptType;

    /** 收货人 */
    @Column(name="RECEIVE_PERSON_NAME",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String receivePersonName;

    /** 开始收货时间 */
    @Column(name="RECEIVE_TIME",nullable = true,length=50)
    @DateTimeString
    @NotGreaterCurDate(groups={Default.class})
    private String receiveTime;

    /** 备注 */
    @Column(name="REMARK",nullable = true,length=1000)
    @RichLength(max=1000,min=0,groups={Default.class})
    private String remark;

    /** 总SKU数 */
    @Column(name="SKU_COUNT",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal skuCount;

    /** 订单明细表 */
    @JsonManagedReference
    @Valid
    private Set<TestExam3201Detail> testExam3201Details;

    /** 入库单ID */
    @Id
    @GeneratedValue(generator = "idGenerator")
    @Column(name="TEST_EXAM_3201_ID",nullable = false,length=50)
    private String testExam3201Id;

    /** 总数量 */
    @Column(name="TOTAL_PLAN_QTY",nullable = true,precision=18,scale=4,length=18)
    private BigDecimal totalPlanQty;

    /** 供应商ID */
    @Column(name="VENDOR_ID",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String vendorId;

    /** 供应商名称 */
    @Column(name="VENDOR_NAME",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String vendorName;

    /** 仓库 */
    @Column(name="WAREHOUSE_OFFICE_ID",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String warehouseOfficeId;

    /** 入库计划ID */
    @Column(name="WMS_INB_ASN_ID",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String wmsInbAsnId;


    /**
     * 功能描述:
     *    获得总箱数
     * @return 总箱数 : BigDecimal
     */
    public BigDecimal getActualCaseQty()
    {
        return this.actualCaseQty;
    }

    /**
     * 功能描述:
     *    设置总箱数
     * @param actualCaseQty : BigDecimal
     */
    public void setActualCaseQty(BigDecimal actualCaseQty)
    {
        this.actualCaseQty = actualCaseQty;
    }


    /**
     * 功能描述:
     *    获得到货时间
     * @return 到货时间 : String
     */
    public String getArriveTime()
    {
        return this.arriveTime;
    }

    /**
     * 功能描述:
     *    设置到货时间
     * @param arriveTime : String
     */
    public void setArriveTime(String arriveTime)
    {
        this.arriveTime = arriveTime;
    }


    /**
     * 功能描述:
     *    获得入库单号
     * @return 入库单号 : String
     */
    public String getAsnNo()
    {
        return this.asnNo;
    }

    /**
     * 功能描述:
     *    设置入库单号
     * @param asnNo : String
     */
    public void setAsnNo(String asnNo)
    {
        this.asnNo = asnNo;
    }


    /**
     * 功能描述:
     *    获得取消时间
     * @return 取消时间 : String
     */
    public String getCancelTime()
    {
        return this.cancelTime;
    }

    /**
     * 功能描述:
     *    设置取消时间
     * @param cancelTime : String
     */
    public void setCancelTime(String cancelTime)
    {
        this.cancelTime = cancelTime;
    }


    /**
     * 功能描述:
     *    获得承运商名
     * @return 承运商名 : String
     */
    public String getCarrierName()
    {
        return this.carrierName;
    }

    /**
     * 功能描述:
     *    设置承运商名
     * @param carrierName : String
     */
    public void setCarrierName(String carrierName)
    {
        this.carrierName = carrierName;
    }


    /**
     * 功能描述:
     *    获得关闭时间
     * @return 关闭时间 : String
     */
    public String getCloseTime()
    {
        return this.closeTime;
    }

    /**
     * 功能描述:
     *    设置关闭时间
     * @param closeTime : String
     */
    public void setCloseTime(String closeTime)
    {
        this.closeTime = closeTime;
    }


    /**
     * 功能描述:
     *    获得货主代码
     * @return 货主代码 : String
     */
    public String getCustCode()
    {
        return this.custCode;
    }

    /**
     * 功能描述:
     *    设置货主代码
     * @param custCode : String
     */
    public void setCustCode(String custCode)
    {
        this.custCode = custCode;
    }


    /**
     * 功能描述:
     *    获得货主ID
     * @return 货主ID : String
     */
    public String getCustId()
    {
        return this.custId;
    }

    /**
     * 功能描述:
     *    设置货主ID
     * @param custId : String
     */
    public void setCustId(String custId)
    {
        this.custId = custId;
    }


    /**
     * 功能描述:
     *    获得货主名称
     * @return 货主名称 : String
     */
    public String getCustName()
    {
        return this.custName;
    }

    /**
     * 功能描述:
     *    设置货主名称
     * @param custName : String
     */
    public void setCustName(String custName)
    {
        this.custName = custName;
    }


    /**
     * 功能描述:
     *    获得客户订单号
     * @return 客户订单号 : String
     */
    public String getCustNo()
    {
        return this.custNo;
    }

    /**
     * 功能描述:
     *    设置客户订单号
     * @param custNo : String
     */
    public void setCustNo(String custNo)
    {
        this.custNo = custNo;
    }


    /**
     * 功能描述:
     *    获得最后收货期限
     * @return 最后收货期限 : String
     */
    public String getDeadlineDate()
    {
        return this.deadlineDate;
    }

    /**
     * 功能描述:
     *    设置最后收货期限
     * @param deadlineDate : String
     */
    public void setDeadlineDate(String deadlineDate)
    {
        this.deadlineDate = deadlineDate;
    }


    /**
     * 功能描述:
     *    获得预计到货时间
     * @return 预计到货时间 : String
     */
    public String getExpectArriveTime()
    {
        return this.expectArriveTime;
    }

    /**
     * 功能描述:
     *    设置预计到货时间
     * @param expectArriveTime : String
     */
    public void setExpectArriveTime(String expectArriveTime)
    {
        this.expectArriveTime = expectArriveTime;
    }


    /**
     * 功能描述:
     *    获得允许收货
     * @return 允许收货 : String
     */
    public String getIsEnableReceive()
    {
        return this.isEnableReceive;
    }

    /**
     * 功能描述:
     *    设置允许收货
     * @param isEnableReceive : String
     */
    public void setIsEnableReceive(String isEnableReceive)
    {
        this.isEnableReceive = isEnableReceive;
    }


    /**
     * 功能描述:
     *    获得分批到货
     * @return 分批到货 : String
     */
    public String getIsPartDelivery()
    {
        return this.isPartDelivery;
    }

    /**
     * 功能描述:
     *    设置分批到货
     * @param isPartDelivery : String
     */
    public void setIsPartDelivery(String isPartDelivery)
    {
        this.isPartDelivery = isPartDelivery;
    }


    /**
     * 功能描述:
     *    获得优先级
     * @return 优先级 : BigDecimal
     */
    public BigDecimal getPriority()
    {
        return this.priority;
    }

    /**
     * 功能描述:
     *    设置优先级
     * @param priority : BigDecimal
     */
    public void setPriority(BigDecimal priority)
    {
        this.priority = priority;
    }


    /**
     * 功能描述:
     *    获得工作流状态
     * @return 工作流状态 : String
     */
    public String getProcessState()
    {
        return this.processState;
    }

    /**
     * 功能描述:
     *    设置工作流状态
     * @param processState : String
     */
    public void setProcessState(String processState)
    {
        this.processState = processState;
    }


    /**
     * 功能描述:
     *    获得收货方式描述
     * @return 收货方式描述 : String
     */
    public String getReceiptDesc()
    {
        return this.receiptDesc;
    }

    /**
     * 功能描述:
     *    设置收货方式描述
     * @param receiptDesc : String
     */
    public void setReceiptDesc(String receiptDesc)
    {
        this.receiptDesc = receiptDesc;
    }


    /**
     * 功能描述:
     *    获得收货方式
     * @return 收货方式 : String
     */
    public String getReceiptMethod()
    {
        return this.receiptMethod;
    }

    /**
     * 功能描述:
     *    设置收货方式
     * @param receiptMethod : String
     */
    public void setReceiptMethod(String receiptMethod)
    {
        this.receiptMethod = receiptMethod;
    }


    /**
     * 功能描述:
     *    获得收货模式
     * @return 收货模式 : String
     */
    public String getReceiptModel()
    {
        return this.receiptModel;
    }

    /**
     * 功能描述:
     *    设置收货模式
     * @param receiptModel : String
     */
    public void setReceiptModel(String receiptModel)
    {
        this.receiptModel = receiptModel;
    }


    /**
     * 功能描述:
     *    获得入库单编号
     * @return 入库单编号 : String
     */
    public String getReceiptOrderNo()
    {
        return this.receiptOrderNo;
    }

    /**
     * 功能描述:
     *    设置入库单编号
     * @param receiptOrderNo : String
     */
    public void setReceiptOrderNo(String receiptOrderNo)
    {
        this.receiptOrderNo = receiptOrderNo;
    }


    /**
     * 功能描述:
     *    获得入库单状态
     * @return 入库单状态 : String
     */
    public String getReceiptStatus()
    {
        return this.receiptStatus;
    }

    /**
     * 功能描述:
     *    设置入库单状态
     * @param receiptStatus : String
     */
    public void setReceiptStatus(String receiptStatus)
    {
        this.receiptStatus = receiptStatus;
    }


    /**
     * 功能描述:
     *    获得入库单类型
     * @return 入库单类型 : String
     */
    public String getReceiptType()
    {
        return this.receiptType;
    }

    /**
     * 功能描述:
     *    设置入库单类型
     * @param receiptType : String
     */
    public void setReceiptType(String receiptType)
    {
        this.receiptType = receiptType;
    }


    /**
     * 功能描述:
     *    获得收货人
     * @return 收货人 : String
     */
    public String getReceivePersonName()
    {
        return this.receivePersonName;
    }

    /**
     * 功能描述:
     *    设置收货人
     * @param receivePersonName : String
     */
    public void setReceivePersonName(String receivePersonName)
    {
        this.receivePersonName = receivePersonName;
    }


    /**
     * 功能描述:
     *    获得开始收货时间
     * @return 开始收货时间 : String
     */
    public String getReceiveTime()
    {
        return this.receiveTime;
    }

    /**
     * 功能描述:
     *    设置开始收货时间
     * @param receiveTime : String
     */
    public void setReceiveTime(String receiveTime)
    {
        this.receiveTime = receiveTime;
    }


    /**
     * 功能描述:
     *    获得备注
     * @return 备注 : String
     */
    public String getRemark()
    {
        return this.remark;
    }

    /**
     * 功能描述:
     *    设置备注
     * @param remark : String
     */
    public void setRemark(String remark)
    {
        this.remark = remark;
    }


    /**
     * 功能描述:
     *    获得总SKU数
     * @return 总SKU数 : BigDecimal
     */
    public BigDecimal getSkuCount()
    {
        return this.skuCount;
    }

    /**
     * 功能描述:
     *    设置总SKU数
     * @param skuCount : BigDecimal
     */
    public void setSkuCount(BigDecimal skuCount)
    {
        this.skuCount = skuCount;
    }


    /**
     * 功能描述:
     *    获得订单明细表
     * @return 订单明细表 : Set<TestExam3201Detail>
     */
    public Set<TestExam3201Detail> getTestExam3201Details()
    {
        return this.testExam3201Details;
    }

    /**
     * 功能描述:
     *    设置订单明细表
     * @param testExam3201Details : Set<TestExam3201Detail>
     */
    public void setTestExam3201Details(Set<TestExam3201Detail> testExam3201Details)
    {
        this.testExam3201Details = testExam3201Details;
    }


    /**
     * 功能描述:
     *    获得入库单ID
     * @return 入库单ID : String
     */
    public String getTestExam3201Id()
    {
        return this.testExam3201Id;
    }

    /**
     * 功能描述:
     *    设置入库单ID
     * @param testExam3201Id : String
     */
    public void setTestExam3201Id(String testExam3201Id)
    {
        this.testExam3201Id = testExam3201Id;
    }


    /**
     * 功能描述:
     *    获得总数量
     * @return 总数量 : BigDecimal
     */
    public BigDecimal getTotalPlanQty()
    {
        return this.totalPlanQty;
    }

    /**
     * 功能描述:
     *    设置总数量
     * @param totalPlanQty : BigDecimal
     */
    public void setTotalPlanQty(BigDecimal totalPlanQty)
    {
        this.totalPlanQty = totalPlanQty;
    }


    /**
     * 功能描述:
     *    获得供应商ID
     * @return 供应商ID : String
     */
    public String getVendorId()
    {
        return this.vendorId;
    }

    /**
     * 功能描述:
     *    设置供应商ID
     * @param vendorId : String
     */
    public void setVendorId(String vendorId)
    {
        this.vendorId = vendorId;
    }


    /**
     * 功能描述:
     *    获得供应商名称
     * @return 供应商名称 : String
     */
    public String getVendorName()
    {
        return this.vendorName;
    }

    /**
     * 功能描述:
     *    设置供应商名称
     * @param vendorName : String
     */
    public void setVendorName(String vendorName)
    {
        this.vendorName = vendorName;
    }


    /**
     * 功能描述:
     *    获得仓库
     * @return 仓库 : String
     */
    public String getWarehouseOfficeId()
    {
        return this.warehouseOfficeId;
    }

    /**
     * 功能描述:
     *    设置仓库
     * @param warehouseOfficeId : String
     */
    public void setWarehouseOfficeId(String warehouseOfficeId)
    {
        this.warehouseOfficeId = warehouseOfficeId;
    }


    /**
     * 功能描述:
     *    获得入库计划ID
     * @return 入库计划ID : String
     */
    public String getWmsInbAsnId()
    {
        return this.wmsInbAsnId;
    }

    /**
     * 功能描述:
     *    设置入库计划ID
     * @param wmsInbAsnId : String
     */
    public void setWmsInbAsnId(String wmsInbAsnId)
    {
        this.wmsInbAsnId = wmsInbAsnId;
    }




}

1.10.主表Example类

1.10.主表Example类


/* * @(#)TestExam3201Example.java * 版权声明 厦门吉联科技, 版权所有 违者必究 * *修订记录: *1)更改者:java业务平台代码生成工具 * 时 间:2018年07月12日 09点45分16秒 * 描 述:创建 */ package com.gillion.sample.test.domain; import com.gillion.platform.framework.core.query.BaseCriteria; import com.gillion.platform.framework.core.query.BaseExample; import com.gillion.platform.framework.core.query.SearchColumn; import com.gillion.platform.framework.core.query.Operation; import java.util.List; import java.util.Map; import java.math.BigDecimal; import java.util.Date; /** * <pre> * TestExam3201(TestExam3201)Example类 * </pre> * * <br> * JDK版本:1.6 * * @author java业务平台代码生成工具 * @version 1.0 * @see The author for more details */ public class TestExam3201Example extends BaseExample<TestExam3201Example.Criteria> { public TestExam3201Example() { super(); } /** * @param criteria */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * @return */ protected Criteria createCriteriaInternal() { return new Criteria(mapColumns); } /** * create new instance TestExam3201Example * @return */ public static TestExam3201Example create() { return new TestExam3201Example(); } /** * create new instance IpfCcmBoExample * @param searchColumns * @return IpfCcmBoExample */ public static TestExam3201Example create(List<SearchColumn> searchColumns) { TestExam3201Example example = TestExam3201Example.create(); example.init(searchColumns); return example; } /** * <pre> * The Class GeneratedCriteria * </pre> * * <br> * JDK版本:1.6 * * @author 林进旭 * @version 1.0 * @see The author for more details * @since 1.0 */ public static class Criteria extends BaseCriteria { protected Criteria() { super(); } protected Criteria(Map<String,String> columnMaps) { super(columnMaps); } /** * RECEIPT_METHOD is null * @return */ public Criteria andReceiptMethodIsNull() { addCriterion("RECEIPT_METHOD",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_METHOD is not null * @return */ public Criteria andReceiptMethodIsNotNull() { addCriterion("RECEIPT_METHOD",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_METHOD = * @return */ public Criteria andReceiptMethodEqualTo(String value) { addCriterion("RECEIPT_METHOD",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD <> * @return */ public Criteria andReceiptMethodNotEqualTo(String value) { addCriterion("RECEIPT_METHOD",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD > * @return */ public Criteria andReceiptMethodGreaterThan(String value) { addCriterion("RECEIPT_METHOD",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD >= * @return */ public Criteria andReceiptMethodGreaterThanOrEqualTo(String value) { addCriterion("RECEIPT_METHOD",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD < * @return */ public Criteria andReceiptMethodLessThan(String value) { addCriterion("RECEIPT_METHOD",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD <= * @return */ public Criteria andReceiptMethodLessThanOrEqualTo(String value) { addCriterion("RECEIPT_METHOD",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD like * @return */ public Criteria andReceiptMethodLike(String value) { addCriterion("RECEIPT_METHOD",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD not like * @return */ public Criteria andReceiptMethodNotLike(String value) { addCriterion("RECEIPT_METHOD",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_METHOD in * @return */ public Criteria andReceiptMethodIn(List<String> values) { addCriterion("RECEIPT_METHOD",false,Operation.IN,values); return (Criteria) this; } /** * RECEIPT_METHOD not in * @return */ public Criteria andReceiptMethodNotIn(List<String> values) { addCriterion("RECEIPT_METHOD",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIPT_METHOD between * @return */ public Criteria andReceiptMethodBetween(String value1, String value2) { addCriterion("RECEIPT_METHOD",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIPT_METHOD not between * @return */ public Criteria andReceiptMethodNotBetween(String value1, String value2) { addCriterion("RECEIPT_METHOD",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIPT_METHOD) like '%value.toUpperCase()%' * @return */ public Criteria andReceiptMethodLikeInsensitive(String value) { addCriterion("RECEIPT_METHOD",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID is null * @return */ public Criteria andVendorIdIsNull() { addCriterion("VENDOR_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * VENDOR_ID is not null * @return */ public Criteria andVendorIdIsNotNull() { addCriterion("VENDOR_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * VENDOR_ID = * @return */ public Criteria andVendorIdEqualTo(String value) { addCriterion("VENDOR_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID <> * @return */ public Criteria andVendorIdNotEqualTo(String value) { addCriterion("VENDOR_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID > * @return */ public Criteria andVendorIdGreaterThan(String value) { addCriterion("VENDOR_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID >= * @return */ public Criteria andVendorIdGreaterThanOrEqualTo(String value) { addCriterion("VENDOR_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID < * @return */ public Criteria andVendorIdLessThan(String value) { addCriterion("VENDOR_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID <= * @return */ public Criteria andVendorIdLessThanOrEqualTo(String value) { addCriterion("VENDOR_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID like * @return */ public Criteria andVendorIdLike(String value) { addCriterion("VENDOR_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID not like * @return */ public Criteria andVendorIdNotLike(String value) { addCriterion("VENDOR_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_ID in * @return */ public Criteria andVendorIdIn(List<String> values) { addCriterion("VENDOR_ID",false,Operation.IN,values); return (Criteria) this; } /** * VENDOR_ID not in * @return */ public Criteria andVendorIdNotIn(List<String> values) { addCriterion("VENDOR_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * VENDOR_ID between * @return */ public Criteria andVendorIdBetween(String value1, String value2) { addCriterion("VENDOR_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * VENDOR_ID not between * @return */ public Criteria andVendorIdNotBetween(String value1, String value2) { addCriterion("VENDOR_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(VENDOR_ID) like '%value.toUpperCase()%' * @return */ public Criteria andVendorIdLikeInsensitive(String value) { addCriterion("VENDOR_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_NO is null * @return */ public Criteria andCustNoIsNull() { addCriterion("CUST_NO",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_NO is not null * @return */ public Criteria andCustNoIsNotNull() { addCriterion("CUST_NO",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_NO = * @return */ public Criteria andCustNoEqualTo(String value) { addCriterion("CUST_NO",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_NO <> * @return */ public Criteria andCustNoNotEqualTo(String value) { addCriterion("CUST_NO",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_NO > * @return */ public Criteria andCustNoGreaterThan(String value) { addCriterion("CUST_NO",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_NO >= * @return */ public Criteria andCustNoGreaterThanOrEqualTo(String value) { addCriterion("CUST_NO",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_NO < * @return */ public Criteria andCustNoLessThan(String value) { addCriterion("CUST_NO",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_NO <= * @return */ public Criteria andCustNoLessThanOrEqualTo(String value) { addCriterion("CUST_NO",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_NO like * @return */ public Criteria andCustNoLike(String value) { addCriterion("CUST_NO",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_NO not like * @return */ public Criteria andCustNoNotLike(String value) { addCriterion("CUST_NO",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_NO in * @return */ public Criteria andCustNoIn(List<String> values) { addCriterion("CUST_NO",false,Operation.IN,values); return (Criteria) this; } /** * CUST_NO not in * @return */ public Criteria andCustNoNotIn(List<String> values) { addCriterion("CUST_NO",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_NO between * @return */ public Criteria andCustNoBetween(String value1, String value2) { addCriterion("CUST_NO",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_NO not between * @return */ public Criteria andCustNoNotBetween(String value1, String value2) { addCriterion("CUST_NO",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_NO) like '%value.toUpperCase()%' * @return */ public Criteria andCustNoLikeInsensitive(String value) { addCriterion("CUST_NO",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_ID is null * @return */ public Criteria andCustIdIsNull() { addCriterion("CUST_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ID is not null * @return */ public Criteria andCustIdIsNotNull() { addCriterion("CUST_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ID = * @return */ public Criteria andCustIdEqualTo(String value) { addCriterion("CUST_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ID <> * @return */ public Criteria andCustIdNotEqualTo(String value) { addCriterion("CUST_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ID > * @return */ public Criteria andCustIdGreaterThan(String value) { addCriterion("CUST_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_ID >= * @return */ public Criteria andCustIdGreaterThanOrEqualTo(String value) { addCriterion("CUST_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID < * @return */ public Criteria andCustIdLessThan(String value) { addCriterion("CUST_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_ID <= * @return */ public Criteria andCustIdLessThanOrEqualTo(String value) { addCriterion("CUST_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID like * @return */ public Criteria andCustIdLike(String value) { addCriterion("CUST_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID not like * @return */ public Criteria andCustIdNotLike(String value) { addCriterion("CUST_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID in * @return */ public Criteria andCustIdIn(List<String> values) { addCriterion("CUST_ID",false,Operation.IN,values); return (Criteria) this; } /** * CUST_ID not in * @return */ public Criteria andCustIdNotIn(List<String> values) { addCriterion("CUST_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_ID between * @return */ public Criteria andCustIdBetween(String value1, String value2) { addCriterion("CUST_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_ID not between * @return */ public Criteria andCustIdNotBetween(String value1, String value2) { addCriterion("CUST_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_ID) like '%value.toUpperCase()%' * @return */ public Criteria andCustIdLikeInsensitive(String value) { addCriterion("CUST_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE is null * @return */ public Criteria andLastModifyTimeZoneIsNull() { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE is not null * @return */ public Criteria andLastModifyTimeZoneIsNotNull() { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE = * @return */ public Criteria andLastModifyTimeZoneEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE <> * @return */ public Criteria andLastModifyTimeZoneNotEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE > * @return */ public Criteria andLastModifyTimeZoneGreaterThan(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE >= * @return */ public Criteria andLastModifyTimeZoneGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE < * @return */ public Criteria andLastModifyTimeZoneLessThan(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE <= * @return */ public Criteria andLastModifyTimeZoneLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE like * @return */ public Criteria andLastModifyTimeZoneLike(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE not like * @return */ public Criteria andLastModifyTimeZoneNotLike(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE in * @return */ public Criteria andLastModifyTimeZoneIn(List<String> values) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE not in * @return */ public Criteria andLastModifyTimeZoneNotIn(List<String> values) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE between * @return */ public Criteria andLastModifyTimeZoneBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE not between * @return */ public Criteria andLastModifyTimeZoneNotBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFY_TIME_ZONE) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyTimeZoneLikeInsensitive(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID is null * @return */ public Criteria andTestExam3201IdIsNull() { addCriterion("TEST_EXAM_3201_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * TEST_EXAM_3201_ID is not null * @return */ public Criteria andTestExam3201IdIsNotNull() { addCriterion("TEST_EXAM_3201_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * TEST_EXAM_3201_ID = * @return */ public Criteria andTestExam3201IdEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID <> * @return */ public Criteria andTestExam3201IdNotEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID > * @return */ public Criteria andTestExam3201IdGreaterThan(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID >= * @return */ public Criteria andTestExam3201IdGreaterThanOrEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID < * @return */ public Criteria andTestExam3201IdLessThan(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID <= * @return */ public Criteria andTestExam3201IdLessThanOrEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID like * @return */ public Criteria andTestExam3201IdLike(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID not like * @return */ public Criteria andTestExam3201IdNotLike(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID in * @return */ public Criteria andTestExam3201IdIn(List<String> values) { addCriterion("TEST_EXAM_3201_ID",false,Operation.IN,values); return (Criteria) this; } /** * TEST_EXAM_3201_ID not in * @return */ public Criteria andTestExam3201IdNotIn(List<String> values) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * TEST_EXAM_3201_ID between * @return */ public Criteria andTestExam3201IdBetween(String value1, String value2) { addCriterion("TEST_EXAM_3201_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * TEST_EXAM_3201_ID not between * @return */ public Criteria andTestExam3201IdNotBetween(String value1, String value2) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(TEST_EXAM_3201_ID) like '%value.toUpperCase()%' * @return */ public Criteria andTestExam3201IdLikeInsensitive(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME is null * @return */ public Criteria andVendorNameIsNull() { addCriterion("VENDOR_NAME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * VENDOR_NAME is not null * @return */ public Criteria andVendorNameIsNotNull() { addCriterion("VENDOR_NAME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * VENDOR_NAME = * @return */ public Criteria andVendorNameEqualTo(String value) { addCriterion("VENDOR_NAME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME <> * @return */ public Criteria andVendorNameNotEqualTo(String value) { addCriterion("VENDOR_NAME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME > * @return */ public Criteria andVendorNameGreaterThan(String value) { addCriterion("VENDOR_NAME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME >= * @return */ public Criteria andVendorNameGreaterThanOrEqualTo(String value) { addCriterion("VENDOR_NAME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME < * @return */ public Criteria andVendorNameLessThan(String value) { addCriterion("VENDOR_NAME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME <= * @return */ public Criteria andVendorNameLessThanOrEqualTo(String value) { addCriterion("VENDOR_NAME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME like * @return */ public Criteria andVendorNameLike(String value) { addCriterion("VENDOR_NAME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME not like * @return */ public Criteria andVendorNameNotLike(String value) { addCriterion("VENDOR_NAME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * VENDOR_NAME in * @return */ public Criteria andVendorNameIn(List<String> values) { addCriterion("VENDOR_NAME",false,Operation.IN,values); return (Criteria) this; } /** * VENDOR_NAME not in * @return */ public Criteria andVendorNameNotIn(List<String> values) { addCriterion("VENDOR_NAME",false,Operation.NOTIN,values); return (Criteria) this; } /** * VENDOR_NAME between * @return */ public Criteria andVendorNameBetween(String value1, String value2) { addCriterion("VENDOR_NAME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * VENDOR_NAME not between * @return */ public Criteria andVendorNameNotBetween(String value1, String value2) { addCriterion("VENDOR_NAME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(VENDOR_NAME) like '%value.toUpperCase()%' * @return */ public Criteria andVendorNameLikeInsensitive(String value) { addCriterion("VENDOR_NAME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE is null * @return */ public Criteria andDeadlineDateIsNull() { addCriterion("DEADLINE_DATE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * DEADLINE_DATE is not null * @return */ public Criteria andDeadlineDateIsNotNull() { addCriterion("DEADLINE_DATE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * DEADLINE_DATE = * @return */ public Criteria andDeadlineDateEqualTo(String value) { addCriterion("DEADLINE_DATE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE <> * @return */ public Criteria andDeadlineDateNotEqualTo(String value) { addCriterion("DEADLINE_DATE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE > * @return */ public Criteria andDeadlineDateGreaterThan(String value) { addCriterion("DEADLINE_DATE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE >= * @return */ public Criteria andDeadlineDateGreaterThanOrEqualTo(String value) { addCriterion("DEADLINE_DATE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE < * @return */ public Criteria andDeadlineDateLessThan(String value) { addCriterion("DEADLINE_DATE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE <= * @return */ public Criteria andDeadlineDateLessThanOrEqualTo(String value) { addCriterion("DEADLINE_DATE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE like * @return */ public Criteria andDeadlineDateLike(String value) { addCriterion("DEADLINE_DATE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE not like * @return */ public Criteria andDeadlineDateNotLike(String value) { addCriterion("DEADLINE_DATE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * DEADLINE_DATE in * @return */ public Criteria andDeadlineDateIn(List<String> values) { addCriterion("DEADLINE_DATE",false,Operation.IN,values); return (Criteria) this; } /** * DEADLINE_DATE not in * @return */ public Criteria andDeadlineDateNotIn(List<String> values) { addCriterion("DEADLINE_DATE",false,Operation.NOTIN,values); return (Criteria) this; } /** * DEADLINE_DATE between * @return */ public Criteria andDeadlineDateBetween(String value1, String value2) { addCriterion("DEADLINE_DATE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * DEADLINE_DATE not between * @return */ public Criteria andDeadlineDateNotBetween(String value1, String value2) { addCriterion("DEADLINE_DATE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(DEADLINE_DATE) like '%value.toUpperCase()%' * @return */ public Criteria andDeadlineDateLikeInsensitive(String value) { addCriterion("DEADLINE_DATE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC is null * @return */ public Criteria andReceiptDescIsNull() { addCriterion("RECEIPT_DESC",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_DESC is not null * @return */ public Criteria andReceiptDescIsNotNull() { addCriterion("RECEIPT_DESC",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_DESC = * @return */ public Criteria andReceiptDescEqualTo(String value) { addCriterion("RECEIPT_DESC",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC <> * @return */ public Criteria andReceiptDescNotEqualTo(String value) { addCriterion("RECEIPT_DESC",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC > * @return */ public Criteria andReceiptDescGreaterThan(String value) { addCriterion("RECEIPT_DESC",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC >= * @return */ public Criteria andReceiptDescGreaterThanOrEqualTo(String value) { addCriterion("RECEIPT_DESC",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC < * @return */ public Criteria andReceiptDescLessThan(String value) { addCriterion("RECEIPT_DESC",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC <= * @return */ public Criteria andReceiptDescLessThanOrEqualTo(String value) { addCriterion("RECEIPT_DESC",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC like * @return */ public Criteria andReceiptDescLike(String value) { addCriterion("RECEIPT_DESC",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC not like * @return */ public Criteria andReceiptDescNotLike(String value) { addCriterion("RECEIPT_DESC",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_DESC in * @return */ public Criteria andReceiptDescIn(List<String> values) { addCriterion("RECEIPT_DESC",false,Operation.IN,values); return (Criteria) this; } /** * RECEIPT_DESC not in * @return */ public Criteria andReceiptDescNotIn(List<String> values) { addCriterion("RECEIPT_DESC",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIPT_DESC between * @return */ public Criteria andReceiptDescBetween(String value1, String value2) { addCriterion("RECEIPT_DESC",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIPT_DESC not between * @return */ public Criteria andReceiptDescNotBetween(String value1, String value2) { addCriterion("RECEIPT_DESC",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIPT_DESC) like '%value.toUpperCase()%' * @return */ public Criteria andReceiptDescLikeInsensitive(String value) { addCriterion("RECEIPT_DESC",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS is null * @return */ public Criteria andReceiptStatusIsNull() { addCriterion("RECEIPT_STATUS",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_STATUS is not null * @return */ public Criteria andReceiptStatusIsNotNull() { addCriterion("RECEIPT_STATUS",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_STATUS = * @return */ public Criteria andReceiptStatusEqualTo(String value) { addCriterion("RECEIPT_STATUS",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS <> * @return */ public Criteria andReceiptStatusNotEqualTo(String value) { addCriterion("RECEIPT_STATUS",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS > * @return */ public Criteria andReceiptStatusGreaterThan(String value) { addCriterion("RECEIPT_STATUS",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS >= * @return */ public Criteria andReceiptStatusGreaterThanOrEqualTo(String value) { addCriterion("RECEIPT_STATUS",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS < * @return */ public Criteria andReceiptStatusLessThan(String value) { addCriterion("RECEIPT_STATUS",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS <= * @return */ public Criteria andReceiptStatusLessThanOrEqualTo(String value) { addCriterion("RECEIPT_STATUS",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS like * @return */ public Criteria andReceiptStatusLike(String value) { addCriterion("RECEIPT_STATUS",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS not like * @return */ public Criteria andReceiptStatusNotLike(String value) { addCriterion("RECEIPT_STATUS",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_STATUS in * @return */ public Criteria andReceiptStatusIn(List<String> values) { addCriterion("RECEIPT_STATUS",false,Operation.IN,values); return (Criteria) this; } /** * RECEIPT_STATUS not in * @return */ public Criteria andReceiptStatusNotIn(List<String> values) { addCriterion("RECEIPT_STATUS",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIPT_STATUS between * @return */ public Criteria andReceiptStatusBetween(String value1, String value2) { addCriterion("RECEIPT_STATUS",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIPT_STATUS not between * @return */ public Criteria andReceiptStatusNotBetween(String value1, String value2) { addCriterion("RECEIPT_STATUS",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIPT_STATUS) like '%value.toUpperCase()%' * @return */ public Criteria andReceiptStatusLikeInsensitive(String value) { addCriterion("RECEIPT_STATUS",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE is null * @return */ public Criteria andPrincipalGroupCodeIsNull() { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE is not null * @return */ public Criteria andPrincipalGroupCodeIsNotNull() { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE = * @return */ public Criteria andPrincipalGroupCodeEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE <> * @return */ public Criteria andPrincipalGroupCodeNotEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE > * @return */ public Criteria andPrincipalGroupCodeGreaterThan(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE >= * @return */ public Criteria andPrincipalGroupCodeGreaterThanOrEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE < * @return */ public Criteria andPrincipalGroupCodeLessThan(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE <= * @return */ public Criteria andPrincipalGroupCodeLessThanOrEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE like * @return */ public Criteria andPrincipalGroupCodeLike(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE not like * @return */ public Criteria andPrincipalGroupCodeNotLike(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE in * @return */ public Criteria andPrincipalGroupCodeIn(List<String> values) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.IN,values); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE not in * @return */ public Criteria andPrincipalGroupCodeNotIn(List<String> values) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTIN,values); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE between * @return */ public Criteria andPrincipalGroupCodeBetween(String value1, String value2) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE not between * @return */ public Criteria andPrincipalGroupCodeNotBetween(String value1, String value2) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(PRINCIPAL_GROUP_CODE) like '%value.toUpperCase()%' * @return */ public Criteria andPrincipalGroupCodeLikeInsensitive(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL is null * @return */ public Criteria andReceiptModelIsNull() { addCriterion("RECEIPT_MODEL",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_MODEL is not null * @return */ public Criteria andReceiptModelIsNotNull() { addCriterion("RECEIPT_MODEL",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_MODEL = * @return */ public Criteria andReceiptModelEqualTo(String value) { addCriterion("RECEIPT_MODEL",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL <> * @return */ public Criteria andReceiptModelNotEqualTo(String value) { addCriterion("RECEIPT_MODEL",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL > * @return */ public Criteria andReceiptModelGreaterThan(String value) { addCriterion("RECEIPT_MODEL",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL >= * @return */ public Criteria andReceiptModelGreaterThanOrEqualTo(String value) { addCriterion("RECEIPT_MODEL",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL < * @return */ public Criteria andReceiptModelLessThan(String value) { addCriterion("RECEIPT_MODEL",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL <= * @return */ public Criteria andReceiptModelLessThanOrEqualTo(String value) { addCriterion("RECEIPT_MODEL",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL like * @return */ public Criteria andReceiptModelLike(String value) { addCriterion("RECEIPT_MODEL",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL not like * @return */ public Criteria andReceiptModelNotLike(String value) { addCriterion("RECEIPT_MODEL",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_MODEL in * @return */ public Criteria andReceiptModelIn(List<String> values) { addCriterion("RECEIPT_MODEL",false,Operation.IN,values); return (Criteria) this; } /** * RECEIPT_MODEL not in * @return */ public Criteria andReceiptModelNotIn(List<String> values) { addCriterion("RECEIPT_MODEL",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIPT_MODEL between * @return */ public Criteria andReceiptModelBetween(String value1, String value2) { addCriterion("RECEIPT_MODEL",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIPT_MODEL not between * @return */ public Criteria andReceiptModelNotBetween(String value1, String value2) { addCriterion("RECEIPT_MODEL",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIPT_MODEL) like '%value.toUpperCase()%' * @return */ public Criteria andReceiptModelLikeInsensitive(String value) { addCriterion("RECEIPT_MODEL",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION is null * @return */ public Criteria andRecordVersionIsNull() { addCriterion("RECORD_VERSION",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECORD_VERSION is not null * @return */ public Criteria andRecordVersionIsNotNull() { addCriterion("RECORD_VERSION",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECORD_VERSION = * @return */ public Criteria andRecordVersionEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION <> * @return */ public Criteria andRecordVersionNotEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION > * @return */ public Criteria andRecordVersionGreaterThan(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION >= * @return */ public Criteria andRecordVersionGreaterThanOrEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION < * @return */ public Criteria andRecordVersionLessThan(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION <= * @return */ public Criteria andRecordVersionLessThanOrEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION like * @return */ public Criteria andRecordVersionLike(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION not like * @return */ public Criteria andRecordVersionNotLike(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION in * @return */ public Criteria andRecordVersionIn(List<BigDecimal> values) { addCriterion("RECORD_VERSION",false,Operation.IN,values); return (Criteria) this; } /** * RECORD_VERSION not in * @return */ public Criteria andRecordVersionNotIn(List<BigDecimal> values) { addCriterion("RECORD_VERSION",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECORD_VERSION between * @return */ public Criteria andRecordVersionBetween(BigDecimal value1, BigDecimal value2) { addCriterion("RECORD_VERSION",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECORD_VERSION not between * @return */ public Criteria andRecordVersionNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("RECORD_VERSION",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECORD_VERSION) like '%value.toUpperCase()%' * @return */ public Criteria andRecordVersionLikeInsensitive(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY is null * @return */ public Criteria andIsPartDeliveryIsNull() { addCriterion("IS_PART_DELIVERY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * IS_PART_DELIVERY is not null * @return */ public Criteria andIsPartDeliveryIsNotNull() { addCriterion("IS_PART_DELIVERY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * IS_PART_DELIVERY = * @return */ public Criteria andIsPartDeliveryEqualTo(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY <> * @return */ public Criteria andIsPartDeliveryNotEqualTo(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY > * @return */ public Criteria andIsPartDeliveryGreaterThan(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY >= * @return */ public Criteria andIsPartDeliveryGreaterThanOrEqualTo(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY < * @return */ public Criteria andIsPartDeliveryLessThan(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY <= * @return */ public Criteria andIsPartDeliveryLessThanOrEqualTo(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY like * @return */ public Criteria andIsPartDeliveryLike(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY not like * @return */ public Criteria andIsPartDeliveryNotLike(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * IS_PART_DELIVERY in * @return */ public Criteria andIsPartDeliveryIn(List<String> values) { addCriterion("IS_PART_DELIVERY",false,Operation.IN,values); return (Criteria) this; } /** * IS_PART_DELIVERY not in * @return */ public Criteria andIsPartDeliveryNotIn(List<String> values) { addCriterion("IS_PART_DELIVERY",false,Operation.NOTIN,values); return (Criteria) this; } /** * IS_PART_DELIVERY between * @return */ public Criteria andIsPartDeliveryBetween(String value1, String value2) { addCriterion("IS_PART_DELIVERY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * IS_PART_DELIVERY not between * @return */ public Criteria andIsPartDeliveryNotBetween(String value1, String value2) { addCriterion("IS_PART_DELIVERY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(IS_PART_DELIVERY) like '%value.toUpperCase()%' * @return */ public Criteria andIsPartDeliveryLikeInsensitive(String value) { addCriterion("IS_PART_DELIVERY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE is null * @return */ public Criteria andLastModifyOfficeIsNull() { addCriterion("LAST_MODIFY_OFFICE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE is not null * @return */ public Criteria andLastModifyOfficeIsNotNull() { addCriterion("LAST_MODIFY_OFFICE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE = * @return */ public Criteria andLastModifyOfficeEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE <> * @return */ public Criteria andLastModifyOfficeNotEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE > * @return */ public Criteria andLastModifyOfficeGreaterThan(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE >= * @return */ public Criteria andLastModifyOfficeGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE < * @return */ public Criteria andLastModifyOfficeLessThan(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE <= * @return */ public Criteria andLastModifyOfficeLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE like * @return */ public Criteria andLastModifyOfficeLike(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE not like * @return */ public Criteria andLastModifyOfficeNotLike(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE in * @return */ public Criteria andLastModifyOfficeIn(List<String> values) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFY_OFFICE not in * @return */ public Criteria andLastModifyOfficeNotIn(List<String> values) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFY_OFFICE between * @return */ public Criteria andLastModifyOfficeBetween(String value1, String value2) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFY_OFFICE not between * @return */ public Criteria andLastModifyOfficeNotBetween(String value1, String value2) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFY_OFFICE) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyOfficeLikeInsensitive(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME is null * @return */ public Criteria andReceiveTimeIsNull() { addCriterion("RECEIVE_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_TIME is not null * @return */ public Criteria andReceiveTimeIsNotNull() { addCriterion("RECEIVE_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_TIME = * @return */ public Criteria andReceiveTimeEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME <> * @return */ public Criteria andReceiveTimeNotEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME > * @return */ public Criteria andReceiveTimeGreaterThan(String value) { addCriterion("RECEIVE_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME >= * @return */ public Criteria andReceiveTimeGreaterThanOrEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME < * @return */ public Criteria andReceiveTimeLessThan(String value) { addCriterion("RECEIVE_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME <= * @return */ public Criteria andReceiveTimeLessThanOrEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME like * @return */ public Criteria andReceiveTimeLike(String value) { addCriterion("RECEIVE_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME not like * @return */ public Criteria andReceiveTimeNotLike(String value) { addCriterion("RECEIVE_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME in * @return */ public Criteria andReceiveTimeIn(List<String> values) { addCriterion("RECEIVE_TIME",false,Operation.IN,values); return (Criteria) this; } /** * RECEIVE_TIME not in * @return */ public Criteria andReceiveTimeNotIn(List<String> values) { addCriterion("RECEIVE_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIVE_TIME between * @return */ public Criteria andReceiveTimeBetween(String value1, String value2) { addCriterion("RECEIVE_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIVE_TIME not between * @return */ public Criteria andReceiveTimeNotBetween(String value1, String value2) { addCriterion("RECEIVE_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIVE_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andReceiveTimeLikeInsensitive(String value) { addCriterion("RECEIVE_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME is null * @return */ public Criteria andCancelTimeIsNull() { addCriterion("CANCEL_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CANCEL_TIME is not null * @return */ public Criteria andCancelTimeIsNotNull() { addCriterion("CANCEL_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CANCEL_TIME = * @return */ public Criteria andCancelTimeEqualTo(String value) { addCriterion("CANCEL_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME <> * @return */ public Criteria andCancelTimeNotEqualTo(String value) { addCriterion("CANCEL_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME > * @return */ public Criteria andCancelTimeGreaterThan(String value) { addCriterion("CANCEL_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME >= * @return */ public Criteria andCancelTimeGreaterThanOrEqualTo(String value) { addCriterion("CANCEL_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME < * @return */ public Criteria andCancelTimeLessThan(String value) { addCriterion("CANCEL_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME <= * @return */ public Criteria andCancelTimeLessThanOrEqualTo(String value) { addCriterion("CANCEL_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME like * @return */ public Criteria andCancelTimeLike(String value) { addCriterion("CANCEL_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME not like * @return */ public Criteria andCancelTimeNotLike(String value) { addCriterion("CANCEL_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CANCEL_TIME in * @return */ public Criteria andCancelTimeIn(List<String> values) { addCriterion("CANCEL_TIME",false,Operation.IN,values); return (Criteria) this; } /** * CANCEL_TIME not in * @return */ public Criteria andCancelTimeNotIn(List<String> values) { addCriterion("CANCEL_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * CANCEL_TIME between * @return */ public Criteria andCancelTimeBetween(String value1, String value2) { addCriterion("CANCEL_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CANCEL_TIME not between * @return */ public Criteria andCancelTimeNotBetween(String value1, String value2) { addCriterion("CANCEL_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CANCEL_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andCancelTimeLikeInsensitive(String value) { addCriterion("CANCEL_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME is null * @return */ public Criteria andCloseTimeIsNull() { addCriterion("CLOSE_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CLOSE_TIME is not null * @return */ public Criteria andCloseTimeIsNotNull() { addCriterion("CLOSE_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CLOSE_TIME = * @return */ public Criteria andCloseTimeEqualTo(String value) { addCriterion("CLOSE_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME <> * @return */ public Criteria andCloseTimeNotEqualTo(String value) { addCriterion("CLOSE_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME > * @return */ public Criteria andCloseTimeGreaterThan(String value) { addCriterion("CLOSE_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME >= * @return */ public Criteria andCloseTimeGreaterThanOrEqualTo(String value) { addCriterion("CLOSE_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME < * @return */ public Criteria andCloseTimeLessThan(String value) { addCriterion("CLOSE_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME <= * @return */ public Criteria andCloseTimeLessThanOrEqualTo(String value) { addCriterion("CLOSE_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME like * @return */ public Criteria andCloseTimeLike(String value) { addCriterion("CLOSE_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME not like * @return */ public Criteria andCloseTimeNotLike(String value) { addCriterion("CLOSE_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CLOSE_TIME in * @return */ public Criteria andCloseTimeIn(List<String> values) { addCriterion("CLOSE_TIME",false,Operation.IN,values); return (Criteria) this; } /** * CLOSE_TIME not in * @return */ public Criteria andCloseTimeNotIn(List<String> values) { addCriterion("CLOSE_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * CLOSE_TIME between * @return */ public Criteria andCloseTimeBetween(String value1, String value2) { addCriterion("CLOSE_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CLOSE_TIME not between * @return */ public Criteria andCloseTimeNotBetween(String value1, String value2) { addCriterion("CLOSE_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CLOSE_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andCloseTimeLikeInsensitive(String value) { addCriterion("CLOSE_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID is null * @return */ public Criteria andWarehouseOfficeIdIsNull() { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID is not null * @return */ public Criteria andWarehouseOfficeIdIsNotNull() { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID = * @return */ public Criteria andWarehouseOfficeIdEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID <> * @return */ public Criteria andWarehouseOfficeIdNotEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID > * @return */ public Criteria andWarehouseOfficeIdGreaterThan(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID >= * @return */ public Criteria andWarehouseOfficeIdGreaterThanOrEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID < * @return */ public Criteria andWarehouseOfficeIdLessThan(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID <= * @return */ public Criteria andWarehouseOfficeIdLessThanOrEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID like * @return */ public Criteria andWarehouseOfficeIdLike(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID not like * @return */ public Criteria andWarehouseOfficeIdNotLike(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID in * @return */ public Criteria andWarehouseOfficeIdIn(List<String> values) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.IN,values); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID not in * @return */ public Criteria andWarehouseOfficeIdNotIn(List<String> values) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID between * @return */ public Criteria andWarehouseOfficeIdBetween(String value1, String value2) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID not between * @return */ public Criteria andWarehouseOfficeIdNotBetween(String value1, String value2) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(WAREHOUSE_OFFICE_ID) like '%value.toUpperCase()%' * @return */ public Criteria andWarehouseOfficeIdLikeInsensitive(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME is null * @return */ public Criteria andCreateTimeIsNull() { addCriterion("CREATE_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME is not null * @return */ public Criteria andCreateTimeIsNotNull() { addCriterion("CREATE_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME = * @return */ public Criteria andCreateTimeEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME <> * @return */ public Criteria andCreateTimeNotEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME > * @return */ public Criteria andCreateTimeGreaterThan(String value) { addCriterion("CREATE_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME >= * @return */ public Criteria andCreateTimeGreaterThanOrEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME < * @return */ public Criteria andCreateTimeLessThan(String value) { addCriterion("CREATE_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME <= * @return */ public Criteria andCreateTimeLessThanOrEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME like * @return */ public Criteria andCreateTimeLike(String value) { addCriterion("CREATE_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME not like * @return */ public Criteria andCreateTimeNotLike(String value) { addCriterion("CREATE_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME in * @return */ public Criteria andCreateTimeIn(List<String> values) { addCriterion("CREATE_TIME",false,Operation.IN,values); return (Criteria) this; } /** * CREATE_TIME not in * @return */ public Criteria andCreateTimeNotIn(List<String> values) { addCriterion("CREATE_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATE_TIME between * @return */ public Criteria andCreateTimeBetween(String value1, String value2) { addCriterion("CREATE_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATE_TIME not between * @return */ public Criteria andCreateTimeNotBetween(String value1, String value2) { addCriterion("CREATE_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATE_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andCreateTimeLikeInsensitive(String value) { addCriterion("CREATE_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATOR is null * @return */ public Criteria andCreatorIsNull() { addCriterion("CREATOR",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATOR is not null * @return */ public Criteria andCreatorIsNotNull() { addCriterion("CREATOR",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATOR = * @return */ public Criteria andCreatorEqualTo(String value) { addCriterion("CREATOR",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATOR <> * @return */ public Criteria andCreatorNotEqualTo(String value) { addCriterion("CREATOR",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATOR > * @return */ public Criteria andCreatorGreaterThan(String value) { addCriterion("CREATOR",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATOR >= * @return */ public Criteria andCreatorGreaterThanOrEqualTo(String value) { addCriterion("CREATOR",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATOR < * @return */ public Criteria andCreatorLessThan(String value) { addCriterion("CREATOR",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATOR <= * @return */ public Criteria andCreatorLessThanOrEqualTo(String value) { addCriterion("CREATOR",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATOR like * @return */ public Criteria andCreatorLike(String value) { addCriterion("CREATOR",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATOR not like * @return */ public Criteria andCreatorNotLike(String value) { addCriterion("CREATOR",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATOR in * @return */ public Criteria andCreatorIn(List<String> values) { addCriterion("CREATOR",false,Operation.IN,values); return (Criteria) this; } /** * CREATOR not in * @return */ public Criteria andCreatorNotIn(List<String> values) { addCriterion("CREATOR",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATOR between * @return */ public Criteria andCreatorBetween(String value1, String value2) { addCriterion("CREATOR",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATOR not between * @return */ public Criteria andCreatorNotBetween(String value1, String value2) { addCriterion("CREATOR",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATOR) like '%value.toUpperCase()%' * @return */ public Criteria andCreatorLikeInsensitive(String value) { addCriterion("CREATOR",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * PRIORITY is null * @return */ public Criteria andPriorityIsNull() { addCriterion("PRIORITY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * PRIORITY is not null * @return */ public Criteria andPriorityIsNotNull() { addCriterion("PRIORITY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * PRIORITY = * @return */ public Criteria andPriorityEqualTo(BigDecimal value) { addCriterion("PRIORITY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * PRIORITY <> * @return */ public Criteria andPriorityNotEqualTo(BigDecimal value) { addCriterion("PRIORITY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * PRIORITY > * @return */ public Criteria andPriorityGreaterThan(BigDecimal value) { addCriterion("PRIORITY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * PRIORITY >= * @return */ public Criteria andPriorityGreaterThanOrEqualTo(BigDecimal value) { addCriterion("PRIORITY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * PRIORITY < * @return */ public Criteria andPriorityLessThan(BigDecimal value) { addCriterion("PRIORITY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * PRIORITY <= * @return */ public Criteria andPriorityLessThanOrEqualTo(BigDecimal value) { addCriterion("PRIORITY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * PRIORITY like * @return */ public Criteria andPriorityLike(BigDecimal value) { addCriterion("PRIORITY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * PRIORITY not like * @return */ public Criteria andPriorityNotLike(BigDecimal value) { addCriterion("PRIORITY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * PRIORITY in * @return */ public Criteria andPriorityIn(List<BigDecimal> values) { addCriterion("PRIORITY",false,Operation.IN,values); return (Criteria) this; } /** * PRIORITY not in * @return */ public Criteria andPriorityNotIn(List<BigDecimal> values) { addCriterion("PRIORITY",false,Operation.NOTIN,values); return (Criteria) this; } /** * PRIORITY between * @return */ public Criteria andPriorityBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PRIORITY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * PRIORITY not between * @return */ public Criteria andPriorityNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PRIORITY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(PRIORITY) like '%value.toUpperCase()%' * @return */ public Criteria andPriorityLikeInsensitive(BigDecimal value) { addCriterion("PRIORITY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE is null * @return */ public Criteria andCreateOfficeIsNull() { addCriterion("CREATE_OFFICE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_OFFICE is not null * @return */ public Criteria andCreateOfficeIsNotNull() { addCriterion("CREATE_OFFICE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_OFFICE = * @return */ public Criteria andCreateOfficeEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE <> * @return */ public Criteria andCreateOfficeNotEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE > * @return */ public Criteria andCreateOfficeGreaterThan(String value) { addCriterion("CREATE_OFFICE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE >= * @return */ public Criteria andCreateOfficeGreaterThanOrEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE < * @return */ public Criteria andCreateOfficeLessThan(String value) { addCriterion("CREATE_OFFICE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE <= * @return */ public Criteria andCreateOfficeLessThanOrEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE like * @return */ public Criteria andCreateOfficeLike(String value) { addCriterion("CREATE_OFFICE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE not like * @return */ public Criteria andCreateOfficeNotLike(String value) { addCriterion("CREATE_OFFICE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE in * @return */ public Criteria andCreateOfficeIn(List<String> values) { addCriterion("CREATE_OFFICE",false,Operation.IN,values); return (Criteria) this; } /** * CREATE_OFFICE not in * @return */ public Criteria andCreateOfficeNotIn(List<String> values) { addCriterion("CREATE_OFFICE",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATE_OFFICE between * @return */ public Criteria andCreateOfficeBetween(String value1, String value2) { addCriterion("CREATE_OFFICE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATE_OFFICE not between * @return */ public Criteria andCreateOfficeNotBetween(String value1, String value2) { addCriterion("CREATE_OFFICE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATE_OFFICE) like '%value.toUpperCase()%' * @return */ public Criteria andCreateOfficeLikeInsensitive(String value) { addCriterion("CREATE_OFFICE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME is null * @return */ public Criteria andReceivePersonNameIsNull() { addCriterion("RECEIVE_PERSON_NAME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME is not null * @return */ public Criteria andReceivePersonNameIsNotNull() { addCriterion("RECEIVE_PERSON_NAME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME = * @return */ public Criteria andReceivePersonNameEqualTo(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME <> * @return */ public Criteria andReceivePersonNameNotEqualTo(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME > * @return */ public Criteria andReceivePersonNameGreaterThan(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME >= * @return */ public Criteria andReceivePersonNameGreaterThanOrEqualTo(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME < * @return */ public Criteria andReceivePersonNameLessThan(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME <= * @return */ public Criteria andReceivePersonNameLessThanOrEqualTo(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME like * @return */ public Criteria andReceivePersonNameLike(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME not like * @return */ public Criteria andReceivePersonNameNotLike(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_PERSON_NAME in * @return */ public Criteria andReceivePersonNameIn(List<String> values) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.IN,values); return (Criteria) this; } /** * RECEIVE_PERSON_NAME not in * @return */ public Criteria andReceivePersonNameNotIn(List<String> values) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIVE_PERSON_NAME between * @return */ public Criteria andReceivePersonNameBetween(String value1, String value2) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIVE_PERSON_NAME not between * @return */ public Criteria andReceivePersonNameNotBetween(String value1, String value2) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIVE_PERSON_NAME) like '%value.toUpperCase()%' * @return */ public Criteria andReceivePersonNameLikeInsensitive(String value) { addCriterion("RECEIVE_PERSON_NAME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID is null * @return */ public Criteria andWmsInbAsnIdIsNull() { addCriterion("WMS_INB_ASN_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * WMS_INB_ASN_ID is not null * @return */ public Criteria andWmsInbAsnIdIsNotNull() { addCriterion("WMS_INB_ASN_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * WMS_INB_ASN_ID = * @return */ public Criteria andWmsInbAsnIdEqualTo(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID <> * @return */ public Criteria andWmsInbAsnIdNotEqualTo(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID > * @return */ public Criteria andWmsInbAsnIdGreaterThan(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID >= * @return */ public Criteria andWmsInbAsnIdGreaterThanOrEqualTo(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID < * @return */ public Criteria andWmsInbAsnIdLessThan(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID <= * @return */ public Criteria andWmsInbAsnIdLessThanOrEqualTo(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID like * @return */ public Criteria andWmsInbAsnIdLike(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID not like * @return */ public Criteria andWmsInbAsnIdNotLike(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * WMS_INB_ASN_ID in * @return */ public Criteria andWmsInbAsnIdIn(List<String> values) { addCriterion("WMS_INB_ASN_ID",false,Operation.IN,values); return (Criteria) this; } /** * WMS_INB_ASN_ID not in * @return */ public Criteria andWmsInbAsnIdNotIn(List<String> values) { addCriterion("WMS_INB_ASN_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * WMS_INB_ASN_ID between * @return */ public Criteria andWmsInbAsnIdBetween(String value1, String value2) { addCriterion("WMS_INB_ASN_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * WMS_INB_ASN_ID not between * @return */ public Criteria andWmsInbAsnIdNotBetween(String value1, String value2) { addCriterion("WMS_INB_ASN_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(WMS_INB_ASN_ID) like '%value.toUpperCase()%' * @return */ public Criteria andWmsInbAsnIdLikeInsensitive(String value) { addCriterion("WMS_INB_ASN_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * REMARK is null * @return */ public Criteria andRemarkIsNull() { addCriterion("REMARK",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * REMARK is not null * @return */ public Criteria andRemarkIsNotNull() { addCriterion("REMARK",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * REMARK = * @return */ public Criteria andRemarkEqualTo(String value) { addCriterion("REMARK",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * REMARK <> * @return */ public Criteria andRemarkNotEqualTo(String value) { addCriterion("REMARK",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * REMARK > * @return */ public Criteria andRemarkGreaterThan(String value) { addCriterion("REMARK",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * REMARK >= * @return */ public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("REMARK",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * REMARK < * @return */ public Criteria andRemarkLessThan(String value) { addCriterion("REMARK",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * REMARK <= * @return */ public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("REMARK",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * REMARK like * @return */ public Criteria andRemarkLike(String value) { addCriterion("REMARK",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * REMARK not like * @return */ public Criteria andRemarkNotLike(String value) { addCriterion("REMARK",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * REMARK in * @return */ public Criteria andRemarkIn(List<String> values) { addCriterion("REMARK",false,Operation.IN,values); return (Criteria) this; } /** * REMARK not in * @return */ public Criteria andRemarkNotIn(List<String> values) { addCriterion("REMARK",false,Operation.NOTIN,values); return (Criteria) this; } /** * REMARK between * @return */ public Criteria andRemarkBetween(String value1, String value2) { addCriterion("REMARK",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * REMARK not between * @return */ public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("REMARK",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(REMARK) like '%value.toUpperCase()%' * @return */ public Criteria andRemarkLikeInsensitive(String value) { addCriterion("REMARK",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY is null * @return */ public Criteria andTotalPlanQtyIsNull() { addCriterion("TOTAL_PLAN_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * TOTAL_PLAN_QTY is not null * @return */ public Criteria andTotalPlanQtyIsNotNull() { addCriterion("TOTAL_PLAN_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * TOTAL_PLAN_QTY = * @return */ public Criteria andTotalPlanQtyEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY <> * @return */ public Criteria andTotalPlanQtyNotEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY > * @return */ public Criteria andTotalPlanQtyGreaterThan(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY >= * @return */ public Criteria andTotalPlanQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY < * @return */ public Criteria andTotalPlanQtyLessThan(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY <= * @return */ public Criteria andTotalPlanQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY like * @return */ public Criteria andTotalPlanQtyLike(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY not like * @return */ public Criteria andTotalPlanQtyNotLike(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY in * @return */ public Criteria andTotalPlanQtyIn(List<BigDecimal> values) { addCriterion("TOTAL_PLAN_QTY",false,Operation.IN,values); return (Criteria) this; } /** * TOTAL_PLAN_QTY not in * @return */ public Criteria andTotalPlanQtyNotIn(List<BigDecimal> values) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * TOTAL_PLAN_QTY between * @return */ public Criteria andTotalPlanQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("TOTAL_PLAN_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * TOTAL_PLAN_QTY not between * @return */ public Criteria andTotalPlanQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(TOTAL_PLAN_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andTotalPlanQtyLikeInsensitive(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE is null * @return */ public Criteria andCustCodeIsNull() { addCriterion("CUST_CODE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_CODE is not null * @return */ public Criteria andCustCodeIsNotNull() { addCriterion("CUST_CODE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_CODE = * @return */ public Criteria andCustCodeEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE <> * @return */ public Criteria andCustCodeNotEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE > * @return */ public Criteria andCustCodeGreaterThan(String value) { addCriterion("CUST_CODE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE >= * @return */ public Criteria andCustCodeGreaterThanOrEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE < * @return */ public Criteria andCustCodeLessThan(String value) { addCriterion("CUST_CODE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE <= * @return */ public Criteria andCustCodeLessThanOrEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE like * @return */ public Criteria andCustCodeLike(String value) { addCriterion("CUST_CODE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE not like * @return */ public Criteria andCustCodeNotLike(String value) { addCriterion("CUST_CODE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE in * @return */ public Criteria andCustCodeIn(List<String> values) { addCriterion("CUST_CODE",false,Operation.IN,values); return (Criteria) this; } /** * CUST_CODE not in * @return */ public Criteria andCustCodeNotIn(List<String> values) { addCriterion("CUST_CODE",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_CODE between * @return */ public Criteria andCustCodeBetween(String value1, String value2) { addCriterion("CUST_CODE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_CODE not between * @return */ public Criteria andCustCodeNotBetween(String value1, String value2) { addCriterion("CUST_CODE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_CODE) like '%value.toUpperCase()%' * @return */ public Criteria andCustCodeLikeInsensitive(String value) { addCriterion("CUST_CODE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY is null * @return */ public Criteria andActualCaseQtyIsNull() { addCriterion("ACTUAL_CASE_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ACTUAL_CASE_QTY is not null * @return */ public Criteria andActualCaseQtyIsNotNull() { addCriterion("ACTUAL_CASE_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ACTUAL_CASE_QTY = * @return */ public Criteria andActualCaseQtyEqualTo(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY <> * @return */ public Criteria andActualCaseQtyNotEqualTo(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY > * @return */ public Criteria andActualCaseQtyGreaterThan(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY >= * @return */ public Criteria andActualCaseQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY < * @return */ public Criteria andActualCaseQtyLessThan(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY <= * @return */ public Criteria andActualCaseQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY like * @return */ public Criteria andActualCaseQtyLike(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY not like * @return */ public Criteria andActualCaseQtyNotLike(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ACTUAL_CASE_QTY in * @return */ public Criteria andActualCaseQtyIn(List<BigDecimal> values) { addCriterion("ACTUAL_CASE_QTY",false,Operation.IN,values); return (Criteria) this; } /** * ACTUAL_CASE_QTY not in * @return */ public Criteria andActualCaseQtyNotIn(List<BigDecimal> values) { addCriterion("ACTUAL_CASE_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * ACTUAL_CASE_QTY between * @return */ public Criteria andActualCaseQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("ACTUAL_CASE_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ACTUAL_CASE_QTY not between * @return */ public Criteria andActualCaseQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("ACTUAL_CASE_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ACTUAL_CASE_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andActualCaseQtyLikeInsensitive(BigDecimal value) { addCriterion("ACTUAL_CASE_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR is null * @return */ public Criteria andLastModifyorIsNull() { addCriterion("LAST_MODIFYOR",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFYOR is not null * @return */ public Criteria andLastModifyorIsNotNull() { addCriterion("LAST_MODIFYOR",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFYOR = * @return */ public Criteria andLastModifyorEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR <> * @return */ public Criteria andLastModifyorNotEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR > * @return */ public Criteria andLastModifyorGreaterThan(String value) { addCriterion("LAST_MODIFYOR",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR >= * @return */ public Criteria andLastModifyorGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR < * @return */ public Criteria andLastModifyorLessThan(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR <= * @return */ public Criteria andLastModifyorLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR like * @return */ public Criteria andLastModifyorLike(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR not like * @return */ public Criteria andLastModifyorNotLike(String value) { addCriterion("LAST_MODIFYOR",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR in * @return */ public Criteria andLastModifyorIn(List<String> values) { addCriterion("LAST_MODIFYOR",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFYOR not in * @return */ public Criteria andLastModifyorNotIn(List<String> values) { addCriterion("LAST_MODIFYOR",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFYOR between * @return */ public Criteria andLastModifyorBetween(String value1, String value2) { addCriterion("LAST_MODIFYOR",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFYOR not between * @return */ public Criteria andLastModifyorNotBetween(String value1, String value2) { addCriterion("LAST_MODIFYOR",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFYOR) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyorLikeInsensitive(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE is null * @return */ public Criteria andIsEnableReceiveIsNull() { addCriterion("IS_ENABLE_RECEIVE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE is not null * @return */ public Criteria andIsEnableReceiveIsNotNull() { addCriterion("IS_ENABLE_RECEIVE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE = * @return */ public Criteria andIsEnableReceiveEqualTo(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE <> * @return */ public Criteria andIsEnableReceiveNotEqualTo(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE > * @return */ public Criteria andIsEnableReceiveGreaterThan(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE >= * @return */ public Criteria andIsEnableReceiveGreaterThanOrEqualTo(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE < * @return */ public Criteria andIsEnableReceiveLessThan(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE <= * @return */ public Criteria andIsEnableReceiveLessThanOrEqualTo(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE like * @return */ public Criteria andIsEnableReceiveLike(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE not like * @return */ public Criteria andIsEnableReceiveNotLike(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * IS_ENABLE_RECEIVE in * @return */ public Criteria andIsEnableReceiveIn(List<String> values) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.IN,values); return (Criteria) this; } /** * IS_ENABLE_RECEIVE not in * @return */ public Criteria andIsEnableReceiveNotIn(List<String> values) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.NOTIN,values); return (Criteria) this; } /** * IS_ENABLE_RECEIVE between * @return */ public Criteria andIsEnableReceiveBetween(String value1, String value2) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * IS_ENABLE_RECEIVE not between * @return */ public Criteria andIsEnableReceiveNotBetween(String value1, String value2) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(IS_ENABLE_RECEIVE) like '%value.toUpperCase()%' * @return */ public Criteria andIsEnableReceiveLikeInsensitive(String value) { addCriterion("IS_ENABLE_RECEIVE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME is null * @return */ public Criteria andLastModifyTimeIsNull() { addCriterion("LAST_MODIFY_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME is not null * @return */ public Criteria andLastModifyTimeIsNotNull() { addCriterion("LAST_MODIFY_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME = * @return */ public Criteria andLastModifyTimeEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME <> * @return */ public Criteria andLastModifyTimeNotEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME > * @return */ public Criteria andLastModifyTimeGreaterThan(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME >= * @return */ public Criteria andLastModifyTimeGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME < * @return */ public Criteria andLastModifyTimeLessThan(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME <= * @return */ public Criteria andLastModifyTimeLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME like * @return */ public Criteria andLastModifyTimeLike(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME not like * @return */ public Criteria andLastModifyTimeNotLike(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME in * @return */ public Criteria andLastModifyTimeIn(List<String> values) { addCriterion("LAST_MODIFY_TIME",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME not in * @return */ public Criteria andLastModifyTimeNotIn(List<String> values) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME between * @return */ public Criteria andLastModifyTimeBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFY_TIME not between * @return */ public Criteria andLastModifyTimeNotBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFY_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyTimeLikeInsensitive(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT is null * @return */ public Criteria andSkuCountIsNull() { addCriterion("SKU_COUNT",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * SKU_COUNT is not null * @return */ public Criteria andSkuCountIsNotNull() { addCriterion("SKU_COUNT",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * SKU_COUNT = * @return */ public Criteria andSkuCountEqualTo(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT <> * @return */ public Criteria andSkuCountNotEqualTo(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT > * @return */ public Criteria andSkuCountGreaterThan(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT >= * @return */ public Criteria andSkuCountGreaterThanOrEqualTo(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT < * @return */ public Criteria andSkuCountLessThan(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT <= * @return */ public Criteria andSkuCountLessThanOrEqualTo(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT like * @return */ public Criteria andSkuCountLike(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT not like * @return */ public Criteria andSkuCountNotLike(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * SKU_COUNT in * @return */ public Criteria andSkuCountIn(List<BigDecimal> values) { addCriterion("SKU_COUNT",false,Operation.IN,values); return (Criteria) this; } /** * SKU_COUNT not in * @return */ public Criteria andSkuCountNotIn(List<BigDecimal> values) { addCriterion("SKU_COUNT",false,Operation.NOTIN,values); return (Criteria) this; } /** * SKU_COUNT between * @return */ public Criteria andSkuCountBetween(BigDecimal value1, BigDecimal value2) { addCriterion("SKU_COUNT",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * SKU_COUNT not between * @return */ public Criteria andSkuCountNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("SKU_COUNT",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(SKU_COUNT) like '%value.toUpperCase()%' * @return */ public Criteria andSkuCountLikeInsensitive(BigDecimal value) { addCriterion("SKU_COUNT",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME is null * @return */ public Criteria andArriveTimeIsNull() { addCriterion("ARRIVE_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ARRIVE_TIME is not null * @return */ public Criteria andArriveTimeIsNotNull() { addCriterion("ARRIVE_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ARRIVE_TIME = * @return */ public Criteria andArriveTimeEqualTo(String value) { addCriterion("ARRIVE_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME <> * @return */ public Criteria andArriveTimeNotEqualTo(String value) { addCriterion("ARRIVE_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME > * @return */ public Criteria andArriveTimeGreaterThan(String value) { addCriterion("ARRIVE_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME >= * @return */ public Criteria andArriveTimeGreaterThanOrEqualTo(String value) { addCriterion("ARRIVE_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME < * @return */ public Criteria andArriveTimeLessThan(String value) { addCriterion("ARRIVE_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME <= * @return */ public Criteria andArriveTimeLessThanOrEqualTo(String value) { addCriterion("ARRIVE_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME like * @return */ public Criteria andArriveTimeLike(String value) { addCriterion("ARRIVE_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME not like * @return */ public Criteria andArriveTimeNotLike(String value) { addCriterion("ARRIVE_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ARRIVE_TIME in * @return */ public Criteria andArriveTimeIn(List<String> values) { addCriterion("ARRIVE_TIME",false,Operation.IN,values); return (Criteria) this; } /** * ARRIVE_TIME not in * @return */ public Criteria andArriveTimeNotIn(List<String> values) { addCriterion("ARRIVE_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * ARRIVE_TIME between * @return */ public Criteria andArriveTimeBetween(String value1, String value2) { addCriterion("ARRIVE_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ARRIVE_TIME not between * @return */ public Criteria andArriveTimeNotBetween(String value1, String value2) { addCriterion("ARRIVE_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ARRIVE_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andArriveTimeLikeInsensitive(String value) { addCriterion("ARRIVE_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE is null * @return */ public Criteria andCreateTimeZoneIsNull() { addCriterion("CREATE_TIME_ZONE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME_ZONE is not null * @return */ public Criteria andCreateTimeZoneIsNotNull() { addCriterion("CREATE_TIME_ZONE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME_ZONE = * @return */ public Criteria andCreateTimeZoneEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE <> * @return */ public Criteria andCreateTimeZoneNotEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE > * @return */ public Criteria andCreateTimeZoneGreaterThan(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE >= * @return */ public Criteria andCreateTimeZoneGreaterThanOrEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE < * @return */ public Criteria andCreateTimeZoneLessThan(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE <= * @return */ public Criteria andCreateTimeZoneLessThanOrEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE like * @return */ public Criteria andCreateTimeZoneLike(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE not like * @return */ public Criteria andCreateTimeZoneNotLike(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE in * @return */ public Criteria andCreateTimeZoneIn(List<String> values) { addCriterion("CREATE_TIME_ZONE",false,Operation.IN,values); return (Criteria) this; } /** * CREATE_TIME_ZONE not in * @return */ public Criteria andCreateTimeZoneNotIn(List<String> values) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATE_TIME_ZONE between * @return */ public Criteria andCreateTimeZoneBetween(String value1, String value2) { addCriterion("CREATE_TIME_ZONE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATE_TIME_ZONE not between * @return */ public Criteria andCreateTimeZoneNotBetween(String value1, String value2) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATE_TIME_ZONE) like '%value.toUpperCase()%' * @return */ public Criteria andCreateTimeZoneLikeInsensitive(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO is null * @return */ public Criteria andReceiptOrderNoIsNull() { addCriterion("RECEIPT_ORDER_NO",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_ORDER_NO is not null * @return */ public Criteria andReceiptOrderNoIsNotNull() { addCriterion("RECEIPT_ORDER_NO",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_ORDER_NO = * @return */ public Criteria andReceiptOrderNoEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO <> * @return */ public Criteria andReceiptOrderNoNotEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO > * @return */ public Criteria andReceiptOrderNoGreaterThan(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO >= * @return */ public Criteria andReceiptOrderNoGreaterThanOrEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO < * @return */ public Criteria andReceiptOrderNoLessThan(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO <= * @return */ public Criteria andReceiptOrderNoLessThanOrEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO like * @return */ public Criteria andReceiptOrderNoLike(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO not like * @return */ public Criteria andReceiptOrderNoNotLike(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO in * @return */ public Criteria andReceiptOrderNoIn(List<String> values) { addCriterion("RECEIPT_ORDER_NO",false,Operation.IN,values); return (Criteria) this; } /** * RECEIPT_ORDER_NO not in * @return */ public Criteria andReceiptOrderNoNotIn(List<String> values) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIPT_ORDER_NO between * @return */ public Criteria andReceiptOrderNoBetween(String value1, String value2) { addCriterion("RECEIPT_ORDER_NO",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIPT_ORDER_NO not between * @return */ public Criteria andReceiptOrderNoNotBetween(String value1, String value2) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIPT_ORDER_NO) like '%value.toUpperCase()%' * @return */ public Criteria andReceiptOrderNoLikeInsensitive(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ASN_NO is null * @return */ public Criteria andAsnNoIsNull() { addCriterion("ASN_NO",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ASN_NO is not null * @return */ public Criteria andAsnNoIsNotNull() { addCriterion("ASN_NO",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ASN_NO = * @return */ public Criteria andAsnNoEqualTo(String value) { addCriterion("ASN_NO",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ASN_NO <> * @return */ public Criteria andAsnNoNotEqualTo(String value) { addCriterion("ASN_NO",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ASN_NO > * @return */ public Criteria andAsnNoGreaterThan(String value) { addCriterion("ASN_NO",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ASN_NO >= * @return */ public Criteria andAsnNoGreaterThanOrEqualTo(String value) { addCriterion("ASN_NO",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ASN_NO < * @return */ public Criteria andAsnNoLessThan(String value) { addCriterion("ASN_NO",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ASN_NO <= * @return */ public Criteria andAsnNoLessThanOrEqualTo(String value) { addCriterion("ASN_NO",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ASN_NO like * @return */ public Criteria andAsnNoLike(String value) { addCriterion("ASN_NO",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ASN_NO not like * @return */ public Criteria andAsnNoNotLike(String value) { addCriterion("ASN_NO",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ASN_NO in * @return */ public Criteria andAsnNoIn(List<String> values) { addCriterion("ASN_NO",false,Operation.IN,values); return (Criteria) this; } /** * ASN_NO not in * @return */ public Criteria andAsnNoNotIn(List<String> values) { addCriterion("ASN_NO",false,Operation.NOTIN,values); return (Criteria) this; } /** * ASN_NO between * @return */ public Criteria andAsnNoBetween(String value1, String value2) { addCriterion("ASN_NO",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ASN_NO not between * @return */ public Criteria andAsnNoNotBetween(String value1, String value2) { addCriterion("ASN_NO",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ASN_NO) like '%value.toUpperCase()%' * @return */ public Criteria andAsnNoLikeInsensitive(String value) { addCriterion("ASN_NO",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME is null * @return */ public Criteria andCarrierNameIsNull() { addCriterion("CARRIER_NAME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CARRIER_NAME is not null * @return */ public Criteria andCarrierNameIsNotNull() { addCriterion("CARRIER_NAME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CARRIER_NAME = * @return */ public Criteria andCarrierNameEqualTo(String value) { addCriterion("CARRIER_NAME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME <> * @return */ public Criteria andCarrierNameNotEqualTo(String value) { addCriterion("CARRIER_NAME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME > * @return */ public Criteria andCarrierNameGreaterThan(String value) { addCriterion("CARRIER_NAME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME >= * @return */ public Criteria andCarrierNameGreaterThanOrEqualTo(String value) { addCriterion("CARRIER_NAME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME < * @return */ public Criteria andCarrierNameLessThan(String value) { addCriterion("CARRIER_NAME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME <= * @return */ public Criteria andCarrierNameLessThanOrEqualTo(String value) { addCriterion("CARRIER_NAME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME like * @return */ public Criteria andCarrierNameLike(String value) { addCriterion("CARRIER_NAME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME not like * @return */ public Criteria andCarrierNameNotLike(String value) { addCriterion("CARRIER_NAME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CARRIER_NAME in * @return */ public Criteria andCarrierNameIn(List<String> values) { addCriterion("CARRIER_NAME",false,Operation.IN,values); return (Criteria) this; } /** * CARRIER_NAME not in * @return */ public Criteria andCarrierNameNotIn(List<String> values) { addCriterion("CARRIER_NAME",false,Operation.NOTIN,values); return (Criteria) this; } /** * CARRIER_NAME between * @return */ public Criteria andCarrierNameBetween(String value1, String value2) { addCriterion("CARRIER_NAME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CARRIER_NAME not between * @return */ public Criteria andCarrierNameNotBetween(String value1, String value2) { addCriterion("CARRIER_NAME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CARRIER_NAME) like '%value.toUpperCase()%' * @return */ public Criteria andCarrierNameLikeInsensitive(String value) { addCriterion("CARRIER_NAME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE is null * @return */ public Criteria andProcessStateIsNull() { addCriterion("PROCESS_STATE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * PROCESS_STATE is not null * @return */ public Criteria andProcessStateIsNotNull() { addCriterion("PROCESS_STATE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * PROCESS_STATE = * @return */ public Criteria andProcessStateEqualTo(String value) { addCriterion("PROCESS_STATE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE <> * @return */ public Criteria andProcessStateNotEqualTo(String value) { addCriterion("PROCESS_STATE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE > * @return */ public Criteria andProcessStateGreaterThan(String value) { addCriterion("PROCESS_STATE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE >= * @return */ public Criteria andProcessStateGreaterThanOrEqualTo(String value) { addCriterion("PROCESS_STATE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE < * @return */ public Criteria andProcessStateLessThan(String value) { addCriterion("PROCESS_STATE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE <= * @return */ public Criteria andProcessStateLessThanOrEqualTo(String value) { addCriterion("PROCESS_STATE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE like * @return */ public Criteria andProcessStateLike(String value) { addCriterion("PROCESS_STATE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE not like * @return */ public Criteria andProcessStateNotLike(String value) { addCriterion("PROCESS_STATE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * PROCESS_STATE in * @return */ public Criteria andProcessStateIn(List<String> values) { addCriterion("PROCESS_STATE",false,Operation.IN,values); return (Criteria) this; } /** * PROCESS_STATE not in * @return */ public Criteria andProcessStateNotIn(List<String> values) { addCriterion("PROCESS_STATE",false,Operation.NOTIN,values); return (Criteria) this; } /** * PROCESS_STATE between * @return */ public Criteria andProcessStateBetween(String value1, String value2) { addCriterion("PROCESS_STATE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * PROCESS_STATE not between * @return */ public Criteria andProcessStateNotBetween(String value1, String value2) { addCriterion("PROCESS_STATE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(PROCESS_STATE) like '%value.toUpperCase()%' * @return */ public Criteria andProcessStateLikeInsensitive(String value) { addCriterion("PROCESS_STATE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME is null * @return */ public Criteria andCustNameIsNull() { addCriterion("CUST_NAME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_NAME is not null * @return */ public Criteria andCustNameIsNotNull() { addCriterion("CUST_NAME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_NAME = * @return */ public Criteria andCustNameEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME <> * @return */ public Criteria andCustNameNotEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME > * @return */ public Criteria andCustNameGreaterThan(String value) { addCriterion("CUST_NAME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME >= * @return */ public Criteria andCustNameGreaterThanOrEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME < * @return */ public Criteria andCustNameLessThan(String value) { addCriterion("CUST_NAME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME <= * @return */ public Criteria andCustNameLessThanOrEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME like * @return */ public Criteria andCustNameLike(String value) { addCriterion("CUST_NAME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME not like * @return */ public Criteria andCustNameNotLike(String value) { addCriterion("CUST_NAME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME in * @return */ public Criteria andCustNameIn(List<String> values) { addCriterion("CUST_NAME",false,Operation.IN,values); return (Criteria) this; } /** * CUST_NAME not in * @return */ public Criteria andCustNameNotIn(List<String> values) { addCriterion("CUST_NAME",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_NAME between * @return */ public Criteria andCustNameBetween(String value1, String value2) { addCriterion("CUST_NAME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_NAME not between * @return */ public Criteria andCustNameNotBetween(String value1, String value2) { addCriterion("CUST_NAME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_NAME) like '%value.toUpperCase()%' * @return */ public Criteria andCustNameLikeInsensitive(String value) { addCriterion("CUST_NAME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME is null * @return */ public Criteria andExpectArriveTimeIsNull() { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME is not null * @return */ public Criteria andExpectArriveTimeIsNotNull() { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME = * @return */ public Criteria andExpectArriveTimeEqualTo(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME <> * @return */ public Criteria andExpectArriveTimeNotEqualTo(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME > * @return */ public Criteria andExpectArriveTimeGreaterThan(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME >= * @return */ public Criteria andExpectArriveTimeGreaterThanOrEqualTo(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME < * @return */ public Criteria andExpectArriveTimeLessThan(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME <= * @return */ public Criteria andExpectArriveTimeLessThanOrEqualTo(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME like * @return */ public Criteria andExpectArriveTimeLike(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME not like * @return */ public Criteria andExpectArriveTimeNotLike(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME in * @return */ public Criteria andExpectArriveTimeIn(List<String> values) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.IN,values); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME not in * @return */ public Criteria andExpectArriveTimeNotIn(List<String> values) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME between * @return */ public Criteria andExpectArriveTimeBetween(String value1, String value2) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * EXPECT_ARRIVE_TIME not between * @return */ public Criteria andExpectArriveTimeNotBetween(String value1, String value2) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(EXPECT_ARRIVE_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andExpectArriveTimeLikeInsensitive(String value) { addCriterion("EXPECT_ARRIVE_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE is null * @return */ public Criteria andReceiptTypeIsNull() { addCriterion("RECEIPT_TYPE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_TYPE is not null * @return */ public Criteria andReceiptTypeIsNotNull() { addCriterion("RECEIPT_TYPE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_TYPE = * @return */ public Criteria andReceiptTypeEqualTo(String value) { addCriterion("RECEIPT_TYPE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE <> * @return */ public Criteria andReceiptTypeNotEqualTo(String value) { addCriterion("RECEIPT_TYPE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE > * @return */ public Criteria andReceiptTypeGreaterThan(String value) { addCriterion("RECEIPT_TYPE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE >= * @return */ public Criteria andReceiptTypeGreaterThanOrEqualTo(String value) { addCriterion("RECEIPT_TYPE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE < * @return */ public Criteria andReceiptTypeLessThan(String value) { addCriterion("RECEIPT_TYPE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE <= * @return */ public Criteria andReceiptTypeLessThanOrEqualTo(String value) { addCriterion("RECEIPT_TYPE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE like * @return */ public Criteria andReceiptTypeLike(String value) { addCriterion("RECEIPT_TYPE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE not like * @return */ public Criteria andReceiptTypeNotLike(String value) { addCriterion("RECEIPT_TYPE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_TYPE in * @return */ public Criteria andReceiptTypeIn(List<String> values) { addCriterion("RECEIPT_TYPE",false,Operation.IN,values); return (Criteria) this; } /** * RECEIPT_TYPE not in * @return */ public Criteria andReceiptTypeNotIn(List<String> values) { addCriterion("RECEIPT_TYPE",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIPT_TYPE between * @return */ public Criteria andReceiptTypeBetween(String value1, String value2) { addCriterion("RECEIPT_TYPE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIPT_TYPE not between * @return */ public Criteria andReceiptTypeNotBetween(String value1, String value2) { addCriterion("RECEIPT_TYPE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIPT_TYPE) like '%value.toUpperCase()%' * @return */ public Criteria andReceiptTypeLikeInsensitive(String value) { addCriterion("RECEIPT_TYPE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } } }

1.11.主表控制类

1.11.主表控制类

/*
 * @(#)TestExam3201Controller.java
 * 版权声明  厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分16秒
 *  描 述:创建
 */
package com.gillion.sample.test.web;

import java.io.IOException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Collection;

import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.gillion.platform.framework.component.filter.domain.FilterGroup;
import com.gillion.platform.framework.component.filter.domain.FilterGroupDetail;
import com.gillion.platform.utils.*;
import net.sf.json.JSONObject;
import com.google.common.collect.Maps;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
import com.gillion.platform.framework.core.domain.BaseObject;
import org.apache.commons.lang.builder.ToStringBuilder;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.stereotype.Controller;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.PathVariable;

import org.springframework.web.servlet.ModelAndView;

import com.gillion.platform.bo.BoConstants;
import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.bo.service.impl.BusinessObjectService;
import com.gillion.platform.framework.core.Constants;
import com.gillion.platform.framework.core.dao.BeanPropertyRowMapper;
import com.gillion.platform.framework.core.query.ConditionResult;
import com.gillion.platform.framework.core.query.Operation;
import com.gillion.platform.framework.core.query.Page;
import com.gillion.platform.framework.core.query.Criteria;
import com.gillion.platform.framework.core.query.PageRequest;
import com.gillion.platform.framework.core.query.SearchColumn;
import com.gillion.platform.framework.core.query.OrderColumn;
import com.gillion.platform.framework.component.search.QueryResultType;
import com.fasterxml.jackson.databind.JsonNode;
import com.gillion.platform.utils.json.JsonMapper;
import com.gillion.platform.utils.JsonUtils;
import com.gillion.platform.utils.StringUtils;
import com.gillion.platform.utils.DateUtils;
import com.gillion.platform.utils.ResponseUtils;
import java.math.BigDecimal;

import com.gillion.platform.framework.core.BusinessException;

import com.gillion.sample.test.domain.TestExam3201;
import com.gillion.sample.test.domain.TestExam3201Example;
import com.gillion.sample.test.service.TestExam3201Service;

import com.gillion.sample.test.domain.TestExam3201Detail;
import com.gillion.sample.test.domain.TestExam3201DetailExample;
import com.gillion.sample.test.service.TestExam3201DetailService;
import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.framework.core.web.BaseAbstractController;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.support.RequestContextUtils;
import com.gillion.platform.framework.core.web.BaseMultiActionController;
import java.lang.reflect.InvocationTargetException;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;
import java.io.InputStream;
import java.util.Set;
import org.springframework.beans.BeanUtils;

import com.gfa4j.utils.ResultUtils;
import com.gillion.platform.framework.component.dictionary.domain.DictionaryRows;
import com.gillion.platform.framework.component.dictionary.service.DictionaryServiceExt;
import com.gillion.platform.utils.SpringContextHolder;
import com.gillion.platform.bizrule.core.util.DroolsUtils;
import com.gillion.platform.bizrule.core.service.RuleService;
import com.gillion.sample.test.domain.VwTestExam3201;
import com.gillion.sample.test.service.VwTestExam3201Service;
import com.gillion.sample.test.domain.VwTestExam3201Example;
import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;
import javax.validation.ConstraintViolation;
import com.gillion.sample.test.custom.TestExam3201ImportService;

/**
 * <pre>
 * TestExam3201(TestExam3201)控制器类
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@Controller
@SuppressWarnings("all")
public class TestExam3201Controller extends BaseAbstractController
{
    protected static final String boName = "TestExam3201";

    /* (non-Javadoc)
     * @see com.gillion.framework.core.web.BaseAbstractController#getBoName()
     */
    @Override
    public String getBoName()
    {
        return boName;
    }

    @Autowired
    private LocalValidatorFactoryBean validator;


    @Autowired
    protected DictionaryServiceExt dictionaryService;

    @Autowired
    private TestExam3201ImportService testExam3201ImportService;

    @Autowired
    protected TestExam3201Service testExam3201Service;

    public void setTestExam3201Service(TestExam3201Service testExam3201Service)
    {
        this.testExam3201Service = testExam3201Service;
    }


    @RequestMapping("testExam3201/entryProcess")
    public ModelAndView entryProcess(HttpServletRequest request, HttpServletResponse response)
    {
        return super.entryProcess(request, response);
    }


    /**
     * TODO GLPaaS生成
     * 保存并新增 TestExam3201
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201/saveAndAddNew")
    public void saveAndAddNew(@RequestBody  TestExam3201 testExam3201, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201 testExam3201 = (TestExam3201) JsonMapper.MAPPER.fromJson(data, TestExam3201.class);
        //testExam3201Service.save(testExam3201);
        if(testExam3201.getRowStatus() == BaseObject.ROWSTATUS_ADDED )
        {
            testExam3201Service.save(testExam3201);
        } else
        {
            testExam3201Service.update(testExam3201);
        }

       ResponseUtils.flushSuccess(response, "保存成功!", "testExam3201", testExam3201);
    }

    /**
     * TODO GLPaaS生成
     * queryByJdbc
     * @param request
     * @param result
     * @param searchColumns
     * @param orderColumns
     * @param pageRequest
     */
    protected void queryByJdbc(HttpServletRequest request, Map<String, Object> result, List<SearchColumn> searchColumns,List<OrderColumn> orderColumns, PageRequest pageRequest,String gridKey)
    {
        Page page = new Page();
        page.setPageSize(pageRequest.getPageSize());
        page.setCurrentPage(pageRequest.getCurrentPage());

        TestExam3201Example example = TestExam3201Example.create(searchColumns);
        example.addOrderByClause(TestExam3201.class, orderColumns);
        JdbcTemplate jdbcTemplate = this.testExam3201Service.getJdbcTemplate();

        List allValues = Lists.newArrayList();
        StringBuffer realStrSql = new StringBuffer();
        realStrSql.append("select ");
        realStrSql.append("RECEIPT_METHOD,VENDOR_ID,CUST_NO,CUST_ID,TEST_EXAM_3201_ID,VENDOR_NAME,DEADLINE_DATE,RECEIPT_DESC,RECEIPT_STATUS,RECEIPT_MODEL,RECORD_VERSION,");
        realStrSql.append("IS_PART_DELIVERY,RECEIVE_TIME,CANCEL_TIME,CLOSE_TIME,WAREHOUSE_OFFICE_ID,PRIORITY,RECEIVE_PERSON_NAME,WMS_INB_ASN_ID,REMARK,TOTAL_PLAN_QTY,CUST_CODE,");
        realStrSql.append("ACTUAL_CASE_QTY,IS_ENABLE_RECEIVE,SKU_COUNT,ARRIVE_TIME,RECEIPT_ORDER_NO,ASN_NO,CARRIER_NAME,PROCESS_STATE,CUST_NAME,EXPECT_ARRIVE_TIME,RECEIPT_TYPE,");
        realStrSql.append("LAST_MODIFY_OFFICE,CREATOR,PRINCIPAL_GROUP_CODE,LAST_MODIFY_TIME_ZONE,CREATE_OFFICE,CREATE_TIME,LAST_MODIFYOR,LAST_MODIFY_TIME,CREATE_TIME_ZONE,");
        realStrSql.append(" from TEST_EXAM_3201" );
        realStrSql.append(" where 1=1 ");

        ConditionResult conditionResult = example.generatorSqlConditions();//generatorSqlConditions(example);
        realStrSql.append(conditionResult.getStrSql());

        String orderByClase = example.getOrderByClause();
        if(StringUtils.isNotNullBlank(orderByClase)) {
            realStrSql.append("t order by ").append(orderByClase);
        }
        Object[] sqlCountParam = allValues.toArray();
        //page.getCurrentPage() * page.getPageSize(), (page.getCurrentPage() - 1) * page.getPageSize()
        allValues.add((page.getCurrentPage() - 1) * page.getPageSize());
        allValues.add(page.getCurrentPage() * page.getPageSize());
        Object[] sqlPageParam = allValues.toArray();

        log.debug("sqlCountParam:" + JsonMapper.MAPPER.toJson(sqlCountParam));
        log.debug("sqlPageParam:" + JsonMapper.MAPPER.toJson(sqlPageParam));

        StringBuffer sqlCount = new StringBuffer();
        sqlCount.append("select count(1) from (" + realStrSql.toString() + ") TT");

        long start1 = System.currentTimeMillis();
        // 查询总记录条数
        int count = jdbcTemplate.queryForInt(sqlCount.toString(), sqlCountParam);
        log.debug("count:" + (System.currentTimeMillis()-start1) + " ms");

        StringBuffer sqlPage = new StringBuffer();
        sqlPage.append("SELECT * FROM ");
        if(DataBaseTypeUtils.getDbType().equals("MySql")){
            sqlPage.append("  (" + realStrSql.toString() + ") y");
            sqlPage.append("  limit ?,?");
        }else{
            sqlPage.append("  (SELECT rownum AS rownum_,row_.* FROM ");
            sqlPage.append("    (" + realStrSql.toString() + ") row_ ) ");
            sqlPage.append("  WHERE rownum_> ?  and rownum_ <= ?");
        }

        long start = System.currentTimeMillis();
        // 查询分页记录
        List<TestExam3201> testExam3201s = jdbcTemplate.query(sqlPage.toString(), BeanPropertyRowMapper.newInstance(TestExam3201.class), sqlPageParam);
       // 0 ---TestExam3201
       //加载子对象数据
       testExam3201Service.getTestExam3201s(testExam3201s);
        log.debug("query:" + (System.currentTimeMillis()-start) + " ms");
        page.setTotalRecord(count);
        page.setRecords(testExam3201s);

        result.put(Constants.TOTAL, count);
        result.put("testExam3201s", testExam3201s);
    }

    /**
     * TODO GLPaaS生成
     * queryByMyBatis
     * @param request
     * @param result
     * @param searchColumns
     * @param orderColumns
     * @param pageRequest
     */
    protected void queryByMyBatis(HttpServletRequest request, Map<String, Object> result, List<SearchColumn> searchColumns,List<OrderColumn> orderColumns, PageRequest pageRequest,String gridKey)
    {
        TestExam3201Example example = TestExam3201Example.create(searchColumns);

        example.addOrderByClause(TestExam3201.class, orderColumns);
        List<TestExam3201> testExam3201s = new ArrayList<TestExam3201>();


        if(pageRequest.isQueryPage())
        {
            Page<TestExam3201> page = testExam3201Service.find(pageRequest, example);
            testExam3201s = page.getRecords();

            result.put(Constants.TOTAL, page.getTotalRecord());
       }
       else
       {
            testExam3201s = testExam3201Service.find(example);

            result.put(Constants.TOTAL, testExam3201s.size());
       }
       // 0 ---TestExam3201
       //加载子对象数据 B
       testExam3201Service.getTestExam3201s(testExam3201s);

       result.put("testExam3201s", testExam3201s);
    }

    /**
     * TODO GLPaaS生成
     * TestExam3201分页信息查询
     * 
     * @param
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "testExam3201/query")
    public void query(HttpServletRequest request, HttpServletResponse response) throws Exception
    {
        Map<String,Object> result = new HashMap<String, Object>();
        String gridKey = request.getParameter("gridKey");
        boolean useMyBatisQuery = Boolean.TRUE;
        List<SearchColumn> filters = getFilterColumns(gridColumnUiTypes.get(gridKey),TestExam3201.class,request);
        List<SearchColumn> searchColumns = getSearchColumns(request,filters);

        PageRequest pageRequest = getPageRequest(request);
        if (searchColumns != null) {
            removeSearchColumn(searchColumns, "baseViewId");
        }

        List<OrderColumn> orderColumns = getOrderColumns(request);

        if(useMyBatisQuery)
            queryByMyBatis(request, result, searchColumns,orderColumns, pageRequest,gridKey);
        else
            queryByJdbc(request, result, searchColumns,orderColumns, pageRequest,gridKey);
        ResponseUtils.flushSuccess(response, result);
    }


    /**
     * TODO GLPaaS生成
     * 保存 TestExam3201
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201/saveOrUpdate")
    public void saveOrUpdate(@RequestBody  TestExam3201 testExam3201, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201 testExam3201 = (TestExam3201) JsonMapper.MAPPER.fromJson(data, TestExam3201.class);
        testExam3201Service.saveOrUpdate(testExam3201);

       ResponseUtils.flushSuccess(response, "保存成功!", "testExam3201", testExam3201);
    }


    /**
     * TODO GLPaaS生成
     * 根据 主键 删除 TestExam3201
     * 
     * @param shopId
     * @return
     * @throws Exception
     */
    @RequestMapping(value="testExam3201/delete")
    public void delete(@RequestParam(value="testExam3201Id") String testExam3201Id,  HttpServletResponse response) throws Exception
    {
        testExam3201Service.delete(testExam3201Id);

       ResponseUtils.flushSuccess(response, "删除成功!");
    }
    /**
     * TODO GLPaaS生成
     * 保存 TestExam3201
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201/save")
    public void save(@RequestBody  TestExam3201 testExam3201, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201 testExam3201 = (TestExam3201) JsonMapper.MAPPER.fromJson(data, TestExam3201.class);
        testExam3201Service.save(testExam3201);

        //刷新缓存

       ResponseUtils.flushSuccess(response, "保存成功!", "testExam3201", testExam3201);
    }

    /**
     * TODO GLPaaS生成
     * 批量删除TestExam3201
     * 
     * @param idStr
     * @return
     * @throws Exception
     * @
     */
    @RequestMapping(value="testExam3201/deletes")
    public void deletes(@RequestBody String params, HttpServletResponse response) throws Exception
    {
        Map<String,String> parmMaps = JsonMapper.MAPPER.fromJson(params,Map.class);
        String idStr = parmMaps.get("ids");
        String[] ids = idStr.split(",");
        testExam3201Service.deletes(ids);
       ResponseUtils.flushSuccess(response, "删除成功!");

   }

    /**
     * TODO GLPaaS生成
     * 根据主键获取TestExam3201
     * 
     * @param shopId
     * @return
     * @
     */
    @RequestMapping(value = "testExam3201/getTestExam3201")
    public void getTestExam3201(@RequestParam(value="testExam3201Id") String testExam3201Id,
     @RequestParam(value="cascade",required=false) boolean cascade,

     HttpServletResponse response)  throws Exception
    {
        TestExam3201 testExam3201 = null ;

        if(StringUtils.isNotNullBlank(testExam3201Id)) {
            testExam3201 = testExam3201Service.get(testExam3201Id,cascade);
        }
        else
        {
            String msg = "参数testExam3201Id";
            msg += "不能为空.";
            throw new BusinessException(msg);
        }

        if(null==testExam3201){
            testExam3201 = new TestExam3201();
            testExam3201.setRowStatus(BaseObject.ROWSTATUS_ADDED);
        }

       ResponseUtils.flushSuccess(response, "请求成功!", "testExam3201", testExam3201);
    }

    /**
     * TODO GLPaaS生成
     * TestExam3201保存并提交工作流审批
     *
     * @param data
     * @return
     * @throws IOException
     */
    @RequestMapping(value = "testExam3201/saveAndSubmitProcess")
    public void saveAndSubmitProcess(@RequestBody String data,HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        TestExam3201 testExam3201 = (TestExam3201) JsonMapper.MAPPER.fromJson(data, TestExam3201.class);
        testExam3201Service.saveAndSubmitProcess(testExam3201);
        ResponseUtils.flushSuccess(response, "提交成功!", "testExam3201", testExam3201);
    }

    /**
     * TODO GLPaaS生成
     * 批量保存
     * @param idStr
     * @return
     * @throws Exception
     * @
     */
    @RequestMapping(value="testExam3201/saveOrUpdates")
    public void saveOrUpdates(@RequestBody  List<TestExam3201> testExam3201s, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        List<TestExam3201> result = testExam3201Service.saveOrUpdates(testExam3201s);

       ResponseUtils.flushSuccess(response, "批量保存成功!", "testExam3201s", result);
    }

    /**
     * TODO GLPaaS生成
     * 批量保存
     * @param idStr
     * @return
     * @throws Exception
     * @
     */
    @RequestMapping(value="testExam3201/bacthSaveTestExam3201Data")
    public void bacthSaveTestExam3201Data(@RequestBody  List<TestExam3201> testExam3201s, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        List<TestExam3201> result = testExam3201Service.saveOrUpdates(testExam3201s);


       ResponseUtils.flushSuccess(response, "批量保存成功!", "testExam3201s", result);
    }

    /**
     * TODO GLPaaS生成
     * TestExam3201提交工作流审批
     *
     * @param purchaseOrderId
     * @return
     * @throws IOException
     */
    @RequestMapping(value = "testExam3201/submitProcess")
    public void submitProcess(@RequestParam(value = "testExam3201Id")
    String testExam3201Id,@RequestParam(value = "workFlowTaskId",required=false) String workFlowTaskId , HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        TestExam3201 testExam3201 = testExam3201Service.get(testExam3201Id);
        testExam3201.setWorkFlowTaskId(workFlowTaskId);
        testExam3201Service.submitProcess(testExam3201);
        testExam3201 = testExam3201Service.get(testExam3201Id);

           ResponseUtils.flushSuccess(response, "提交成功!", "testExam3201", testExam3201);
    }

    /**
     * TODO GLPaaS生成
     * 保存 TestExam3201
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201/update")
    public void update(@RequestBody  TestExam3201 testExam3201, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201 testExam3201 = (TestExam3201) JsonMapper.MAPPER.fromJson(data, TestExam3201.class);
            testExam3201Service.update(testExam3201);

        ResponseUtils.flushSuccess(response, "修改成功!", "testExam3201", testExam3201);
    }







   /**
    * TODO GLPaaS生成
    *
    */
    @RequestMapping(value = "testExam3201/exportDict")
    @ResponseBody
    public Map exportDict(HttpServletRequest requsest, HttpServletResponse response) throws Exception
    {
        Map resultMap = Maps.newHashMap();

       String dictCodes = "YesOrNo,ReceiptModel,YesOrNo,ReceiptType";
       Map<String, List<DictionaryRows>> groupDictionaryRows = this.dictionaryService.queryDictRows(dictCodes, "", false);
       for(String key : groupDictionaryRows.keySet()){
           List<DictionaryRows> list = groupDictionaryRows.get(key);
           Map testDictMap = Maps.newHashMap();
           for (Iterator iterator = list.iterator(); iterator.hasNext();) {
               DictionaryRows dictionaryRows = (DictionaryRows) iterator.next();
               testDictMap.put(dictionaryRows.getCode(),dictionaryRows.getName());
           }
           resultMap.put(key,testDictMap);
       }
       return ResultUtils.getSuccessResultData(resultMap);
    }


    /**
    * TODO GLPaaS生成
    * TestExam3201分页信息查询
    * exportExcel
    * @param
    * @return
    * @throws Exception
    */
    @ResponseBody
    @RequestMapping(value = "testExam3201/exportExcel")
    public Map exportExcel(@RequestParam(required = false) String key,@RequestParam(required = false) String gridType,HttpServletRequest request, HttpServletResponse response) throws Exception
    {
        System.out.println("gridKey:" + key);
        System.out.println("gridType:" + gridType);
        return exportExcelGrid(key,request, response);
    }

   /**
    * TODO GLPaaS生成
    * TestExam3201分页信息查询
    * exportExcel
    * @param
    * @return
    * @throws Exception
    */
    private Map exportExcelGrid(String gridType,HttpServletRequest request, HttpServletResponse response) throws Exception
    {
        RuleService ruleService = SpringContextHolder.getBeanByType(RuleService.class);
        Map<String,Object> result = new HashMap<String, Object>();

        String gridKey = request.getParameter("gridKey");
        if(StringUtils.isEmpty(gridKey)) {
            String[] key = request.getParameterValues("key");
            if(key.length>2)
                gridKey = key[2];
        }
        List<SearchColumn>  filters = new ArrayList<SearchColumn>();
        List<SearchColumn> columnfilters = getFilterColumns(gridColumnUiTypes.get(gridKey),TestExam3201.class,request);
        filters.addAll(columnfilters);

        List<SearchColumn> searchColumns = getSearchColumns(request,filters);

        PageRequest pageRequest = getPageRequest(request);
        if (searchColumns != null) {
            removeSearchColumn(searchColumns, "baseViewId");
        }

        TestExam3201Example example = TestExam3201Example.create(searchColumns);
        String flag = request.getParameter("flag");
        String isPrintAll = request.getParameter("isPrintAll");
        Page<VwTestExam3201> page ;
        List<VwTestExam3201> records = new ArrayList<VwTestExam3201>();
        if(StringUtils.isNotNullBlank(isPrintAll) &&  isPrintAll.equalsIgnoreCase("true"))
        {
            VwTestExam3201Service aVwTestExam3201Service = SpringContextHolder.getBeanByType(VwTestExam3201Service.class);
            List<String> ids = new ArrayList();
            if("A".equals(flag)){//导出所有查询条件对应记录
                List<TestExam3201> recordsAll = testExam3201Service.find(example);
                for (int i = 0; i < recordsAll.size(); i++) {
                    TestExam3201 aTestExam3201 = (TestExam3201) recordsAll.get(i);
                    ids.add(aTestExam3201.getTestExam3201Id());
                }
            }else{//导出前台选中记录
                String idsStr = request.getParameter("ids");
                ids = Lists.newArrayList(idsStr.split(","));
            }

            if(ids.size() > 0){
                int batchSize = (ids.size() + 999) / 1000;
                for(int i = 0; i < batchSize; i++) {
                    int toIndex = 1000 * (i + 1);
                    if (i == batchSize - 1) {
                        toIndex = ids.size();
                    }

                    VwTestExam3201Example aVwTestExam3201Example = new VwTestExam3201Example();
                    //aVwTestExam3201Example.and().andCreateCondition("TEST_EXAM_3201_ID","testExam3201Id",Operation.IN,ids.subList(i * 1000, toIndex));
                    aVwTestExam3201Example.and().andCreateCondition(TestExam3201.TESTEXAM3201ID,"testExam3201Id",Operation.IN,ids.subList(i * 1000, toIndex));
                    //aVwTestExam3201Example.and().andTestExam3201IdIn(ids.subList(i * 1000, toIndex));
                    aVwTestExam3201Example.setOrderByClause("TEST_EXAM_3201_ID");
                    records.addAll(aVwTestExam3201Service.find(aVwTestExam3201Example));
                }
            } else {
                records = new ArrayList<VwTestExam3201>();
            }


            page = new Page<VwTestExam3201>();
            page.setRecords(records);
        } else {
            page = new Page<VwTestExam3201>();
        }
        if(pageRequest.isQueryPage()){
            return ResultUtils.getSuccessResultData(page);
        } else {
            return ResultUtils.getSuccessResultData(records);
        }
    }




   /**
    * TODO GLPaaS生成
    * TestExam3201分组筛选的信息查询
    *
    * @param
    * @return
    * @throws Exception
    */
    @RequestMapping(value = "testExam3201/filterGroup2NumQuery")
    public void filterGroup2NumQuery(@RequestBody String params, HttpServletRequest request, HttpServletResponse response) throws Exception
    {
        Map<String, Object> result = new HashMap<String, Object>();
        JSONObject jsonObject = JSONObject.fromObject(params);
        List<FilterGroup> filterGroups = JsonMapper.MAPPER.fromJsonToList(jsonObject.getJSONObject("params").getJSONArray("groupFilters").toString(), FilterGroup.class);
        String gridKey = jsonObject.getJSONObject("params").getString("gridKey");
        PageRequest pageRequest = getPageRequest(request);

        List<OrderColumn> orderColumns = getOrderColumns(request);
        List<Map> resultList = new ArrayList<Map>();
        for (int i = 0; i < filterGroups.size(); i++) {
            Map<String, String> filterGroup2NumMap = new HashMap<String, String>();
            FilterGroup filterGroup = filterGroups.get(i);
            List<SearchColumn> searchColumns = getSearchColumnsByFilterGroups(gridColumnUiTypes.get(gridKey),TestExam3201.class,filterGroup);
            queryByMyBatis(request, result, searchColumns, orderColumns, pageRequest,gridKey);
            filterGroup2NumMap.put("totalNum", String.valueOf(result.get(Constants.TOTAL)));
            filterGroup2NumMap.put("ipfFilterGroupId",filterGroup.getIpfFilterGroupId());
            resultList.add(filterGroup2NumMap);
        }

        result = new HashMap<String, Object>();
        result.put("resultList", resultList);

        ResponseUtils.flushSuccess(response, result);
    }

    public static Map<String,Map<String,String>> gridColumnUiTypes = null;
    static {
        String gridUiTypeJson = "{\"86527b4c-2769-4b91-b283-fa47db50483e_0\":{\"asnNo\":\"01\",\"custNo\":\"01\",\"custName\":\"01\",\"arriveTime\":\"04\",\"isPartDelivery\":\"19\",\"receiptType\":\"06\",\"receiveTime\":\"04\",\"isEnableReceive\":\"01\",\"receiptMethod\":\"06\"}}";
        gridColumnUiTypes = JsonMapper.MAPPER.fromJson(gridUiTypeJson,Map.class);
    }
}

1.12.主表服务接口

1.12.主表服务接口

/*
 * @(#)TestExam3201Service.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分16秒
 *  描 述:创建
 */

package com.gillion.sample.test.service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.io.Serializable;

import com.gillion.platform.framework.core.service.IBaseService;
import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.sample.test.domain.TestExam3201;
import com.gillion.sample.test.domain.TestExam3201Example;

import com.gillion.sample.test.domain.TestExam3201Detail;
import com.gillion.platform.framework.core.query.Page;
import com.gillion.platform.framework.core.query.PageRequest;

/**
 * <pre>
 * TestExam3201(TestExam3201)服务类接口
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@SuppressWarnings("all")
public interface TestExam3201Service extends IBaseService<String,TestExam3201,TestExam3201Example>
{

    /**
     * TODO GLPaaS生成
     * 取得对象TestExam3201
     * @param testExam3201Id
     * @param cascadeAndContainQueryObjct
     *         第一个参数  级联查询 ,第2个参数为 是否查询 【查询子对象类型】对象数据。
     * @return  TestExam3201
     * @
     */
    public TestExam3201 get(String testExam3201Id,boolean ... cascadeAndContainQueryObjct);

    /**
     * TODO GLPaaS生成
     * 加载子对象数据
     * @param List
     * @param cascadeAndContainQueryObjct
     *         第一个参数  级联查询 ,第2个参数为 是否查询 【查询子对象类型】对象数据。
     * @return List
     */
    public List<TestExam3201> getTestExam3201s(List<TestExam3201> testExam3201s,boolean ... cascadeAndContainQueryObjct);

    /**
     * TODO GLPaaS生成
     * 加载子对象数据
     * @paramTestExam3201Example
     * @param cascade
     * @return List
     * @
     */
    public List<TestExam3201> getTestExam3201s(List<TestExam3201> testExam3201s);

    /**
     * TODO GLPaaS生成
     * 根据Example查询
     * @paramTestExam3201Example
     * @param cascadeAndContainQueryObjct
     *         第一个参数  级联查询 ,第2个参数为 是否查询 【查询子对象类型】对象数据。
     * @return List
     * @
     */
    public List<TestExam3201> find(TestExam3201Example example,boolean ... cascadeAndContainQueryObjct);

    /**
     * TODO GLPaaS生成
     * 取得子对象TestExam3201Detail
     * @param TestExam3201 testExam3201
     * @return
     * @
     */
    public List<TestExam3201Detail> getTestExam3201Details(TestExam3201 testExam3201);

    public List<TestExam3201> find(TestExam3201Example example);

    public Page<TestExam3201> find(PageRequest pageRequest, TestExam3201Example example);

    /**
     * TODO GLPaaS生成
     * 保存TestExam3201
     * 
     * @param ids
     * @return
     * @
     */
    public int saveOrUpdate(TestExam3201 testExam3201);

    /**
     * TODO GLPaaS生成
     * 根据主键列表,批量删除TestExam3201
     *
     * @param ids
     */
    public void deletes(String[] ids);

    /**
     * TODO GLPaaS生成
     * 新增保存TestExam3201
     * 
     * @param testExam3201
     * @return
     * @
     */
    public int save(TestExam3201 testExam3201);

    /**
     * TODO GLPaaS生成
     * 根据主键值删除TestExam3201
     *
     * @param id
     */
    public void delete(String id);

    /**
     * TODO GLPaaS生成
     * 根据主键获取TestExam3201
     * 
     * @param testExam3201s
     * @return
     * @
     */
    public TestExam3201 get(String testExam3201Id);

    /**
     * TODO GLPaaS生成
     * 保存并提交 TestExam3201
     * 
     * @param ids
     * @return
     * @
     */
     public void saveAndSubmitProcess(TestExam3201 testExam3201);

    /**
     * TODO GLPaaS生成
     * 批量修改保存TestExam3201
     * 
     * @param testExam3201s
     * @return
     * @
     */
    public List<TestExam3201> saveOrUpdates(List<TestExam3201> testExam3201s);

    /**
     * 保存并提交 TestExam3201
     * 
     * @param ids
     * @return
     * @
     */
     public void submitProcess(TestExam3201 testExam3201);

    /**
     * TODO GLPaaS生成
     * 修改保存TestExam3201
     * 
     * @param testExam3201
     * @return
     * @
     */
    public int update(TestExam3201 testExam3201);


}

1.13.主表服务实现类

1.13.主表服务实现类

/*
 * @(#)TestExam3201ServiceImpl.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分16秒
 *  描 述:创建
 */
package com.gillion.sample.test.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Arrays;
import java.util.Map;
import java.util.HashSet;
import java.util.Set;
import java.util.Collection;
import java.io.Serializable;

import org.springframework.stereotype.Service;
import org.springframework.util.*;

import com.fasterxml.jackson.databind.JavaType;

import com.gillion.platform.utils.BaseViewUtils;
import com.gillion.platform.utils.json.JsonMapper;
import com.gillion.platform.utils.StringUtils;
import com.gillion.platform.utils.SpringContextHolder;

import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.bo.service.impl.BusinessObjectService;

import com.gillion.platform.bizrule.core.domain.InvokeTime;
import com.gillion.platform.bizrule.core.domain.RuleInfo;
import com.gillion.platform.bizrule.core.util.DroolsUtils;

import com.gillion.platform.framework.core.service.BaseServiceImplExt;
import com.gillion.platform.framework.core.BusinessException;
import com.gillion.platform.framework.core.domain.BaseObject;
import com.gillion.platform.framework.core.query.Page;
import com.gillion.platform.framework.core.query.PageRequest;
import com.gillion.platform.framework.core.query.Operation;
import com.gillion.platform.framework.core.query.Criteria;
import com.gillion.platform.framework.core.query.OrderColumn;

import com.gillion.sample.test.domain.TestExam3201;
import com.gillion.sample.test.service.TestExam3201Service;
import com.gillion.sample.test.domain.TestExam3201Example;
import com.gillion.sample.test.mapper.TestExam3201Mapper;


import com.google.common.collect.*;
import com.google.common.base.Function;
import com.gillion.sample.test.domain.TestExam3201Detail;
import com.gillion.sample.test.domain.TestExam3201DetailExample;
import com.gillion.sample.test.service.TestExam3201DetailService;
import com.gillion.platform.bizrule.core.service.RuleService;
import net.sf.json.JSONObject;
import com.gillion.sample.test.custom.TestExam3201ImportService;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import java.math.BigDecimal;


/**
 * <pre>
 * TestExam3201(TestExam3201)服务类
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@Service
@SuppressWarnings("all")
public class TestExam3201ServiceImpl extends BaseServiceImplExt<String,TestExam3201,TestExam3201Example> implements TestExam3201Service
{

    @Autowired
    private TestExam3201ImportService testExam3201ImportService;

            @Autowired
            protected TestExam3201DetailService testExam3201DetailService;

    @Autowired
    protected RuleService ruleService;

    public void setRuleService(RuleService ruleService)
    {
        this.ruleService = ruleService;
    }

    protected static final String boName = "TestExam3201";

    public String getBoName()
    {
        return boName;
    }

    /**
     * TODO GLPaaS生成
     * 取得对象TestExam3201
     * @param testExam3201Id
     * @param cascade
     * @return  TestExam3201
     * @
     */
    public TestExam3201 get(String testExam3201Id,boolean ... cascadeAndContainQueryObjct)
    {
        boolean cascade = Boolean.FALSE;
        boolean containQueryObject = Boolean.FALSE;
        if(null!=cascadeAndContainQueryObjct && cascadeAndContainQueryObjct.length>=1)
            cascade = cascadeAndContainQueryObjct[0];
        if(null!=cascadeAndContainQueryObjct && cascadeAndContainQueryObjct.length>=2)
            containQueryObject = cascadeAndContainQueryObjct[1];
        TestExam3201 testExam3201 = this.get(testExam3201Id);
            if(cascade)
            {
                List<TestExam3201Detail> testExam3201Detailss= this.getTestExam3201Details(testExam3201);
            }


        return testExam3201;
    }


    /**
     * TODO GLPaaS生成
     * 加载子对象
     * @param List
     * @return List
     * @
     */
    public List<TestExam3201> getTestExam3201s(List<TestExam3201> testExam3201s)
    {
        return getTestExam3201s(testExam3201s,true,false);
    }

    /**
     * TODO GLPaaS生成
     * 加载子对象
     * @param List
     * @param cascadeAndContainQueryObjct
     *         第一个参数  级联查询 ,第2个参数为 是否查询 【查询子对象类型】对象数据。
     * @return List
     * @
     */
    public List<TestExam3201> getTestExam3201s(List<TestExam3201> testExam3201s,boolean ... cascadeAndContainQueryObjct)
    {
        boolean cascade = Boolean.FALSE;
        boolean containQueryObject = Boolean.FALSE;
        if(null!=cascadeAndContainQueryObjct && cascadeAndContainQueryObjct.length>=1)
            cascade = cascadeAndContainQueryObjct[0];
        if(null!=cascadeAndContainQueryObjct && cascadeAndContainQueryObjct.length>=2)
            containQueryObject = cascadeAndContainQueryObjct[1];
        if((cascade || containQueryObject) && null!=testExam3201s && testExam3201s.size()>0)
        {
            List<String> ids = Lists.transform(testExam3201s, new Function<TestExam3201,String>(){
                @Override
                public String apply(TestExam3201 testExam3201)
                {
                    return testExam3201.getTestExam3201Id();
                }
            });
            final Multimap<String,TestExam3201Detail> testExam3201DetailsMaps = ArrayListMultimap.create() ;
            if(cascade)
            {
                //子对象  TestExam3201Detail  testExam3201Details
                TestExam3201DetailExample testExam3201DetailsExample = TestExam3201DetailExample.create();
                TestExam3201DetailExample.Criteria testExam3201DetailsCriteria = testExam3201DetailsExample.and();
                    List<OrderColumn> orderColumns = new ArrayList<OrderColumn>();
                    testExam3201DetailsExample.addOrderByClause(TestExam3201Detail.class, orderColumns);
                testExam3201DetailsCriteria.andCreateCondition("TEST_EXAM_3201_ID", Operation.IN, ids);
                List<TestExam3201Detail> testExam3201Detailss= this.testExam3201DetailService.find(testExam3201DetailsExample);
                for(TestExam3201Detail testExam3201Detail : testExam3201Detailss)
                {
                    String key = "";
                    String testExam3201Id = testExam3201Detail.getTestExam3201Id();
                    key = key + testExam3201Id;
                    testExam3201DetailsMaps.put(key, testExam3201Detail);
                }
            }
            for(TestExam3201 testExam3201 : testExam3201s)
            {
                if(cascade)
                {
                    String testExam3201DetailsKey = "";
                    String testExam3201DetailTestExam3201Id = testExam3201.getTestExam3201Id();
                    testExam3201DetailsKey = testExam3201DetailsKey + testExam3201DetailTestExam3201Id;
                    if( testExam3201DetailsMaps.containsKey(testExam3201DetailsKey))
                    {
                        Collection<TestExam3201Detail> testExam3201DetailsSets = testExam3201DetailsMaps.get(testExam3201DetailsKey);
                        for(TestExam3201Detail testExam3201Detail : testExam3201DetailsSets)
                        {
                            testExam3201Detail.setTestExam3201(testExam3201);
                        }
                        testExam3201.setTestExam3201Details(Sets.newLinkedHashSet(testExam3201DetailsSets));
                    }
                }
            }
        }

        return testExam3201s;
    }

    /**
     * TODO GLPaaS生成
     * 根据Example查询
     * @paramTestExam3201Example
     * @param cascadeAndContainQueryObjct
     *         第一个参数  级联查询 ,第2个参数为 是否查询 【查询子对象类型】对象数据。
     * @return List
     * @
     */
    public List<TestExam3201> find(TestExam3201Example example,boolean ... cascadeAndContainQueryObjct)
    {
        boolean cascade = Boolean.FALSE;
        boolean containQueryObject = Boolean.FALSE;
        if(null!=cascadeAndContainQueryObjct && cascadeAndContainQueryObjct.length>=1)
            cascade = cascadeAndContainQueryObjct[0];
        if(null!=cascadeAndContainQueryObjct && cascadeAndContainQueryObjct.length>=2)
            containQueryObject = cascadeAndContainQueryObjct[1];
        List<TestExam3201> testExam3201s = this.find(example);
        if((cascade || containQueryObject) && null!=testExam3201s && testExam3201s.size()>0)
        {
            this.getTestExam3201s(testExam3201s,cascadeAndContainQueryObjct);
        }

        return testExam3201s ;
    }

    /**
     * TODO GLPaaS生成
     * 取得子对象TestExam3201Detail
     * @param TestExam3201 testExam3201
     * @return
     * @
     */
    public List<TestExam3201Detail> getTestExam3201Details(TestExam3201 testExam3201)
    {
        TestExam3201DetailExample testExam3201DetailExample = TestExam3201DetailExample.create();
        TestExam3201DetailExample.Criteria criteria = testExam3201DetailExample.and();
        String testExam3201Id = testExam3201.getTestExam3201Id();
        criteria.andCreateCondition("TEST_EXAM_3201_ID", Operation.EQ, testExam3201Id);


        List<TestExam3201Detail> testExam3201Details = testExam3201DetailService.find(testExam3201DetailExample);

        if(null!=testExam3201Details && testExam3201Details.size()>0)
        {
            for(TestExam3201Detail testExam3201Detail :testExam3201Details)
            {
                testExam3201Detail.setTestExam3201(testExam3201);
            }
            testExam3201.setTestExam3201Details(Sets.newHashSet(testExam3201Details));
        }
        return  testExam3201Details;
    }



    public List<TestExam3201> find(TestExam3201Example example) {
        List<TestExam3201> testExam3201s = super.find(example);

        return testExam3201s;
    }

    /**
     *  TODO GLPaaS生成
     *  根据Example查询分页
     * @return Page<T>
     */
    public Page<TestExam3201> find(PageRequest pageRequest, TestExam3201Example example) {
        Page<TestExam3201> page = super.find(pageRequest, example);

        return page;
    }

    /**
     * TODO GLPaaS生成
     * 保存TestExam3201
     * 
     * @param testExam3201
     * @return
     * @
     */
    @Override
    public int saveOrUpdate(TestExam3201 testExam3201)
    {
        int result = 0;
        if(testExam3201.getRowStatus() == BaseObject.ROWSTATUS_DELETED)
        {
            this.delete(testExam3201.getTestExam3201Id());
            result =1 ;
        }
        else
        {
            if(testExam3201.getRowStatus() == BaseObject.ROWSTATUS_ADDED || testExam3201.getRowStatus() == BaseObject.ROWSTATUS_MODIFIED)
            {
                result = super.saveOrUpdate(testExam3201);
            }

        Set<TestExam3201Detail> testExam3201Detailss = testExam3201.getTestExam3201Details();
        if (testExam3201Detailss != null) {
            for(TestExam3201Detail testExam3201Detail : testExam3201Detailss) {
                if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_ADDED){
                    testExam3201Detail.setTestExam3201DetailId(null);
                    testExam3201Detail.setTestExam3201Id(testExam3201.getTestExam3201Id());
                    testExam3201DetailService.save(testExam3201Detail);
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_DELETED){
                    testExam3201DetailService.delete(testExam3201Detail.getTestExam3201DetailId());
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_MODIFIED){
                    testExam3201DetailService.update(testExam3201Detail);
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_UNCHANGED){
                    testExam3201DetailService.saveOrUpdate(testExam3201Detail);
                }
            }
        }
        }
        return result;
    }

    /**
     * TODO GLPaaS生成
     * 删除TestExam3201
     * 
     * @param id
     * @return
     * @
     */
     public void delete(String id)
     {
        List<String> testExam3201Ids = Lists.newArrayList(id);
        TestExam3201Example testExam3201Example = TestExam3201Example.create();
        testExam3201Example.and().andCreateCondition(TestExam3201.TESTEXAM3201ID,"testExam3201Id",Operation.IN,Arrays.asList(id));
        if (!testExam3201Ids.isEmpty())
        {
            testExam3201DetailService.deleteWithParent(testExam3201Ids);
        }
        super.delete(id);
     }



    /**
     * TODO GLPaaS生成
     * 保存TestExam3201
     * 
     * @param testExam3201
     * @return
     * @
     */
    @Override
    public int save(TestExam3201 testExam3201)
    {
        int result = -1 ;
        if(testExam3201.getRowStatus()==BaseObject.ROWSTATUS_ADDED)
            result = super.save(testExam3201);
        Set<TestExam3201Detail> testExam3201Detailss = testExam3201.getTestExam3201Details();
        if (testExam3201Detailss != null) {
            for(TestExam3201Detail testExam3201Detail : testExam3201Detailss) {
                if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_ADDED){
                    testExam3201Detail.setTestExam3201DetailId(null);
                    testExam3201Detail.setTestExam3201Id(testExam3201.getTestExam3201Id());
                    testExam3201DetailService.save(testExam3201Detail);
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_DELETED){
                    testExam3201DetailService.delete(testExam3201Detail.getTestExam3201DetailId());
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_MODIFIED){
                    testExam3201DetailService.update(testExam3201Detail);
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_UNCHANGED){
                    testExam3201DetailService.saveOrUpdate(testExam3201Detail);
                }
            }
        }
        return result;
    }

    /**
     * TODO GLPaaS生成
     * 批量删除TestExam3201
     * 
     * @param ids
     * @return
     * @
     */
    public void deletes(String[] ids)
    {
        List<String> testExam3201Ids = Lists.newArrayList(ids);
        TestExam3201Example testExam3201Example = TestExam3201Example.create();
        testExam3201Example.and().andCreateCondition(TestExam3201.TESTEXAM3201ID,"testExam3201Id",Operation.IN,Arrays.asList(ids));
        if (!testExam3201Ids.isEmpty())
        {
            testExam3201DetailService.deleteWithParent(testExam3201Ids);
        }
        this.deleteByExample(testExam3201Example);
    }



    /**
     * TODO GLPaaS生成
     * 根据主键获取TestExam3201
     * 
     * @param testExam3201s
     * @return
     * @
     */
    public TestExam3201 get(String testExam3201Id)
    {
        TestExam3201 testExam3201 = super.get(testExam3201Id);
        return testExam3201;
    }

    /**
     * TODO GLPaaS生成
     * 保存并提交 TestExam3201
     * 
     * @param ids
     * @return
     * @
     */
     public void saveAndSubmitProcess(TestExam3201 testExam3201)
     {
        super.saveAndSubmitProcess(testExam3201);
     }

    /**
     * TODO GLPaaS生成
     * 修改保存TestExam3201
     * 
     * @param testExam3201
     * @return
     * @
     */
    public List<TestExam3201> saveOrUpdates(List<TestExam3201> testExam3201s)
    {
        List<TestExam3201> result = Lists.newArrayList();
        super.saveOrUpdates(testExam3201s);

        return testExam3201s;
    }

    /**
     * TODO GLPaaS生成
     * 保存并提交 TestExam3201
     * 
     * @param ids
     * @return
     * @
     */
     public void submitProcess(TestExam3201 testExam3201)
     {
        super.submitProcess(testExam3201);
     }

    /**
     * TODO GLPaaS生成
     * 保存TestExam3201
     * 
     * @param testExam3201
     * @return
     * @
     */
    public int update(TestExam3201 testExam3201)
    {
        int result = -1 ;
        if(testExam3201.getRowStatus()==BaseObject.ROWSTATUS_MODIFIED)
            result = super.updateByPrimaryKey(testExam3201);
                Set<TestExam3201Detail> testExam3201Detailss = testExam3201.getTestExam3201Details();
        if (testExam3201Detailss != null) {
            for(TestExam3201Detail testExam3201Detail : testExam3201Detailss) {
                if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_ADDED){
                    testExam3201Detail.setTestExam3201DetailId(null);
                    testExam3201Detail.setTestExam3201Id(testExam3201.getTestExam3201Id());
                    testExam3201DetailService.save(testExam3201Detail);
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_DELETED){
                    testExam3201DetailService.delete(testExam3201Detail.getTestExam3201DetailId());
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_MODIFIED){
                    testExam3201DetailService.update(testExam3201Detail);
                }else if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_UNCHANGED){
                    testExam3201DetailService.saveOrUpdate(testExam3201Detail);
                }
            }
        }

        return result;
    }



    /**
     * TODO GLPaaS生成
     * Excel导入
     */
    public String importExcel(List<com.gillion.sample.test.domain.TestExam3201> dataList, Map<String,Object> paramMap) throws Exception
    {
        try
        {
            Map<String,Object> dataMap = new HashMap<String, Object>();
            dataMap.put("dataList", dataList);
            dataMap.put("paramMap", paramMap);
            RuleService ruleService = SpringContextHolder.getBeanByType(RuleService.class);


        testExam3201ImportService.find(dataMap);

            Map<String,Object> result = new HashMap<String, Object>();
            result.put("result", dataMap.get("result"));
            result.put("success", true);

            return JSONObject.fromObject(result).toString();
        }
        catch (Exception e)
        {
            e.printStackTrace();
            throw new Exception(e.getCause().getMessage());
        }
    }




}

1.14.主表Mapper.java

1.14.主表Mapper.java

/*
 * @(#)TestExam3201MapperMapper.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分16秒
 *  描 述:创建
 */
package com.gillion.sample.test.mapper;

import com.gfa4j.mybatis.mapper.BaseMapper;
import com.gillion.sample.test.domain.TestExam3201;
import com.gillion.sample.test.domain.TestExam3201Example;
import java.util.List;
import java.util.Map;
/**
 * <pre>
 * TestExam3201(TestExam3201)Mapper类
 * </pre>
 * 
 * <br>
 * JDK版本:1.6
 * 
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 */
public interface TestExam3201Mapper extends BaseMapper<String, TestExam3201, TestExam3201Example> 
{
}

1.15.主表Mapper.xml

1.15.主表Mapper.xml

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gillion.sample.test.mapper.TestExam3201Mapper" >
  <resultMap id="BaseResultMap" type="com.gillion.sample.test.domain.TestExam3201" >
    <id column="TEST_EXAM_3201_ID" property="testExam3201Id" jdbcType="VARCHAR" />
    <result column="RECEIPT_METHOD" property="receiptMethod" jdbcType="VARCHAR"/>
    <result column="VENDOR_ID" property="vendorId" jdbcType="VARCHAR"/>
    <result column="CUST_NO" property="custNo" jdbcType="VARCHAR"/>
    <result column="CUST_ID" property="custId" jdbcType="VARCHAR"/>
    <result column="LAST_MODIFY_TIME_ZONE" property="lastModifyTimeZone" jdbcType="VARCHAR"/>
    <result column="VENDOR_NAME" property="vendorName" jdbcType="VARCHAR"/>
    <result column="DEADLINE_DATE" property="deadlineDate" jdbcType="VARCHAR"/>
    <result column="RECEIPT_DESC" property="receiptDesc" jdbcType="VARCHAR"/>
    <result column="RECEIPT_STATUS" property="receiptStatus" jdbcType="VARCHAR"/>
    <result column="PRINCIPAL_GROUP_CODE" property="principalGroupCode" jdbcType="VARCHAR"/>
    <result column="RECEIPT_MODEL" property="receiptModel" jdbcType="VARCHAR"/>
    <result column="RECORD_VERSION" property="recordVersion" jdbcType="NUMERIC"/>
    <result column="IS_PART_DELIVERY" property="isPartDelivery" jdbcType="VARCHAR"/>
    <result column="LAST_MODIFY_OFFICE" property="lastModifyOffice" jdbcType="VARCHAR"/>
    <result column="RECEIVE_TIME" property="receiveTime" jdbcType="VARCHAR"/>
    <result column="CANCEL_TIME" property="cancelTime" jdbcType="VARCHAR"/>
    <result column="CLOSE_TIME" property="closeTime" jdbcType="DATE"/>
    <result column="WAREHOUSE_OFFICE_ID" property="warehouseOfficeId" jdbcType="VARCHAR"/>
    <result column="CREATE_TIME" property="createTime" jdbcType="VARCHAR"/>
    <result column="CREATOR" property="creator" jdbcType="VARCHAR"/>
    <result column="PRIORITY" property="priority" jdbcType="NUMERIC"/>
    <result column="CREATE_OFFICE" property="createOffice" jdbcType="VARCHAR"/>
    <result column="RECEIVE_PERSON_NAME" property="receivePersonName" jdbcType="VARCHAR"/>
    <result column="WMS_INB_ASN_ID" property="wmsInbAsnId" jdbcType="VARCHAR"/>
    <result column="REMARK" property="remark" jdbcType="VARCHAR"/>
    <result column="TOTAL_PLAN_QTY" property="totalPlanQty" jdbcType="NUMERIC"/>
    <result column="CUST_CODE" property="custCode" jdbcType="VARCHAR"/>
    <result column="ACTUAL_CASE_QTY" property="actualCaseQty" jdbcType="NUMERIC"/>
    <result column="LAST_MODIFYOR" property="lastModifyor" jdbcType="VARCHAR"/>
    <result column="IS_ENABLE_RECEIVE" property="isEnableReceive" jdbcType="VARCHAR"/>
    <result column="LAST_MODIFY_TIME" property="lastModifyTime" jdbcType="VARCHAR"/>
    <result column="SKU_COUNT" property="skuCount" jdbcType="NUMERIC"/>
    <result column="ARRIVE_TIME" property="arriveTime" jdbcType="VARCHAR"/>
    <result column="CREATE_TIME_ZONE" property="createTimeZone" jdbcType="VARCHAR"/>
    <result column="RECEIPT_ORDER_NO" property="receiptOrderNo" jdbcType="VARCHAR"/>
    <result column="ASN_NO" property="asnNo" jdbcType="VARCHAR"/>
    <result column="CARRIER_NAME" property="carrierName" jdbcType="VARCHAR"/>
    <result column="PROCESS_STATE" property="processState" jdbcType="VARCHAR"/>
    <result column="CUST_NAME" property="custName" jdbcType="VARCHAR"/>
    <result column="EXPECT_ARRIVE_TIME" property="expectArriveTime" jdbcType="VARCHAR"/>
    <result column="RECEIPT_TYPE" property="receiptType" jdbcType="VARCHAR"/>
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where>
      <foreach collection="oredCriteria" item="criteria">
        <if test="criteria.valid" >
          ${criteria.op}
          <trim prefix="(" suffix=")" prefixOverrides="and|or" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.complex" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.noValue" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression}
                </when>
                <when test="criterion.rangeValue" >
                  ${criteria.nop} (
                  <if test="criterion.value" >
                         ${criterion.condition} ><if test="criterion.operation == 'GELE'">=</if> ${criterion.valueExpression}
                  </if>
                  <if test="criterion.secondValue" >
                         <if test="criterion.value"> and </if>${criterion.condition} <<if test="criterion.operation == 'GELE'">=</if> ${criterion.secondValueExpression}
                  </if>)
                </when>
                <when test="criterion.betweenValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression} and ${criterion.secondValueExpression}
                </when>
                <when test="criterion.listValue" >
                  ${criteria.nop} ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                  ${criterion.listValueExpression}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
      <if test="junctionSql != null" >
       ${junctionSql.parserSql}
      </if>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria">
        <if test="criteria.valid" >
          ${criteria.op}
          <trim prefix="(" suffix=")" prefixOverrides="and|or" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.complex" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.noValue" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression}
                </when>
                <when test="criterion.rangeValue" >
                  ${criteria.nop} (
                      <if test="criterion.value" >
                      ${criterion.condition} ><if test="criterion.operation == 'GELE'">=</if> ${criterion.valueExpression}
                      </if>
                      <if test="criterion.secondValue" >
                          <if test="criterion.value"> and </if>${criterion.condition} <<if test="criterion.operation == 'GELE'">=</if> ${criterion.secondValueExpression}
                      </if>)
                </when>
                <when test="criterion.betweenValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression} and ${criterion.secondValueExpression}
                </when>
                <when test="criterion.listValue" >
                  ${criteria.nop} ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                  ${criterion.listValueExpression}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
      <if test="example.junctionSql != null" >
      ${example.junctionSql.parserSql}
      </if>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    RECEIPT_METHOD,
    VENDOR_ID,
    CUST_NO,
    CUST_ID,
    LAST_MODIFY_TIME_ZONE,
    TEST_EXAM_3201_ID,
    VENDOR_NAME,
    DEADLINE_DATE,
    RECEIPT_DESC,
    RECEIPT_STATUS,
    PRINCIPAL_GROUP_CODE,
    RECEIPT_MODEL,
    RECORD_VERSION,
    IS_PART_DELIVERY,
    LAST_MODIFY_OFFICE,
    RECEIVE_TIME,
    CANCEL_TIME,
    CLOSE_TIME,
    WAREHOUSE_OFFICE_ID,
    CREATE_TIME,
    CREATOR,
    PRIORITY,
    CREATE_OFFICE,
    RECEIVE_PERSON_NAME,
    WMS_INB_ASN_ID,
    REMARK,
    TOTAL_PLAN_QTY,
    CUST_CODE,
    ACTUAL_CASE_QTY,
    LAST_MODIFYOR,
    IS_ENABLE_RECEIVE,
    LAST_MODIFY_TIME,
    SKU_COUNT,
    ARRIVE_TIME,
    CREATE_TIME_ZONE,
    RECEIPT_ORDER_NO,
    ASN_NO,
    CARRIER_NAME,
    PROCESS_STATE,
    CUST_NAME,
    EXPECT_ARRIVE_TIME,
    RECEIPT_TYPE
      </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gillion.sample.test.domain.TestExam3201Example" >
    <include refid="OraclePaginationPrefix" />
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from  TEST_EXAM_3201


    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null and orderByClause != ''" >
      order by ${orderByClause}
    </if>
    <include refid="OraclePaginationSuffix" />
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
    select
    <include refid="Base_Column_List" />
    from TEST_EXAM_3201

    where TEST_EXAM_3201_ID = #{testExam3201Id,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
    delete from TEST_EXAM_3201
    where TEST_EXAM_3201_ID = #{testExam3201Id,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="com.gillion.sample.test.domain.TestExam3201Example" >
    delete from TEST_EXAM_3201
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.gillion.sample.test.domain.TestExam3201" >
    insert into TEST_EXAM_3201 (
    ACTUAL_CASE_QTY,
    ARRIVE_TIME,
    ASN_NO,
    CANCEL_TIME,
    CARRIER_NAME,
    CLOSE_TIME,
    CREATE_OFFICE,
    CREATE_TIME,
    CREATE_TIME_ZONE,
    CREATOR,
    CUST_CODE,
    CUST_ID,
    CUST_NAME,
    CUST_NO,
    DEADLINE_DATE,
    EXPECT_ARRIVE_TIME,
    IS_ENABLE_RECEIVE,
    IS_PART_DELIVERY,
    LAST_MODIFY_OFFICE,
    LAST_MODIFYOR,
    LAST_MODIFY_TIME,
    LAST_MODIFY_TIME_ZONE,
    PRINCIPAL_GROUP_CODE,
    PRIORITY,
    PROCESS_STATE,
    RECEIPT_DESC,
    RECEIPT_METHOD,
    RECEIPT_MODEL,
    RECEIPT_ORDER_NO,
    RECEIPT_STATUS,
    RECEIPT_TYPE,
    RECEIVE_PERSON_NAME,
    RECEIVE_TIME,
    RECORD_VERSION,
    REMARK,
    SKU_COUNT,
    TEST_EXAM_3201_ID,
    TOTAL_PLAN_QTY,
    VENDOR_ID,
    VENDOR_NAME,
    WAREHOUSE_OFFICE_ID,
    WMS_INB_ASN_ID
    )
    values (
    #{actualCaseQty,jdbcType=NUMERIC},
    #{arriveTime,jdbcType=VARCHAR},
    #{asnNo,jdbcType=VARCHAR},
    #{cancelTime,jdbcType=VARCHAR},
    #{carrierName,jdbcType=VARCHAR},
    #{closeTime,jdbcType=DATE},
    #{createOffice,jdbcType=VARCHAR},
    #{createTime,jdbcType=VARCHAR},
    #{createTimeZone,jdbcType=VARCHAR},
    #{creator,jdbcType=VARCHAR},
    #{custCode,jdbcType=VARCHAR},
    #{custId,jdbcType=VARCHAR},
    #{custName,jdbcType=VARCHAR},
    #{custNo,jdbcType=VARCHAR},
    #{deadlineDate,jdbcType=VARCHAR},
    #{expectArriveTime,jdbcType=VARCHAR},
    #{isEnableReceive,jdbcType=VARCHAR},
    #{isPartDelivery,jdbcType=VARCHAR},
    #{lastModifyOffice,jdbcType=VARCHAR},
    #{lastModifyor,jdbcType=VARCHAR},
    #{lastModifyTime,jdbcType=VARCHAR},
    #{lastModifyTimeZone,jdbcType=VARCHAR},
    #{principalGroupCode,jdbcType=VARCHAR},
    #{priority,jdbcType=NUMERIC},
    #{processState,jdbcType=VARCHAR},
    #{receiptDesc,jdbcType=VARCHAR},
    #{receiptMethod,jdbcType=VARCHAR},
    #{receiptModel,jdbcType=VARCHAR},
    #{receiptOrderNo,jdbcType=VARCHAR},
    #{receiptStatus,jdbcType=VARCHAR},
    #{receiptType,jdbcType=VARCHAR},
    #{receivePersonName,jdbcType=VARCHAR},
    #{receiveTime,jdbcType=VARCHAR},
    #{recordVersion,jdbcType=NUMERIC},
    #{remark,jdbcType=VARCHAR},
    #{skuCount,jdbcType=NUMERIC},
    #{testExam3201Id,jdbcType=VARCHAR},
    #{totalPlanQty,jdbcType=NUMERIC},
    #{vendorId,jdbcType=VARCHAR},
    #{vendorName,jdbcType=VARCHAR},
    #{warehouseOfficeId,jdbcType=VARCHAR},
    #{wmsInbAsnId,jdbcType=VARCHAR}
    )
  </insert>
  <insert id="insertSelective" parameterType="com.gillion.sample.test.domain.TestExam3201" >
    insert into TEST_EXAM_3201
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="actualCaseQty != null" >
        ACTUAL_CASE_QTY,
      </if>
      <if test="arriveTime != null" >
        ARRIVE_TIME,
      </if>
      <if test="asnNo != null" >
        ASN_NO,
      </if>
      <if test="cancelTime != null" >
        CANCEL_TIME,
      </if>
      <if test="carrierName != null" >
        CARRIER_NAME,
      </if>
      <if test="closeTime != null" >
        CLOSE_TIME,
      </if>
      <if test="createOffice != null" >
        CREATE_OFFICE,
      </if>
      <if test="createTime != null" >
        CREATE_TIME,
      </if>
      <if test="createTimeZone != null" >
        CREATE_TIME_ZONE,
      </if>
      <if test="creator != null" >
        CREATOR,
      </if>
      <if test="custCode != null" >
        CUST_CODE,
      </if>
      <if test="custId != null" >
        CUST_ID,
      </if>
      <if test="custName != null" >
        CUST_NAME,
      </if>
      <if test="custNo != null" >
        CUST_NO,
      </if>
      <if test="deadlineDate != null" >
        DEADLINE_DATE,
      </if>
      <if test="expectArriveTime != null" >
        EXPECT_ARRIVE_TIME,
      </if>
      <if test="isEnableReceive != null" >
        IS_ENABLE_RECEIVE,
      </if>
      <if test="isPartDelivery != null" >
        IS_PART_DELIVERY,
      </if>
      <if test="lastModifyOffice != null" >
        LAST_MODIFY_OFFICE,
      </if>
      <if test="lastModifyor != null" >
        LAST_MODIFYOR,
      </if>
      <if test="lastModifyTime != null" >
        LAST_MODIFY_TIME,
      </if>
      <if test="lastModifyTimeZone != null" >
        LAST_MODIFY_TIME_ZONE,
      </if>
      <if test="principalGroupCode != null" >
        PRINCIPAL_GROUP_CODE,
      </if>
      <if test="priority != null" >
        PRIORITY,
      </if>
      <if test="processState != null" >
        PROCESS_STATE,
      </if>
      <if test="receiptDesc != null" >
        RECEIPT_DESC,
      </if>
      <if test="receiptMethod != null" >
        RECEIPT_METHOD,
      </if>
      <if test="receiptModel != null" >
        RECEIPT_MODEL,
      </if>
      <if test="receiptOrderNo != null" >
        RECEIPT_ORDER_NO,
      </if>
      <if test="receiptStatus != null" >
        RECEIPT_STATUS,
      </if>
      <if test="receiptType != null" >
        RECEIPT_TYPE,
      </if>
      <if test="receivePersonName != null" >
        RECEIVE_PERSON_NAME,
      </if>
      <if test="receiveTime != null" >
        RECEIVE_TIME,
      </if>
      <if test="recordVersion != null" >
        RECORD_VERSION,
      </if>
      <if test="remark != null" >
        REMARK,
      </if>
      <if test="skuCount != null" >
        SKU_COUNT,
      </if>
      <if test="testExam3201Id != null" >
        TEST_EXAM_3201_ID,
      </if>
      <if test="totalPlanQty != null" >
        TOTAL_PLAN_QTY,
      </if>
      <if test="vendorId != null" >
        VENDOR_ID,
      </if>
      <if test="vendorName != null" >
        VENDOR_NAME,
      </if>
      <if test="warehouseOfficeId != null" >
        WAREHOUSE_OFFICE_ID,
      </if>
      <if test="wmsInbAsnId != null" >
        WMS_INB_ASN_ID,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="actualCaseQty != null" >
        #{actualCaseQty,jdbcType=NUMERIC},
      </if>
      <if test="arriveTime != null" >
        #{arriveTime,jdbcType=VARCHAR},
      </if>
      <if test="asnNo != null" >
        #{asnNo,jdbcType=VARCHAR},
      </if>
      <if test="cancelTime != null" >
        #{cancelTime,jdbcType=VARCHAR},
      </if>
      <if test="carrierName != null" >
        #{carrierName,jdbcType=VARCHAR},
      </if>
      <if test="closeTime != null" >
        #{closeTime,jdbcType=DATE},
      </if>
      <if test="createOffice != null" >
        #{createOffice,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null" >
        #{createTime,jdbcType=VARCHAR},
      </if>
      <if test="createTimeZone != null" >
        #{createTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="creator != null" >
        #{creator,jdbcType=VARCHAR},
      </if>
      <if test="custCode != null" >
        #{custCode,jdbcType=VARCHAR},
      </if>
      <if test="custId != null" >
        #{custId,jdbcType=VARCHAR},
      </if>
      <if test="custName != null" >
        #{custName,jdbcType=VARCHAR},
      </if>
      <if test="custNo != null" >
        #{custNo,jdbcType=VARCHAR},
      </if>
      <if test="deadlineDate != null" >
        #{deadlineDate,jdbcType=VARCHAR},
      </if>
      <if test="expectArriveTime != null" >
        #{expectArriveTime,jdbcType=VARCHAR},
      </if>
      <if test="isEnableReceive != null" >
        #{isEnableReceive,jdbcType=VARCHAR},
      </if>
      <if test="isPartDelivery != null" >
        #{isPartDelivery,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyOffice != null" >
        #{lastModifyOffice,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyor != null" >
        #{lastModifyor,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyTime != null" >
        #{lastModifyTime,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyTimeZone != null" >
        #{lastModifyTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="principalGroupCode != null" >
        #{principalGroupCode,jdbcType=VARCHAR},
      </if>
      <if test="priority != null" >
        #{priority,jdbcType=NUMERIC},
      </if>
      <if test="processState != null" >
        #{processState,jdbcType=VARCHAR},
      </if>
      <if test="receiptDesc != null" >
        #{receiptDesc,jdbcType=VARCHAR},
      </if>
      <if test="receiptMethod != null" >
        #{receiptMethod,jdbcType=VARCHAR},
      </if>
      <if test="receiptModel != null" >
        #{receiptModel,jdbcType=VARCHAR},
      </if>
      <if test="receiptOrderNo != null" >
        #{receiptOrderNo,jdbcType=VARCHAR},
      </if>
      <if test="receiptStatus != null" >
        #{receiptStatus,jdbcType=VARCHAR},
      </if>
      <if test="receiptType != null" >
        #{receiptType,jdbcType=VARCHAR},
      </if>
      <if test="receivePersonName != null" >
        #{receivePersonName,jdbcType=VARCHAR},
      </if>
      <if test="receiveTime != null" >
        #{receiveTime,jdbcType=VARCHAR},
      </if>
      <if test="recordVersion != null" >
        #{recordVersion,jdbcType=NUMERIC},
      </if>
      <if test="remark != null" >
        #{remark,jdbcType=VARCHAR},
      </if>
      <if test="skuCount != null" >
        #{skuCount,jdbcType=NUMERIC},
      </if>
      <if test="testExam3201Id != null" >
        #{testExam3201Id,jdbcType=VARCHAR},
      </if>
      <if test="totalPlanQty != null" >
        #{totalPlanQty,jdbcType=NUMERIC},
      </if>
      <if test="vendorId != null" >
        #{vendorId,jdbcType=VARCHAR},
      </if>
      <if test="vendorName != null" >
        #{vendorName,jdbcType=VARCHAR},
      </if>
      <if test="warehouseOfficeId != null" >
        #{warehouseOfficeId,jdbcType=VARCHAR},
      </if>
      <if test="wmsInbAsnId != null" >
        #{wmsInbAsnId,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.gillion.sample.test.domain.TestExam3201Example" resultType="java.lang.Integer" >
    select count(*) from TEST_EXAM_3201

    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update TEST_EXAM_3201
    <set >
      <if test="record.actualCaseQty != null" >
        ACTUAL_CASE_QTY = #{record.actualCaseQty,jdbcType=NUMERIC},
      </if>
      <if test="record.arriveTime != null" >
        ARRIVE_TIME = #{record.arriveTime,jdbcType=VARCHAR},
      </if>
      <if test="record.asnNo != null" >
        ASN_NO = #{record.asnNo,jdbcType=VARCHAR},
      </if>
      <if test="record.cancelTime != null" >
        CANCEL_TIME = #{record.cancelTime,jdbcType=VARCHAR},
      </if>
      <if test="record.carrierName != null" >
        CARRIER_NAME = #{record.carrierName,jdbcType=VARCHAR},
      </if>
      <if test="record.closeTime != null" >
        CLOSE_TIME = #{record.closeTime,jdbcType=DATE},
      </if>
      <if test="record.createOffice != null" >
        CREATE_OFFICE = #{record.createOffice,jdbcType=VARCHAR},
      </if>
      <if test="record.createTime != null" >
        CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
      </if>
      <if test="record.createTimeZone != null" >
        CREATE_TIME_ZONE = #{record.createTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="record.creator != null" >
        CREATOR = #{record.creator,jdbcType=VARCHAR},
      </if>
      <if test="record.custCode != null" >
        CUST_CODE = #{record.custCode,jdbcType=VARCHAR},
      </if>
      <if test="record.custId != null" >
        CUST_ID = #{record.custId,jdbcType=VARCHAR},
      </if>
      <if test="record.custName != null" >
        CUST_NAME = #{record.custName,jdbcType=VARCHAR},
      </if>
      <if test="record.custNo != null" >
        CUST_NO = #{record.custNo,jdbcType=VARCHAR},
      </if>
      <if test="record.deadlineDate != null" >
        DEADLINE_DATE = #{record.deadlineDate,jdbcType=VARCHAR},
      </if>
      <if test="record.expectArriveTime != null" >
        EXPECT_ARRIVE_TIME = #{record.expectArriveTime,jdbcType=VARCHAR},
      </if>
      <if test="record.isEnableReceive != null" >
        IS_ENABLE_RECEIVE = #{record.isEnableReceive,jdbcType=VARCHAR},
      </if>
      <if test="record.isPartDelivery != null" >
        IS_PART_DELIVERY = #{record.isPartDelivery,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyOffice != null" >
        LAST_MODIFY_OFFICE = #{record.lastModifyOffice,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyor != null" >
        LAST_MODIFYOR = #{record.lastModifyor,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyTime != null" >
        LAST_MODIFY_TIME = #{record.lastModifyTime,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyTimeZone != null" >
        LAST_MODIFY_TIME_ZONE = #{record.lastModifyTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="record.principalGroupCode != null" >
        PRINCIPAL_GROUP_CODE = #{record.principalGroupCode,jdbcType=VARCHAR},
      </if>
      <if test="record.priority != null" >
        PRIORITY = #{record.priority,jdbcType=NUMERIC},
      </if>
      <if test="record.processState != null" >
        PROCESS_STATE = #{record.processState,jdbcType=VARCHAR},
      </if>
      <if test="record.receiptDesc != null" >
        RECEIPT_DESC = #{record.receiptDesc,jdbcType=VARCHAR},
      </if>
      <if test="record.receiptMethod != null" >
        RECEIPT_METHOD = #{record.receiptMethod,jdbcType=VARCHAR},
      </if>
      <if test="record.receiptModel != null" >
        RECEIPT_MODEL = #{record.receiptModel,jdbcType=VARCHAR},
      </if>
      <if test="record.receiptOrderNo != null" >
        RECEIPT_ORDER_NO = #{record.receiptOrderNo,jdbcType=VARCHAR},
      </if>
      <if test="record.receiptStatus != null" >
        RECEIPT_STATUS = #{record.receiptStatus,jdbcType=VARCHAR},
      </if>
      <if test="record.receiptType != null" >
        RECEIPT_TYPE = #{record.receiptType,jdbcType=VARCHAR},
      </if>
      <if test="record.receivePersonName != null" >
        RECEIVE_PERSON_NAME = #{record.receivePersonName,jdbcType=VARCHAR},
      </if>
      <if test="record.receiveTime != null" >
        RECEIVE_TIME = #{record.receiveTime,jdbcType=VARCHAR},
      </if>
      <if test="record.recordVersion != null" >
        RECORD_VERSION = #{record.recordVersion,jdbcType=NUMERIC},
      </if>
      <if test="record.recordVersion == null" >
        RECORD_VERSION = RECORD_VERSION + 1,
      </if>
      <if test="record.remark != null" >
        REMARK = #{record.remark,jdbcType=VARCHAR},
      </if>
      <if test="record.skuCount != null" >
        SKU_COUNT = #{record.skuCount,jdbcType=NUMERIC},
      </if>
      <if test="record.totalPlanQty != null" >
        TOTAL_PLAN_QTY = #{record.totalPlanQty,jdbcType=NUMERIC},
      </if>
      <if test="record.vendorId != null" >
        VENDOR_ID = #{record.vendorId,jdbcType=VARCHAR},
      </if>
      <if test="record.vendorName != null" >
        VENDOR_NAME = #{record.vendorName,jdbcType=VARCHAR},
      </if>
      <if test="record.warehouseOfficeId != null" >
        WAREHOUSE_OFFICE_ID = #{record.warehouseOfficeId,jdbcType=VARCHAR},
      </if>
      <if test="record.wmsInbAsnId != null" >
        WMS_INB_ASN_ID = #{record.wmsInbAsnId,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update TEST_EXAM_3201 set
        ACTUAL_CASE_QTY = #{record.actualCaseQty,jdbcType=NUMERIC},
        ARRIVE_TIME = #{record.arriveTime,jdbcType=VARCHAR},
        ASN_NO = #{record.asnNo,jdbcType=VARCHAR},
        CANCEL_TIME = #{record.cancelTime,jdbcType=VARCHAR},
        CARRIER_NAME = #{record.carrierName,jdbcType=VARCHAR},
        CLOSE_TIME = #{record.closeTime,jdbcType=DATE},
        CREATE_OFFICE = #{record.createOffice,jdbcType=VARCHAR},
        CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
        CREATE_TIME_ZONE = #{record.createTimeZone,jdbcType=VARCHAR},
        CREATOR = #{record.creator,jdbcType=VARCHAR},
        CUST_CODE = #{record.custCode,jdbcType=VARCHAR},
        CUST_ID = #{record.custId,jdbcType=VARCHAR},
        CUST_NAME = #{record.custName,jdbcType=VARCHAR},
        CUST_NO = #{record.custNo,jdbcType=VARCHAR},
        DEADLINE_DATE = #{record.deadlineDate,jdbcType=VARCHAR},
        EXPECT_ARRIVE_TIME = #{record.expectArriveTime,jdbcType=VARCHAR},
        IS_ENABLE_RECEIVE = #{record.isEnableReceive,jdbcType=VARCHAR},
        IS_PART_DELIVERY = #{record.isPartDelivery,jdbcType=VARCHAR},
        LAST_MODIFY_OFFICE = #{record.lastModifyOffice,jdbcType=VARCHAR},
        LAST_MODIFYOR = #{record.lastModifyor,jdbcType=VARCHAR},
        LAST_MODIFY_TIME = #{record.lastModifyTime,jdbcType=VARCHAR},
        LAST_MODIFY_TIME_ZONE = #{record.lastModifyTimeZone,jdbcType=VARCHAR},
        PRINCIPAL_GROUP_CODE = #{record.principalGroupCode,jdbcType=VARCHAR},
        PRIORITY = #{record.priority,jdbcType=NUMERIC},
        PROCESS_STATE = #{record.processState,jdbcType=VARCHAR},
        RECEIPT_DESC = #{record.receiptDesc,jdbcType=VARCHAR},
        RECEIPT_METHOD = #{record.receiptMethod,jdbcType=VARCHAR},
        RECEIPT_MODEL = #{record.receiptModel,jdbcType=VARCHAR},
        RECEIPT_ORDER_NO = #{record.receiptOrderNo,jdbcType=VARCHAR},
        RECEIPT_STATUS = #{record.receiptStatus,jdbcType=VARCHAR},
        RECEIPT_TYPE = #{record.receiptType,jdbcType=VARCHAR},
        RECEIVE_PERSON_NAME = #{record.receivePersonName,jdbcType=VARCHAR},
        RECEIVE_TIME = #{record.receiveTime,jdbcType=VARCHAR},
        RECORD_VERSION = #{record.recordVersion,jdbcType=NUMERIC},
        REMARK = #{record.remark,jdbcType=VARCHAR},
        SKU_COUNT = #{record.skuCount,jdbcType=NUMERIC},
        TOTAL_PLAN_QTY = #{record.totalPlanQty,jdbcType=NUMERIC},
        VENDOR_ID = #{record.vendorId,jdbcType=VARCHAR},
        VENDOR_NAME = #{record.vendorName,jdbcType=VARCHAR},
        WAREHOUSE_OFFICE_ID = #{record.warehouseOfficeId,jdbcType=VARCHAR},
        WMS_INB_ASN_ID = #{record.wmsInbAsnId,jdbcType=VARCHAR}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.gillion.sample.test.domain.TestExam3201" >
    update TEST_EXAM_3201
    <set>
        <if test="actualCaseQty != null" >
    ACTUAL_CASE_QTY = #{actualCaseQty,jdbcType=NUMERIC},
        </if>
        <if test="arriveTime != null" >
    ARRIVE_TIME = #{arriveTime,jdbcType=VARCHAR},
        </if>
        <if test="asnNo != null" >
    ASN_NO = #{asnNo,jdbcType=VARCHAR},
        </if>
        <if test="cancelTime != null" >
    CANCEL_TIME = #{cancelTime,jdbcType=VARCHAR},
        </if>
        <if test="carrierName != null" >
    CARRIER_NAME = #{carrierName,jdbcType=VARCHAR},
        </if>
        <if test="closeTime != null" >
    CLOSE_TIME = #{closeTime,jdbcType=DATE},
        </if>
        <if test="createOffice != null" >
    CREATE_OFFICE = #{createOffice,jdbcType=VARCHAR},
        </if>
        <if test="createTime != null" >
    CREATE_TIME = #{createTime,jdbcType=VARCHAR},
        </if>
        <if test="createTimeZone != null" >
    CREATE_TIME_ZONE = #{createTimeZone,jdbcType=VARCHAR},
        </if>
        <if test="creator != null" >
    CREATOR = #{creator,jdbcType=VARCHAR},
        </if>
        <if test="custCode != null" >
    CUST_CODE = #{custCode,jdbcType=VARCHAR},
        </if>
        <if test="custId != null" >
    CUST_ID = #{custId,jdbcType=VARCHAR},
        </if>
        <if test="custName != null" >
    CUST_NAME = #{custName,jdbcType=VARCHAR},
        </if>
        <if test="custNo != null" >
    CUST_NO = #{custNo,jdbcType=VARCHAR},
        </if>
        <if test="deadlineDate != null" >
    DEADLINE_DATE = #{deadlineDate,jdbcType=VARCHAR},
        </if>
        <if test="expectArriveTime != null" >
    EXPECT_ARRIVE_TIME = #{expectArriveTime,jdbcType=VARCHAR},
        </if>
        <if test="isEnableReceive != null" >
    IS_ENABLE_RECEIVE = #{isEnableReceive,jdbcType=VARCHAR},
        </if>
        <if test="isPartDelivery != null" >
    IS_PART_DELIVERY = #{isPartDelivery,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyOffice != null" >
    LAST_MODIFY_OFFICE = #{lastModifyOffice,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyor != null" >
    LAST_MODIFYOR = #{lastModifyor,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyTime != null" >
    LAST_MODIFY_TIME = #{lastModifyTime,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyTimeZone != null" >
    LAST_MODIFY_TIME_ZONE = #{lastModifyTimeZone,jdbcType=VARCHAR},
        </if>
        <if test="principalGroupCode != null" >
    PRINCIPAL_GROUP_CODE = #{principalGroupCode,jdbcType=VARCHAR},
        </if>
        <if test="priority != null" >
    PRIORITY = #{priority,jdbcType=NUMERIC},
        </if>
        <if test="processState != null" >
    PROCESS_STATE = #{processState,jdbcType=VARCHAR},
        </if>
        <if test="receiptDesc != null" >
    RECEIPT_DESC = #{receiptDesc,jdbcType=VARCHAR},
        </if>
        <if test="receiptMethod != null" >
    RECEIPT_METHOD = #{receiptMethod,jdbcType=VARCHAR},
        </if>
        <if test="receiptModel != null" >
    RECEIPT_MODEL = #{receiptModel,jdbcType=VARCHAR},
        </if>
        <if test="receiptOrderNo != null" >
    RECEIPT_ORDER_NO = #{receiptOrderNo,jdbcType=VARCHAR},
        </if>
        <if test="receiptStatus != null" >
    RECEIPT_STATUS = #{receiptStatus,jdbcType=VARCHAR},
        </if>
        <if test="receiptType != null" >
    RECEIPT_TYPE = #{receiptType,jdbcType=VARCHAR},
        </if>
        <if test="receivePersonName != null" >
    RECEIVE_PERSON_NAME = #{receivePersonName,jdbcType=VARCHAR},
        </if>
        <if test="receiveTime != null" >
    RECEIVE_TIME = #{receiveTime,jdbcType=VARCHAR},
        </if>
        <if test="recordVersion != null" >
    RECORD_VERSION = #{recordVersion,jdbcType=NUMERIC},
        </if>
        <if test="remark != null" >
    REMARK = #{remark,jdbcType=VARCHAR},
        </if>
        <if test="skuCount != null" >
    SKU_COUNT = #{skuCount,jdbcType=NUMERIC},
        </if>
        <if test="totalPlanQty != null" >
    TOTAL_PLAN_QTY = #{totalPlanQty,jdbcType=NUMERIC},
        </if>
        <if test="vendorId != null" >
    VENDOR_ID = #{vendorId,jdbcType=VARCHAR},
        </if>
        <if test="vendorName != null" >
    VENDOR_NAME = #{vendorName,jdbcType=VARCHAR},
        </if>
        <if test="warehouseOfficeId != null" >
    WAREHOUSE_OFFICE_ID = #{warehouseOfficeId,jdbcType=VARCHAR},
        </if>
        <if test="wmsInbAsnId != null" >
    WMS_INB_ASN_ID = #{wmsInbAsnId,jdbcType=VARCHAR},
        </if>
    </set>
    where TEST_EXAM_3201_ID = #{testExam3201Id,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.gillion.sample.test.domain.TestExam3201" >
    update TEST_EXAM_3201 set
      ACTUAL_CASE_QTY = #{actualCaseQty,jdbcType=NUMERIC},
      ARRIVE_TIME = #{arriveTime,jdbcType=VARCHAR},
      ASN_NO = #{asnNo,jdbcType=VARCHAR},
      CANCEL_TIME = #{cancelTime,jdbcType=VARCHAR},
      CARRIER_NAME = #{carrierName,jdbcType=VARCHAR},
      CLOSE_TIME = #{closeTime,jdbcType=DATE},
      CREATE_OFFICE = #{createOffice,jdbcType=VARCHAR},
      CREATE_TIME = #{createTime,jdbcType=VARCHAR},
      CREATE_TIME_ZONE = #{createTimeZone,jdbcType=VARCHAR},
      CREATOR = #{creator,jdbcType=VARCHAR},
      CUST_CODE = #{custCode,jdbcType=VARCHAR},
      CUST_ID = #{custId,jdbcType=VARCHAR},
      CUST_NAME = #{custName,jdbcType=VARCHAR},
      CUST_NO = #{custNo,jdbcType=VARCHAR},
      DEADLINE_DATE = #{deadlineDate,jdbcType=VARCHAR},
      EXPECT_ARRIVE_TIME = #{expectArriveTime,jdbcType=VARCHAR},
      IS_ENABLE_RECEIVE = #{isEnableReceive,jdbcType=VARCHAR},
      IS_PART_DELIVERY = #{isPartDelivery,jdbcType=VARCHAR},
      LAST_MODIFY_OFFICE = #{lastModifyOffice,jdbcType=VARCHAR},
      LAST_MODIFYOR = #{lastModifyor,jdbcType=VARCHAR},
      LAST_MODIFY_TIME = #{lastModifyTime,jdbcType=VARCHAR},
      LAST_MODIFY_TIME_ZONE = #{lastModifyTimeZone,jdbcType=VARCHAR},
      PRINCIPAL_GROUP_CODE = #{principalGroupCode,jdbcType=VARCHAR},
      PRIORITY = #{priority,jdbcType=NUMERIC},
      PROCESS_STATE = #{processState,jdbcType=VARCHAR},
      RECEIPT_DESC = #{receiptDesc,jdbcType=VARCHAR},
      RECEIPT_METHOD = #{receiptMethod,jdbcType=VARCHAR},
      RECEIPT_MODEL = #{receiptModel,jdbcType=VARCHAR},
      RECEIPT_ORDER_NO = #{receiptOrderNo,jdbcType=VARCHAR},
      RECEIPT_STATUS = #{receiptStatus,jdbcType=VARCHAR},
      RECEIPT_TYPE = #{receiptType,jdbcType=VARCHAR},
      RECEIVE_PERSON_NAME = #{receivePersonName,jdbcType=VARCHAR},
      RECEIVE_TIME = #{receiveTime,jdbcType=VARCHAR},
      RECORD_VERSION = #{recordVersion,jdbcType=NUMERIC},
      REMARK = #{remark,jdbcType=VARCHAR},
      SKU_COUNT = #{skuCount,jdbcType=NUMERIC},
      TOTAL_PLAN_QTY = #{totalPlanQty,jdbcType=NUMERIC},
      VENDOR_ID = #{vendorId,jdbcType=VARCHAR},
      VENDOR_NAME = #{vendorName,jdbcType=VARCHAR},
      WAREHOUSE_OFFICE_ID = #{warehouseOfficeId,jdbcType=VARCHAR},
      WMS_INB_ASN_ID = #{wmsInbAsnId,jdbcType=VARCHAR}
    where TEST_EXAM_3201_ID = #{testExam3201Id,jdbcType=VARCHAR}
  </update>
  <sql id="OraclePaginationPrefix" >
    <if test="page != null" >
      select * from ( select row_.*, rownum rownum_ from (
    </if>
  </sql>
  <sql id="OraclePaginationSuffix" >
    <if test="page != null" >
      <![CDATA[ ) row_ ) where rownum_ >= #{page.recordStart} and rownum_ <= #{page.recordEnd} ]]>
    </if>
  </sql>
</mapper>


1.16.子表实体类

1.16.子表实体类

/*
 * @(#)TestExam3201Detail.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分19秒
 *  描 述:创建
 */

package com.gillion.sample.test.domain;
import java.util.Set;
import java.util.Map;
import java.util.List;

import javax.validation.Valid;
import javax.persistence.*;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonManagedReference;
import com.fasterxml.jackson.annotation.JsonBackReference;
import com.gillion.platform.framework.core.domain.BaseObject;
import com.gillion.platform.utils.DateUtils;
import com.gillion.platform.serialize.DateTimeString;
import com.gillion.platform.serialize.DateString;

import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.bo.service.impl.BusinessObjectService;
import com.gillion.platform.framework.component.rtm.domain.DynamicForm;
import java.math.BigDecimal;
import com.gillion.platform.serialize.DateTimeString;
import com.gillion.sample.test.domain.TestExam3201;
import com.gfa4j.validation.annotation.RichLength;

/**
 * <pre>
 * 订单明细表(TestExam3201Detail)实体类
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@Entity
@Table(name = "TEST_EXAM_3201_DETAIL")
//@org.hibernate.annotations.Entity(dynamicInsert=true,dynamicUpdate=true)
@SuppressWarnings("all")
@JsonIgnoreProperties
public class TestExam3201Detail extends BaseObject
{
    /** The field serialVersionUID **/
    private static final long serialVersionUID = 1L;
    /** ASN明细编号 */
    public final static String ASNDETAILNO = "ASN_DETAIL_NO";
    /** 商品条码 */
    public final static String BARCODE = "BAR_CODE";
    /** 创建人所属组织 */
    public final static String CREATEOFFICE = "CREATE_OFFICE";
    /** 创建人时区 */
    public final static String CREATETIMEZONE = "CREATE_TIME_ZONE";
    /** 货主代码 */
    public final static String CUSTCODE = "CUST_CODE";
    /** 货主ID */
    public final static String CUSTID = "CUST_ID";
    /** 货主商品编码 */
    public final static String CUSTITEMCODE = "CUST_ITEM_CODE";
    /** 货主名称 */
    public final static String CUSTNAME = "CUST_NAME";
    /** 客户订单编号 */
    public final static String CUSTORDERNO = "CUST_ORDER_NO";
    /** 残次品数量 */
    public final static String DAMAGEQTY = "DAMAGE_QTY";
    /** 预期库存状态 */
    public final static String EXPECTINVSTS = "EXPECT_INV_STS";
    /** 预期库存状态名称 */
    public final static String EXPECTINVSTSDESC = "EXPECT_INV_STS_DESC";
    /** 失效日期 */
    public final static String EXPIRATIONDATE = "EXPIRATION_DATE";
    /** 已质检数量 */
    public final static String IQCQTY = "IQC_QTY";
    /** 商品代码 */
    public final static String ITEMCODE = "ITEM_CODE";
    /** 商品 */
    public final static String ITEMID = "ITEM_ID";
    /** 商品名称 */
    public final static String ITEMNAME = "ITEM_NAME";
    /** 商品品质 */
    public final static String ITEMQUALITY = "ITEM_QUALITY";
    /** 件数单位 */
    public final static String ITEMUOM = "ITEM_UOM";
    /** 最后修改人所属组织 */
    public final static String LASTMODIFYOFFICE = "LAST_MODIFY_OFFICE";
    /** 最后修改人时区 */
    public final static String LASTMODIFYTIMEZONE = "LAST_MODIFY_TIME_ZONE";
    /** 行编号 */
    public final static String LINENUMBER = "LINE_NUMBER";
    /** 批次属性01 */
    public final static String LOTATTR01 = "LOT_ATTR_01";
    /** 批次属性02 */
    public final static String LOTATTR02 = "LOT_ATTR_02";
    /** 批次属性03 */
    public final static String LOTATTR03 = "LOT_ATTR_03";
    /** 批次属性04 */
    public final static String LOTATTR04 = "LOT_ATTR_04";
    /** 批次属性05 */
    public final static String LOTATTR05 = "LOT_ATTR_05";
    /** 批次属性06 */
    public final static String LOTATTR06 = "LOT_ATTR_06";
    /** 批次属性07 */
    public final static String LOTATTR07 = "LOT_ATTR_07";
    /** 批次属性08 */
    public final static String LOTATTR08 = "LOT_ATTR_08";
    /** 批次属性09 */
    public final static String LOTATTR09 = "LOT_ATTR_09";
    /** 批次属性10 */
    public final static String LOTATTR10 = "LOT_ATTR_10";
    /** 批次属性11 */
    public final static String LOTATTR11 = "LOT_ATTR_11";
    /** 批次属性12 */
    public final static String LOTATTR12 = "LOT_ATTR_12";
    /** 批次号 */
    public final static String LOTNO = "LOT_NO";
    /** 生产日期 */
    public final static String MANUFACTUREDATE = "MANUFACTURE_DATE";
    /** 待入库数量 */
    public final static String OPENQTY = "OPEN_QTY";
    /** 计划数量 */
    public final static String PLANQTY = "PLAN_QTY";
    /** 云服务分组代码 */
    public final static String PRINCIPALGROUPCODE = "PRINCIPAL_GROUP_CODE";
    /** 上架数量 */
    public final static String PUTAWAYQTY = "PUTAWAY_QTY";
    /** 入库单编号 */
    public final static String RECEIPTORDERNO = "RECEIPT_ORDER_NO";
    /** 已入库数量 */
    public final static String RECEIVEQTY = "RECEIVE_QTY";
    /** 收货时间 */
    public final static String RECEIVETIME = "RECEIVE_TIME";
    /** 备注 */
    public final static String REMARK = "REMARK";
    /** 入库单明细ID */
    public final static String TESTEXAM3201DETAILID = "TEST_EXAM_3201_DETAIL_ID";
    /** 入库单ID */
    public final static String TESTEXAM3201ID = "TEST_EXAM_3201_ID";
    /** 总数量 */
    public final static String TOTALPLANQTY = "TOTAL_PLAN_QTY";
    /** 仓库 */
    public final static String WAREHOUSEOFFICEID = "WAREHOUSE_OFFICE_ID";
    /** TestExam3201 */
    public final static String TESTEXAM3201 = "";
    /** The Class Default 默认分组*/
    public interface Default{};
    //fields
    /** ASN明细编号 */
    @Column(name="ASN_DETAIL_NO",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String asnDetailNo;

    /** 商品条码 */
    @Column(name="BAR_CODE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String barCode;



    /** 货主代码 */
    @Column(name="CUST_CODE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String custCode;

    /** 货主ID */
    @Column(name="CUST_ID",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String custId;

    /** 货主商品编码 */
    @Column(name="CUST_ITEM_CODE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String custItemCode;

    /** 货主名称 */
    @Column(name="CUST_NAME",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String custName;

    /** 客户订单编号 */
    @Column(name="CUST_ORDER_NO",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String custOrderNo;

    /** 残次品数量 */
    @Column(name="DAMAGE_QTY",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String damageQty;

    /** 预期库存状态 */
    @Column(name="EXPECT_INV_STS",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal expectInvSts;

    /** 预期库存状态名称 */
    @Column(name="EXPECT_INV_STS_DESC",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String expectInvStsDesc;

    /** 失效日期 */
    @Column(name="EXPIRATION_DATE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String expirationDate;

    /** 已质检数量 */
    @Column(name="IQC_QTY",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal iqcQty;

    /** 商品代码 */
    @Column(name="ITEM_CODE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String itemCode;

    /** 商品 */
    @Column(name="ITEM_ID",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String itemId;

    /** 商品名称 */
    @Column(name="ITEM_NAME",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String itemName;

    /** 商品品质 */
    @Column(name="ITEM_QUALITY",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String itemQuality;

    /** 件数单位 */
    @Column(name="ITEM_UOM",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String itemUom;



    /** 行编号 */
    @Column(name="LINE_NUMBER",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal lineNumber;

    /** 批次属性01 */
    @Column(name="LOT_ATTR_01",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr01;

    /** 批次属性02 */
    @Column(name="LOT_ATTR_02",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr02;

    /** 批次属性03 */
    @Column(name="LOT_ATTR_03",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr03;

    /** 批次属性04 */
    @Column(name="LOT_ATTR_04",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr04;

    /** 批次属性05 */
    @Column(name="LOT_ATTR_05",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr05;

    /** 批次属性06 */
    @Column(name="LOT_ATTR_06",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr06;

    /** 批次属性07 */
    @Column(name="LOT_ATTR_07",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr07;

    /** 批次属性08 */
    @Column(name="LOT_ATTR_08",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr08;

    /** 批次属性09 */
    @Column(name="LOT_ATTR_09",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr09;

    /** 批次属性10 */
    @Column(name="LOT_ATTR_10",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr10;

    /** 批次属性11 */
    @Column(name="LOT_ATTR_11",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr11;

    /** 批次属性12 */
    @Column(name="LOT_ATTR_12",nullable = true,length=200)
    @RichLength(max=200,min=0,groups={Default.class})
    private String lotAttr12;

    /** 批次号 */
    @Column(name="LOT_NO",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String lotNo;

    /** 生产日期 */
    @Column(name="MANUFACTURE_DATE",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String manufactureDate;

    /** 待入库数量 */
    @Column(name="OPEN_QTY",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal openQty;

    /** 计划数量 */
    @Column(name="PLAN_QTY",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal planQty;


    /** 上架数量 */
    @Column(name="PUTAWAY_QTY",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal putawayQty;

    /** 入库单编号 */
    @Column(name="RECEIPT_ORDER_NO",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String receiptOrderNo;

    /** 已入库数量 */
    @Column(name="RECEIVE_QTY",nullable = true,precision=18,scale=0,length=18)
    private BigDecimal receiveQty;

    /** 收货时间 */
    @Column(name="RECEIVE_TIME",nullable = true,length=50)
    @DateTimeString
    private String receiveTime;

    /** 备注 */
    @Column(name="REMARK",nullable = true,length=1000)
    @RichLength(max=1000,min=0,groups={Default.class})
    private String remark;

    /** 入库单明细ID */
    @Id
    @GeneratedValue(generator = "idGenerator")
    @Column(name="TEST_EXAM_3201_DETAIL_ID",nullable = false,length=50)
    private String testExam3201DetailId;

    /** 入库单ID */
    @Column(name="TEST_EXAM_3201_ID",nullable = false,length=50)
    private String testExam3201Id;

    /** 总数量 */
    @Column(name="TOTAL_PLAN_QTY",nullable = true,precision=18,scale=4,length=18)
    private BigDecimal totalPlanQty;

    /** 仓库 */
    @Column(name="WAREHOUSE_OFFICE_ID",nullable = true,length=50)
    @RichLength(max=50,min=0,groups={Default.class})
    private String warehouseOfficeId;

    /** TestExam3201 */
    @JsonBackReference
    private TestExam3201 testExam3201;


    /**
     * 功能描述:
     *    获得ASN明细编号
     * @return ASN明细编号 : String
     */
    public String getAsnDetailNo()
    {
        return this.asnDetailNo;
    }

    /**
     * 功能描述:
     *    设置ASN明细编号
     * @param asnDetailNo : String
     */
    public void setAsnDetailNo(String asnDetailNo)
    {
        this.asnDetailNo = asnDetailNo;
    }


    /**
     * 功能描述:
     *    获得商品条码
     * @return 商品条码 : String
     */
    public String getBarCode()
    {
        return this.barCode;
    }

    /**
     * 功能描述:
     *    设置商品条码
     * @param barCode : String
     */
    public void setBarCode(String barCode)
    {
        this.barCode = barCode;
    }


    /**
     * 功能描述:
     *    获得货主代码
     * @return 货主代码 : String
     */
    public String getCustCode()
    {
        return this.custCode;
    }

    /**
     * 功能描述:
     *    设置货主代码
     * @param custCode : String
     */
    public void setCustCode(String custCode)
    {
        this.custCode = custCode;
    }


    /**
     * 功能描述:
     *    获得货主ID
     * @return 货主ID : String
     */
    public String getCustId()
    {
        return this.custId;
    }

    /**
     * 功能描述:
     *    设置货主ID
     * @param custId : String
     */
    public void setCustId(String custId)
    {
        this.custId = custId;
    }


    /**
     * 功能描述:
     *    获得货主商品编码
     * @return 货主商品编码 : String
     */
    public String getCustItemCode()
    {
        return this.custItemCode;
    }

    /**
     * 功能描述:
     *    设置货主商品编码
     * @param custItemCode : String
     */
    public void setCustItemCode(String custItemCode)
    {
        this.custItemCode = custItemCode;
    }


    /**
     * 功能描述:
     *    获得货主名称
     * @return 货主名称 : String
     */
    public String getCustName()
    {
        return this.custName;
    }

    /**
     * 功能描述:
     *    设置货主名称
     * @param custName : String
     */
    public void setCustName(String custName)
    {
        this.custName = custName;
    }


    /**
     * 功能描述:
     *    获得客户订单编号
     * @return 客户订单编号 : String
     */
    public String getCustOrderNo()
    {
        return this.custOrderNo;
    }

    /**
     * 功能描述:
     *    设置客户订单编号
     * @param custOrderNo : String
     */
    public void setCustOrderNo(String custOrderNo)
    {
        this.custOrderNo = custOrderNo;
    }


    /**
     * 功能描述:
     *    获得残次品数量
     * @return 残次品数量 : String
     */
    public String getDamageQty()
    {
        return this.damageQty;
    }

    /**
     * 功能描述:
     *    设置残次品数量
     * @param damageQty : String
     */
    public void setDamageQty(String damageQty)
    {
        this.damageQty = damageQty;
    }


    /**
     * 功能描述:
     *    获得预期库存状态
     * @return 预期库存状态 : BigDecimal
     */
    public BigDecimal getExpectInvSts()
    {
        return this.expectInvSts;
    }

    /**
     * 功能描述:
     *    设置预期库存状态
     * @param expectInvSts : BigDecimal
     */
    public void setExpectInvSts(BigDecimal expectInvSts)
    {
        this.expectInvSts = expectInvSts;
    }


    /**
     * 功能描述:
     *    获得预期库存状态名称
     * @return 预期库存状态名称 : String
     */
    public String getExpectInvStsDesc()
    {
        return this.expectInvStsDesc;
    }

    /**
     * 功能描述:
     *    设置预期库存状态名称
     * @param expectInvStsDesc : String
     */
    public void setExpectInvStsDesc(String expectInvStsDesc)
    {
        this.expectInvStsDesc = expectInvStsDesc;
    }


    /**
     * 功能描述:
     *    获得失效日期
     * @return 失效日期 : String
     */
    public String getExpirationDate()
    {
        return this.expirationDate;
    }

    /**
     * 功能描述:
     *    设置失效日期
     * @param expirationDate : String
     */
    public void setExpirationDate(String expirationDate)
    {
        this.expirationDate = expirationDate;
    }


    /**
     * 功能描述:
     *    获得已质检数量
     * @return 已质检数量 : BigDecimal
     */
    public BigDecimal getIqcQty()
    {
        return this.iqcQty;
    }

    /**
     * 功能描述:
     *    设置已质检数量
     * @param iqcQty : BigDecimal
     */
    public void setIqcQty(BigDecimal iqcQty)
    {
        this.iqcQty = iqcQty;
    }


    /**
     * 功能描述:
     *    获得商品代码
     * @return 商品代码 : String
     */
    public String getItemCode()
    {
        return this.itemCode;
    }

    /**
     * 功能描述:
     *    设置商品代码
     * @param itemCode : String
     */
    public void setItemCode(String itemCode)
    {
        this.itemCode = itemCode;
    }


    /**
     * 功能描述:
     *    获得商品
     * @return 商品 : String
     */
    public String getItemId()
    {
        return this.itemId;
    }

    /**
     * 功能描述:
     *    设置商品
     * @param itemId : String
     */
    public void setItemId(String itemId)
    {
        this.itemId = itemId;
    }


    /**
     * 功能描述:
     *    获得商品名称
     * @return 商品名称 : String
     */
    public String getItemName()
    {
        return this.itemName;
    }

    /**
     * 功能描述:
     *    设置商品名称
     * @param itemName : String
     */
    public void setItemName(String itemName)
    {
        this.itemName = itemName;
    }


    /**
     * 功能描述:
     *    获得商品品质
     * @return 商品品质 : String
     */
    public String getItemQuality()
    {
        return this.itemQuality;
    }

    /**
     * 功能描述:
     *    设置商品品质
     * @param itemQuality : String
     */
    public void setItemQuality(String itemQuality)
    {
        this.itemQuality = itemQuality;
    }


    /**
     * 功能描述:
     *    获得件数单位
     * @return 件数单位 : String
     */
    public String getItemUom()
    {
        return this.itemUom;
    }

    /**
     * 功能描述:
     *    设置件数单位
     * @param itemUom : String
     */
    public void setItemUom(String itemUom)
    {
        this.itemUom = itemUom;
    }


    /**
     * 功能描述:
     *    获得行编号
     * @return 行编号 : BigDecimal
     */
    public BigDecimal getLineNumber()
    {
        return this.lineNumber;
    }

    /**
     * 功能描述:
     *    设置行编号
     * @param lineNumber : BigDecimal
     */
    public void setLineNumber(BigDecimal lineNumber)
    {
        this.lineNumber = lineNumber;
    }


    /**
     * 功能描述:
     *    获得批次属性01
     * @return 批次属性01 : String
     */
    public String getLotAttr01()
    {
        return this.lotAttr01;
    }

    /**
     * 功能描述:
     *    设置批次属性01
     * @param lotAttr01 : String
     */
    public void setLotAttr01(String lotAttr01)
    {
        this.lotAttr01 = lotAttr01;
    }


    /**
     * 功能描述:
     *    获得批次属性02
     * @return 批次属性02 : String
     */
    public String getLotAttr02()
    {
        return this.lotAttr02;
    }

    /**
     * 功能描述:
     *    设置批次属性02
     * @param lotAttr02 : String
     */
    public void setLotAttr02(String lotAttr02)
    {
        this.lotAttr02 = lotAttr02;
    }


    /**
     * 功能描述:
     *    获得批次属性03
     * @return 批次属性03 : String
     */
    public String getLotAttr03()
    {
        return this.lotAttr03;
    }

    /**
     * 功能描述:
     *    设置批次属性03
     * @param lotAttr03 : String
     */
    public void setLotAttr03(String lotAttr03)
    {
        this.lotAttr03 = lotAttr03;
    }


    /**
     * 功能描述:
     *    获得批次属性04
     * @return 批次属性04 : String
     */
    public String getLotAttr04()
    {
        return this.lotAttr04;
    }

    /**
     * 功能描述:
     *    设置批次属性04
     * @param lotAttr04 : String
     */
    public void setLotAttr04(String lotAttr04)
    {
        this.lotAttr04 = lotAttr04;
    }


    /**
     * 功能描述:
     *    获得批次属性05
     * @return 批次属性05 : String
     */
    public String getLotAttr05()
    {
        return this.lotAttr05;
    }

    /**
     * 功能描述:
     *    设置批次属性05
     * @param lotAttr05 : String
     */
    public void setLotAttr05(String lotAttr05)
    {
        this.lotAttr05 = lotAttr05;
    }


    /**
     * 功能描述:
     *    获得批次属性06
     * @return 批次属性06 : String
     */
    public String getLotAttr06()
    {
        return this.lotAttr06;
    }

    /**
     * 功能描述:
     *    设置批次属性06
     * @param lotAttr06 : String
     */
    public void setLotAttr06(String lotAttr06)
    {
        this.lotAttr06 = lotAttr06;
    }


    /**
     * 功能描述:
     *    获得批次属性07
     * @return 批次属性07 : String
     */
    public String getLotAttr07()
    {
        return this.lotAttr07;
    }

    /**
     * 功能描述:
     *    设置批次属性07
     * @param lotAttr07 : String
     */
    public void setLotAttr07(String lotAttr07)
    {
        this.lotAttr07 = lotAttr07;
    }


    /**
     * 功能描述:
     *    获得批次属性08
     * @return 批次属性08 : String
     */
    public String getLotAttr08()
    {
        return this.lotAttr08;
    }

    /**
     * 功能描述:
     *    设置批次属性08
     * @param lotAttr08 : String
     */
    public void setLotAttr08(String lotAttr08)
    {
        this.lotAttr08 = lotAttr08;
    }


    /**
     * 功能描述:
     *    获得批次属性09
     * @return 批次属性09 : String
     */
    public String getLotAttr09()
    {
        return this.lotAttr09;
    }

    /**
     * 功能描述:
     *    设置批次属性09
     * @param lotAttr09 : String
     */
    public void setLotAttr09(String lotAttr09)
    {
        this.lotAttr09 = lotAttr09;
    }


    /**
     * 功能描述:
     *    获得批次属性10
     * @return 批次属性10 : String
     */
    public String getLotAttr10()
    {
        return this.lotAttr10;
    }

    /**
     * 功能描述:
     *    设置批次属性10
     * @param lotAttr10 : String
     */
    public void setLotAttr10(String lotAttr10)
    {
        this.lotAttr10 = lotAttr10;
    }


    /**
     * 功能描述:
     *    获得批次属性11
     * @return 批次属性11 : String
     */
    public String getLotAttr11()
    {
        return this.lotAttr11;
    }

    /**
     * 功能描述:
     *    设置批次属性11
     * @param lotAttr11 : String
     */
    public void setLotAttr11(String lotAttr11)
    {
        this.lotAttr11 = lotAttr11;
    }


    /**
     * 功能描述:
     *    获得批次属性12
     * @return 批次属性12 : String
     */
    public String getLotAttr12()
    {
        return this.lotAttr12;
    }

    /**
     * 功能描述:
     *    设置批次属性12
     * @param lotAttr12 : String
     */
    public void setLotAttr12(String lotAttr12)
    {
        this.lotAttr12 = lotAttr12;
    }


    /**
     * 功能描述:
     *    获得批次号
     * @return 批次号 : String
     */
    public String getLotNo()
    {
        return this.lotNo;
    }

    /**
     * 功能描述:
     *    设置批次号
     * @param lotNo : String
     */
    public void setLotNo(String lotNo)
    {
        this.lotNo = lotNo;
    }


    /**
     * 功能描述:
     *    获得生产日期
     * @return 生产日期 : String
     */
    public String getManufactureDate()
    {
        return this.manufactureDate;
    }

    /**
     * 功能描述:
     *    设置生产日期
     * @param manufactureDate : String
     */
    public void setManufactureDate(String manufactureDate)
    {
        this.manufactureDate = manufactureDate;
    }


    /**
     * 功能描述:
     *    获得待入库数量
     * @return 待入库数量 : BigDecimal
     */
    public BigDecimal getOpenQty()
    {
        return this.openQty;
    }

    /**
     * 功能描述:
     *    设置待入库数量
     * @param openQty : BigDecimal
     */
    public void setOpenQty(BigDecimal openQty)
    {
        this.openQty = openQty;
    }


    /**
     * 功能描述:
     *    获得计划数量
     * @return 计划数量 : BigDecimal
     */
    public BigDecimal getPlanQty()
    {
        return this.planQty;
    }

    /**
     * 功能描述:
     *    设置计划数量
     * @param planQty : BigDecimal
     */
    public void setPlanQty(BigDecimal planQty)
    {
        this.planQty = planQty;
    }


    /**
     * 功能描述:
     *    获得上架数量
     * @return 上架数量 : BigDecimal
     */
    public BigDecimal getPutawayQty()
    {
        return this.putawayQty;
    }

    /**
     * 功能描述:
     *    设置上架数量
     * @param putawayQty : BigDecimal
     */
    public void setPutawayQty(BigDecimal putawayQty)
    {
        this.putawayQty = putawayQty;
    }


    /**
     * 功能描述:
     *    获得入库单编号
     * @return 入库单编号 : String
     */
    public String getReceiptOrderNo()
    {
        return this.receiptOrderNo;
    }

    /**
     * 功能描述:
     *    设置入库单编号
     * @param receiptOrderNo : String
     */
    public void setReceiptOrderNo(String receiptOrderNo)
    {
        this.receiptOrderNo = receiptOrderNo;
    }


    /**
     * 功能描述:
     *    获得已入库数量
     * @return 已入库数量 : BigDecimal
     */
    public BigDecimal getReceiveQty()
    {
        return this.receiveQty;
    }

    /**
     * 功能描述:
     *    设置已入库数量
     * @param receiveQty : BigDecimal
     */
    public void setReceiveQty(BigDecimal receiveQty)
    {
        this.receiveQty = receiveQty;
    }


    /**
     * 功能描述:
     *    获得收货时间
     * @return 收货时间 : String
     */
    public String getReceiveTime()
    {
        return this.receiveTime;
    }

    /**
     * 功能描述:
     *    设置收货时间
     * @param receiveTime : String
     */
    public void setReceiveTime(String receiveTime)
    {
        this.receiveTime = receiveTime;
    }


    /**
     * 功能描述:
     *    获得备注
     * @return 备注 : String
     */
    public String getRemark()
    {
        return this.remark;
    }

    /**
     * 功能描述:
     *    设置备注
     * @param remark : String
     */
    public void setRemark(String remark)
    {
        this.remark = remark;
    }


    /**
     * 功能描述:
     *    获得入库单明细ID
     * @return 入库单明细ID : String
     */
    public String getTestExam3201DetailId()
    {
        return this.testExam3201DetailId;
    }

    /**
     * 功能描述:
     *    设置入库单明细ID
     * @param testExam3201DetailId : String
     */
    public void setTestExam3201DetailId(String testExam3201DetailId)
    {
        this.testExam3201DetailId = testExam3201DetailId;
    }


    /**
     * 功能描述:
     *    获得入库单ID
     * @return 入库单ID : String
     */
    public String getTestExam3201Id()
    {
        return this.testExam3201Id;
    }

    /**
     * 功能描述:
     *    设置入库单ID
     * @param testExam3201Id : String
     */
    public void setTestExam3201Id(String testExam3201Id)
    {
        this.testExam3201Id = testExam3201Id;
    }


    /**
     * 功能描述:
     *    获得总数量
     * @return 总数量 : BigDecimal
     */
    public BigDecimal getTotalPlanQty()
    {
        return this.totalPlanQty;
    }

    /**
     * 功能描述:
     *    设置总数量
     * @param totalPlanQty : BigDecimal
     */
    public void setTotalPlanQty(BigDecimal totalPlanQty)
    {
        this.totalPlanQty = totalPlanQty;
    }


    /**
     * 功能描述:
     *    获得仓库
     * @return 仓库 : String
     */
    public String getWarehouseOfficeId()
    {
        return this.warehouseOfficeId;
    }

    /**
     * 功能描述:
     *    设置仓库
     * @param warehouseOfficeId : String
     */
    public void setWarehouseOfficeId(String warehouseOfficeId)
    {
        this.warehouseOfficeId = warehouseOfficeId;
    }


    /**
     * 功能描述:
     *    获得TestExam3201
     * @return TestExam3201 : TestExam3201
     */
    public TestExam3201 getTestExam3201()
    {
        return this.testExam3201;
    }

    /**
     * 功能描述:
     *    设置TestExam3201
     * @param testExam3201 : TestExam3201
     */
    public void setTestExam3201(TestExam3201 testExam3201)
    {
        this.testExam3201 = testExam3201;
    }




}

1.17.子表Example类

1.17.子表Example类


/* * @(#)TestExam3201DetailExample.java * 版权声明 厦门吉联科技, 版权所有 违者必究 * *修订记录: *1)更改者:java业务平台代码生成工具 * 时 间:2018年07月12日 09点45分19秒 * 描 述:创建 */ package com.gillion.sample.test.domain; import com.gillion.platform.framework.core.query.BaseCriteria; import com.gillion.platform.framework.core.query.BaseExample; import com.gillion.platform.framework.core.query.SearchColumn; import com.gillion.platform.framework.core.query.Operation; import java.util.List; import java.util.Map; import java.math.BigDecimal; import java.util.Date; /** * <pre> * 订单明细表(TestExam3201Detail)Example类 * </pre> * * <br> * JDK版本:1.6 * * @author java业务平台代码生成工具 * @version 1.0 * @see The author for more details */ public class TestExam3201DetailExample extends BaseExample<TestExam3201DetailExample.Criteria> { public TestExam3201DetailExample() { super(); } /** * @param criteria */ public void or(Criteria criteria) { oredCriteria.add(criteria); } /** * @return */ protected Criteria createCriteriaInternal() { return new Criteria(mapColumns); } /** * create new instance TestExam3201DetailExample * @return */ public static TestExam3201DetailExample create() { return new TestExam3201DetailExample(); } /** * create new instance IpfCcmBoExample * @param searchColumns * @return IpfCcmBoExample */ public static TestExam3201DetailExample create(List<SearchColumn> searchColumns) { TestExam3201DetailExample example = TestExam3201DetailExample.create(); example.init(searchColumns); return example; } /** * <pre> * The Class GeneratedCriteria * </pre> * * <br> * JDK版本:1.6 * * @author 林进旭 * @version 1.0 * @see The author for more details * @since 1.0 */ public static class Criteria extends BaseCriteria { protected Criteria() { super(); } protected Criteria(Map<String,String> columnMaps) { super(columnMaps); } /** * ITEM_ID is null * @return */ public Criteria andItemIdIsNull() { addCriterion("ITEM_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_ID is not null * @return */ public Criteria andItemIdIsNotNull() { addCriterion("ITEM_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_ID = * @return */ public Criteria andItemIdEqualTo(String value) { addCriterion("ITEM_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID <> * @return */ public Criteria andItemIdNotEqualTo(String value) { addCriterion("ITEM_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID > * @return */ public Criteria andItemIdGreaterThan(String value) { addCriterion("ITEM_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID >= * @return */ public Criteria andItemIdGreaterThanOrEqualTo(String value) { addCriterion("ITEM_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID < * @return */ public Criteria andItemIdLessThan(String value) { addCriterion("ITEM_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID <= * @return */ public Criteria andItemIdLessThanOrEqualTo(String value) { addCriterion("ITEM_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID like * @return */ public Criteria andItemIdLike(String value) { addCriterion("ITEM_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID not like * @return */ public Criteria andItemIdNotLike(String value) { addCriterion("ITEM_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_ID in * @return */ public Criteria andItemIdIn(List<String> values) { addCriterion("ITEM_ID",false,Operation.IN,values); return (Criteria) this; } /** * ITEM_ID not in * @return */ public Criteria andItemIdNotIn(List<String> values) { addCriterion("ITEM_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * ITEM_ID between * @return */ public Criteria andItemIdBetween(String value1, String value2) { addCriterion("ITEM_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ITEM_ID not between * @return */ public Criteria andItemIdNotBetween(String value1, String value2) { addCriterion("ITEM_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ITEM_ID) like '%value.toUpperCase()%' * @return */ public Criteria andItemIdLikeInsensitive(String value) { addCriterion("ITEM_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME is null * @return */ public Criteria andItemNameIsNull() { addCriterion("ITEM_NAME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_NAME is not null * @return */ public Criteria andItemNameIsNotNull() { addCriterion("ITEM_NAME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_NAME = * @return */ public Criteria andItemNameEqualTo(String value) { addCriterion("ITEM_NAME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME <> * @return */ public Criteria andItemNameNotEqualTo(String value) { addCriterion("ITEM_NAME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME > * @return */ public Criteria andItemNameGreaterThan(String value) { addCriterion("ITEM_NAME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME >= * @return */ public Criteria andItemNameGreaterThanOrEqualTo(String value) { addCriterion("ITEM_NAME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME < * @return */ public Criteria andItemNameLessThan(String value) { addCriterion("ITEM_NAME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME <= * @return */ public Criteria andItemNameLessThanOrEqualTo(String value) { addCriterion("ITEM_NAME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME like * @return */ public Criteria andItemNameLike(String value) { addCriterion("ITEM_NAME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME not like * @return */ public Criteria andItemNameNotLike(String value) { addCriterion("ITEM_NAME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_NAME in * @return */ public Criteria andItemNameIn(List<String> values) { addCriterion("ITEM_NAME",false,Operation.IN,values); return (Criteria) this; } /** * ITEM_NAME not in * @return */ public Criteria andItemNameNotIn(List<String> values) { addCriterion("ITEM_NAME",false,Operation.NOTIN,values); return (Criteria) this; } /** * ITEM_NAME between * @return */ public Criteria andItemNameBetween(String value1, String value2) { addCriterion("ITEM_NAME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ITEM_NAME not between * @return */ public Criteria andItemNameNotBetween(String value1, String value2) { addCriterion("ITEM_NAME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ITEM_NAME) like '%value.toUpperCase()%' * @return */ public Criteria andItemNameLikeInsensitive(String value) { addCriterion("ITEM_NAME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 is null * @return */ public Criteria andLotAttr01IsNull() { addCriterion("LOT_ATTR_01",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_01 is not null * @return */ public Criteria andLotAttr01IsNotNull() { addCriterion("LOT_ATTR_01",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_01 = * @return */ public Criteria andLotAttr01EqualTo(String value) { addCriterion("LOT_ATTR_01",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 <> * @return */ public Criteria andLotAttr01NotEqualTo(String value) { addCriterion("LOT_ATTR_01",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 > * @return */ public Criteria andLotAttr01GreaterThan(String value) { addCriterion("LOT_ATTR_01",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 >= * @return */ public Criteria andLotAttr01GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_01",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 < * @return */ public Criteria andLotAttr01LessThan(String value) { addCriterion("LOT_ATTR_01",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 <= * @return */ public Criteria andLotAttr01LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_01",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 like * @return */ public Criteria andLotAttr01Like(String value) { addCriterion("LOT_ATTR_01",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 not like * @return */ public Criteria andLotAttr01NotLike(String value) { addCriterion("LOT_ATTR_01",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_01 in * @return */ public Criteria andLotAttr01In(List<String> values) { addCriterion("LOT_ATTR_01",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_01 not in * @return */ public Criteria andLotAttr01NotIn(List<String> values) { addCriterion("LOT_ATTR_01",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_01 between * @return */ public Criteria andLotAttr01Between(String value1, String value2) { addCriterion("LOT_ATTR_01",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_01 not between * @return */ public Criteria andLotAttr01NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_01",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_01) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr01LikeInsensitive(String value) { addCriterion("LOT_ATTR_01",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE is null * @return */ public Criteria andPrincipalGroupCodeIsNull() { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE is not null * @return */ public Criteria andPrincipalGroupCodeIsNotNull() { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE = * @return */ public Criteria andPrincipalGroupCodeEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE <> * @return */ public Criteria andPrincipalGroupCodeNotEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE > * @return */ public Criteria andPrincipalGroupCodeGreaterThan(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE >= * @return */ public Criteria andPrincipalGroupCodeGreaterThanOrEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE < * @return */ public Criteria andPrincipalGroupCodeLessThan(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE <= * @return */ public Criteria andPrincipalGroupCodeLessThanOrEqualTo(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE like * @return */ public Criteria andPrincipalGroupCodeLike(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE not like * @return */ public Criteria andPrincipalGroupCodeNotLike(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE in * @return */ public Criteria andPrincipalGroupCodeIn(List<String> values) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.IN,values); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE not in * @return */ public Criteria andPrincipalGroupCodeNotIn(List<String> values) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTIN,values); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE between * @return */ public Criteria andPrincipalGroupCodeBetween(String value1, String value2) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * PRINCIPAL_GROUP_CODE not between * @return */ public Criteria andPrincipalGroupCodeNotBetween(String value1, String value2) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(PRINCIPAL_GROUP_CODE) like '%value.toUpperCase()%' * @return */ public Criteria andPrincipalGroupCodeLikeInsensitive(String value) { addCriterion("PRINCIPAL_GROUP_CODE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO is null * @return */ public Criteria andCustOrderNoIsNull() { addCriterion("CUST_ORDER_NO",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ORDER_NO is not null * @return */ public Criteria andCustOrderNoIsNotNull() { addCriterion("CUST_ORDER_NO",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ORDER_NO = * @return */ public Criteria andCustOrderNoEqualTo(String value) { addCriterion("CUST_ORDER_NO",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO <> * @return */ public Criteria andCustOrderNoNotEqualTo(String value) { addCriterion("CUST_ORDER_NO",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO > * @return */ public Criteria andCustOrderNoGreaterThan(String value) { addCriterion("CUST_ORDER_NO",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO >= * @return */ public Criteria andCustOrderNoGreaterThanOrEqualTo(String value) { addCriterion("CUST_ORDER_NO",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO < * @return */ public Criteria andCustOrderNoLessThan(String value) { addCriterion("CUST_ORDER_NO",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO <= * @return */ public Criteria andCustOrderNoLessThanOrEqualTo(String value) { addCriterion("CUST_ORDER_NO",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO like * @return */ public Criteria andCustOrderNoLike(String value) { addCriterion("CUST_ORDER_NO",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO not like * @return */ public Criteria andCustOrderNoNotLike(String value) { addCriterion("CUST_ORDER_NO",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ORDER_NO in * @return */ public Criteria andCustOrderNoIn(List<String> values) { addCriterion("CUST_ORDER_NO",false,Operation.IN,values); return (Criteria) this; } /** * CUST_ORDER_NO not in * @return */ public Criteria andCustOrderNoNotIn(List<String> values) { addCriterion("CUST_ORDER_NO",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_ORDER_NO between * @return */ public Criteria andCustOrderNoBetween(String value1, String value2) { addCriterion("CUST_ORDER_NO",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_ORDER_NO not between * @return */ public Criteria andCustOrderNoNotBetween(String value1, String value2) { addCriterion("CUST_ORDER_NO",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_ORDER_NO) like '%value.toUpperCase()%' * @return */ public Criteria andCustOrderNoLikeInsensitive(String value) { addCriterion("CUST_ORDER_NO",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 is null * @return */ public Criteria andLotAttr10IsNull() { addCriterion("LOT_ATTR_10",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_10 is not null * @return */ public Criteria andLotAttr10IsNotNull() { addCriterion("LOT_ATTR_10",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_10 = * @return */ public Criteria andLotAttr10EqualTo(String value) { addCriterion("LOT_ATTR_10",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 <> * @return */ public Criteria andLotAttr10NotEqualTo(String value) { addCriterion("LOT_ATTR_10",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 > * @return */ public Criteria andLotAttr10GreaterThan(String value) { addCriterion("LOT_ATTR_10",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 >= * @return */ public Criteria andLotAttr10GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_10",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 < * @return */ public Criteria andLotAttr10LessThan(String value) { addCriterion("LOT_ATTR_10",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 <= * @return */ public Criteria andLotAttr10LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_10",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 like * @return */ public Criteria andLotAttr10Like(String value) { addCriterion("LOT_ATTR_10",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 not like * @return */ public Criteria andLotAttr10NotLike(String value) { addCriterion("LOT_ATTR_10",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_10 in * @return */ public Criteria andLotAttr10In(List<String> values) { addCriterion("LOT_ATTR_10",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_10 not in * @return */ public Criteria andLotAttr10NotIn(List<String> values) { addCriterion("LOT_ATTR_10",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_10 between * @return */ public Criteria andLotAttr10Between(String value1, String value2) { addCriterion("LOT_ATTR_10",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_10 not between * @return */ public Criteria andLotAttr10NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_10",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_10) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr10LikeInsensitive(String value) { addCriterion("LOT_ATTR_10",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME is null * @return */ public Criteria andReceiveTimeIsNull() { addCriterion("RECEIVE_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_TIME is not null * @return */ public Criteria andReceiveTimeIsNotNull() { addCriterion("RECEIVE_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_TIME = * @return */ public Criteria andReceiveTimeEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME <> * @return */ public Criteria andReceiveTimeNotEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME > * @return */ public Criteria andReceiveTimeGreaterThan(String value) { addCriterion("RECEIVE_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME >= * @return */ public Criteria andReceiveTimeGreaterThanOrEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME < * @return */ public Criteria andReceiveTimeLessThan(String value) { addCriterion("RECEIVE_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME <= * @return */ public Criteria andReceiveTimeLessThanOrEqualTo(String value) { addCriterion("RECEIVE_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME like * @return */ public Criteria andReceiveTimeLike(String value) { addCriterion("RECEIVE_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME not like * @return */ public Criteria andReceiveTimeNotLike(String value) { addCriterion("RECEIVE_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_TIME in * @return */ public Criteria andReceiveTimeIn(List<String> values) { addCriterion("RECEIVE_TIME",false,Operation.IN,values); return (Criteria) this; } /** * RECEIVE_TIME not in * @return */ public Criteria andReceiveTimeNotIn(List<String> values) { addCriterion("RECEIVE_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIVE_TIME between * @return */ public Criteria andReceiveTimeBetween(String value1, String value2) { addCriterion("RECEIVE_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIVE_TIME not between * @return */ public Criteria andReceiveTimeNotBetween(String value1, String value2) { addCriterion("RECEIVE_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIVE_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andReceiveTimeLikeInsensitive(String value) { addCriterion("RECEIVE_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE is null * @return */ public Criteria andManufactureDateIsNull() { addCriterion("MANUFACTURE_DATE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * MANUFACTURE_DATE is not null * @return */ public Criteria andManufactureDateIsNotNull() { addCriterion("MANUFACTURE_DATE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * MANUFACTURE_DATE = * @return */ public Criteria andManufactureDateEqualTo(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE <> * @return */ public Criteria andManufactureDateNotEqualTo(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE > * @return */ public Criteria andManufactureDateGreaterThan(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE >= * @return */ public Criteria andManufactureDateGreaterThanOrEqualTo(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE < * @return */ public Criteria andManufactureDateLessThan(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE <= * @return */ public Criteria andManufactureDateLessThanOrEqualTo(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE like * @return */ public Criteria andManufactureDateLike(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE not like * @return */ public Criteria andManufactureDateNotLike(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * MANUFACTURE_DATE in * @return */ public Criteria andManufactureDateIn(List<String> values) { addCriterion("MANUFACTURE_DATE",false,Operation.IN,values); return (Criteria) this; } /** * MANUFACTURE_DATE not in * @return */ public Criteria andManufactureDateNotIn(List<String> values) { addCriterion("MANUFACTURE_DATE",false,Operation.NOTIN,values); return (Criteria) this; } /** * MANUFACTURE_DATE between * @return */ public Criteria andManufactureDateBetween(String value1, String value2) { addCriterion("MANUFACTURE_DATE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * MANUFACTURE_DATE not between * @return */ public Criteria andManufactureDateNotBetween(String value1, String value2) { addCriterion("MANUFACTURE_DATE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(MANUFACTURE_DATE) like '%value.toUpperCase()%' * @return */ public Criteria andManufactureDateLikeInsensitive(String value) { addCriterion("MANUFACTURE_DATE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM is null * @return */ public Criteria andItemUomIsNull() { addCriterion("ITEM_UOM",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_UOM is not null * @return */ public Criteria andItemUomIsNotNull() { addCriterion("ITEM_UOM",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_UOM = * @return */ public Criteria andItemUomEqualTo(String value) { addCriterion("ITEM_UOM",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM <> * @return */ public Criteria andItemUomNotEqualTo(String value) { addCriterion("ITEM_UOM",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM > * @return */ public Criteria andItemUomGreaterThan(String value) { addCriterion("ITEM_UOM",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM >= * @return */ public Criteria andItemUomGreaterThanOrEqualTo(String value) { addCriterion("ITEM_UOM",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM < * @return */ public Criteria andItemUomLessThan(String value) { addCriterion("ITEM_UOM",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM <= * @return */ public Criteria andItemUomLessThanOrEqualTo(String value) { addCriterion("ITEM_UOM",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM like * @return */ public Criteria andItemUomLike(String value) { addCriterion("ITEM_UOM",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM not like * @return */ public Criteria andItemUomNotLike(String value) { addCriterion("ITEM_UOM",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_UOM in * @return */ public Criteria andItemUomIn(List<String> values) { addCriterion("ITEM_UOM",false,Operation.IN,values); return (Criteria) this; } /** * ITEM_UOM not in * @return */ public Criteria andItemUomNotIn(List<String> values) { addCriterion("ITEM_UOM",false,Operation.NOTIN,values); return (Criteria) this; } /** * ITEM_UOM between * @return */ public Criteria andItemUomBetween(String value1, String value2) { addCriterion("ITEM_UOM",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ITEM_UOM not between * @return */ public Criteria andItemUomNotBetween(String value1, String value2) { addCriterion("ITEM_UOM",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ITEM_UOM) like '%value.toUpperCase()%' * @return */ public Criteria andItemUomLikeInsensitive(String value) { addCriterion("ITEM_UOM",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE is null * @return */ public Criteria andExpirationDateIsNull() { addCriterion("EXPIRATION_DATE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * EXPIRATION_DATE is not null * @return */ public Criteria andExpirationDateIsNotNull() { addCriterion("EXPIRATION_DATE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * EXPIRATION_DATE = * @return */ public Criteria andExpirationDateEqualTo(String value) { addCriterion("EXPIRATION_DATE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE <> * @return */ public Criteria andExpirationDateNotEqualTo(String value) { addCriterion("EXPIRATION_DATE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE > * @return */ public Criteria andExpirationDateGreaterThan(String value) { addCriterion("EXPIRATION_DATE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE >= * @return */ public Criteria andExpirationDateGreaterThanOrEqualTo(String value) { addCriterion("EXPIRATION_DATE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE < * @return */ public Criteria andExpirationDateLessThan(String value) { addCriterion("EXPIRATION_DATE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE <= * @return */ public Criteria andExpirationDateLessThanOrEqualTo(String value) { addCriterion("EXPIRATION_DATE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE like * @return */ public Criteria andExpirationDateLike(String value) { addCriterion("EXPIRATION_DATE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE not like * @return */ public Criteria andExpirationDateNotLike(String value) { addCriterion("EXPIRATION_DATE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * EXPIRATION_DATE in * @return */ public Criteria andExpirationDateIn(List<String> values) { addCriterion("EXPIRATION_DATE",false,Operation.IN,values); return (Criteria) this; } /** * EXPIRATION_DATE not in * @return */ public Criteria andExpirationDateNotIn(List<String> values) { addCriterion("EXPIRATION_DATE",false,Operation.NOTIN,values); return (Criteria) this; } /** * EXPIRATION_DATE between * @return */ public Criteria andExpirationDateBetween(String value1, String value2) { addCriterion("EXPIRATION_DATE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * EXPIRATION_DATE not between * @return */ public Criteria andExpirationDateNotBetween(String value1, String value2) { addCriterion("EXPIRATION_DATE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(EXPIRATION_DATE) like '%value.toUpperCase()%' * @return */ public Criteria andExpirationDateLikeInsensitive(String value) { addCriterion("EXPIRATION_DATE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY is null * @return */ public Criteria andOpenQtyIsNull() { addCriterion("OPEN_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * OPEN_QTY is not null * @return */ public Criteria andOpenQtyIsNotNull() { addCriterion("OPEN_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * OPEN_QTY = * @return */ public Criteria andOpenQtyEqualTo(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY <> * @return */ public Criteria andOpenQtyNotEqualTo(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY > * @return */ public Criteria andOpenQtyGreaterThan(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY >= * @return */ public Criteria andOpenQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY < * @return */ public Criteria andOpenQtyLessThan(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY <= * @return */ public Criteria andOpenQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY like * @return */ public Criteria andOpenQtyLike(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY not like * @return */ public Criteria andOpenQtyNotLike(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * OPEN_QTY in * @return */ public Criteria andOpenQtyIn(List<BigDecimal> values) { addCriterion("OPEN_QTY",false,Operation.IN,values); return (Criteria) this; } /** * OPEN_QTY not in * @return */ public Criteria andOpenQtyNotIn(List<BigDecimal> values) { addCriterion("OPEN_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * OPEN_QTY between * @return */ public Criteria andOpenQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("OPEN_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * OPEN_QTY not between * @return */ public Criteria andOpenQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("OPEN_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(OPEN_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andOpenQtyLikeInsensitive(BigDecimal value) { addCriterion("OPEN_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 is null * @return */ public Criteria andLotAttr09IsNull() { addCriterion("LOT_ATTR_09",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_09 is not null * @return */ public Criteria andLotAttr09IsNotNull() { addCriterion("LOT_ATTR_09",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_09 = * @return */ public Criteria andLotAttr09EqualTo(String value) { addCriterion("LOT_ATTR_09",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 <> * @return */ public Criteria andLotAttr09NotEqualTo(String value) { addCriterion("LOT_ATTR_09",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 > * @return */ public Criteria andLotAttr09GreaterThan(String value) { addCriterion("LOT_ATTR_09",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 >= * @return */ public Criteria andLotAttr09GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_09",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 < * @return */ public Criteria andLotAttr09LessThan(String value) { addCriterion("LOT_ATTR_09",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 <= * @return */ public Criteria andLotAttr09LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_09",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 like * @return */ public Criteria andLotAttr09Like(String value) { addCriterion("LOT_ATTR_09",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 not like * @return */ public Criteria andLotAttr09NotLike(String value) { addCriterion("LOT_ATTR_09",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_09 in * @return */ public Criteria andLotAttr09In(List<String> values) { addCriterion("LOT_ATTR_09",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_09 not in * @return */ public Criteria andLotAttr09NotIn(List<String> values) { addCriterion("LOT_ATTR_09",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_09 between * @return */ public Criteria andLotAttr09Between(String value1, String value2) { addCriterion("LOT_ATTR_09",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_09 not between * @return */ public Criteria andLotAttr09NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_09",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_09) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr09LikeInsensitive(String value) { addCriterion("LOT_ATTR_09",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE is null * @return */ public Criteria andCreateTimeZoneIsNull() { addCriterion("CREATE_TIME_ZONE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME_ZONE is not null * @return */ public Criteria andCreateTimeZoneIsNotNull() { addCriterion("CREATE_TIME_ZONE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME_ZONE = * @return */ public Criteria andCreateTimeZoneEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE <> * @return */ public Criteria andCreateTimeZoneNotEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE > * @return */ public Criteria andCreateTimeZoneGreaterThan(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE >= * @return */ public Criteria andCreateTimeZoneGreaterThanOrEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE < * @return */ public Criteria andCreateTimeZoneLessThan(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE <= * @return */ public Criteria andCreateTimeZoneLessThanOrEqualTo(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE like * @return */ public Criteria andCreateTimeZoneLike(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE not like * @return */ public Criteria andCreateTimeZoneNotLike(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME_ZONE in * @return */ public Criteria andCreateTimeZoneIn(List<String> values) { addCriterion("CREATE_TIME_ZONE",false,Operation.IN,values); return (Criteria) this; } /** * CREATE_TIME_ZONE not in * @return */ public Criteria andCreateTimeZoneNotIn(List<String> values) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATE_TIME_ZONE between * @return */ public Criteria andCreateTimeZoneBetween(String value1, String value2) { addCriterion("CREATE_TIME_ZONE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATE_TIME_ZONE not between * @return */ public Criteria andCreateTimeZoneNotBetween(String value1, String value2) { addCriterion("CREATE_TIME_ZONE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATE_TIME_ZONE) like '%value.toUpperCase()%' * @return */ public Criteria andCreateTimeZoneLikeInsensitive(String value) { addCriterion("CREATE_TIME_ZONE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE is null * @return */ public Criteria andBarCodeIsNull() { addCriterion("BAR_CODE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * BAR_CODE is not null * @return */ public Criteria andBarCodeIsNotNull() { addCriterion("BAR_CODE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * BAR_CODE = * @return */ public Criteria andBarCodeEqualTo(String value) { addCriterion("BAR_CODE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE <> * @return */ public Criteria andBarCodeNotEqualTo(String value) { addCriterion("BAR_CODE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE > * @return */ public Criteria andBarCodeGreaterThan(String value) { addCriterion("BAR_CODE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE >= * @return */ public Criteria andBarCodeGreaterThanOrEqualTo(String value) { addCriterion("BAR_CODE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE < * @return */ public Criteria andBarCodeLessThan(String value) { addCriterion("BAR_CODE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE <= * @return */ public Criteria andBarCodeLessThanOrEqualTo(String value) { addCriterion("BAR_CODE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE like * @return */ public Criteria andBarCodeLike(String value) { addCriterion("BAR_CODE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE not like * @return */ public Criteria andBarCodeNotLike(String value) { addCriterion("BAR_CODE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * BAR_CODE in * @return */ public Criteria andBarCodeIn(List<String> values) { addCriterion("BAR_CODE",false,Operation.IN,values); return (Criteria) this; } /** * BAR_CODE not in * @return */ public Criteria andBarCodeNotIn(List<String> values) { addCriterion("BAR_CODE",false,Operation.NOTIN,values); return (Criteria) this; } /** * BAR_CODE between * @return */ public Criteria andBarCodeBetween(String value1, String value2) { addCriterion("BAR_CODE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * BAR_CODE not between * @return */ public Criteria andBarCodeNotBetween(String value1, String value2) { addCriterion("BAR_CODE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(BAR_CODE) like '%value.toUpperCase()%' * @return */ public Criteria andBarCodeLikeInsensitive(String value) { addCriterion("BAR_CODE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE is null * @return */ public Criteria andCustCodeIsNull() { addCriterion("CUST_CODE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_CODE is not null * @return */ public Criteria andCustCodeIsNotNull() { addCriterion("CUST_CODE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_CODE = * @return */ public Criteria andCustCodeEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE <> * @return */ public Criteria andCustCodeNotEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE > * @return */ public Criteria andCustCodeGreaterThan(String value) { addCriterion("CUST_CODE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE >= * @return */ public Criteria andCustCodeGreaterThanOrEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE < * @return */ public Criteria andCustCodeLessThan(String value) { addCriterion("CUST_CODE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE <= * @return */ public Criteria andCustCodeLessThanOrEqualTo(String value) { addCriterion("CUST_CODE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE like * @return */ public Criteria andCustCodeLike(String value) { addCriterion("CUST_CODE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE not like * @return */ public Criteria andCustCodeNotLike(String value) { addCriterion("CUST_CODE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_CODE in * @return */ public Criteria andCustCodeIn(List<String> values) { addCriterion("CUST_CODE",false,Operation.IN,values); return (Criteria) this; } /** * CUST_CODE not in * @return */ public Criteria andCustCodeNotIn(List<String> values) { addCriterion("CUST_CODE",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_CODE between * @return */ public Criteria andCustCodeBetween(String value1, String value2) { addCriterion("CUST_CODE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_CODE not between * @return */ public Criteria andCustCodeNotBetween(String value1, String value2) { addCriterion("CUST_CODE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_CODE) like '%value.toUpperCase()%' * @return */ public Criteria andCustCodeLikeInsensitive(String value) { addCriterion("CUST_CODE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_ID is null * @return */ public Criteria andCustIdIsNull() { addCriterion("CUST_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ID is not null * @return */ public Criteria andCustIdIsNotNull() { addCriterion("CUST_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ID = * @return */ public Criteria andCustIdEqualTo(String value) { addCriterion("CUST_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ID <> * @return */ public Criteria andCustIdNotEqualTo(String value) { addCriterion("CUST_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ID > * @return */ public Criteria andCustIdGreaterThan(String value) { addCriterion("CUST_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_ID >= * @return */ public Criteria andCustIdGreaterThanOrEqualTo(String value) { addCriterion("CUST_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID < * @return */ public Criteria andCustIdLessThan(String value) { addCriterion("CUST_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_ID <= * @return */ public Criteria andCustIdLessThanOrEqualTo(String value) { addCriterion("CUST_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID like * @return */ public Criteria andCustIdLike(String value) { addCriterion("CUST_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID not like * @return */ public Criteria andCustIdNotLike(String value) { addCriterion("CUST_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ID in * @return */ public Criteria andCustIdIn(List<String> values) { addCriterion("CUST_ID",false,Operation.IN,values); return (Criteria) this; } /** * CUST_ID not in * @return */ public Criteria andCustIdNotIn(List<String> values) { addCriterion("CUST_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_ID between * @return */ public Criteria andCustIdBetween(String value1, String value2) { addCriterion("CUST_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_ID not between * @return */ public Criteria andCustIdNotBetween(String value1, String value2) { addCriterion("CUST_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_ID) like '%value.toUpperCase()%' * @return */ public Criteria andCustIdLikeInsensitive(String value) { addCriterion("CUST_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION is null * @return */ public Criteria andRecordVersionIsNull() { addCriterion("RECORD_VERSION",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECORD_VERSION is not null * @return */ public Criteria andRecordVersionIsNotNull() { addCriterion("RECORD_VERSION",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECORD_VERSION = * @return */ public Criteria andRecordVersionEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION <> * @return */ public Criteria andRecordVersionNotEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION > * @return */ public Criteria andRecordVersionGreaterThan(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION >= * @return */ public Criteria andRecordVersionGreaterThanOrEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION < * @return */ public Criteria andRecordVersionLessThan(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION <= * @return */ public Criteria andRecordVersionLessThanOrEqualTo(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION like * @return */ public Criteria andRecordVersionLike(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION not like * @return */ public Criteria andRecordVersionNotLike(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECORD_VERSION in * @return */ public Criteria andRecordVersionIn(List<BigDecimal> values) { addCriterion("RECORD_VERSION",false,Operation.IN,values); return (Criteria) this; } /** * RECORD_VERSION not in * @return */ public Criteria andRecordVersionNotIn(List<BigDecimal> values) { addCriterion("RECORD_VERSION",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECORD_VERSION between * @return */ public Criteria andRecordVersionBetween(BigDecimal value1, BigDecimal value2) { addCriterion("RECORD_VERSION",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECORD_VERSION not between * @return */ public Criteria andRecordVersionNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("RECORD_VERSION",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECORD_VERSION) like '%value.toUpperCase()%' * @return */ public Criteria andRecordVersionLikeInsensitive(BigDecimal value) { addCriterion("RECORD_VERSION",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY is null * @return */ public Criteria andIqcQtyIsNull() { addCriterion("IQC_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * IQC_QTY is not null * @return */ public Criteria andIqcQtyIsNotNull() { addCriterion("IQC_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * IQC_QTY = * @return */ public Criteria andIqcQtyEqualTo(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY <> * @return */ public Criteria andIqcQtyNotEqualTo(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY > * @return */ public Criteria andIqcQtyGreaterThan(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY >= * @return */ public Criteria andIqcQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY < * @return */ public Criteria andIqcQtyLessThan(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY <= * @return */ public Criteria andIqcQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY like * @return */ public Criteria andIqcQtyLike(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY not like * @return */ public Criteria andIqcQtyNotLike(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * IQC_QTY in * @return */ public Criteria andIqcQtyIn(List<BigDecimal> values) { addCriterion("IQC_QTY",false,Operation.IN,values); return (Criteria) this; } /** * IQC_QTY not in * @return */ public Criteria andIqcQtyNotIn(List<BigDecimal> values) { addCriterion("IQC_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * IQC_QTY between * @return */ public Criteria andIqcQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("IQC_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * IQC_QTY not between * @return */ public Criteria andIqcQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("IQC_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(IQC_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andIqcQtyLikeInsensitive(BigDecimal value) { addCriterion("IQC_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME is null * @return */ public Criteria andLastModifyTimeIsNull() { addCriterion("LAST_MODIFY_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME is not null * @return */ public Criteria andLastModifyTimeIsNotNull() { addCriterion("LAST_MODIFY_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME = * @return */ public Criteria andLastModifyTimeEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME <> * @return */ public Criteria andLastModifyTimeNotEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME > * @return */ public Criteria andLastModifyTimeGreaterThan(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME >= * @return */ public Criteria andLastModifyTimeGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME < * @return */ public Criteria andLastModifyTimeLessThan(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME <= * @return */ public Criteria andLastModifyTimeLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME like * @return */ public Criteria andLastModifyTimeLike(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME not like * @return */ public Criteria andLastModifyTimeNotLike(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME in * @return */ public Criteria andLastModifyTimeIn(List<String> values) { addCriterion("LAST_MODIFY_TIME",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME not in * @return */ public Criteria andLastModifyTimeNotIn(List<String> values) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME between * @return */ public Criteria andLastModifyTimeBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFY_TIME not between * @return */ public Criteria andLastModifyTimeNotBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFY_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyTimeLikeInsensitive(String value) { addCriterion("LAST_MODIFY_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC is null * @return */ public Criteria andExpectInvStsDescIsNull() { addCriterion("EXPECT_INV_STS_DESC",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC is not null * @return */ public Criteria andExpectInvStsDescIsNotNull() { addCriterion("EXPECT_INV_STS_DESC",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC = * @return */ public Criteria andExpectInvStsDescEqualTo(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC <> * @return */ public Criteria andExpectInvStsDescNotEqualTo(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC > * @return */ public Criteria andExpectInvStsDescGreaterThan(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC >= * @return */ public Criteria andExpectInvStsDescGreaterThanOrEqualTo(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC < * @return */ public Criteria andExpectInvStsDescLessThan(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC <= * @return */ public Criteria andExpectInvStsDescLessThanOrEqualTo(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC like * @return */ public Criteria andExpectInvStsDescLike(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC not like * @return */ public Criteria andExpectInvStsDescNotLike(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS_DESC in * @return */ public Criteria andExpectInvStsDescIn(List<String> values) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.IN,values); return (Criteria) this; } /** * EXPECT_INV_STS_DESC not in * @return */ public Criteria andExpectInvStsDescNotIn(List<String> values) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.NOTIN,values); return (Criteria) this; } /** * EXPECT_INV_STS_DESC between * @return */ public Criteria andExpectInvStsDescBetween(String value1, String value2) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * EXPECT_INV_STS_DESC not between * @return */ public Criteria andExpectInvStsDescNotBetween(String value1, String value2) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(EXPECT_INV_STS_DESC) like '%value.toUpperCase()%' * @return */ public Criteria andExpectInvStsDescLikeInsensitive(String value) { addCriterion("EXPECT_INV_STS_DESC",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 is null * @return */ public Criteria andLotAttr07IsNull() { addCriterion("LOT_ATTR_07",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_07 is not null * @return */ public Criteria andLotAttr07IsNotNull() { addCriterion("LOT_ATTR_07",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_07 = * @return */ public Criteria andLotAttr07EqualTo(String value) { addCriterion("LOT_ATTR_07",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 <> * @return */ public Criteria andLotAttr07NotEqualTo(String value) { addCriterion("LOT_ATTR_07",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 > * @return */ public Criteria andLotAttr07GreaterThan(String value) { addCriterion("LOT_ATTR_07",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 >= * @return */ public Criteria andLotAttr07GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_07",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 < * @return */ public Criteria andLotAttr07LessThan(String value) { addCriterion("LOT_ATTR_07",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 <= * @return */ public Criteria andLotAttr07LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_07",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 like * @return */ public Criteria andLotAttr07Like(String value) { addCriterion("LOT_ATTR_07",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 not like * @return */ public Criteria andLotAttr07NotLike(String value) { addCriterion("LOT_ATTR_07",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_07 in * @return */ public Criteria andLotAttr07In(List<String> values) { addCriterion("LOT_ATTR_07",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_07 not in * @return */ public Criteria andLotAttr07NotIn(List<String> values) { addCriterion("LOT_ATTR_07",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_07 between * @return */ public Criteria andLotAttr07Between(String value1, String value2) { addCriterion("LOT_ATTR_07",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_07 not between * @return */ public Criteria andLotAttr07NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_07",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_07) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr07LikeInsensitive(String value) { addCriterion("LOT_ATTR_07",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE is null * @return */ public Criteria andLastModifyOfficeIsNull() { addCriterion("LAST_MODIFY_OFFICE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE is not null * @return */ public Criteria andLastModifyOfficeIsNotNull() { addCriterion("LAST_MODIFY_OFFICE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE = * @return */ public Criteria andLastModifyOfficeEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE <> * @return */ public Criteria andLastModifyOfficeNotEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE > * @return */ public Criteria andLastModifyOfficeGreaterThan(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE >= * @return */ public Criteria andLastModifyOfficeGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE < * @return */ public Criteria andLastModifyOfficeLessThan(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE <= * @return */ public Criteria andLastModifyOfficeLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE like * @return */ public Criteria andLastModifyOfficeLike(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE not like * @return */ public Criteria andLastModifyOfficeNotLike(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_OFFICE in * @return */ public Criteria andLastModifyOfficeIn(List<String> values) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFY_OFFICE not in * @return */ public Criteria andLastModifyOfficeNotIn(List<String> values) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFY_OFFICE between * @return */ public Criteria andLastModifyOfficeBetween(String value1, String value2) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFY_OFFICE not between * @return */ public Criteria andLastModifyOfficeNotBetween(String value1, String value2) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFY_OFFICE) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyOfficeLikeInsensitive(String value) { addCriterion("LAST_MODIFY_OFFICE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 is null * @return */ public Criteria andLotAttr11IsNull() { addCriterion("LOT_ATTR_11",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_11 is not null * @return */ public Criteria andLotAttr11IsNotNull() { addCriterion("LOT_ATTR_11",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_11 = * @return */ public Criteria andLotAttr11EqualTo(String value) { addCriterion("LOT_ATTR_11",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 <> * @return */ public Criteria andLotAttr11NotEqualTo(String value) { addCriterion("LOT_ATTR_11",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 > * @return */ public Criteria andLotAttr11GreaterThan(String value) { addCriterion("LOT_ATTR_11",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 >= * @return */ public Criteria andLotAttr11GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_11",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 < * @return */ public Criteria andLotAttr11LessThan(String value) { addCriterion("LOT_ATTR_11",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 <= * @return */ public Criteria andLotAttr11LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_11",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 like * @return */ public Criteria andLotAttr11Like(String value) { addCriterion("LOT_ATTR_11",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 not like * @return */ public Criteria andLotAttr11NotLike(String value) { addCriterion("LOT_ATTR_11",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_11 in * @return */ public Criteria andLotAttr11In(List<String> values) { addCriterion("LOT_ATTR_11",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_11 not in * @return */ public Criteria andLotAttr11NotIn(List<String> values) { addCriterion("LOT_ATTR_11",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_11 between * @return */ public Criteria andLotAttr11Between(String value1, String value2) { addCriterion("LOT_ATTR_11",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_11 not between * @return */ public Criteria andLotAttr11NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_11",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_11) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr11LikeInsensitive(String value) { addCriterion("LOT_ATTR_11",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO is null * @return */ public Criteria andAsnDetailNoIsNull() { addCriterion("ASN_DETAIL_NO",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ASN_DETAIL_NO is not null * @return */ public Criteria andAsnDetailNoIsNotNull() { addCriterion("ASN_DETAIL_NO",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ASN_DETAIL_NO = * @return */ public Criteria andAsnDetailNoEqualTo(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO <> * @return */ public Criteria andAsnDetailNoNotEqualTo(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO > * @return */ public Criteria andAsnDetailNoGreaterThan(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO >= * @return */ public Criteria andAsnDetailNoGreaterThanOrEqualTo(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO < * @return */ public Criteria andAsnDetailNoLessThan(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO <= * @return */ public Criteria andAsnDetailNoLessThanOrEqualTo(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO like * @return */ public Criteria andAsnDetailNoLike(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO not like * @return */ public Criteria andAsnDetailNoNotLike(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ASN_DETAIL_NO in * @return */ public Criteria andAsnDetailNoIn(List<String> values) { addCriterion("ASN_DETAIL_NO",false,Operation.IN,values); return (Criteria) this; } /** * ASN_DETAIL_NO not in * @return */ public Criteria andAsnDetailNoNotIn(List<String> values) { addCriterion("ASN_DETAIL_NO",false,Operation.NOTIN,values); return (Criteria) this; } /** * ASN_DETAIL_NO between * @return */ public Criteria andAsnDetailNoBetween(String value1, String value2) { addCriterion("ASN_DETAIL_NO",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ASN_DETAIL_NO not between * @return */ public Criteria andAsnDetailNoNotBetween(String value1, String value2) { addCriterion("ASN_DETAIL_NO",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ASN_DETAIL_NO) like '%value.toUpperCase()%' * @return */ public Criteria andAsnDetailNoLikeInsensitive(String value) { addCriterion("ASN_DETAIL_NO",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY is null * @return */ public Criteria andDamageQtyIsNull() { addCriterion("DAMAGE_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * DAMAGE_QTY is not null * @return */ public Criteria andDamageQtyIsNotNull() { addCriterion("DAMAGE_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * DAMAGE_QTY = * @return */ public Criteria andDamageQtyEqualTo(String value) { addCriterion("DAMAGE_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY <> * @return */ public Criteria andDamageQtyNotEqualTo(String value) { addCriterion("DAMAGE_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY > * @return */ public Criteria andDamageQtyGreaterThan(String value) { addCriterion("DAMAGE_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY >= * @return */ public Criteria andDamageQtyGreaterThanOrEqualTo(String value) { addCriterion("DAMAGE_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY < * @return */ public Criteria andDamageQtyLessThan(String value) { addCriterion("DAMAGE_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY <= * @return */ public Criteria andDamageQtyLessThanOrEqualTo(String value) { addCriterion("DAMAGE_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY like * @return */ public Criteria andDamageQtyLike(String value) { addCriterion("DAMAGE_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY not like * @return */ public Criteria andDamageQtyNotLike(String value) { addCriterion("DAMAGE_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * DAMAGE_QTY in * @return */ public Criteria andDamageQtyIn(List<String> values) { addCriterion("DAMAGE_QTY",false,Operation.IN,values); return (Criteria) this; } /** * DAMAGE_QTY not in * @return */ public Criteria andDamageQtyNotIn(List<String> values) { addCriterion("DAMAGE_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * DAMAGE_QTY between * @return */ public Criteria andDamageQtyBetween(String value1, String value2) { addCriterion("DAMAGE_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * DAMAGE_QTY not between * @return */ public Criteria andDamageQtyNotBetween(String value1, String value2) { addCriterion("DAMAGE_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(DAMAGE_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andDamageQtyLikeInsensitive(String value) { addCriterion("DAMAGE_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY is null * @return */ public Criteria andPlanQtyIsNull() { addCriterion("PLAN_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * PLAN_QTY is not null * @return */ public Criteria andPlanQtyIsNotNull() { addCriterion("PLAN_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * PLAN_QTY = * @return */ public Criteria andPlanQtyEqualTo(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY <> * @return */ public Criteria andPlanQtyNotEqualTo(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY > * @return */ public Criteria andPlanQtyGreaterThan(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY >= * @return */ public Criteria andPlanQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY < * @return */ public Criteria andPlanQtyLessThan(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY <= * @return */ public Criteria andPlanQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY like * @return */ public Criteria andPlanQtyLike(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY not like * @return */ public Criteria andPlanQtyNotLike(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * PLAN_QTY in * @return */ public Criteria andPlanQtyIn(List<BigDecimal> values) { addCriterion("PLAN_QTY",false,Operation.IN,values); return (Criteria) this; } /** * PLAN_QTY not in * @return */ public Criteria andPlanQtyNotIn(List<BigDecimal> values) { addCriterion("PLAN_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * PLAN_QTY between * @return */ public Criteria andPlanQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PLAN_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * PLAN_QTY not between * @return */ public Criteria andPlanQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PLAN_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(PLAN_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andPlanQtyLikeInsensitive(BigDecimal value) { addCriterion("PLAN_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_NO is null * @return */ public Criteria andLotNoIsNull() { addCriterion("LOT_NO",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_NO is not null * @return */ public Criteria andLotNoIsNotNull() { addCriterion("LOT_NO",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_NO = * @return */ public Criteria andLotNoEqualTo(String value) { addCriterion("LOT_NO",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_NO <> * @return */ public Criteria andLotNoNotEqualTo(String value) { addCriterion("LOT_NO",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_NO > * @return */ public Criteria andLotNoGreaterThan(String value) { addCriterion("LOT_NO",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_NO >= * @return */ public Criteria andLotNoGreaterThanOrEqualTo(String value) { addCriterion("LOT_NO",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_NO < * @return */ public Criteria andLotNoLessThan(String value) { addCriterion("LOT_NO",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_NO <= * @return */ public Criteria andLotNoLessThanOrEqualTo(String value) { addCriterion("LOT_NO",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_NO like * @return */ public Criteria andLotNoLike(String value) { addCriterion("LOT_NO",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_NO not like * @return */ public Criteria andLotNoNotLike(String value) { addCriterion("LOT_NO",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_NO in * @return */ public Criteria andLotNoIn(List<String> values) { addCriterion("LOT_NO",false,Operation.IN,values); return (Criteria) this; } /** * LOT_NO not in * @return */ public Criteria andLotNoNotIn(List<String> values) { addCriterion("LOT_NO",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_NO between * @return */ public Criteria andLotNoBetween(String value1, String value2) { addCriterion("LOT_NO",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_NO not between * @return */ public Criteria andLotNoNotBetween(String value1, String value2) { addCriterion("LOT_NO",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_NO) like '%value.toUpperCase()%' * @return */ public Criteria andLotNoLikeInsensitive(String value) { addCriterion("LOT_NO",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 is null * @return */ public Criteria andLotAttr12IsNull() { addCriterion("LOT_ATTR_12",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_12 is not null * @return */ public Criteria andLotAttr12IsNotNull() { addCriterion("LOT_ATTR_12",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_12 = * @return */ public Criteria andLotAttr12EqualTo(String value) { addCriterion("LOT_ATTR_12",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 <> * @return */ public Criteria andLotAttr12NotEqualTo(String value) { addCriterion("LOT_ATTR_12",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 > * @return */ public Criteria andLotAttr12GreaterThan(String value) { addCriterion("LOT_ATTR_12",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 >= * @return */ public Criteria andLotAttr12GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_12",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 < * @return */ public Criteria andLotAttr12LessThan(String value) { addCriterion("LOT_ATTR_12",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 <= * @return */ public Criteria andLotAttr12LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_12",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 like * @return */ public Criteria andLotAttr12Like(String value) { addCriterion("LOT_ATTR_12",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 not like * @return */ public Criteria andLotAttr12NotLike(String value) { addCriterion("LOT_ATTR_12",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_12 in * @return */ public Criteria andLotAttr12In(List<String> values) { addCriterion("LOT_ATTR_12",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_12 not in * @return */ public Criteria andLotAttr12NotIn(List<String> values) { addCriterion("LOT_ATTR_12",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_12 between * @return */ public Criteria andLotAttr12Between(String value1, String value2) { addCriterion("LOT_ATTR_12",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_12 not between * @return */ public Criteria andLotAttr12NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_12",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_12) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr12LikeInsensitive(String value) { addCriterion("LOT_ATTR_12",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATOR is null * @return */ public Criteria andCreatorIsNull() { addCriterion("CREATOR",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATOR is not null * @return */ public Criteria andCreatorIsNotNull() { addCriterion("CREATOR",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATOR = * @return */ public Criteria andCreatorEqualTo(String value) { addCriterion("CREATOR",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATOR <> * @return */ public Criteria andCreatorNotEqualTo(String value) { addCriterion("CREATOR",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATOR > * @return */ public Criteria andCreatorGreaterThan(String value) { addCriterion("CREATOR",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATOR >= * @return */ public Criteria andCreatorGreaterThanOrEqualTo(String value) { addCriterion("CREATOR",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATOR < * @return */ public Criteria andCreatorLessThan(String value) { addCriterion("CREATOR",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATOR <= * @return */ public Criteria andCreatorLessThanOrEqualTo(String value) { addCriterion("CREATOR",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATOR like * @return */ public Criteria andCreatorLike(String value) { addCriterion("CREATOR",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATOR not like * @return */ public Criteria andCreatorNotLike(String value) { addCriterion("CREATOR",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATOR in * @return */ public Criteria andCreatorIn(List<String> values) { addCriterion("CREATOR",false,Operation.IN,values); return (Criteria) this; } /** * CREATOR not in * @return */ public Criteria andCreatorNotIn(List<String> values) { addCriterion("CREATOR",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATOR between * @return */ public Criteria andCreatorBetween(String value1, String value2) { addCriterion("CREATOR",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATOR not between * @return */ public Criteria andCreatorNotBetween(String value1, String value2) { addCriterion("CREATOR",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATOR) like '%value.toUpperCase()%' * @return */ public Criteria andCreatorLikeInsensitive(String value) { addCriterion("CREATOR",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 is null * @return */ public Criteria andLotAttr05IsNull() { addCriterion("LOT_ATTR_05",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_05 is not null * @return */ public Criteria andLotAttr05IsNotNull() { addCriterion("LOT_ATTR_05",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_05 = * @return */ public Criteria andLotAttr05EqualTo(String value) { addCriterion("LOT_ATTR_05",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 <> * @return */ public Criteria andLotAttr05NotEqualTo(String value) { addCriterion("LOT_ATTR_05",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 > * @return */ public Criteria andLotAttr05GreaterThan(String value) { addCriterion("LOT_ATTR_05",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 >= * @return */ public Criteria andLotAttr05GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_05",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 < * @return */ public Criteria andLotAttr05LessThan(String value) { addCriterion("LOT_ATTR_05",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 <= * @return */ public Criteria andLotAttr05LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_05",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 like * @return */ public Criteria andLotAttr05Like(String value) { addCriterion("LOT_ATTR_05",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 not like * @return */ public Criteria andLotAttr05NotLike(String value) { addCriterion("LOT_ATTR_05",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_05 in * @return */ public Criteria andLotAttr05In(List<String> values) { addCriterion("LOT_ATTR_05",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_05 not in * @return */ public Criteria andLotAttr05NotIn(List<String> values) { addCriterion("LOT_ATTR_05",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_05 between * @return */ public Criteria andLotAttr05Between(String value1, String value2) { addCriterion("LOT_ATTR_05",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_05 not between * @return */ public Criteria andLotAttr05NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_05",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_05) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr05LikeInsensitive(String value) { addCriterion("LOT_ATTR_05",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY is null * @return */ public Criteria andTotalPlanQtyIsNull() { addCriterion("TOTAL_PLAN_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * TOTAL_PLAN_QTY is not null * @return */ public Criteria andTotalPlanQtyIsNotNull() { addCriterion("TOTAL_PLAN_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * TOTAL_PLAN_QTY = * @return */ public Criteria andTotalPlanQtyEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY <> * @return */ public Criteria andTotalPlanQtyNotEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY > * @return */ public Criteria andTotalPlanQtyGreaterThan(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY >= * @return */ public Criteria andTotalPlanQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY < * @return */ public Criteria andTotalPlanQtyLessThan(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY <= * @return */ public Criteria andTotalPlanQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY like * @return */ public Criteria andTotalPlanQtyLike(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY not like * @return */ public Criteria andTotalPlanQtyNotLike(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * TOTAL_PLAN_QTY in * @return */ public Criteria andTotalPlanQtyIn(List<BigDecimal> values) { addCriterion("TOTAL_PLAN_QTY",false,Operation.IN,values); return (Criteria) this; } /** * TOTAL_PLAN_QTY not in * @return */ public Criteria andTotalPlanQtyNotIn(List<BigDecimal> values) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * TOTAL_PLAN_QTY between * @return */ public Criteria andTotalPlanQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("TOTAL_PLAN_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * TOTAL_PLAN_QTY not between * @return */ public Criteria andTotalPlanQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("TOTAL_PLAN_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(TOTAL_PLAN_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andTotalPlanQtyLikeInsensitive(BigDecimal value) { addCriterion("TOTAL_PLAN_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR is null * @return */ public Criteria andLastModifyorIsNull() { addCriterion("LAST_MODIFYOR",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFYOR is not null * @return */ public Criteria andLastModifyorIsNotNull() { addCriterion("LAST_MODIFYOR",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFYOR = * @return */ public Criteria andLastModifyorEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR <> * @return */ public Criteria andLastModifyorNotEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR > * @return */ public Criteria andLastModifyorGreaterThan(String value) { addCriterion("LAST_MODIFYOR",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR >= * @return */ public Criteria andLastModifyorGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR < * @return */ public Criteria andLastModifyorLessThan(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR <= * @return */ public Criteria andLastModifyorLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR like * @return */ public Criteria andLastModifyorLike(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR not like * @return */ public Criteria andLastModifyorNotLike(String value) { addCriterion("LAST_MODIFYOR",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFYOR in * @return */ public Criteria andLastModifyorIn(List<String> values) { addCriterion("LAST_MODIFYOR",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFYOR not in * @return */ public Criteria andLastModifyorNotIn(List<String> values) { addCriterion("LAST_MODIFYOR",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFYOR between * @return */ public Criteria andLastModifyorBetween(String value1, String value2) { addCriterion("LAST_MODIFYOR",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFYOR not between * @return */ public Criteria andLastModifyorNotBetween(String value1, String value2) { addCriterion("LAST_MODIFYOR",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFYOR) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyorLikeInsensitive(String value) { addCriterion("LAST_MODIFYOR",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER is null * @return */ public Criteria andLineNumberIsNull() { addCriterion("LINE_NUMBER",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LINE_NUMBER is not null * @return */ public Criteria andLineNumberIsNotNull() { addCriterion("LINE_NUMBER",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LINE_NUMBER = * @return */ public Criteria andLineNumberEqualTo(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER <> * @return */ public Criteria andLineNumberNotEqualTo(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER > * @return */ public Criteria andLineNumberGreaterThan(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER >= * @return */ public Criteria andLineNumberGreaterThanOrEqualTo(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER < * @return */ public Criteria andLineNumberLessThan(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER <= * @return */ public Criteria andLineNumberLessThanOrEqualTo(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER like * @return */ public Criteria andLineNumberLike(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER not like * @return */ public Criteria andLineNumberNotLike(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LINE_NUMBER in * @return */ public Criteria andLineNumberIn(List<BigDecimal> values) { addCriterion("LINE_NUMBER",false,Operation.IN,values); return (Criteria) this; } /** * LINE_NUMBER not in * @return */ public Criteria andLineNumberNotIn(List<BigDecimal> values) { addCriterion("LINE_NUMBER",false,Operation.NOTIN,values); return (Criteria) this; } /** * LINE_NUMBER between * @return */ public Criteria andLineNumberBetween(BigDecimal value1, BigDecimal value2) { addCriterion("LINE_NUMBER",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LINE_NUMBER not between * @return */ public Criteria andLineNumberNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("LINE_NUMBER",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LINE_NUMBER) like '%value.toUpperCase()%' * @return */ public Criteria andLineNumberLikeInsensitive(BigDecimal value) { addCriterion("LINE_NUMBER",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 is null * @return */ public Criteria andLotAttr02IsNull() { addCriterion("LOT_ATTR_02",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_02 is not null * @return */ public Criteria andLotAttr02IsNotNull() { addCriterion("LOT_ATTR_02",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_02 = * @return */ public Criteria andLotAttr02EqualTo(String value) { addCriterion("LOT_ATTR_02",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 <> * @return */ public Criteria andLotAttr02NotEqualTo(String value) { addCriterion("LOT_ATTR_02",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 > * @return */ public Criteria andLotAttr02GreaterThan(String value) { addCriterion("LOT_ATTR_02",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 >= * @return */ public Criteria andLotAttr02GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_02",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 < * @return */ public Criteria andLotAttr02LessThan(String value) { addCriterion("LOT_ATTR_02",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 <= * @return */ public Criteria andLotAttr02LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_02",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 like * @return */ public Criteria andLotAttr02Like(String value) { addCriterion("LOT_ATTR_02",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 not like * @return */ public Criteria andLotAttr02NotLike(String value) { addCriterion("LOT_ATTR_02",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_02 in * @return */ public Criteria andLotAttr02In(List<String> values) { addCriterion("LOT_ATTR_02",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_02 not in * @return */ public Criteria andLotAttr02NotIn(List<String> values) { addCriterion("LOT_ATTR_02",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_02 between * @return */ public Criteria andLotAttr02Between(String value1, String value2) { addCriterion("LOT_ATTR_02",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_02 not between * @return */ public Criteria andLotAttr02NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_02",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_02) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr02LikeInsensitive(String value) { addCriterion("LOT_ATTR_02",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID is null * @return */ public Criteria andTestExam3201IdIsNull() { addCriterion("TEST_EXAM_3201_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * TEST_EXAM_3201_ID is not null * @return */ public Criteria andTestExam3201IdIsNotNull() { addCriterion("TEST_EXAM_3201_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * TEST_EXAM_3201_ID = * @return */ public Criteria andTestExam3201IdEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID <> * @return */ public Criteria andTestExam3201IdNotEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID > * @return */ public Criteria andTestExam3201IdGreaterThan(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID >= * @return */ public Criteria andTestExam3201IdGreaterThanOrEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID < * @return */ public Criteria andTestExam3201IdLessThan(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID <= * @return */ public Criteria andTestExam3201IdLessThanOrEqualTo(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID like * @return */ public Criteria andTestExam3201IdLike(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID not like * @return */ public Criteria andTestExam3201IdNotLike(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_ID in * @return */ public Criteria andTestExam3201IdIn(List<String> values) { addCriterion("TEST_EXAM_3201_ID",false,Operation.IN,values); return (Criteria) this; } /** * TEST_EXAM_3201_ID not in * @return */ public Criteria andTestExam3201IdNotIn(List<String> values) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * TEST_EXAM_3201_ID between * @return */ public Criteria andTestExam3201IdBetween(String value1, String value2) { addCriterion("TEST_EXAM_3201_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * TEST_EXAM_3201_ID not between * @return */ public Criteria andTestExam3201IdNotBetween(String value1, String value2) { addCriterion("TEST_EXAM_3201_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(TEST_EXAM_3201_ID) like '%value.toUpperCase()%' * @return */ public Criteria andTestExam3201IdLikeInsensitive(String value) { addCriterion("TEST_EXAM_3201_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME is null * @return */ public Criteria andCreateTimeIsNull() { addCriterion("CREATE_TIME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME is not null * @return */ public Criteria andCreateTimeIsNotNull() { addCriterion("CREATE_TIME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_TIME = * @return */ public Criteria andCreateTimeEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME <> * @return */ public Criteria andCreateTimeNotEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME > * @return */ public Criteria andCreateTimeGreaterThan(String value) { addCriterion("CREATE_TIME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME >= * @return */ public Criteria andCreateTimeGreaterThanOrEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME < * @return */ public Criteria andCreateTimeLessThan(String value) { addCriterion("CREATE_TIME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME <= * @return */ public Criteria andCreateTimeLessThanOrEqualTo(String value) { addCriterion("CREATE_TIME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME like * @return */ public Criteria andCreateTimeLike(String value) { addCriterion("CREATE_TIME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME not like * @return */ public Criteria andCreateTimeNotLike(String value) { addCriterion("CREATE_TIME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_TIME in * @return */ public Criteria andCreateTimeIn(List<String> values) { addCriterion("CREATE_TIME",false,Operation.IN,values); return (Criteria) this; } /** * CREATE_TIME not in * @return */ public Criteria andCreateTimeNotIn(List<String> values) { addCriterion("CREATE_TIME",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATE_TIME between * @return */ public Criteria andCreateTimeBetween(String value1, String value2) { addCriterion("CREATE_TIME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATE_TIME not between * @return */ public Criteria andCreateTimeNotBetween(String value1, String value2) { addCriterion("CREATE_TIME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATE_TIME) like '%value.toUpperCase()%' * @return */ public Criteria andCreateTimeLikeInsensitive(String value) { addCriterion("CREATE_TIME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE is null * @return */ public Criteria andItemCodeIsNull() { addCriterion("ITEM_CODE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_CODE is not null * @return */ public Criteria andItemCodeIsNotNull() { addCriterion("ITEM_CODE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_CODE = * @return */ public Criteria andItemCodeEqualTo(String value) { addCriterion("ITEM_CODE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE <> * @return */ public Criteria andItemCodeNotEqualTo(String value) { addCriterion("ITEM_CODE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE > * @return */ public Criteria andItemCodeGreaterThan(String value) { addCriterion("ITEM_CODE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE >= * @return */ public Criteria andItemCodeGreaterThanOrEqualTo(String value) { addCriterion("ITEM_CODE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE < * @return */ public Criteria andItemCodeLessThan(String value) { addCriterion("ITEM_CODE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE <= * @return */ public Criteria andItemCodeLessThanOrEqualTo(String value) { addCriterion("ITEM_CODE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE like * @return */ public Criteria andItemCodeLike(String value) { addCriterion("ITEM_CODE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE not like * @return */ public Criteria andItemCodeNotLike(String value) { addCriterion("ITEM_CODE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_CODE in * @return */ public Criteria andItemCodeIn(List<String> values) { addCriterion("ITEM_CODE",false,Operation.IN,values); return (Criteria) this; } /** * ITEM_CODE not in * @return */ public Criteria andItemCodeNotIn(List<String> values) { addCriterion("ITEM_CODE",false,Operation.NOTIN,values); return (Criteria) this; } /** * ITEM_CODE between * @return */ public Criteria andItemCodeBetween(String value1, String value2) { addCriterion("ITEM_CODE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ITEM_CODE not between * @return */ public Criteria andItemCodeNotBetween(String value1, String value2) { addCriterion("ITEM_CODE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ITEM_CODE) like '%value.toUpperCase()%' * @return */ public Criteria andItemCodeLikeInsensitive(String value) { addCriterion("ITEM_CODE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME is null * @return */ public Criteria andCustNameIsNull() { addCriterion("CUST_NAME",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_NAME is not null * @return */ public Criteria andCustNameIsNotNull() { addCriterion("CUST_NAME",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_NAME = * @return */ public Criteria andCustNameEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME <> * @return */ public Criteria andCustNameNotEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME > * @return */ public Criteria andCustNameGreaterThan(String value) { addCriterion("CUST_NAME",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME >= * @return */ public Criteria andCustNameGreaterThanOrEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME < * @return */ public Criteria andCustNameLessThan(String value) { addCriterion("CUST_NAME",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME <= * @return */ public Criteria andCustNameLessThanOrEqualTo(String value) { addCriterion("CUST_NAME",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME like * @return */ public Criteria andCustNameLike(String value) { addCriterion("CUST_NAME",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME not like * @return */ public Criteria andCustNameNotLike(String value) { addCriterion("CUST_NAME",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_NAME in * @return */ public Criteria andCustNameIn(List<String> values) { addCriterion("CUST_NAME",false,Operation.IN,values); return (Criteria) this; } /** * CUST_NAME not in * @return */ public Criteria andCustNameNotIn(List<String> values) { addCriterion("CUST_NAME",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_NAME between * @return */ public Criteria andCustNameBetween(String value1, String value2) { addCriterion("CUST_NAME",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_NAME not between * @return */ public Criteria andCustNameNotBetween(String value1, String value2) { addCriterion("CUST_NAME",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_NAME) like '%value.toUpperCase()%' * @return */ public Criteria andCustNameLikeInsensitive(String value) { addCriterion("CUST_NAME",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE is null * @return */ public Criteria andLastModifyTimeZoneIsNull() { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE is not null * @return */ public Criteria andLastModifyTimeZoneIsNotNull() { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE = * @return */ public Criteria andLastModifyTimeZoneEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE <> * @return */ public Criteria andLastModifyTimeZoneNotEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE > * @return */ public Criteria andLastModifyTimeZoneGreaterThan(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE >= * @return */ public Criteria andLastModifyTimeZoneGreaterThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE < * @return */ public Criteria andLastModifyTimeZoneLessThan(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE <= * @return */ public Criteria andLastModifyTimeZoneLessThanOrEqualTo(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE like * @return */ public Criteria andLastModifyTimeZoneLike(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE not like * @return */ public Criteria andLastModifyTimeZoneNotLike(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE in * @return */ public Criteria andLastModifyTimeZoneIn(List<String> values) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.IN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE not in * @return */ public Criteria andLastModifyTimeZoneNotIn(List<String> values) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTIN,values); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE between * @return */ public Criteria andLastModifyTimeZoneBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LAST_MODIFY_TIME_ZONE not between * @return */ public Criteria andLastModifyTimeZoneNotBetween(String value1, String value2) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LAST_MODIFY_TIME_ZONE) like '%value.toUpperCase()%' * @return */ public Criteria andLastModifyTimeZoneLikeInsensitive(String value) { addCriterion("LAST_MODIFY_TIME_ZONE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID is null * @return */ public Criteria andTestExam3201DetailIdIsNull() { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID is not null * @return */ public Criteria andTestExam3201DetailIdIsNotNull() { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID = * @return */ public Criteria andTestExam3201DetailIdEqualTo(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID <> * @return */ public Criteria andTestExam3201DetailIdNotEqualTo(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID > * @return */ public Criteria andTestExam3201DetailIdGreaterThan(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID >= * @return */ public Criteria andTestExam3201DetailIdGreaterThanOrEqualTo(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID < * @return */ public Criteria andTestExam3201DetailIdLessThan(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID <= * @return */ public Criteria andTestExam3201DetailIdLessThanOrEqualTo(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID like * @return */ public Criteria andTestExam3201DetailIdLike(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID not like * @return */ public Criteria andTestExam3201DetailIdNotLike(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID in * @return */ public Criteria andTestExam3201DetailIdIn(List<String> values) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.IN,values); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID not in * @return */ public Criteria andTestExam3201DetailIdNotIn(List<String> values) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID between * @return */ public Criteria andTestExam3201DetailIdBetween(String value1, String value2) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * TEST_EXAM_3201_DETAIL_ID not between * @return */ public Criteria andTestExam3201DetailIdNotBetween(String value1, String value2) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(TEST_EXAM_3201_DETAIL_ID) like '%value.toUpperCase()%' * @return */ public Criteria andTestExam3201DetailIdLikeInsensitive(String value) { addCriterion("TEST_EXAM_3201_DETAIL_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 is null * @return */ public Criteria andLotAttr06IsNull() { addCriterion("LOT_ATTR_06",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_06 is not null * @return */ public Criteria andLotAttr06IsNotNull() { addCriterion("LOT_ATTR_06",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_06 = * @return */ public Criteria andLotAttr06EqualTo(String value) { addCriterion("LOT_ATTR_06",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 <> * @return */ public Criteria andLotAttr06NotEqualTo(String value) { addCriterion("LOT_ATTR_06",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 > * @return */ public Criteria andLotAttr06GreaterThan(String value) { addCriterion("LOT_ATTR_06",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 >= * @return */ public Criteria andLotAttr06GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_06",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 < * @return */ public Criteria andLotAttr06LessThan(String value) { addCriterion("LOT_ATTR_06",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 <= * @return */ public Criteria andLotAttr06LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_06",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 like * @return */ public Criteria andLotAttr06Like(String value) { addCriterion("LOT_ATTR_06",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 not like * @return */ public Criteria andLotAttr06NotLike(String value) { addCriterion("LOT_ATTR_06",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_06 in * @return */ public Criteria andLotAttr06In(List<String> values) { addCriterion("LOT_ATTR_06",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_06 not in * @return */ public Criteria andLotAttr06NotIn(List<String> values) { addCriterion("LOT_ATTR_06",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_06 between * @return */ public Criteria andLotAttr06Between(String value1, String value2) { addCriterion("LOT_ATTR_06",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_06 not between * @return */ public Criteria andLotAttr06NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_06",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_06) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr06LikeInsensitive(String value) { addCriterion("LOT_ATTR_06",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID is null * @return */ public Criteria andWarehouseOfficeIdIsNull() { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID is not null * @return */ public Criteria andWarehouseOfficeIdIsNotNull() { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID = * @return */ public Criteria andWarehouseOfficeIdEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID <> * @return */ public Criteria andWarehouseOfficeIdNotEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID > * @return */ public Criteria andWarehouseOfficeIdGreaterThan(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID >= * @return */ public Criteria andWarehouseOfficeIdGreaterThanOrEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID < * @return */ public Criteria andWarehouseOfficeIdLessThan(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID <= * @return */ public Criteria andWarehouseOfficeIdLessThanOrEqualTo(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID like * @return */ public Criteria andWarehouseOfficeIdLike(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID not like * @return */ public Criteria andWarehouseOfficeIdNotLike(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID in * @return */ public Criteria andWarehouseOfficeIdIn(List<String> values) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.IN,values); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID not in * @return */ public Criteria andWarehouseOfficeIdNotIn(List<String> values) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTIN,values); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID between * @return */ public Criteria andWarehouseOfficeIdBetween(String value1, String value2) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * WAREHOUSE_OFFICE_ID not between * @return */ public Criteria andWarehouseOfficeIdNotBetween(String value1, String value2) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(WAREHOUSE_OFFICE_ID) like '%value.toUpperCase()%' * @return */ public Criteria andWarehouseOfficeIdLikeInsensitive(String value) { addCriterion("WAREHOUSE_OFFICE_ID",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY is null * @return */ public Criteria andItemQualityIsNull() { addCriterion("ITEM_QUALITY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_QUALITY is not null * @return */ public Criteria andItemQualityIsNotNull() { addCriterion("ITEM_QUALITY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * ITEM_QUALITY = * @return */ public Criteria andItemQualityEqualTo(String value) { addCriterion("ITEM_QUALITY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY <> * @return */ public Criteria andItemQualityNotEqualTo(String value) { addCriterion("ITEM_QUALITY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY > * @return */ public Criteria andItemQualityGreaterThan(String value) { addCriterion("ITEM_QUALITY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY >= * @return */ public Criteria andItemQualityGreaterThanOrEqualTo(String value) { addCriterion("ITEM_QUALITY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY < * @return */ public Criteria andItemQualityLessThan(String value) { addCriterion("ITEM_QUALITY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY <= * @return */ public Criteria andItemQualityLessThanOrEqualTo(String value) { addCriterion("ITEM_QUALITY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY like * @return */ public Criteria andItemQualityLike(String value) { addCriterion("ITEM_QUALITY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY not like * @return */ public Criteria andItemQualityNotLike(String value) { addCriterion("ITEM_QUALITY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * ITEM_QUALITY in * @return */ public Criteria andItemQualityIn(List<String> values) { addCriterion("ITEM_QUALITY",false,Operation.IN,values); return (Criteria) this; } /** * ITEM_QUALITY not in * @return */ public Criteria andItemQualityNotIn(List<String> values) { addCriterion("ITEM_QUALITY",false,Operation.NOTIN,values); return (Criteria) this; } /** * ITEM_QUALITY between * @return */ public Criteria andItemQualityBetween(String value1, String value2) { addCriterion("ITEM_QUALITY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * ITEM_QUALITY not between * @return */ public Criteria andItemQualityNotBetween(String value1, String value2) { addCriterion("ITEM_QUALITY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(ITEM_QUALITY) like '%value.toUpperCase()%' * @return */ public Criteria andItemQualityLikeInsensitive(String value) { addCriterion("ITEM_QUALITY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY is null * @return */ public Criteria andReceiveQtyIsNull() { addCriterion("RECEIVE_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_QTY is not null * @return */ public Criteria andReceiveQtyIsNotNull() { addCriterion("RECEIVE_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIVE_QTY = * @return */ public Criteria andReceiveQtyEqualTo(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY <> * @return */ public Criteria andReceiveQtyNotEqualTo(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY > * @return */ public Criteria andReceiveQtyGreaterThan(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY >= * @return */ public Criteria andReceiveQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY < * @return */ public Criteria andReceiveQtyLessThan(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY <= * @return */ public Criteria andReceiveQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY like * @return */ public Criteria andReceiveQtyLike(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY not like * @return */ public Criteria andReceiveQtyNotLike(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIVE_QTY in * @return */ public Criteria andReceiveQtyIn(List<BigDecimal> values) { addCriterion("RECEIVE_QTY",false,Operation.IN,values); return (Criteria) this; } /** * RECEIVE_QTY not in * @return */ public Criteria andReceiveQtyNotIn(List<BigDecimal> values) { addCriterion("RECEIVE_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIVE_QTY between * @return */ public Criteria andReceiveQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("RECEIVE_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIVE_QTY not between * @return */ public Criteria andReceiveQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("RECEIVE_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIVE_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andReceiveQtyLikeInsensitive(BigDecimal value) { addCriterion("RECEIVE_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO is null * @return */ public Criteria andReceiptOrderNoIsNull() { addCriterion("RECEIPT_ORDER_NO",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_ORDER_NO is not null * @return */ public Criteria andReceiptOrderNoIsNotNull() { addCriterion("RECEIPT_ORDER_NO",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * RECEIPT_ORDER_NO = * @return */ public Criteria andReceiptOrderNoEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO <> * @return */ public Criteria andReceiptOrderNoNotEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO > * @return */ public Criteria andReceiptOrderNoGreaterThan(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO >= * @return */ public Criteria andReceiptOrderNoGreaterThanOrEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO < * @return */ public Criteria andReceiptOrderNoLessThan(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO <= * @return */ public Criteria andReceiptOrderNoLessThanOrEqualTo(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO like * @return */ public Criteria andReceiptOrderNoLike(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO not like * @return */ public Criteria andReceiptOrderNoNotLike(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * RECEIPT_ORDER_NO in * @return */ public Criteria andReceiptOrderNoIn(List<String> values) { addCriterion("RECEIPT_ORDER_NO",false,Operation.IN,values); return (Criteria) this; } /** * RECEIPT_ORDER_NO not in * @return */ public Criteria andReceiptOrderNoNotIn(List<String> values) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTIN,values); return (Criteria) this; } /** * RECEIPT_ORDER_NO between * @return */ public Criteria andReceiptOrderNoBetween(String value1, String value2) { addCriterion("RECEIPT_ORDER_NO",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * RECEIPT_ORDER_NO not between * @return */ public Criteria andReceiptOrderNoNotBetween(String value1, String value2) { addCriterion("RECEIPT_ORDER_NO",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(RECEIPT_ORDER_NO) like '%value.toUpperCase()%' * @return */ public Criteria andReceiptOrderNoLikeInsensitive(String value) { addCriterion("RECEIPT_ORDER_NO",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE is null * @return */ public Criteria andCreateOfficeIsNull() { addCriterion("CREATE_OFFICE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_OFFICE is not null * @return */ public Criteria andCreateOfficeIsNotNull() { addCriterion("CREATE_OFFICE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CREATE_OFFICE = * @return */ public Criteria andCreateOfficeEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE <> * @return */ public Criteria andCreateOfficeNotEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE > * @return */ public Criteria andCreateOfficeGreaterThan(String value) { addCriterion("CREATE_OFFICE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE >= * @return */ public Criteria andCreateOfficeGreaterThanOrEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE < * @return */ public Criteria andCreateOfficeLessThan(String value) { addCriterion("CREATE_OFFICE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE <= * @return */ public Criteria andCreateOfficeLessThanOrEqualTo(String value) { addCriterion("CREATE_OFFICE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE like * @return */ public Criteria andCreateOfficeLike(String value) { addCriterion("CREATE_OFFICE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE not like * @return */ public Criteria andCreateOfficeNotLike(String value) { addCriterion("CREATE_OFFICE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CREATE_OFFICE in * @return */ public Criteria andCreateOfficeIn(List<String> values) { addCriterion("CREATE_OFFICE",false,Operation.IN,values); return (Criteria) this; } /** * CREATE_OFFICE not in * @return */ public Criteria andCreateOfficeNotIn(List<String> values) { addCriterion("CREATE_OFFICE",false,Operation.NOTIN,values); return (Criteria) this; } /** * CREATE_OFFICE between * @return */ public Criteria andCreateOfficeBetween(String value1, String value2) { addCriterion("CREATE_OFFICE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CREATE_OFFICE not between * @return */ public Criteria andCreateOfficeNotBetween(String value1, String value2) { addCriterion("CREATE_OFFICE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CREATE_OFFICE) like '%value.toUpperCase()%' * @return */ public Criteria andCreateOfficeLikeInsensitive(String value) { addCriterion("CREATE_OFFICE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 is null * @return */ public Criteria andLotAttr03IsNull() { addCriterion("LOT_ATTR_03",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_03 is not null * @return */ public Criteria andLotAttr03IsNotNull() { addCriterion("LOT_ATTR_03",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_03 = * @return */ public Criteria andLotAttr03EqualTo(String value) { addCriterion("LOT_ATTR_03",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 <> * @return */ public Criteria andLotAttr03NotEqualTo(String value) { addCriterion("LOT_ATTR_03",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 > * @return */ public Criteria andLotAttr03GreaterThan(String value) { addCriterion("LOT_ATTR_03",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 >= * @return */ public Criteria andLotAttr03GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_03",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 < * @return */ public Criteria andLotAttr03LessThan(String value) { addCriterion("LOT_ATTR_03",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 <= * @return */ public Criteria andLotAttr03LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_03",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 like * @return */ public Criteria andLotAttr03Like(String value) { addCriterion("LOT_ATTR_03",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 not like * @return */ public Criteria andLotAttr03NotLike(String value) { addCriterion("LOT_ATTR_03",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_03 in * @return */ public Criteria andLotAttr03In(List<String> values) { addCriterion("LOT_ATTR_03",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_03 not in * @return */ public Criteria andLotAttr03NotIn(List<String> values) { addCriterion("LOT_ATTR_03",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_03 between * @return */ public Criteria andLotAttr03Between(String value1, String value2) { addCriterion("LOT_ATTR_03",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_03 not between * @return */ public Criteria andLotAttr03NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_03",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_03) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr03LikeInsensitive(String value) { addCriterion("LOT_ATTR_03",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * REMARK is null * @return */ public Criteria andRemarkIsNull() { addCriterion("REMARK",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * REMARK is not null * @return */ public Criteria andRemarkIsNotNull() { addCriterion("REMARK",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * REMARK = * @return */ public Criteria andRemarkEqualTo(String value) { addCriterion("REMARK",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * REMARK <> * @return */ public Criteria andRemarkNotEqualTo(String value) { addCriterion("REMARK",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * REMARK > * @return */ public Criteria andRemarkGreaterThan(String value) { addCriterion("REMARK",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * REMARK >= * @return */ public Criteria andRemarkGreaterThanOrEqualTo(String value) { addCriterion("REMARK",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * REMARK < * @return */ public Criteria andRemarkLessThan(String value) { addCriterion("REMARK",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * REMARK <= * @return */ public Criteria andRemarkLessThanOrEqualTo(String value) { addCriterion("REMARK",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * REMARK like * @return */ public Criteria andRemarkLike(String value) { addCriterion("REMARK",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * REMARK not like * @return */ public Criteria andRemarkNotLike(String value) { addCriterion("REMARK",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * REMARK in * @return */ public Criteria andRemarkIn(List<String> values) { addCriterion("REMARK",false,Operation.IN,values); return (Criteria) this; } /** * REMARK not in * @return */ public Criteria andRemarkNotIn(List<String> values) { addCriterion("REMARK",false,Operation.NOTIN,values); return (Criteria) this; } /** * REMARK between * @return */ public Criteria andRemarkBetween(String value1, String value2) { addCriterion("REMARK",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * REMARK not between * @return */ public Criteria andRemarkNotBetween(String value1, String value2) { addCriterion("REMARK",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(REMARK) like '%value.toUpperCase()%' * @return */ public Criteria andRemarkLikeInsensitive(String value) { addCriterion("REMARK",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS is null * @return */ public Criteria andExpectInvStsIsNull() { addCriterion("EXPECT_INV_STS",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * EXPECT_INV_STS is not null * @return */ public Criteria andExpectInvStsIsNotNull() { addCriterion("EXPECT_INV_STS",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * EXPECT_INV_STS = * @return */ public Criteria andExpectInvStsEqualTo(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS <> * @return */ public Criteria andExpectInvStsNotEqualTo(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS > * @return */ public Criteria andExpectInvStsGreaterThan(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS >= * @return */ public Criteria andExpectInvStsGreaterThanOrEqualTo(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS < * @return */ public Criteria andExpectInvStsLessThan(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS <= * @return */ public Criteria andExpectInvStsLessThanOrEqualTo(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS like * @return */ public Criteria andExpectInvStsLike(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS not like * @return */ public Criteria andExpectInvStsNotLike(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * EXPECT_INV_STS in * @return */ public Criteria andExpectInvStsIn(List<BigDecimal> values) { addCriterion("EXPECT_INV_STS",false,Operation.IN,values); return (Criteria) this; } /** * EXPECT_INV_STS not in * @return */ public Criteria andExpectInvStsNotIn(List<BigDecimal> values) { addCriterion("EXPECT_INV_STS",false,Operation.NOTIN,values); return (Criteria) this; } /** * EXPECT_INV_STS between * @return */ public Criteria andExpectInvStsBetween(BigDecimal value1, BigDecimal value2) { addCriterion("EXPECT_INV_STS",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * EXPECT_INV_STS not between * @return */ public Criteria andExpectInvStsNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("EXPECT_INV_STS",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(EXPECT_INV_STS) like '%value.toUpperCase()%' * @return */ public Criteria andExpectInvStsLikeInsensitive(BigDecimal value) { addCriterion("EXPECT_INV_STS",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 is null * @return */ public Criteria andLotAttr04IsNull() { addCriterion("LOT_ATTR_04",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_04 is not null * @return */ public Criteria andLotAttr04IsNotNull() { addCriterion("LOT_ATTR_04",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_04 = * @return */ public Criteria andLotAttr04EqualTo(String value) { addCriterion("LOT_ATTR_04",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 <> * @return */ public Criteria andLotAttr04NotEqualTo(String value) { addCriterion("LOT_ATTR_04",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 > * @return */ public Criteria andLotAttr04GreaterThan(String value) { addCriterion("LOT_ATTR_04",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 >= * @return */ public Criteria andLotAttr04GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_04",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 < * @return */ public Criteria andLotAttr04LessThan(String value) { addCriterion("LOT_ATTR_04",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 <= * @return */ public Criteria andLotAttr04LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_04",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 like * @return */ public Criteria andLotAttr04Like(String value) { addCriterion("LOT_ATTR_04",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 not like * @return */ public Criteria andLotAttr04NotLike(String value) { addCriterion("LOT_ATTR_04",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_04 in * @return */ public Criteria andLotAttr04In(List<String> values) { addCriterion("LOT_ATTR_04",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_04 not in * @return */ public Criteria andLotAttr04NotIn(List<String> values) { addCriterion("LOT_ATTR_04",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_04 between * @return */ public Criteria andLotAttr04Between(String value1, String value2) { addCriterion("LOT_ATTR_04",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_04 not between * @return */ public Criteria andLotAttr04NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_04",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_04) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr04LikeInsensitive(String value) { addCriterion("LOT_ATTR_04",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY is null * @return */ public Criteria andPutawayQtyIsNull() { addCriterion("PUTAWAY_QTY",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * PUTAWAY_QTY is not null * @return */ public Criteria andPutawayQtyIsNotNull() { addCriterion("PUTAWAY_QTY",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * PUTAWAY_QTY = * @return */ public Criteria andPutawayQtyEqualTo(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY <> * @return */ public Criteria andPutawayQtyNotEqualTo(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY > * @return */ public Criteria andPutawayQtyGreaterThan(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY >= * @return */ public Criteria andPutawayQtyGreaterThanOrEqualTo(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY < * @return */ public Criteria andPutawayQtyLessThan(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY <= * @return */ public Criteria andPutawayQtyLessThanOrEqualTo(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY like * @return */ public Criteria andPutawayQtyLike(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY not like * @return */ public Criteria andPutawayQtyNotLike(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * PUTAWAY_QTY in * @return */ public Criteria andPutawayQtyIn(List<BigDecimal> values) { addCriterion("PUTAWAY_QTY",false,Operation.IN,values); return (Criteria) this; } /** * PUTAWAY_QTY not in * @return */ public Criteria andPutawayQtyNotIn(List<BigDecimal> values) { addCriterion("PUTAWAY_QTY",false,Operation.NOTIN,values); return (Criteria) this; } /** * PUTAWAY_QTY between * @return */ public Criteria andPutawayQtyBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PUTAWAY_QTY",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * PUTAWAY_QTY not between * @return */ public Criteria andPutawayQtyNotBetween(BigDecimal value1, BigDecimal value2) { addCriterion("PUTAWAY_QTY",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(PUTAWAY_QTY) like '%value.toUpperCase()%' * @return */ public Criteria andPutawayQtyLikeInsensitive(BigDecimal value) { addCriterion("PUTAWAY_QTY",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE is null * @return */ public Criteria andCustItemCodeIsNull() { addCriterion("CUST_ITEM_CODE",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ITEM_CODE is not null * @return */ public Criteria andCustItemCodeIsNotNull() { addCriterion("CUST_ITEM_CODE",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * CUST_ITEM_CODE = * @return */ public Criteria andCustItemCodeEqualTo(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE <> * @return */ public Criteria andCustItemCodeNotEqualTo(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE > * @return */ public Criteria andCustItemCodeGreaterThan(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE >= * @return */ public Criteria andCustItemCodeGreaterThanOrEqualTo(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE < * @return */ public Criteria andCustItemCodeLessThan(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE <= * @return */ public Criteria andCustItemCodeLessThanOrEqualTo(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE like * @return */ public Criteria andCustItemCodeLike(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE not like * @return */ public Criteria andCustItemCodeNotLike(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * CUST_ITEM_CODE in * @return */ public Criteria andCustItemCodeIn(List<String> values) { addCriterion("CUST_ITEM_CODE",false,Operation.IN,values); return (Criteria) this; } /** * CUST_ITEM_CODE not in * @return */ public Criteria andCustItemCodeNotIn(List<String> values) { addCriterion("CUST_ITEM_CODE",false,Operation.NOTIN,values); return (Criteria) this; } /** * CUST_ITEM_CODE between * @return */ public Criteria andCustItemCodeBetween(String value1, String value2) { addCriterion("CUST_ITEM_CODE",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * CUST_ITEM_CODE not between * @return */ public Criteria andCustItemCodeNotBetween(String value1, String value2) { addCriterion("CUST_ITEM_CODE",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(CUST_ITEM_CODE) like '%value.toUpperCase()%' * @return */ public Criteria andCustItemCodeLikeInsensitive(String value) { addCriterion("CUST_ITEM_CODE",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 is null * @return */ public Criteria andLotAttr08IsNull() { addCriterion("LOT_ATTR_08",false,Operation.ISNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_08 is not null * @return */ public Criteria andLotAttr08IsNotNull() { addCriterion("LOT_ATTR_08",false,Operation.ISNOTNULL,new Object[] {}); return (Criteria) this; } /** * LOT_ATTR_08 = * @return */ public Criteria andLotAttr08EqualTo(String value) { addCriterion("LOT_ATTR_08",false,Operation.EQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 <> * @return */ public Criteria andLotAttr08NotEqualTo(String value) { addCriterion("LOT_ATTR_08",false,Operation.NOTEQ,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 > * @return */ public Criteria andLotAttr08GreaterThan(String value) { addCriterion("LOT_ATTR_08",false,Operation.GT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 >= * @return */ public Criteria andLotAttr08GreaterThanOrEqualTo(String value) { addCriterion("LOT_ATTR_08",false,Operation.GE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 < * @return */ public Criteria andLotAttr08LessThan(String value) { addCriterion("LOT_ATTR_08",false,Operation.LT,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 <= * @return */ public Criteria andLotAttr08LessThanOrEqualTo(String value) { addCriterion("LOT_ATTR_08",false,Operation.LE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 like * @return */ public Criteria andLotAttr08Like(String value) { addCriterion("LOT_ATTR_08",false,Operation.LIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 not like * @return */ public Criteria andLotAttr08NotLike(String value) { addCriterion("LOT_ATTR_08",false,Operation.NOTLIKE,new Object[] {value}); return (Criteria) this; } /** * LOT_ATTR_08 in * @return */ public Criteria andLotAttr08In(List<String> values) { addCriterion("LOT_ATTR_08",false,Operation.IN,values); return (Criteria) this; } /** * LOT_ATTR_08 not in * @return */ public Criteria andLotAttr08NotIn(List<String> values) { addCriterion("LOT_ATTR_08",false,Operation.NOTIN,values); return (Criteria) this; } /** * LOT_ATTR_08 between * @return */ public Criteria andLotAttr08Between(String value1, String value2) { addCriterion("LOT_ATTR_08",false,Operation.BETWEEN,value1,value2); return (Criteria) this; } /** * LOT_ATTR_08 not between * @return */ public Criteria andLotAttr08NotBetween(String value1, String value2) { addCriterion("LOT_ATTR_08",false,Operation.NOTBETWEEN,value1,value2); return (Criteria) this; } /** * upper(LOT_ATTR_08) like '%value.toUpperCase()%' * @return */ public Criteria andLotAttr08LikeInsensitive(String value) { addCriterion("LOT_ATTR_08",false,Operation.LIKEIC,new Object[] {value}); return (Criteria) this; } } }

1.18.子表控制类

1.18.子表控制类

/*
 * @(#)TestExam3201DetailController.java
 * 版权声明  厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分19秒
 *  描 述:创建
 */
package com.gillion.sample.test.web;

import java.io.IOException;
import java.sql.ResultSet;
import java.sql.SQLException;
import java.util.List;
import java.util.Map;
import java.util.HashMap;
import java.util.ArrayList;
import java.util.Iterator;
import java.util.Collection;

import javax.persistence.ManyToOne;
import javax.persistence.OneToMany;
import javax.persistence.OneToOne;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import com.gillion.platform.utils.*;
import net.sf.json.JSONObject;
import com.google.common.collect.Maps;
import com.google.common.base.Function;
import com.google.common.collect.Lists;
import com.gillion.platform.framework.core.domain.BaseObject;
import org.apache.commons.lang.builder.ToStringBuilder;

import org.slf4j.Logger;
import org.slf4j.LoggerFactory;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.jdbc.core.RowMapper;
import org.springframework.stereotype.Controller;
import org.springframework.jdbc.core.JdbcTemplate;
import org.springframework.validation.annotation.Validated;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.PathVariable;

import org.springframework.web.servlet.ModelAndView;

import com.gillion.platform.bo.BoConstants;
import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.bo.service.impl.BusinessObjectService;
import com.gillion.platform.framework.core.Constants;
import com.gillion.platform.framework.core.dao.BeanPropertyRowMapper;
import com.gillion.platform.framework.core.query.ConditionResult;
import com.gillion.platform.framework.core.query.Operation;
import com.gillion.platform.framework.core.query.Page;
import com.gillion.platform.framework.core.query.Criteria;
import com.gillion.platform.framework.core.query.PageRequest;
import com.gillion.platform.framework.core.query.SearchColumn;
import com.gillion.platform.framework.core.query.OrderColumn;
import com.gillion.platform.framework.component.search.QueryResultType;
import com.fasterxml.jackson.databind.JsonNode;
import com.gillion.platform.utils.json.JsonMapper;
import com.gillion.platform.utils.JsonUtils;
import com.gillion.platform.utils.StringUtils;
import com.gillion.platform.utils.DateUtils;
import com.gillion.platform.utils.ResponseUtils;
import java.math.BigDecimal;

import com.gillion.platform.framework.core.BusinessException;

import com.gillion.sample.test.domain.TestExam3201Detail;
import com.gillion.sample.test.domain.TestExam3201DetailExample;
import com.gillion.sample.test.service.TestExam3201DetailService;

import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.framework.core.web.BaseAbstractController;
import org.springframework.web.servlet.ModelAndView;
import org.springframework.web.servlet.support.RequestContextUtils;
import com.gillion.platform.framework.core.web.BaseMultiActionController;
import java.lang.reflect.InvocationTargetException;
import org.apache.poi.hssf.usermodel.HSSFRow;
import org.apache.poi.hssf.usermodel.HSSFSheet;
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
import org.springframework.web.multipart.MultipartFile;
import java.io.InputStream;
import java.util.Set;
import org.springframework.beans.BeanUtils;
import org.springframework.validation.beanvalidation.LocalValidatorFactoryBean;
import javax.validation.ConstraintViolation;

/**
 * <pre>
 * 订单明细表(TestExam3201Detail)控制器类
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@Controller
@SuppressWarnings("all")
public class TestExam3201DetailController extends BaseAbstractController
{
    protected static final String boName = "TestExam3201Detail";

    /* (non-Javadoc)
     * @see com.gillion.framework.core.web.BaseAbstractController#getBoName()
     */
    @Override
    public String getBoName()
    {
        return boName;
    }

    @Autowired
    private LocalValidatorFactoryBean validator;


    @Autowired
    protected TestExam3201DetailService testExam3201DetailService;

    public void setTestExam3201DetailService(TestExam3201DetailService testExam3201DetailService)
    {
        this.testExam3201DetailService = testExam3201DetailService;
    }


    /**
     * TODO GLPaaS生成
     * 根据 主键 删除 订单明细表
     * 
     * @param shopId
     * @return
     * @throws Exception
     */
    @RequestMapping(value="testExam3201Detail/delete")
    public void delete(@RequestParam(value="testExam3201DetailId") String testExam3201DetailId,  HttpServletResponse response) throws Exception
    {
        testExam3201DetailService.delete(testExam3201DetailId);

       ResponseUtils.flushSuccess(response, "删除成功!");
    }

    /**
     * TODO GLPaaS生成
     * 保存 订单明细表
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201Detail/update")
    public void update(@RequestBody @Validated(TestExam3201Detail.Default.class)
 TestExam3201Detail testExam3201Detail, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201Detail testExam3201Detail = (TestExam3201Detail) JsonMapper.MAPPER.fromJson(data, TestExam3201Detail.class);
            testExam3201DetailService.update(testExam3201Detail);

        ResponseUtils.flushSuccess(response, "修改成功!", "testExam3201Detail", testExam3201Detail);
    }

    /**
     * TODO GLPaaS生成
     * 订单明细表保存并提交工作流审批
     *
     * @param data
     * @return
     * @throws IOException
     */
    @RequestMapping(value = "testExam3201Detail/saveAndSubmitProcess")
    public void saveAndSubmitProcess(@RequestBody String data,HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        TestExam3201Detail testExam3201Detail = (TestExam3201Detail) JsonMapper.MAPPER.fromJson(data, TestExam3201Detail.class);
        testExam3201DetailService.saveAndSubmitProcess(testExam3201Detail);
        ResponseUtils.flushSuccess(response, "提交成功!", "testExam3201Detail", testExam3201Detail);
    }

    /**
     * TODO GLPaaS生成
     * 保存 订单明细表
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201Detail/saveOrUpdate")
    public void saveOrUpdate(@RequestBody @Validated(TestExam3201Detail.Default.class)
 TestExam3201Detail testExam3201Detail, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201Detail testExam3201Detail = (TestExam3201Detail) JsonMapper.MAPPER.fromJson(data, TestExam3201Detail.class);
        testExam3201DetailService.saveOrUpdate(testExam3201Detail);

       ResponseUtils.flushSuccess(response, "保存成功!", "testExam3201Detail", testExam3201Detail);
    }


    /**
     * TODO GLPaaS生成
     * 批量保存
     * @param idStr
     * @return
     * @throws Exception
     * @
     */
    @RequestMapping(value="testExam3201Detail/bacthSaveTestExam3201DetailData")
    public void bacthSaveTestExam3201DetailData(@RequestBody @Validated(TestExam3201Detail.Default.class)
 List<TestExam3201Detail> testExam3201Details, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        List<TestExam3201Detail> result = testExam3201DetailService.saveOrUpdates(testExam3201Details);


       ResponseUtils.flushSuccess(response, "批量保存成功!", "testExam3201Details", result);
    }

    /**
     * TODO GLPaaS生成
     * 根据主键获取订单明细表
     * 
     * @param shopId
     * @return
     * @
     */
    @RequestMapping(value = "testExam3201Detail/getTestExam3201Detail")
    public void getTestExam3201Detail(@RequestParam(value="testExam3201DetailId") String testExam3201DetailId,

     HttpServletResponse response)  throws Exception
    {
        TestExam3201Detail testExam3201Detail = null ;

        if(StringUtils.isNotNullBlank(testExam3201DetailId)) {
            testExam3201Detail = testExam3201DetailService.get(testExam3201DetailId);
        }
        else
        {
            String msg = "参数testExam3201DetailId";
            msg += "不能为空.";
            throw new BusinessException(msg);
        }

        if(null==testExam3201Detail){
            testExam3201Detail = new TestExam3201Detail();
            testExam3201Detail.setRowStatus(BaseObject.ROWSTATUS_ADDED);
        }

       ResponseUtils.flushSuccess(response, "请求成功!", "testExam3201Detail", testExam3201Detail);
    }

    /**
     * TODO GLPaaS生成
     * 订单明细表提交工作流审批
     *
     * @param purchaseOrderId
     * @return
     * @throws IOException
     */
    @RequestMapping(value = "testExam3201Detail/submitProcess")
    public void submitProcess(@RequestParam(value = "testExam3201DetailId")
    String testExam3201DetailId,@RequestParam(value = "workFlowTaskId",required=false) String workFlowTaskId , HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        TestExam3201Detail testExam3201Detail = testExam3201DetailService.get(testExam3201DetailId);
        testExam3201Detail.setWorkFlowTaskId(workFlowTaskId);
        testExam3201DetailService.submitProcess(testExam3201Detail);
        testExam3201Detail = testExam3201DetailService.get(testExam3201DetailId);

           ResponseUtils.flushSuccess(response, "提交成功!", "testExam3201Detail", testExam3201Detail);
    }

    /**
     * TODO GLPaaS生成
     * 批量删除订单明细表
     * 
     * @param idStr
     * @return
     * @throws Exception
     * @
     */
    @RequestMapping(value="testExam3201Detail/deletes")
    public void deletes(@RequestBody String params, HttpServletResponse response) throws Exception
    {
        Map<String,String> parmMaps = JsonMapper.MAPPER.fromJson(params,Map.class);
        String idStr = parmMaps.get("ids");
        String[] ids = idStr.split(",");
        testExam3201DetailService.deletes(ids);
       ResponseUtils.flushSuccess(response, "删除成功!");

   }

    /**
     * TODO GLPaaS生成
     * queryByJdbc
     * @param request
     * @param result
     * @param searchColumns
     * @param orderColumns
     * @param pageRequest
     */
    protected void queryByJdbc(HttpServletRequest request, Map<String, Object> result, List<SearchColumn> searchColumns,List<OrderColumn> orderColumns, PageRequest pageRequest,String gridKey)
    {
        Page page = new Page();
        page.setPageSize(pageRequest.getPageSize());
        page.setCurrentPage(pageRequest.getCurrentPage());

        TestExam3201DetailExample example = TestExam3201DetailExample.create(searchColumns);
        example.addOrderByClause(TestExam3201Detail.class, orderColumns);
        JdbcTemplate jdbcTemplate = this.testExam3201DetailService.getJdbcTemplate();

        List allValues = Lists.newArrayList();
        StringBuffer realStrSql = new StringBuffer();
        realStrSql.append("select ");
        realStrSql.append("ITEM_ID,ITEM_NAME,LOT_ATTR_01,CUST_ORDER_NO,LOT_ATTR_10,RECEIVE_TIME,MANUFACTURE_DATE,ITEM_UOM,EXPIRATION_DATE,OPEN_QTY,LOT_ATTR_09,");
        realStrSql.append("BAR_CODE,CUST_CODE,CUST_ID,RECORD_VERSION,IQC_QTY,EXPECT_INV_STS_DESC,LOT_ATTR_07,LOT_ATTR_11,ASN_DETAIL_NO,DAMAGE_QTY,PLAN_QTY,");
        realStrSql.append("LOT_NO,LOT_ATTR_12,LOT_ATTR_05,TOTAL_PLAN_QTY,LINE_NUMBER,LOT_ATTR_02,TEST_EXAM_3201_ID,ITEM_CODE,CUST_NAME,TEST_EXAM_3201_DETAIL_ID,LOT_ATTR_06,");
        realStrSql.append("WAREHOUSE_OFFICE_ID,ITEM_QUALITY,RECEIVE_QTY,RECEIPT_ORDER_NO,LOT_ATTR_03,REMARK,EXPECT_INV_STS,LOT_ATTR_04,PUTAWAY_QTY,CUST_ITEM_CODE,LOT_ATTR_08,");
        realStrSql.append("LAST_MODIFY_OFFICE,CREATOR,PRINCIPAL_GROUP_CODE,LAST_MODIFY_TIME_ZONE,CREATE_OFFICE,CREATE_TIME,LAST_MODIFYOR,LAST_MODIFY_TIME,CREATE_TIME_ZONE,");
        realStrSql.append(" from TEST_EXAM_3201_DETAIL" );
        realStrSql.append(" where 1=1 ");

        ConditionResult conditionResult = example.generatorSqlConditions();//generatorSqlConditions(example);
        realStrSql.append(conditionResult.getStrSql());

        String orderByClase = example.getOrderByClause();
        if(StringUtils.isNotNullBlank(orderByClase)) {
            realStrSql.append("t order by ").append(orderByClase);
        }
        Object[] sqlCountParam = allValues.toArray();
        //page.getCurrentPage() * page.getPageSize(), (page.getCurrentPage() - 1) * page.getPageSize()
        allValues.add((page.getCurrentPage() - 1) * page.getPageSize());
        allValues.add(page.getCurrentPage() * page.getPageSize());
        Object[] sqlPageParam = allValues.toArray();

        log.debug("sqlCountParam:" + JsonMapper.MAPPER.toJson(sqlCountParam));
        log.debug("sqlPageParam:" + JsonMapper.MAPPER.toJson(sqlPageParam));

        StringBuffer sqlCount = new StringBuffer();
        sqlCount.append("select count(1) from (" + realStrSql.toString() + ") TT");

        long start1 = System.currentTimeMillis();
        // 查询总记录条数
        int count = jdbcTemplate.queryForInt(sqlCount.toString(), sqlCountParam);
        log.debug("count:" + (System.currentTimeMillis()-start1) + " ms");

        StringBuffer sqlPage = new StringBuffer();
        sqlPage.append("SELECT * FROM ");
        if(DataBaseTypeUtils.getDbType().equals("MySql")){
            sqlPage.append("  (" + realStrSql.toString() + ") y");
            sqlPage.append("  limit ?,?");
        }else{
            sqlPage.append("  (SELECT rownum AS rownum_,row_.* FROM ");
            sqlPage.append("    (" + realStrSql.toString() + ") row_ ) ");
            sqlPage.append("  WHERE rownum_> ?  and rownum_ <= ?");
        }

        long start = System.currentTimeMillis();
        // 查询分页记录
        List<TestExam3201Detail> testExam3201Details = jdbcTemplate.query(sqlPage.toString(), BeanPropertyRowMapper.newInstance(TestExam3201Detail.class), sqlPageParam);
       // 1 ---TestExam3201Detail
        log.debug("query:" + (System.currentTimeMillis()-start) + " ms");
        page.setTotalRecord(count);
        page.setRecords(testExam3201Details);

        result.put(Constants.TOTAL, count);
        result.put("testExam3201Details", testExam3201Details);
    }

    /**
     * TODO GLPaaS生成
     * queryByMyBatis
     * @param request
     * @param result
     * @param searchColumns
     * @param orderColumns
     * @param pageRequest
     */
    protected void queryByMyBatis(HttpServletRequest request, Map<String, Object> result, List<SearchColumn> searchColumns,List<OrderColumn> orderColumns, PageRequest pageRequest,String gridKey)
    {
        TestExam3201DetailExample example = TestExam3201DetailExample.create(searchColumns);

        example.addOrderByClause(TestExam3201Detail.class, orderColumns);
        List<TestExam3201Detail> testExam3201Details = new ArrayList<TestExam3201Detail>();


        if(pageRequest.isQueryPage())
        {
            Page<TestExam3201Detail> page = testExam3201DetailService.find(pageRequest, example);
            testExam3201Details = page.getRecords();

            result.put(Constants.TOTAL, page.getTotalRecord());
       }
       else
       {
            testExam3201Details = testExam3201DetailService.find(example);

            result.put(Constants.TOTAL, testExam3201Details.size());
       }
       // 1 ---TestExam3201Detail

       result.put("testExam3201Details", testExam3201Details);
    }

    /**
     * TODO GLPaaS生成
     * 订单明细表分页信息查询
     * 
     * @param
     * @return
     * @throws Exception
     */
    @RequestMapping(value = "testExam3201Detail/query")
    public void query(HttpServletRequest request, HttpServletResponse response) throws Exception
    {
        Map<String,Object> result = new HashMap<String, Object>();
        String gridKey = request.getParameter("gridKey");
        boolean useMyBatisQuery = Boolean.TRUE;
        List<SearchColumn> searchColumns = getSearchColumns(request);

        PageRequest pageRequest = getPageRequest(request);
        if (searchColumns != null) {
            removeSearchColumn(searchColumns, "baseViewId");
        }

        List<OrderColumn> orderColumns = getOrderColumns(request);

        if(useMyBatisQuery)
            queryByMyBatis(request, result, searchColumns,orderColumns, pageRequest,gridKey);
        else
            queryByJdbc(request, result, searchColumns,orderColumns, pageRequest,gridKey);
        ResponseUtils.flushSuccess(response, result);
    }


    /**
     * TODO GLPaaS生成
     * 批量保存
     * @param idStr
     * @return
     * @throws Exception
     * @
     */
    @RequestMapping(value="testExam3201Detail/saveOrUpdates")
    public void saveOrUpdates(@RequestBody @Validated(TestExam3201Detail.Default.class)
 List<TestExam3201Detail> testExam3201Details, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        List<TestExam3201Detail> result = testExam3201DetailService.saveOrUpdates(testExam3201Details);

       ResponseUtils.flushSuccess(response, "批量保存成功!", "testExam3201Details", result);
    }

    /**
     * TODO GLPaaS生成
     * 保存并新增 订单明细表
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201Detail/saveAndAddNew")
    public void saveAndAddNew(@RequestBody @Validated(TestExam3201Detail.Default.class)
 TestExam3201Detail testExam3201Detail, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201Detail testExam3201Detail = (TestExam3201Detail) JsonMapper.MAPPER.fromJson(data, TestExam3201Detail.class);
        //testExam3201DetailService.save(testExam3201Detail);
        if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_ADDED )
        {
            testExam3201DetailService.save(testExam3201Detail);
        } else
        {
            testExam3201DetailService.update(testExam3201Detail);
        }

       ResponseUtils.flushSuccess(response, "保存成功!", "testExam3201Detail", testExam3201Detail);
    }
    /**
     * TODO GLPaaS生成
     * 保存 订单明细表
     * 
     * @RequestBody String data
     * @param request
     * @param response
     * @throws IOException
     */
    @RequestMapping(value="testExam3201Detail/save")
    public void save(@RequestBody @Validated(TestExam3201Detail.Default.class)
 TestExam3201Detail testExam3201Detail, HttpServletRequest request, HttpServletResponse response) throws IOException
    {
        //TestExam3201Detail testExam3201Detail = (TestExam3201Detail) JsonMapper.MAPPER.fromJson(data, TestExam3201Detail.class);
        testExam3201DetailService.save(testExam3201Detail);

        //刷新缓存

       ResponseUtils.flushSuccess(response, "保存成功!", "testExam3201Detail", testExam3201Detail);
    }






    public static Map<String,Map<String,String>> gridColumnUiTypes = null;
}

1.19.子表Mapper.java

1.19.子表服务接口

/*
 * @(#)TestExam3201DetailService.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分19秒
 *  描 述:创建
 */

package com.gillion.sample.test.service;

import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Map;
import java.io.Serializable;

import com.gillion.platform.framework.core.service.IBaseService;
import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.sample.test.domain.TestExam3201Detail;
import com.gillion.sample.test.domain.TestExam3201DetailExample;

import com.gillion.platform.framework.core.query.Page;
import com.gillion.platform.framework.core.query.PageRequest;

/**
 * <pre>
 * 订单明细表(TestExam3201Detail)服务类接口
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@SuppressWarnings("all")
public interface TestExam3201DetailService extends IBaseService<String,TestExam3201Detail,TestExam3201DetailExample>
{

    /**
     * TODO GLPaaS生成
     * 根据主键列表,批量删除订单明细表
     *
     * @param ids
     */
    public void deletes(String[] ids);

    /**
     * TODO GLPaaS生成
     * 修改保存订单明细表
     * 
     * @param testExam3201Detail
     * @return
     * @
     */
    public int update(TestExam3201Detail testExam3201Detail);

    /**
     * TODO GLPaaS生成
     * 保存并提交 订单明细表
     * 
     * @param ids
     * @return
     * @
     */
     public void saveAndSubmitProcess(TestExam3201Detail testExam3201Detail);

    /**
     * TODO GLPaaS生成
     * 保存订单明细表
     * 
     * @param ids
     * @return
     * @
     */
    public int saveOrUpdate(TestExam3201Detail testExam3201Detail);

    /**
     * TODO GLPaaS生成
     * 批量修改保存订单明细表
     * 
     * @param testExam3201Details
     * @return
     * @
     */
    public List<TestExam3201Detail> saveOrUpdates(List<TestExam3201Detail> testExam3201Details);

    /**
     * TODO GLPaaS生成
     * 根据主键获取订单明细表
     * 
     * @param testExam3201Details
     * @return
     * @
     */
    public TestExam3201Detail get(String testExam3201DetailId);

    /**
     * 保存并提交 订单明细表
     * 
     * @param ids
     * @return
     * @
     */
     public void submitProcess(TestExam3201Detail testExam3201Detail);

    /**
     * TODO GLPaaS生成
     * 根据主键值删除订单明细表
     *
     * @param id
     */
    public void delete(String id);

    public List<TestExam3201Detail> find(TestExam3201DetailExample example);

    public Page<TestExam3201Detail> find(PageRequest pageRequest, TestExam3201DetailExample example);

    /**
     * TODO GLPaaS生成
     * 新增保存订单明细表
     * 
     * @param testExam3201Detail
     * @return
     * @
     */
    public int save(TestExam3201Detail testExam3201Detail);

    /**
     * TODO GLPaaS生成
     * 根据父对象ID列表删除数据
     * @param testExam3201Ids
     */
    public void deleteWithParent(List<String> testExam3201Ids);


}

1.20.子表服务实现类

1.20.子表服务实现类

/*
 * @(#)TestExam3201DetailServiceImpl.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分19秒
 *  描 述:创建
 */
package com.gillion.sample.test.service;
import java.util.ArrayList;
import java.util.HashMap;
import java.util.Iterator;
import java.util.List;
import java.util.Arrays;
import java.util.Map;
import java.util.HashSet;
import java.util.Set;
import java.util.Collection;
import java.io.Serializable;

import org.springframework.stereotype.Service;
import org.springframework.util.*;

import com.fasterxml.jackson.databind.JavaType;

import com.gillion.platform.utils.BaseViewUtils;
import com.gillion.platform.utils.json.JsonMapper;
import com.gillion.platform.utils.StringUtils;
import com.gillion.platform.utils.SpringContextHolder;

import com.gillion.platform.bo.domain.BusinessObject;
import com.gillion.platform.bo.service.impl.BusinessObjectService;

import com.gillion.platform.bizrule.core.domain.InvokeTime;
import com.gillion.platform.bizrule.core.domain.RuleInfo;
import com.gillion.platform.bizrule.core.util.DroolsUtils;

import com.gillion.platform.framework.core.service.BaseServiceImplExt;
import com.gillion.platform.framework.core.BusinessException;
import com.gillion.platform.framework.core.domain.BaseObject;
import com.gillion.platform.framework.core.query.Page;
import com.gillion.platform.framework.core.query.PageRequest;
import com.gillion.platform.framework.core.query.Operation;
import com.gillion.platform.framework.core.query.Criteria;
import com.gillion.platform.framework.core.query.OrderColumn;

import com.gillion.sample.test.domain.TestExam3201Detail;
import com.gillion.sample.test.service.TestExam3201DetailService;
import com.gillion.sample.test.domain.TestExam3201DetailExample;
import com.gillion.sample.test.mapper.TestExam3201DetailMapper;


import com.google.common.collect.*;
import com.google.common.base.Function;
import com.gillion.platform.bizrule.core.service.RuleService;
import net.sf.json.JSONObject;
import org.springframework.beans.BeanUtils;
import org.springframework.beans.factory.annotation.Autowired;
import java.math.BigDecimal;


/**
 * <pre>
 * 订单明细表(TestExam3201Detail)服务类
 * </pre>
 *
 * <br>
 * JDK版本:1.5
 *
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 * @since 1.0
 */
@Service
@SuppressWarnings("all")
public class TestExam3201DetailServiceImpl extends BaseServiceImplExt<String,TestExam3201Detail,TestExam3201DetailExample> implements TestExam3201DetailService
{

    protected static final String boName = "TestExam3201Detail";

    public String getBoName()
    {
        return boName;
    }


    /**
     * TODO GLPaaS生成
     * 删除订单明细表
     * 
     * @param id
     * @return
     * @
     */
     public void delete(String id)
     {
                // 级联删除子对象
        super.delete(id);
     }



    /**
     * TODO GLPaaS生成
     * 保存订单明细表
     * 
     * @param testExam3201Detail
     * @return
     * @
     */
    public int update(TestExam3201Detail testExam3201Detail)
    {
        int result = -1 ;
        if(testExam3201Detail.getRowStatus()==BaseObject.ROWSTATUS_MODIFIED)
            result = super.updateByPrimaryKey(testExam3201Detail);

        return result;
    }

    /**
     * TODO GLPaaS生成
     * 保存并提交 订单明细表
     * 
     * @param ids
     * @return
     * @
     */
     public void saveAndSubmitProcess(TestExam3201Detail testExam3201Detail)
     {
        super.saveAndSubmitProcess(testExam3201Detail);
     }

    /**
     * TODO GLPaaS生成
     * 保存订单明细表
     * 
     * @param testExam3201Detail
     * @return
     * @
     */
    @Override
    public int saveOrUpdate(TestExam3201Detail testExam3201Detail)
    {
        int result = 0;
        if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_DELETED)
        {
            this.delete(testExam3201Detail.getTestExam3201DetailId());
            result =1 ;
        }
        else
        {
            if(testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_ADDED || testExam3201Detail.getRowStatus() == BaseObject.ROWSTATUS_MODIFIED)
            {
                result = super.saveOrUpdate(testExam3201Detail);
            }

        }
        return result;
    }

    /**
     * TODO GLPaaS生成
     * 修改保存订单明细表
     * 
     * @param testExam3201Detail
     * @return
     * @
     */
    public List<TestExam3201Detail> saveOrUpdates(List<TestExam3201Detail> testExam3201Details)
    {
        List<TestExam3201Detail> result = Lists.newArrayList();
        super.saveOrUpdates(testExam3201Details);

        return testExam3201Details;
    }

    /**
     * TODO GLPaaS生成
     * 根据主键获取订单明细表
     * 
     * @param testExam3201Details
     * @return
     * @
     */
    public TestExam3201Detail get(String testExam3201DetailId)
    {
        TestExam3201Detail testExam3201Detail = super.get(testExam3201DetailId);
        return testExam3201Detail;
    }

    /**
     * TODO GLPaaS生成
     * 保存并提交 订单明细表
     * 
     * @param ids
     * @return
     * @
     */
     public void submitProcess(TestExam3201Detail testExam3201Detail)
     {
        super.submitProcess(testExam3201Detail);
     }

    /**
     * TODO GLPaaS生成
     * 批量删除订单明细表
     * 
     * @param ids
     * @return
     * @
     */
    public void deletes(String[] ids)
    {
        List<String> testExam3201DetailIds = Lists.newArrayList(ids);
        TestExam3201DetailExample testExam3201DetailExample = TestExam3201DetailExample.create();
        testExam3201DetailExample.and().andCreateCondition(TestExam3201Detail.TESTEXAM3201DETAILID,"testExam3201DetailId",Operation.IN,Arrays.asList(ids));
        this.deleteByExample(testExam3201DetailExample);
    }




    public List<TestExam3201Detail> find(TestExam3201DetailExample example) {
        List<TestExam3201Detail> testExam3201Details = super.find(example);

        return testExam3201Details;
    }

    /**
     *  TODO GLPaaS生成
     *  根据Example查询分页
     * @return Page<T>
     */
    public Page<TestExam3201Detail> find(PageRequest pageRequest, TestExam3201DetailExample example) {
        Page<TestExam3201Detail> page = super.find(pageRequest, example);

        return page;
    }

    /**
     * TODO GLPaaS生成
     * 保存订单明细表
     * 
     * @param testExam3201Detail
     * @return
     * @
     */
    @Override
    public int save(TestExam3201Detail testExam3201Detail)
    {
        int result = -1 ;
        if(testExam3201Detail.getRowStatus()==BaseObject.ROWSTATUS_ADDED)
            result = super.save(testExam3201Detail);
        return result;
    }

    public void deleteWithParent(List<String> testExam3201IdList)
    {
        TestExam3201DetailExample testExam3201DetailExample = TestExam3201DetailExample.create();
        testExam3201DetailExample.and().andCreateCondition(TestExam3201Detail.TESTEXAM3201ID,"testExam3201Id",Operation.IN,testExam3201IdList);
        this.deleteByExample(testExam3201DetailExample);
    }

}

1.21.子表Mapper.java

1.21.子表Mapper.java

/*
 * @(#)TestExam3201DetailMapperMapper.java
 * 版权声明 厦门吉联科技, 版权所有 违者必究
 *
 *修订记录:
 *1)更改者:java业务平台代码生成工具
 *  时 间:2018年07月12日 09点45分19秒
 *  描 述:创建
 */
package com.gillion.sample.test.mapper;

import com.gfa4j.mybatis.mapper.BaseMapper;
import com.gillion.sample.test.domain.TestExam3201Detail;
import com.gillion.sample.test.domain.TestExam3201DetailExample;
import java.util.List;
import java.util.Map;
/**
 * <pre>
 * 订单明细表(TestExam3201Detail)Mapper类
 * </pre>
 * 
 * <br>
 * JDK版本:1.6
 * 
 * @author java业务平台代码生成工具
 * @version 1.0
 * @see The author for more details
 */
public interface TestExam3201DetailMapper extends BaseMapper<String, TestExam3201Detail, TestExam3201DetailExample> 
{
}

1.22.子表Mapper.xml

1.22.子表Mapper.xml

<?xml version="1.0" encoding="UTF-8" ?>
<!DOCTYPE mapper PUBLIC "-//mybatis.org//DTD Mapper 3.0//EN" "http://mybatis.org/dtd/mybatis-3-mapper.dtd" >
<mapper namespace="com.gillion.sample.test.mapper.TestExam3201DetailMapper" >
  <resultMap id="BaseResultMap" type="com.gillion.sample.test.domain.TestExam3201Detail" >
    <id column="TEST_EXAM_3201_DETAIL_ID" property="testExam3201DetailId" jdbcType="VARCHAR" />
    <result column="ITEM_ID" property="itemId" jdbcType="VARCHAR"/>
    <result column="ITEM_NAME" property="itemName" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_01" property="lotAttr01" jdbcType="VARCHAR"/>
    <result column="PRINCIPAL_GROUP_CODE" property="principalGroupCode" jdbcType="VARCHAR"/>
    <result column="CUST_ORDER_NO" property="custOrderNo" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_10" property="lotAttr10" jdbcType="VARCHAR"/>
    <result column="RECEIVE_TIME" property="receiveTime" jdbcType="VARCHAR"/>
    <result column="MANUFACTURE_DATE" property="manufactureDate" jdbcType="VARCHAR"/>
    <result column="ITEM_UOM" property="itemUom" jdbcType="VARCHAR"/>
    <result column="EXPIRATION_DATE" property="expirationDate" jdbcType="VARCHAR"/>
    <result column="OPEN_QTY" property="openQty" jdbcType="NUMERIC"/>
    <result column="LOT_ATTR_09" property="lotAttr09" jdbcType="VARCHAR"/>
    <result column="CREATE_TIME_ZONE" property="createTimeZone" jdbcType="VARCHAR"/>
    <result column="BAR_CODE" property="barCode" jdbcType="VARCHAR"/>
    <result column="CUST_CODE" property="custCode" jdbcType="VARCHAR"/>
    <result column="CUST_ID" property="custId" jdbcType="VARCHAR"/>
    <result column="RECORD_VERSION" property="recordVersion" jdbcType="NUMERIC"/>
    <result column="IQC_QTY" property="iqcQty" jdbcType="NUMERIC"/>
    <result column="LAST_MODIFY_TIME" property="lastModifyTime" jdbcType="VARCHAR"/>
    <result column="EXPECT_INV_STS_DESC" property="expectInvStsDesc" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_07" property="lotAttr07" jdbcType="VARCHAR"/>
    <result column="LAST_MODIFY_OFFICE" property="lastModifyOffice" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_11" property="lotAttr11" jdbcType="VARCHAR"/>
    <result column="ASN_DETAIL_NO" property="asnDetailNo" jdbcType="VARCHAR"/>
    <result column="DAMAGE_QTY" property="damageQty" jdbcType="VARCHAR"/>
    <result column="PLAN_QTY" property="planQty" jdbcType="NUMERIC"/>
    <result column="LOT_NO" property="lotNo" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_12" property="lotAttr12" jdbcType="VARCHAR"/>
    <result column="CREATOR" property="creator" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_05" property="lotAttr05" jdbcType="VARCHAR"/>
    <result column="TOTAL_PLAN_QTY" property="totalPlanQty" jdbcType="NUMERIC"/>
    <result column="LAST_MODIFYOR" property="lastModifyor" jdbcType="VARCHAR"/>
    <result column="LINE_NUMBER" property="lineNumber" jdbcType="NUMERIC"/>
    <result column="LOT_ATTR_02" property="lotAttr02" jdbcType="VARCHAR"/>
    <result column="TEST_EXAM_3201_ID" property="testExam3201Id" jdbcType="VARCHAR"/>
    <result column="CREATE_TIME" property="createTime" jdbcType="VARCHAR"/>
    <result column="ITEM_CODE" property="itemCode" jdbcType="VARCHAR"/>
    <result column="CUST_NAME" property="custName" jdbcType="VARCHAR"/>
    <result column="LAST_MODIFY_TIME_ZONE" property="lastModifyTimeZone" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_06" property="lotAttr06" jdbcType="VARCHAR"/>
    <result column="WAREHOUSE_OFFICE_ID" property="warehouseOfficeId" jdbcType="VARCHAR"/>
    <result column="ITEM_QUALITY" property="itemQuality" jdbcType="VARCHAR"/>
    <result column="RECEIVE_QTY" property="receiveQty" jdbcType="NUMERIC"/>
    <result column="RECEIPT_ORDER_NO" property="receiptOrderNo" jdbcType="VARCHAR"/>
    <result column="CREATE_OFFICE" property="createOffice" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_03" property="lotAttr03" jdbcType="VARCHAR"/>
    <result column="REMARK" property="remark" jdbcType="VARCHAR"/>
    <result column="EXPECT_INV_STS" property="expectInvSts" jdbcType="NUMERIC"/>
    <result column="LOT_ATTR_04" property="lotAttr04" jdbcType="VARCHAR"/>
    <result column="PUTAWAY_QTY" property="putawayQty" jdbcType="NUMERIC"/>
    <result column="CUST_ITEM_CODE" property="custItemCode" jdbcType="VARCHAR"/>
    <result column="LOT_ATTR_08" property="lotAttr08" jdbcType="VARCHAR"/>
  </resultMap>
  <sql id="Example_Where_Clause" >
    <where>
      <foreach collection="oredCriteria" item="criteria">
        <if test="criteria.valid" >
          ${criteria.op}
          <trim prefix="(" suffix=")" prefixOverrides="and|or" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.complex" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.noValue" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression}
                </when>
                <when test="criterion.rangeValue" >
                  ${criteria.nop} (
                  <if test="criterion.value" >
                         ${criterion.condition} ><if test="criterion.operation == 'GELE'">=</if> ${criterion.valueExpression}
                  </if>
                  <if test="criterion.secondValue" >
                         <if test="criterion.value"> and </if>${criterion.condition} <<if test="criterion.operation == 'GELE'">=</if> ${criterion.secondValueExpression}
                  </if>)
                </when>
                <when test="criterion.betweenValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression} and ${criterion.secondValueExpression}
                </when>
                <when test="criterion.listValue" >
                  ${criteria.nop} ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                  ${criterion.listValueExpression}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
      <if test="junctionSql != null" >
       ${junctionSql.parserSql}
      </if>
    </where>
  </sql>
  <sql id="Update_By_Example_Where_Clause" >
    <where >
      <foreach collection="example.oredCriteria" item="criteria">
        <if test="criteria.valid" >
          ${criteria.op}
          <trim prefix="(" suffix=")" prefixOverrides="and|or" >
            <foreach collection="criteria.criteria" item="criterion" >
              <choose >
                <when test="criterion.complex" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.noValue" >
                  ${criteria.nop} ${criterion.condition}
                </when>
                <when test="criterion.singleValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression}
                </when>
                <when test="criterion.rangeValue" >
                  ${criteria.nop} (
                      <if test="criterion.value" >
                      ${criterion.condition} ><if test="criterion.operation == 'GELE'">=</if> ${criterion.valueExpression}
                      </if>
                      <if test="criterion.secondValue" >
                          <if test="criterion.value"> and </if>${criterion.condition} <<if test="criterion.operation == 'GELE'">=</if> ${criterion.secondValueExpression}
                      </if>)
                </when>
                <when test="criterion.betweenValue" >
                  ${criteria.nop} ${criterion.condition} ${criterion.valueExpression} and ${criterion.secondValueExpression}
                </when>
                <when test="criterion.listValue" >
                  ${criteria.nop} ${criterion.condition}
                  <foreach collection="criterion.value" item="listItem" open="(" close=")" separator="," >
                  ${criterion.listValueExpression}
                  </foreach>
                </when>
              </choose>
            </foreach>
          </trim>
        </if>
      </foreach>
      <if test="example.junctionSql != null" >
      ${example.junctionSql.parserSql}
      </if>
    </where>
  </sql>
  <sql id="Base_Column_List" >
    ITEM_ID,
    ITEM_NAME,
    LOT_ATTR_01,
    PRINCIPAL_GROUP_CODE,
    CUST_ORDER_NO,
    LOT_ATTR_10,
    RECEIVE_TIME,
    MANUFACTURE_DATE,
    ITEM_UOM,
    EXPIRATION_DATE,
    OPEN_QTY,
    LOT_ATTR_09,
    CREATE_TIME_ZONE,
    BAR_CODE,
    CUST_CODE,
    CUST_ID,
    RECORD_VERSION,
    IQC_QTY,
    LAST_MODIFY_TIME,
    EXPECT_INV_STS_DESC,
    LOT_ATTR_07,
    LAST_MODIFY_OFFICE,
    LOT_ATTR_11,
    ASN_DETAIL_NO,
    DAMAGE_QTY,
    PLAN_QTY,
    LOT_NO,
    LOT_ATTR_12,
    CREATOR,
    LOT_ATTR_05,
    TOTAL_PLAN_QTY,
    LAST_MODIFYOR,
    LINE_NUMBER,
    LOT_ATTR_02,
    TEST_EXAM_3201_ID,
    CREATE_TIME,
    ITEM_CODE,
    CUST_NAME,
    LAST_MODIFY_TIME_ZONE,
    TEST_EXAM_3201_DETAIL_ID,
    LOT_ATTR_06,
    WAREHOUSE_OFFICE_ID,
    ITEM_QUALITY,
    RECEIVE_QTY,
    RECEIPT_ORDER_NO,
    CREATE_OFFICE,
    LOT_ATTR_03,
    REMARK,
    EXPECT_INV_STS,
    LOT_ATTR_04,
    PUTAWAY_QTY,
    CUST_ITEM_CODE,
    LOT_ATTR_08
      </sql>
  <select id="selectByExample" resultMap="BaseResultMap" parameterType="com.gillion.sample.test.domain.TestExam3201DetailExample" >
    <include refid="OraclePaginationPrefix" />
    select
    <if test="distinct" >
      distinct
    </if>
    <include refid="Base_Column_List" />
    from  TEST_EXAM_3201_DETAIL


    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
    <if test="orderByClause != null and orderByClause != ''" >
      order by ${orderByClause}
    </if>
    <include refid="OraclePaginationSuffix" />
  </select>
  <select id="selectByPrimaryKey" resultMap="BaseResultMap" parameterType="java.lang.String" >
    select
    <include refid="Base_Column_List" />
    from TEST_EXAM_3201_DETAIL

    where TEST_EXAM_3201_DETAIL_ID = #{testExam3201DetailId,jdbcType=VARCHAR}
  </select>
  <delete id="deleteByPrimaryKey" parameterType="java.lang.String" >
    delete from TEST_EXAM_3201_DETAIL
    where TEST_EXAM_3201_DETAIL_ID = #{testExam3201DetailId,jdbcType=VARCHAR}
  </delete>
  <delete id="deleteByExample" parameterType="com.gillion.sample.test.domain.TestExam3201DetailExample" >
    delete from TEST_EXAM_3201_DETAIL
    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </delete>
  <insert id="insert" parameterType="com.gillion.sample.test.domain.TestExam3201Detail" >
    insert into TEST_EXAM_3201_DETAIL (
    ASN_DETAIL_NO,
    BAR_CODE,
    CREATE_OFFICE,
    CREATE_TIME,
    CREATE_TIME_ZONE,
    CREATOR,
    CUST_CODE,
    CUST_ID,
    CUST_ITEM_CODE,
    CUST_NAME,
    CUST_ORDER_NO,
    DAMAGE_QTY,
    EXPECT_INV_STS,
    EXPECT_INV_STS_DESC,
    EXPIRATION_DATE,
    IQC_QTY,
    ITEM_CODE,
    ITEM_ID,
    ITEM_NAME,
    ITEM_QUALITY,
    ITEM_UOM,
    LAST_MODIFY_OFFICE,
    LAST_MODIFYOR,
    LAST_MODIFY_TIME,
    LAST_MODIFY_TIME_ZONE,
    LINE_NUMBER,
    LOT_ATTR_01,
    LOT_ATTR_02,
    LOT_ATTR_03,
    LOT_ATTR_04,
    LOT_ATTR_05,
    LOT_ATTR_06,
    LOT_ATTR_07,
    LOT_ATTR_08,
    LOT_ATTR_09,
    LOT_ATTR_10,
    LOT_ATTR_11,
    LOT_ATTR_12,
    LOT_NO,
    MANUFACTURE_DATE,
    OPEN_QTY,
    PLAN_QTY,
    PRINCIPAL_GROUP_CODE,
    PUTAWAY_QTY,
    RECEIPT_ORDER_NO,
    RECEIVE_QTY,
    RECEIVE_TIME,
    RECORD_VERSION,
    REMARK,
    TEST_EXAM_3201_DETAIL_ID,
    TEST_EXAM_3201_ID,
    TOTAL_PLAN_QTY,
    WAREHOUSE_OFFICE_ID
    )
    values (
    #{asnDetailNo,jdbcType=VARCHAR},
    #{barCode,jdbcType=VARCHAR},
    #{createOffice,jdbcType=VARCHAR},
    #{createTime,jdbcType=VARCHAR},
    #{createTimeZone,jdbcType=VARCHAR},
    #{creator,jdbcType=VARCHAR},
    #{custCode,jdbcType=VARCHAR},
    #{custId,jdbcType=VARCHAR},
    #{custItemCode,jdbcType=VARCHAR},
    #{custName,jdbcType=VARCHAR},
    #{custOrderNo,jdbcType=VARCHAR},
    #{damageQty,jdbcType=VARCHAR},
    #{expectInvSts,jdbcType=NUMERIC},
    #{expectInvStsDesc,jdbcType=VARCHAR},
    #{expirationDate,jdbcType=VARCHAR},
    #{iqcQty,jdbcType=NUMERIC},
    #{itemCode,jdbcType=VARCHAR},
    #{itemId,jdbcType=VARCHAR},
    #{itemName,jdbcType=VARCHAR},
    #{itemQuality,jdbcType=VARCHAR},
    #{itemUom,jdbcType=VARCHAR},
    #{lastModifyOffice,jdbcType=VARCHAR},
    #{lastModifyor,jdbcType=VARCHAR},
    #{lastModifyTime,jdbcType=VARCHAR},
    #{lastModifyTimeZone,jdbcType=VARCHAR},
    #{lineNumber,jdbcType=NUMERIC},
    #{lotAttr01,jdbcType=VARCHAR},
    #{lotAttr02,jdbcType=VARCHAR},
    #{lotAttr03,jdbcType=VARCHAR},
    #{lotAttr04,jdbcType=VARCHAR},
    #{lotAttr05,jdbcType=VARCHAR},
    #{lotAttr06,jdbcType=VARCHAR},
    #{lotAttr07,jdbcType=VARCHAR},
    #{lotAttr08,jdbcType=VARCHAR},
    #{lotAttr09,jdbcType=VARCHAR},
    #{lotAttr10,jdbcType=VARCHAR},
    #{lotAttr11,jdbcType=VARCHAR},
    #{lotAttr12,jdbcType=VARCHAR},
    #{lotNo,jdbcType=VARCHAR},
    #{manufactureDate,jdbcType=VARCHAR},
    #{openQty,jdbcType=NUMERIC},
    #{planQty,jdbcType=NUMERIC},
    #{principalGroupCode,jdbcType=VARCHAR},
    #{putawayQty,jdbcType=NUMERIC},
    #{receiptOrderNo,jdbcType=VARCHAR},
    #{receiveQty,jdbcType=NUMERIC},
    #{receiveTime,jdbcType=VARCHAR},
    #{recordVersion,jdbcType=NUMERIC},
    #{remark,jdbcType=VARCHAR},
    #{testExam3201DetailId,jdbcType=VARCHAR},
    #{testExam3201Id,jdbcType=VARCHAR},
    #{totalPlanQty,jdbcType=NUMERIC},
    #{warehouseOfficeId,jdbcType=VARCHAR}
    )
  </insert>
  <insert id="insertSelective" parameterType="com.gillion.sample.test.domain.TestExam3201Detail" >
    insert into TEST_EXAM_3201_DETAIL
    <trim prefix="(" suffix=")" suffixOverrides="," >
      <if test="asnDetailNo != null" >
        ASN_DETAIL_NO,
      </if>
      <if test="barCode != null" >
        BAR_CODE,
      </if>
      <if test="createOffice != null" >
        CREATE_OFFICE,
      </if>
      <if test="createTime != null" >
        CREATE_TIME,
      </if>
      <if test="createTimeZone != null" >
        CREATE_TIME_ZONE,
      </if>
      <if test="creator != null" >
        CREATOR,
      </if>
      <if test="custCode != null" >
        CUST_CODE,
      </if>
      <if test="custId != null" >
        CUST_ID,
      </if>
      <if test="custItemCode != null" >
        CUST_ITEM_CODE,
      </if>
      <if test="custName != null" >
        CUST_NAME,
      </if>
      <if test="custOrderNo != null" >
        CUST_ORDER_NO,
      </if>
      <if test="damageQty != null" >
        DAMAGE_QTY,
      </if>
      <if test="expectInvSts != null" >
        EXPECT_INV_STS,
      </if>
      <if test="expectInvStsDesc != null" >
        EXPECT_INV_STS_DESC,
      </if>
      <if test="expirationDate != null" >
        EXPIRATION_DATE,
      </if>
      <if test="iqcQty != null" >
        IQC_QTY,
      </if>
      <if test="itemCode != null" >
        ITEM_CODE,
      </if>
      <if test="itemId != null" >
        ITEM_ID,
      </if>
      <if test="itemName != null" >
        ITEM_NAME,
      </if>
      <if test="itemQuality != null" >
        ITEM_QUALITY,
      </if>
      <if test="itemUom != null" >
        ITEM_UOM,
      </if>
      <if test="lastModifyOffice != null" >
        LAST_MODIFY_OFFICE,
      </if>
      <if test="lastModifyor != null" >
        LAST_MODIFYOR,
      </if>
      <if test="lastModifyTime != null" >
        LAST_MODIFY_TIME,
      </if>
      <if test="lastModifyTimeZone != null" >
        LAST_MODIFY_TIME_ZONE,
      </if>
      <if test="lineNumber != null" >
        LINE_NUMBER,
      </if>
      <if test="lotAttr01 != null" >
        LOT_ATTR_01,
      </if>
      <if test="lotAttr02 != null" >
        LOT_ATTR_02,
      </if>
      <if test="lotAttr03 != null" >
        LOT_ATTR_03,
      </if>
      <if test="lotAttr04 != null" >
        LOT_ATTR_04,
      </if>
      <if test="lotAttr05 != null" >
        LOT_ATTR_05,
      </if>
      <if test="lotAttr06 != null" >
        LOT_ATTR_06,
      </if>
      <if test="lotAttr07 != null" >
        LOT_ATTR_07,
      </if>
      <if test="lotAttr08 != null" >
        LOT_ATTR_08,
      </if>
      <if test="lotAttr09 != null" >
        LOT_ATTR_09,
      </if>
      <if test="lotAttr10 != null" >
        LOT_ATTR_10,
      </if>
      <if test="lotAttr11 != null" >
        LOT_ATTR_11,
      </if>
      <if test="lotAttr12 != null" >
        LOT_ATTR_12,
      </if>
      <if test="lotNo != null" >
        LOT_NO,
      </if>
      <if test="manufactureDate != null" >
        MANUFACTURE_DATE,
      </if>
      <if test="openQty != null" >
        OPEN_QTY,
      </if>
      <if test="planQty != null" >
        PLAN_QTY,
      </if>
      <if test="principalGroupCode != null" >
        PRINCIPAL_GROUP_CODE,
      </if>
      <if test="putawayQty != null" >
        PUTAWAY_QTY,
      </if>
      <if test="receiptOrderNo != null" >
        RECEIPT_ORDER_NO,
      </if>
      <if test="receiveQty != null" >
        RECEIVE_QTY,
      </if>
      <if test="receiveTime != null" >
        RECEIVE_TIME,
      </if>
      <if test="recordVersion != null" >
        RECORD_VERSION,
      </if>
      <if test="remark != null" >
        REMARK,
      </if>
      <if test="testExam3201DetailId != null" >
        TEST_EXAM_3201_DETAIL_ID,
      </if>
      <if test="testExam3201Id != null" >
        TEST_EXAM_3201_ID,
      </if>
      <if test="totalPlanQty != null" >
        TOTAL_PLAN_QTY,
      </if>
      <if test="warehouseOfficeId != null" >
        WAREHOUSE_OFFICE_ID,
      </if>
    </trim>
    <trim prefix="values (" suffix=")" suffixOverrides="," >
      <if test="asnDetailNo != null" >
        #{asnDetailNo,jdbcType=VARCHAR},
      </if>
      <if test="barCode != null" >
        #{barCode,jdbcType=VARCHAR},
      </if>
      <if test="createOffice != null" >
        #{createOffice,jdbcType=VARCHAR},
      </if>
      <if test="createTime != null" >
        #{createTime,jdbcType=VARCHAR},
      </if>
      <if test="createTimeZone != null" >
        #{createTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="creator != null" >
        #{creator,jdbcType=VARCHAR},
      </if>
      <if test="custCode != null" >
        #{custCode,jdbcType=VARCHAR},
      </if>
      <if test="custId != null" >
        #{custId,jdbcType=VARCHAR},
      </if>
      <if test="custItemCode != null" >
        #{custItemCode,jdbcType=VARCHAR},
      </if>
      <if test="custName != null" >
        #{custName,jdbcType=VARCHAR},
      </if>
      <if test="custOrderNo != null" >
        #{custOrderNo,jdbcType=VARCHAR},
      </if>
      <if test="damageQty != null" >
        #{damageQty,jdbcType=VARCHAR},
      </if>
      <if test="expectInvSts != null" >
        #{expectInvSts,jdbcType=NUMERIC},
      </if>
      <if test="expectInvStsDesc != null" >
        #{expectInvStsDesc,jdbcType=VARCHAR},
      </if>
      <if test="expirationDate != null" >
        #{expirationDate,jdbcType=VARCHAR},
      </if>
      <if test="iqcQty != null" >
        #{iqcQty,jdbcType=NUMERIC},
      </if>
      <if test="itemCode != null" >
        #{itemCode,jdbcType=VARCHAR},
      </if>
      <if test="itemId != null" >
        #{itemId,jdbcType=VARCHAR},
      </if>
      <if test="itemName != null" >
        #{itemName,jdbcType=VARCHAR},
      </if>
      <if test="itemQuality != null" >
        #{itemQuality,jdbcType=VARCHAR},
      </if>
      <if test="itemUom != null" >
        #{itemUom,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyOffice != null" >
        #{lastModifyOffice,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyor != null" >
        #{lastModifyor,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyTime != null" >
        #{lastModifyTime,jdbcType=VARCHAR},
      </if>
      <if test="lastModifyTimeZone != null" >
        #{lastModifyTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="lineNumber != null" >
        #{lineNumber,jdbcType=NUMERIC},
      </if>
      <if test="lotAttr01 != null" >
        #{lotAttr01,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr02 != null" >
        #{lotAttr02,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr03 != null" >
        #{lotAttr03,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr04 != null" >
        #{lotAttr04,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr05 != null" >
        #{lotAttr05,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr06 != null" >
        #{lotAttr06,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr07 != null" >
        #{lotAttr07,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr08 != null" >
        #{lotAttr08,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr09 != null" >
        #{lotAttr09,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr10 != null" >
        #{lotAttr10,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr11 != null" >
        #{lotAttr11,jdbcType=VARCHAR},
      </if>
      <if test="lotAttr12 != null" >
        #{lotAttr12,jdbcType=VARCHAR},
      </if>
      <if test="lotNo != null" >
        #{lotNo,jdbcType=VARCHAR},
      </if>
      <if test="manufactureDate != null" >
        #{manufactureDate,jdbcType=VARCHAR},
      </if>
      <if test="openQty != null" >
        #{openQty,jdbcType=NUMERIC},
      </if>
      <if test="planQty != null" >
        #{planQty,jdbcType=NUMERIC},
      </if>
      <if test="principalGroupCode != null" >
        #{principalGroupCode,jdbcType=VARCHAR},
      </if>
      <if test="putawayQty != null" >
        #{putawayQty,jdbcType=NUMERIC},
      </if>
      <if test="receiptOrderNo != null" >
        #{receiptOrderNo,jdbcType=VARCHAR},
      </if>
      <if test="receiveQty != null" >
        #{receiveQty,jdbcType=NUMERIC},
      </if>
      <if test="receiveTime != null" >
        #{receiveTime,jdbcType=VARCHAR},
      </if>
      <if test="recordVersion != null" >
        #{recordVersion,jdbcType=NUMERIC},
      </if>
      <if test="remark != null" >
        #{remark,jdbcType=VARCHAR},
      </if>
      <if test="testExam3201DetailId != null" >
        #{testExam3201DetailId,jdbcType=VARCHAR},
      </if>
      <if test="testExam3201Id != null" >
        #{testExam3201Id,jdbcType=VARCHAR},
      </if>
      <if test="totalPlanQty != null" >
        #{totalPlanQty,jdbcType=NUMERIC},
      </if>
      <if test="warehouseOfficeId != null" >
        #{warehouseOfficeId,jdbcType=VARCHAR},
      </if>
    </trim>
  </insert>
  <select id="countByExample" parameterType="com.gillion.sample.test.domain.TestExam3201DetailExample" resultType="java.lang.Integer" >
    select count(*) from TEST_EXAM_3201_DETAIL

    <if test="_parameter != null" >
      <include refid="Example_Where_Clause" />
    </if>
  </select>
  <update id="updateByExampleSelective" parameterType="map" >
    update TEST_EXAM_3201_DETAIL
    <set >
      <if test="record.asnDetailNo != null" >
        ASN_DETAIL_NO = #{record.asnDetailNo,jdbcType=VARCHAR},
      </if>
      <if test="record.barCode != null" >
        BAR_CODE = #{record.barCode,jdbcType=VARCHAR},
      </if>
      <if test="record.createOffice != null" >
        CREATE_OFFICE = #{record.createOffice,jdbcType=VARCHAR},
      </if>
      <if test="record.createTime != null" >
        CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
      </if>
      <if test="record.createTimeZone != null" >
        CREATE_TIME_ZONE = #{record.createTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="record.creator != null" >
        CREATOR = #{record.creator,jdbcType=VARCHAR},
      </if>
      <if test="record.custCode != null" >
        CUST_CODE = #{record.custCode,jdbcType=VARCHAR},
      </if>
      <if test="record.custId != null" >
        CUST_ID = #{record.custId,jdbcType=VARCHAR},
      </if>
      <if test="record.custItemCode != null" >
        CUST_ITEM_CODE = #{record.custItemCode,jdbcType=VARCHAR},
      </if>
      <if test="record.custName != null" >
        CUST_NAME = #{record.custName,jdbcType=VARCHAR},
      </if>
      <if test="record.custOrderNo != null" >
        CUST_ORDER_NO = #{record.custOrderNo,jdbcType=VARCHAR},
      </if>
      <if test="record.damageQty != null" >
        DAMAGE_QTY = #{record.damageQty,jdbcType=VARCHAR},
      </if>
      <if test="record.expectInvSts != null" >
        EXPECT_INV_STS = #{record.expectInvSts,jdbcType=NUMERIC},
      </if>
      <if test="record.expectInvStsDesc != null" >
        EXPECT_INV_STS_DESC = #{record.expectInvStsDesc,jdbcType=VARCHAR},
      </if>
      <if test="record.expirationDate != null" >
        EXPIRATION_DATE = #{record.expirationDate,jdbcType=VARCHAR},
      </if>
      <if test="record.iqcQty != null" >
        IQC_QTY = #{record.iqcQty,jdbcType=NUMERIC},
      </if>
      <if test="record.itemCode != null" >
        ITEM_CODE = #{record.itemCode,jdbcType=VARCHAR},
      </if>
      <if test="record.itemId != null" >
        ITEM_ID = #{record.itemId,jdbcType=VARCHAR},
      </if>
      <if test="record.itemName != null" >
        ITEM_NAME = #{record.itemName,jdbcType=VARCHAR},
      </if>
      <if test="record.itemQuality != null" >
        ITEM_QUALITY = #{record.itemQuality,jdbcType=VARCHAR},
      </if>
      <if test="record.itemUom != null" >
        ITEM_UOM = #{record.itemUom,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyOffice != null" >
        LAST_MODIFY_OFFICE = #{record.lastModifyOffice,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyor != null" >
        LAST_MODIFYOR = #{record.lastModifyor,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyTime != null" >
        LAST_MODIFY_TIME = #{record.lastModifyTime,jdbcType=VARCHAR},
      </if>
      <if test="record.lastModifyTimeZone != null" >
        LAST_MODIFY_TIME_ZONE = #{record.lastModifyTimeZone,jdbcType=VARCHAR},
      </if>
      <if test="record.lineNumber != null" >
        LINE_NUMBER = #{record.lineNumber,jdbcType=NUMERIC},
      </if>
      <if test="record.lotAttr01 != null" >
        LOT_ATTR_01 = #{record.lotAttr01,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr02 != null" >
        LOT_ATTR_02 = #{record.lotAttr02,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr03 != null" >
        LOT_ATTR_03 = #{record.lotAttr03,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr04 != null" >
        LOT_ATTR_04 = #{record.lotAttr04,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr05 != null" >
        LOT_ATTR_05 = #{record.lotAttr05,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr06 != null" >
        LOT_ATTR_06 = #{record.lotAttr06,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr07 != null" >
        LOT_ATTR_07 = #{record.lotAttr07,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr08 != null" >
        LOT_ATTR_08 = #{record.lotAttr08,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr09 != null" >
        LOT_ATTR_09 = #{record.lotAttr09,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr10 != null" >
        LOT_ATTR_10 = #{record.lotAttr10,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr11 != null" >
        LOT_ATTR_11 = #{record.lotAttr11,jdbcType=VARCHAR},
      </if>
      <if test="record.lotAttr12 != null" >
        LOT_ATTR_12 = #{record.lotAttr12,jdbcType=VARCHAR},
      </if>
      <if test="record.lotNo != null" >
        LOT_NO = #{record.lotNo,jdbcType=VARCHAR},
      </if>
      <if test="record.manufactureDate != null" >
        MANUFACTURE_DATE = #{record.manufactureDate,jdbcType=VARCHAR},
      </if>
      <if test="record.openQty != null" >
        OPEN_QTY = #{record.openQty,jdbcType=NUMERIC},
      </if>
      <if test="record.planQty != null" >
        PLAN_QTY = #{record.planQty,jdbcType=NUMERIC},
      </if>
      <if test="record.principalGroupCode != null" >
        PRINCIPAL_GROUP_CODE = #{record.principalGroupCode,jdbcType=VARCHAR},
      </if>
      <if test="record.putawayQty != null" >
        PUTAWAY_QTY = #{record.putawayQty,jdbcType=NUMERIC},
      </if>
      <if test="record.receiptOrderNo != null" >
        RECEIPT_ORDER_NO = #{record.receiptOrderNo,jdbcType=VARCHAR},
      </if>
      <if test="record.receiveQty != null" >
        RECEIVE_QTY = #{record.receiveQty,jdbcType=NUMERIC},
      </if>
      <if test="record.receiveTime != null" >
        RECEIVE_TIME = #{record.receiveTime,jdbcType=VARCHAR},
      </if>
      <if test="record.recordVersion != null" >
        RECORD_VERSION = #{record.recordVersion,jdbcType=NUMERIC},
      </if>
      <if test="record.recordVersion == null" >
        RECORD_VERSION = RECORD_VERSION + 1,
      </if>
      <if test="record.remark != null" >
        REMARK = #{record.remark,jdbcType=VARCHAR},
      </if>
      <if test="record.testExam3201Id != null" >
        TEST_EXAM_3201_ID = #{record.testExam3201Id,jdbcType=VARCHAR},
      </if>
      <if test="record.totalPlanQty != null" >
        TOTAL_PLAN_QTY = #{record.totalPlanQty,jdbcType=NUMERIC},
      </if>
      <if test="record.warehouseOfficeId != null" >
        WAREHOUSE_OFFICE_ID = #{record.warehouseOfficeId,jdbcType=VARCHAR},
      </if>
    </set>
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByExample" parameterType="map" >
    update TEST_EXAM_3201_DETAIL set
        ASN_DETAIL_NO = #{record.asnDetailNo,jdbcType=VARCHAR},
        BAR_CODE = #{record.barCode,jdbcType=VARCHAR},
        CREATE_OFFICE = #{record.createOffice,jdbcType=VARCHAR},
        CREATE_TIME = #{record.createTime,jdbcType=VARCHAR},
        CREATE_TIME_ZONE = #{record.createTimeZone,jdbcType=VARCHAR},
        CREATOR = #{record.creator,jdbcType=VARCHAR},
        CUST_CODE = #{record.custCode,jdbcType=VARCHAR},
        CUST_ID = #{record.custId,jdbcType=VARCHAR},
        CUST_ITEM_CODE = #{record.custItemCode,jdbcType=VARCHAR},
        CUST_NAME = #{record.custName,jdbcType=VARCHAR},
        CUST_ORDER_NO = #{record.custOrderNo,jdbcType=VARCHAR},
        DAMAGE_QTY = #{record.damageQty,jdbcType=VARCHAR},
        EXPECT_INV_STS = #{record.expectInvSts,jdbcType=NUMERIC},
        EXPECT_INV_STS_DESC = #{record.expectInvStsDesc,jdbcType=VARCHAR},
        EXPIRATION_DATE = #{record.expirationDate,jdbcType=VARCHAR},
        IQC_QTY = #{record.iqcQty,jdbcType=NUMERIC},
        ITEM_CODE = #{record.itemCode,jdbcType=VARCHAR},
        ITEM_ID = #{record.itemId,jdbcType=VARCHAR},
        ITEM_NAME = #{record.itemName,jdbcType=VARCHAR},
        ITEM_QUALITY = #{record.itemQuality,jdbcType=VARCHAR},
        ITEM_UOM = #{record.itemUom,jdbcType=VARCHAR},
        LAST_MODIFY_OFFICE = #{record.lastModifyOffice,jdbcType=VARCHAR},
        LAST_MODIFYOR = #{record.lastModifyor,jdbcType=VARCHAR},
        LAST_MODIFY_TIME = #{record.lastModifyTime,jdbcType=VARCHAR},
        LAST_MODIFY_TIME_ZONE = #{record.lastModifyTimeZone,jdbcType=VARCHAR},
        LINE_NUMBER = #{record.lineNumber,jdbcType=NUMERIC},
        LOT_ATTR_01 = #{record.lotAttr01,jdbcType=VARCHAR},
        LOT_ATTR_02 = #{record.lotAttr02,jdbcType=VARCHAR},
        LOT_ATTR_03 = #{record.lotAttr03,jdbcType=VARCHAR},
        LOT_ATTR_04 = #{record.lotAttr04,jdbcType=VARCHAR},
        LOT_ATTR_05 = #{record.lotAttr05,jdbcType=VARCHAR},
        LOT_ATTR_06 = #{record.lotAttr06,jdbcType=VARCHAR},
        LOT_ATTR_07 = #{record.lotAttr07,jdbcType=VARCHAR},
        LOT_ATTR_08 = #{record.lotAttr08,jdbcType=VARCHAR},
        LOT_ATTR_09 = #{record.lotAttr09,jdbcType=VARCHAR},
        LOT_ATTR_10 = #{record.lotAttr10,jdbcType=VARCHAR},
        LOT_ATTR_11 = #{record.lotAttr11,jdbcType=VARCHAR},
        LOT_ATTR_12 = #{record.lotAttr12,jdbcType=VARCHAR},
        LOT_NO = #{record.lotNo,jdbcType=VARCHAR},
        MANUFACTURE_DATE = #{record.manufactureDate,jdbcType=VARCHAR},
        OPEN_QTY = #{record.openQty,jdbcType=NUMERIC},
        PLAN_QTY = #{record.planQty,jdbcType=NUMERIC},
        PRINCIPAL_GROUP_CODE = #{record.principalGroupCode,jdbcType=VARCHAR},
        PUTAWAY_QTY = #{record.putawayQty,jdbcType=NUMERIC},
        RECEIPT_ORDER_NO = #{record.receiptOrderNo,jdbcType=VARCHAR},
        RECEIVE_QTY = #{record.receiveQty,jdbcType=NUMERIC},
        RECEIVE_TIME = #{record.receiveTime,jdbcType=VARCHAR},
        RECORD_VERSION = #{record.recordVersion,jdbcType=NUMERIC},
        REMARK = #{record.remark,jdbcType=VARCHAR},
        TEST_EXAM_3201_ID = #{record.testExam3201Id,jdbcType=VARCHAR},
        TOTAL_PLAN_QTY = #{record.totalPlanQty,jdbcType=NUMERIC},
        WAREHOUSE_OFFICE_ID = #{record.warehouseOfficeId,jdbcType=VARCHAR}
    <if test="_parameter != null" >
      <include refid="Update_By_Example_Where_Clause" />
    </if>
  </update>
  <update id="updateByPrimaryKeySelective" parameterType="com.gillion.sample.test.domain.TestExam3201Detail" >
    update TEST_EXAM_3201_DETAIL
    <set>
        <if test="asnDetailNo != null" >
    ASN_DETAIL_NO = #{asnDetailNo,jdbcType=VARCHAR},
        </if>
        <if test="barCode != null" >
    BAR_CODE = #{barCode,jdbcType=VARCHAR},
        </if>
        <if test="createOffice != null" >
    CREATE_OFFICE = #{createOffice,jdbcType=VARCHAR},
        </if>
        <if test="createTime != null" >
    CREATE_TIME = #{createTime,jdbcType=VARCHAR},
        </if>
        <if test="createTimeZone != null" >
    CREATE_TIME_ZONE = #{createTimeZone,jdbcType=VARCHAR},
        </if>
        <if test="creator != null" >
    CREATOR = #{creator,jdbcType=VARCHAR},
        </if>
        <if test="custCode != null" >
    CUST_CODE = #{custCode,jdbcType=VARCHAR},
        </if>
        <if test="custId != null" >
    CUST_ID = #{custId,jdbcType=VARCHAR},
        </if>
        <if test="custItemCode != null" >
    CUST_ITEM_CODE = #{custItemCode,jdbcType=VARCHAR},
        </if>
        <if test="custName != null" >
    CUST_NAME = #{custName,jdbcType=VARCHAR},
        </if>
        <if test="custOrderNo != null" >
    CUST_ORDER_NO = #{custOrderNo,jdbcType=VARCHAR},
        </if>
        <if test="damageQty != null" >
    DAMAGE_QTY = #{damageQty,jdbcType=VARCHAR},
        </if>
        <if test="expectInvSts != null" >
    EXPECT_INV_STS = #{expectInvSts,jdbcType=NUMERIC},
        </if>
        <if test="expectInvStsDesc != null" >
    EXPECT_INV_STS_DESC = #{expectInvStsDesc,jdbcType=VARCHAR},
        </if>
        <if test="expirationDate != null" >
    EXPIRATION_DATE = #{expirationDate,jdbcType=VARCHAR},
        </if>
        <if test="iqcQty != null" >
    IQC_QTY = #{iqcQty,jdbcType=NUMERIC},
        </if>
        <if test="itemCode != null" >
    ITEM_CODE = #{itemCode,jdbcType=VARCHAR},
        </if>
        <if test="itemId != null" >
    ITEM_ID = #{itemId,jdbcType=VARCHAR},
        </if>
        <if test="itemName != null" >
    ITEM_NAME = #{itemName,jdbcType=VARCHAR},
        </if>
        <if test="itemQuality != null" >
    ITEM_QUALITY = #{itemQuality,jdbcType=VARCHAR},
        </if>
        <if test="itemUom != null" >
    ITEM_UOM = #{itemUom,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyOffice != null" >
    LAST_MODIFY_OFFICE = #{lastModifyOffice,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyor != null" >
    LAST_MODIFYOR = #{lastModifyor,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyTime != null" >
    LAST_MODIFY_TIME = #{lastModifyTime,jdbcType=VARCHAR},
        </if>
        <if test="lastModifyTimeZone != null" >
    LAST_MODIFY_TIME_ZONE = #{lastModifyTimeZone,jdbcType=VARCHAR},
        </if>
        <if test="lineNumber != null" >
    LINE_NUMBER = #{lineNumber,jdbcType=NUMERIC},
        </if>
        <if test="lotAttr01 != null" >
    LOT_ATTR_01 = #{lotAttr01,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr02 != null" >
    LOT_ATTR_02 = #{lotAttr02,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr03 != null" >
    LOT_ATTR_03 = #{lotAttr03,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr04 != null" >
    LOT_ATTR_04 = #{lotAttr04,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr05 != null" >
    LOT_ATTR_05 = #{lotAttr05,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr06 != null" >
    LOT_ATTR_06 = #{lotAttr06,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr07 != null" >
    LOT_ATTR_07 = #{lotAttr07,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr08 != null" >
    LOT_ATTR_08 = #{lotAttr08,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr09 != null" >
    LOT_ATTR_09 = #{lotAttr09,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr10 != null" >
    LOT_ATTR_10 = #{lotAttr10,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr11 != null" >
    LOT_ATTR_11 = #{lotAttr11,jdbcType=VARCHAR},
        </if>
        <if test="lotAttr12 != null" >
    LOT_ATTR_12 = #{lotAttr12,jdbcType=VARCHAR},
        </if>
        <if test="lotNo != null" >
    LOT_NO = #{lotNo,jdbcType=VARCHAR},
        </if>
        <if test="manufactureDate != null" >
    MANUFACTURE_DATE = #{manufactureDate,jdbcType=VARCHAR},
        </if>
        <if test="openQty != null" >
    OPEN_QTY = #{openQty,jdbcType=NUMERIC},
        </if>
        <if test="planQty != null" >
    PLAN_QTY = #{planQty,jdbcType=NUMERIC},
        </if>
        <if test="principalGroupCode != null" >
    PRINCIPAL_GROUP_CODE = #{principalGroupCode,jdbcType=VARCHAR},
        </if>
        <if test="putawayQty != null" >
    PUTAWAY_QTY = #{putawayQty,jdbcType=NUMERIC},
        </if>
        <if test="receiptOrderNo != null" >
    RECEIPT_ORDER_NO = #{receiptOrderNo,jdbcType=VARCHAR},
        </if>
        <if test="receiveQty != null" >
    RECEIVE_QTY = #{receiveQty,jdbcType=NUMERIC},
        </if>
        <if test="receiveTime != null" >
    RECEIVE_TIME = #{receiveTime,jdbcType=VARCHAR},
        </if>
        <if test="recordVersion != null" >
    RECORD_VERSION = #{recordVersion,jdbcType=NUMERIC},
        </if>
        <if test="remark != null" >
    REMARK = #{remark,jdbcType=VARCHAR},
        </if>
        <if test="testExam3201Id != null" >
    TEST_EXAM_3201_ID = #{testExam3201Id,jdbcType=VARCHAR},
        </if>
        <if test="totalPlanQty != null" >
    TOTAL_PLAN_QTY = #{totalPlanQty,jdbcType=NUMERIC},
        </if>
        <if test="warehouseOfficeId != null" >
    WAREHOUSE_OFFICE_ID = #{warehouseOfficeId,jdbcType=VARCHAR},
        </if>
    </set>
    where TEST_EXAM_3201_DETAIL_ID = #{testExam3201DetailId,jdbcType=VARCHAR}
  </update>
  <update id="updateByPrimaryKey" parameterType="com.gillion.sample.test.domain.TestExam3201Detail" >
    update TEST_EXAM_3201_DETAIL set
      ASN_DETAIL_NO = #{asnDetailNo,jdbcType=VARCHAR},
      BAR_CODE = #{barCode,jdbcType=VARCHAR},
      CREATE_OFFICE = #{createOffice,jdbcType=VARCHAR},
      CREATE_TIME = #{createTime,jdbcType=VARCHAR},
      CREATE_TIME_ZONE = #{createTimeZone,jdbcType=VARCHAR},
      CREATOR = #{creator,jdbcType=VARCHAR},
      CUST_CODE = #{custCode,jdbcType=VARCHAR},
      CUST_ID = #{custId,jdbcType=VARCHAR},
      CUST_ITEM_CODE = #{custItemCode,jdbcType=VARCHAR},
      CUST_NAME = #{custName,jdbcType=VARCHAR},
      CUST_ORDER_NO = #{custOrderNo,jdbcType=VARCHAR},
      DAMAGE_QTY = #{damageQty,jdbcType=VARCHAR},
      EXPECT_INV_STS = #{expectInvSts,jdbcType=NUMERIC},
      EXPECT_INV_STS_DESC = #{expectInvStsDesc,jdbcType=VARCHAR},
      EXPIRATION_DATE = #{expirationDate,jdbcType=VARCHAR},
      IQC_QTY = #{iqcQty,jdbcType=NUMERIC},
      ITEM_CODE = #{itemCode,jdbcType=VARCHAR},
      ITEM_ID = #{itemId,jdbcType=VARCHAR},
      ITEM_NAME = #{itemName,jdbcType=VARCHAR},
      ITEM_QUALITY = #{itemQuality,jdbcType=VARCHAR},
      ITEM_UOM = #{itemUom,jdbcType=VARCHAR},
      LAST_MODIFY_OFFICE = #{lastModifyOffice,jdbcType=VARCHAR},
      LAST_MODIFYOR = #{lastModifyor,jdbcType=VARCHAR},
      LAST_MODIFY_TIME = #{lastModifyTime,jdbcType=VARCHAR},
      LAST_MODIFY_TIME_ZONE = #{lastModifyTimeZone,jdbcType=VARCHAR},
      LINE_NUMBER = #{lineNumber,jdbcType=NUMERIC},
      LOT_ATTR_01 = #{lotAttr01,jdbcType=VARCHAR},
      LOT_ATTR_02 = #{lotAttr02,jdbcType=VARCHAR},
      LOT_ATTR_03 = #{lotAttr03,jdbcType=VARCHAR},
      LOT_ATTR_04 = #{lotAttr04,jdbcType=VARCHAR},
      LOT_ATTR_05 = #{lotAttr05,jdbcType=VARCHAR},
      LOT_ATTR_06 = #{lotAttr06,jdbcType=VARCHAR},
      LOT_ATTR_07 = #{lotAttr07,jdbcType=VARCHAR},
      LOT_ATTR_08 = #{lotAttr08,jdbcType=VARCHAR},
      LOT_ATTR_09 = #{lotAttr09,jdbcType=VARCHAR},
      LOT_ATTR_10 = #{lotAttr10,jdbcType=VARCHAR},
      LOT_ATTR_11 = #{lotAttr11,jdbcType=VARCHAR},
      LOT_ATTR_12 = #{lotAttr12,jdbcType=VARCHAR},
      LOT_NO = #{lotNo,jdbcType=VARCHAR},
      MANUFACTURE_DATE = #{manufactureDate,jdbcType=VARCHAR},
      OPEN_QTY = #{openQty,jdbcType=NUMERIC},
      PLAN_QTY = #{planQty,jdbcType=NUMERIC},
      PRINCIPAL_GROUP_CODE = #{principalGroupCode,jdbcType=VARCHAR},
      PUTAWAY_QTY = #{putawayQty,jdbcType=NUMERIC},
      RECEIPT_ORDER_NO = #{receiptOrderNo,jdbcType=VARCHAR},
      RECEIVE_QTY = #{receiveQty,jdbcType=NUMERIC},
      RECEIVE_TIME = #{receiveTime,jdbcType=VARCHAR},
      RECORD_VERSION = #{recordVersion,jdbcType=NUMERIC},
      REMARK = #{remark,jdbcType=VARCHAR},
      TEST_EXAM_3201_ID = #{testExam3201Id,jdbcType=VARCHAR},
      TOTAL_PLAN_QTY = #{totalPlanQty,jdbcType=NUMERIC},
      WAREHOUSE_OFFICE_ID = #{warehouseOfficeId,jdbcType=VARCHAR}
    where TEST_EXAM_3201_DETAIL_ID = #{testExam3201DetailId,jdbcType=VARCHAR}
  </update>
  <sql id="OraclePaginationPrefix" >
    <if test="page != null" >
      select * from ( select row_.*, rownum rownum_ from (
    </if>
  </sql>
  <sql id="OraclePaginationSuffix" >
    <if test="page != null" >
      <![CDATA[ ) row_ ) where rownum_ >= #{page.recordStart} and rownum_ <= #{page.recordEnd} ]]>
    </if>
  </sql>
</mapper>